/* ==========================================================================
   Health Haven Limited — site styles
   Loaded by index.html. Order matters: later rules override earlier ones.
   ========================================================================== */

/* ==========================================================
   DESIGN TOKENS  —  brand colours live here, change once, applies everywhere
   ========================================================== */

:root {
    --green: #1a8f49;
    --lime: #8bc53f;
    --deep: #073b2a;
    --ink: #183027;
    --cream: #f5f9f4;
    --gold: #e49b2f;
    --white: #fff;
    --shadow: 0 18px 50px rgba(8,59,42,.14);
}

/* ==========================================================
   BASE / RESET
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Manrope,Arial,sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px,92%);
    margin: auto;
}

/* ==========================================================
   TOP BAR + STICKY HEADER / NAV
   ========================================================== */

.topbar {
    background: var(--deep);
    color: #dff7e9;
    font-size: .88rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    flex-wrap: wrap;
}

header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    z-index: 20;
    border-bottom: 1px solid #e5eee8;
}

nav {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.brand b {
    font-size: 1.05rem;
    color: var(--deep);
    display: block;
}

.brand small {
    color: var(--green);
    font-weight: 700;
}

.links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 700;
    font-size: .92rem;
}

.cta {
    background: var(--green);
    color: white;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(26,143,73,.25);
}

/* ==========================================================
   HERO (home)
   ========================================================== */

.hero {
    min-height: 720px;
    display: grid;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,rgba(4,48,33,.94),rgba(4,48,33,.56)),url('https://images.squarespace-cdn.com/content/v1/59c12663f43b55f0805592b4/ad7a8446-81f8-488f-80dc-064d517281b0/TTL%2B%2843%29.jpg') center/cover;
}

.hero:after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -210px;
    width: 560px;
    height: 560px;
    border: 80px solid rgba(139,197,63,.18);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .77rem;
    font-weight: 800;
    color: #c9f59f;
}

.eyebrow:before {
    content: "";
    width: 36px;
    height: 2px;
    background: var(--gold);
}

h1 {
    font-family: "Playfair Display",serif;
    font-size: clamp(3rem,7vw,6.4rem);
    line-height: .98;
    max-width: 900px;
    margin: 22px 0;
}

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    color: #e5f4ec;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 800;
}

.btn-primary {
    background: var(--lime);
    color: var(--deep);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.55);
    color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    max-width: 780px;
    margin-top: 66px;
    border-top: 1px solid rgba(255,255,255,.23);
    padding-top: 28px;
}

.hero-stats strong {
    display: block;
    font-size: 1.7rem;
}

.hero-stats span {
    font-size: .88rem;
    color: #cfe6d8;
}

/* ==========================================================
   GENERIC SECTION + CARD LAYOUT
   ========================================================== */

section {
    padding: 95px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 44px;
}

.section-head h2 {
    font-family: "Playfair Display",serif;
    font-size: clamp(2.2rem,4vw,4rem);
    line-height: 1.08;
    margin: 0;
    color: var(--deep);
}

.section-head p {
    max-width: 560px;
    margin: 0;
    color: #5f746b;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.card {
    background: white;
    border: 1px solid #e5eee8;
    padding: 28px;
    border-radius: 22px;
    transition: .25s;
    min-height: 260px;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: #cbe5d2;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #e9f7ec;
    color: var(--green);
    font-size: 1.45rem;
}

.card h3 {
    color: var(--deep);
    margin: 22px 0 9px;
}

.card p {
    font-size: .93rem;
    color: #667a70;
}

/* ==========================================================
   ABOUT: image stack + core-values checklist
   ========================================================== */

.split {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 58px;
    align-items: center;
}

.image-stack {
    position: relative;
    min-height: 560px;
}

.image-stack img {
    position: absolute;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.image-stack .one {
    width: 78%;
    height: 460px;
    left: 0;
    top: 0;
}

.image-stack .two {
    width: 56%;
    height: 300px;
    right: 0;
    bottom: 0;
    border: 10px solid white;
}

.badge {
    position: absolute;
    right: 4%;
    top: 7%;
    background: var(--gold);
    color: #2a210d;
    border-radius: 50%;
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    transform: rotate(7deg);
}

.checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: linear-gradient(135deg,#ffffff,#f1f8f3);
    padding: 14px 18px;
    border: 1px solid #d9eadf;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(8,59,42,.08);
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.check:before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(26,143,73,.12);
    flex: 0 0 auto;
}

.check:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(8,59,42,.14);
    border-color: #b9dcc4;
}

@media(max-width:560px) {
    .checklist {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .check {
        width: 100%;
        border-radius: 18px;
        padding: 14px 16px;
    }
}

/* ==========================================================
   GLOBAL REACH (dark band)
   ========================================================== */

.global {
    background: var(--deep);
    color: white;
    position: relative;
    overflow: hidden;
}

.global:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%,rgba(139,197,63,.22),transparent 30%);
}

.global .section-head h2 {
    color: white;
}

.global .section-head p {
    color: #c8ddd2;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    position: relative;
}

.pillar {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    border-radius: 22px;
}

.pillar small {
    color: #c9f59f;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}

.pillar h3 {
    font-size: 1.45rem;
    margin: 12px 0;
}

.pillar p {
    color: #c8ddd2;
}

/* ==========================================================
   PRODUCTS grid + background photos
   ========================================================== */

.products {
    background: var(--cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.product {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border-radius: 22px;
    border-left: 5px solid var(--lime);
    color: #fff;
    background-position: center;
    background-size: cover;
    box-shadow: 0 14px 34px rgba(8,59,42,.15);
    transition: transform .28s ease,box-shadow .28s ease;
}

.product:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,rgba(3,31,22,.18) 5%,rgba(3,31,22,.92) 92%);
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(8,59,42,.23);
}

.product h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.28rem;
}

.product p {
    margin: 0;
    color: #e7f4ec;
}

.product-lab {
    background-image: url('../images/1.png');
}

.product-emergency {
    background-image: url('../images/2.png');
}

.product-safety {
    background-image: url('../images/3.png');
}

.product-coldchain {
    background-image: url('../images/4.png');
}

.product-clinical {
    background-image: url('../images/5.png');
}

.product-procurement {
    background-image: url('../images/6.png');
}

/* ==========================================================
   CONTACT block
   ========================================================== */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    background: linear-gradient(135deg,#eaf8ee,#f9fcf8);
    border-radius: 30px;
    padding: 50px;
}

.contact h2 {
    font-family: "Playfair Display";
    font-size: 3rem;
    line-height: 1.05;
    margin-top: 0;
    color: var(--deep);
}

.contact-box {
    background: white;
    padding: 28px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.contact-row {
    padding: 13px 0;
    border-bottom: 1px solid #edf2ee;
}

.contact-row:last-child {
    border: 0;
}

/* ==========================================================
   FOOTER
   ========================================================== */

footer {
    background: #052e21;
    color: #c9ddd2;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
}

.footer-grid h4 {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 35px;
    padding-top: 20px;
    font-size: .86rem;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================
   MOBILE MENU (hamburger + slide-down panel)
   ========================================================== */

.mobile {
    display: none;
    border: 0;
    background: none;
    font: inherit;
    color: var(--deep);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    padding: 6px;
}

.mobile-panel {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #e5eee8;
    box-shadow: 0 18px 30px rgba(8,59,42,.12);
}

.mobile-panel.open {
    display: flex;
}

.mobile-panel a {
    padding: 14px 6%;
    font-weight: 700;
    color: var(--deep);
    border-bottom: 1px solid #edf2ee;
}

.mobile-panel a.cta {
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    margin: 12px 6%;
    text-align: center;
    border-bottom: none;
}

.mobile-panel .dropdown-menu {
    display: flex;
    flex-direction: column;
    background: #f7faf7;
}

.mobile-panel .dropdown-menu a {
    padding-left: 12%;
    border-bottom: 1px solid #edf2ee;
    font-weight: 600;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS (base layout)
   ========================================================== */

@media(max-width:900px) {
    .links {
        display: none;
    }
    .mobile {
        display: block;
    }
    .cards {
        grid-template-columns: 1fr 1fr;
    }
    .split {
        grid-template-columns: 1fr;
    }
    .pillars,.product-grid {
        grid-template-columns: 1fr;
    }
    .contact {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .image-stack {
        min-height: 500px;
    }
    .section-head {
        display: block;
    }
    .section-head p {
        margin-top: 18px;
    }
}

@media(max-width:560px) {
    .cards,.checklist {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 790px;
    }
    .brand b {
        font-size: .9rem;
    }
    .brand img {
        width: 54px;
        height: 54px;
    }
    .topbar {
        display: none;
    }
}

/* ==========================================================
   NAV DROPDOWN
   ========================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown>a:after {
    content: "▾";
    font-size: .72rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;
    min-width: 250px;
    background: #fff;
    border: 1px solid #e5eee8;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: var(--deep);
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--green);
}

/* ==========================================================
   TEAM section + profile dialog
   ========================================================== */

.team-section {
    background: #f7faf7;
}

.team-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: end;
    margin-bottom: 42px;
}

.team-heading h2 {
    font-family: "Playfair Display",serif;
    font-size: clamp(2.3rem,4vw,4rem);
    line-height: 1.06;
    margin: 8px 0;
    color: var(--deep);
}

.team-heading h2 span {
    color: var(--green);
}

.team-heading p {
    max-width: 760px;
    color: #60756b;
}

.team-stat {
    background: var(--deep);
    color: white;
    border-radius: 22px;
    padding: 22px 25px;
    max-width: 240px;
}

.team-stat strong {
    font-size: 2.4rem;
    display: block;
    color: #c9f59f;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.team-card {
    background: white;
    border: 1px solid #e3ece6;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(8,59,42,.08);
    transition: .25s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.team-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
}

.team-photo {
    height: 310px;
    background: linear-gradient(135deg,#dfeee4,#f4f8f5);
    position: relative;
    overflow: hidden;
}

.featured .team-photo {
    height: 100%;
    min-height: 390px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo:after {
    content: attr(data-initials);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(7,59,42,.25);
    z-index: 0;
}

.team-photo img {
    position: relative;
    z-index: 1;
}

.team-group {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    background: rgba(7,59,42,.9);
    color: white;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.team-body {
    padding: 24px;
}

.team-role {
    color: var(--green);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    margin: 0;
}

.team-body h3 {
    font-size: 1.35rem;
    color: var(--deep);
    margin: 7px 0 12px;
}

.team-body p {
    font-size: .93rem;
    color: #64786f;
}

.profile-btn {
    border: 0;
    background: none;
    color: var(--green);
    font: inherit;
    font-weight: 800;
    padding: 7px 0;
    cursor: pointer;
}

.profile-dialog {
    width: min(820px,92%);
    border: 0;
    border-radius: 26px;
    padding: 0;
    box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.profile-dialog::backdrop {
    background: rgba(2,25,17,.68);
}

.dialog-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

.dialog-layout img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    background: #e8f2eb;
}

.dialog-content {
    padding: 42px;
    position: relative;
}

.dialog-content h3 {
    font-family: "Playfair Display",serif;
    font-size: 2.2rem;
    color: var(--deep);
    margin: 8px 0 18px;
}

.dialog-close {
    position: absolute;
    right: 20px;
    top: 16px;
    border: 0;
    background: #edf5ef;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

@media(max-width:900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .team-card.featured {
        grid-column: span 2;
    }
    .team-heading {
        grid-template-columns: 1fr;
    }
    .team-stat {
        max-width: none;
    }
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 5px 0 0 14px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .mobile-menu {
        display: none;
    }
}

@media(max-width:650px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card.featured {
        grid-column: auto;
        display: block;
    }
    .featured .team-photo {
        min-height: 310px;
    }
    .dialog-layout {
        grid-template-columns: 1fr;
    }
    .dialog-layout img {
        height: 280px;
        min-height: 0;
    }
    .dialog-content {
        padding: 30px;
    }
    .team-heading h2 {
        font-size: 2.35rem;
    }
}

/* ==========================================================
   PARTNER CARD
   ========================================================== */

.partner-card {
    grid-column: 1/-1;
    background: linear-gradient(135deg,#ffffff,#eef8f1);
    padding: 34px;
    border-radius: 26px;
    border: 1px solid #dfece3;
    box-shadow: 0 14px 38px rgba(8,59,42,.08);
}

.partner-card h3 {
    margin: 0 0 22px;
    color: var(--deep);
    font-size: 1.45rem;
}

.partner-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.partner-bubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #d8e9dd;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 700;
    color: var(--deep);
    box-shadow: 0 8px 20px rgba(8,59,42,.07);
    transition: .22s;
}

.partner-bubble:before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(26,143,73,.12);
    flex: 0 0 auto;
}

.partner-bubble:hover {
    transform: translateY(-3px);
    border-color: #b9d9c2;
    box-shadow: 0 12px 26px rgba(8,59,42,.12);
}

@media(max-width:650px) {
    .partner-card {
        padding: 24px;
    }
    .partner-bubbles {
        display: grid;
    }
    .partner-bubble {
        border-radius: 18px;
        align-items: flex-start;
    }
}

/* Enhanced service themes */

.services-showcase {
    position: relative;
}

.services-showcase:before {
    content: "";
    position: absolute;
    inset: 80px 0 auto auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(139,197,63,.15),transparent 68%);
    pointer-events: none;
}

.services-showcase .cards {
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 315px;
    padding: 30px 28px 28px;
    border: 1px solid transparent;
    background: #fff;
    isolation: isolate;
}

.service-card:before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    right: -72px;
    top: -72px;
    opacity: .22;
    z-index: -1;
    transition: transform .35s ease;
}

.service-card:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: var(--service-accent);
    transform: scaleX(.38);
    transform-origin: left;
    transition: transform .3s ease;
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 48px rgba(8,59,42,.14);
}

.service-card:hover:before {
    transform: scale(1.18);
}

.service-card:hover:after {
    transform: scaleX(1);
}

.service-visual {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-icon {
    width: 66px;
    height: 66px;
    border-radius: 21px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg,var(--service-accent),var(--service-accent-2));
    box-shadow: 0 13px 28px var(--service-shadow);
    transition: transform .28s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.06);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-number {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--service-accent);
    background: var(--service-soft);
    padding: 8px 11px;
    border-radius: 999px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin: 0 0 11px;
    color: var(--deep);
}

.service-card p {
    margin: 0;
    color: #63766d;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--service-accent);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.service-tag:before {
    content: "";
    width: 19px;
    height: 2px;
    background: currentColor;
}

.service-clinical {
    --service-accent: #1a8f49;
    --service-accent-2: #61bd72;
    --service-soft: #e9f7ec;
    --service-shadow: rgba(26,143,73,.25);
}

.service-lab {
    --service-accent: #147f8f;
    --service-accent-2: #45b8c4;
    --service-soft: #e7f7f9;
    --service-shadow: rgba(20,127,143,.24);
}

.service-research {
    --service-accent: #7b5ab6;
    --service-accent-2: #a989d7;
    --service-soft: #f1ecfa;
    --service-shadow: rgba(123,90,182,.23);
}

.service-supply {
    --service-accent: #df8b21;
    --service-accent-2: #f0b454;
    --service-soft: #fff3e3;
    --service-shadow: rgba(223,139,33,.24);
}

.service-clinical:before {
    background: linear-gradient(135deg,#8bc53f,#dff4bf);
}

.service-lab:before {
    background: linear-gradient(135deg,#45b8c4,#c9f1f4);
}

.service-research:before {
    background: linear-gradient(135deg,#a989d7,#eadff8);
}

.service-supply:before {
    background: linear-gradient(135deg,#f0b454,#ffead0);
}

@media(max-width:900px) {
    .service-card {
        min-height: 285px;
    }
}

@media(max-width:560px) {
    .services-showcase .cards {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: auto;
        padding: 26px 23px;
    }
    .service-icon {
        width: 60px;
        height: 60px;
    }
}

.team-photo img {
    transition: transform .35s ease,filter .35s ease;
    filter: saturate(.98) contrast(1.02);
}

.team-card:hover .team-photo img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.03);
}

@media(max-width:650px) {
    .team-photo img {
        object-position: center top!important;
    }
}

/* Official Health Haven logo placements */

.hero-brand-logo {
    width: min(250px,48vw);
    height: auto;
    display: block;
    margin: 0 0 24px;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,.25));
    background: rgba(255,255,255,.94);
    padding: 12px;
    border-radius: 24px;
}

.about-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: 18px 0 22px;
}

.about-brand-logo {
    width: 150px;
    max-width: 34%;
    height: auto;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e1ece5;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 12px 28px rgba(8,59,42,.12);
}

.about-brand-copy {
    flex: 1;
}

.footer-brand-logo {
    width: 145px;
    height: auto;
    display: block;
    margin-bottom: 18px;
    background: white;
    border-radius: 18px;
    padding: 8px;
}

@media(max-width:650px) {

    .hero-brand-logo {
        width: 190px;
        margin-bottom: 20px;
    }

    .about-brand-row {
        display: block;
    }

    .about-brand-logo {
        width: 140px;
        max-width: 100%;
        margin: 0 0 18px;
    }

    .footer-brand-logo {
        width: 125px;
    }

}

/* ==========================================================
   BOARD OF DIRECTORS
   ========================================================== */

/* Board of Directors */

.board-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,#073b2a 0%,#0b563b 58%,#126b45 100%);
    color: #fff;
}

.board-section:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 90px solid rgba(139,197,63,.12);
    border-radius: 50%;
    right: -210px;
    top: -230px;
}

.board-section:after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    left: -110px;
    bottom: -130px;
    background: radial-gradient(circle,rgba(228,155,47,.22),transparent 70%);
}

.board-section .container {
    position: relative;
    z-index: 1;
}

.board-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 44px;
}

.board-heading h2 {
    font-family: "Playfair Display",serif;
    font-size: clamp(2.4rem,4.5vw,4.5rem);
    line-height: 1.04;
    margin: 10px 0 0;
    color: #fff;
}

.board-heading h2 span {
    color: #c9f59f;
}

.board-heading p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #cfe5da;
}

.board-mark {
    width: 118px;
    height: 118px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.2);
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    font-family: "Playfair Display",serif;
    font-size: 2.3rem;
    color: #c9f59f;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.board-card {
    background: #fff;
    color: var(--ink);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.2);
    transition: transform .28s ease,box-shadow .28s ease;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 58px rgba(0,0,0,.28);
}

.board-photo {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #e8f2eb;
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.board-card:hover .board-photo img {
    transform: scale(1.045);
}

.board-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(7,59,42,.9);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.board-body {
    padding: 24px 23px 27px;
}

.board-role {
    margin: 0 0 9px;
    color: var(--green);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.board-body h3 {
    margin: 0;
    color: var(--deep);
    font-size: 1.2rem;
    line-height: 1.35;
}

.board-bio {
    margin: 14px 0 0;
    color: #52645b;
    font-size: .92rem;
    line-height: 1.65;
}

.board-card.chair {
    border-bottom: 6px solid var(--gold);
}

.board-card.secretary {
    border-bottom: 6px solid var(--lime);
}

@media(max-width:980px) {
    .board-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .board-heading {
        grid-template-columns: 1fr;
    }
    .board-mark {
        display: none;
    }
}

@media(max-width:560px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
    .board-photo {
        height: 330px;
    }
    .board-section {
        padding: 78px 0;
    }
}

/* New Health Haven logo sizing */

.brand img {
    width: 78px;
    height: 78px;
}

.hero-brand-logo {
    width: min(310px,60vw);
}

.about-brand-logo {
    width: 190px;
}

.footer-brand-logo {
    width: 185px;
}

@media(max-width:650px) {
    .brand img {
        width: 62px;
        height: 62px;
    }
    .hero-brand-logo {
        width: 235px;
    }
    .about-brand-logo {
        width: 165px;
    }
    .footer-brand-logo {
        width: 155px;
    }
}

/* Strategic collaboration partner logos */

.partner-bubbles {
    display: grid!important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px!important;
}

.partner-bubble {
    display: flex!important;
    align-items: center!important;
    gap: 15px!important;
    min-height: 92px;
    border-radius: 20px!important;
    padding: 15px 18px!important;
    background: #fff!important;
}

.partner-bubble:before {
    display: none!important;
}

.partner-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 64px;
    background: #fff;
    border: 1px solid #e4ece7;
    border-radius: 14px;
    padding: 7px;
    box-shadow: 0 5px 14px rgba(8,59,42,.08);
}

.partner-name {
    line-height: 1.35;
    font-size: .9rem;
    font-weight: 750;
}

.partner-name.logo-fallback:before {
    content: "";
    display: grid;
    place-items: center;
    float: left;
    width: 64px;
    height: 64px;
    margin-right: 15px;
    border-radius: 14px;
    background: #e9f7ec;
    color: #1a8f49;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

@media(max-width:900px) {
    .partner-bubbles {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px) {
    .partner-bubbles {
        grid-template-columns: 1fr;
    }
    .partner-bubble {
        min-height: 82px;
    }
    .partner-logo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }
}

/* Job opportunities */

.jobs-section {
    background: linear-gradient(145deg,#f4f9f5 0%,#fff 65%);
}

.jobs-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}

.jobs-heading h2 {
    font-family: "Playfair Display",serif;
    font-size: clamp(2.3rem,4vw,4rem);
    line-height: 1.06;
    margin: 8px 0;
    color: var(--deep);
}

.jobs-heading p {
    max-width: 760px;
    color: #60756b;
}

.jobs-badge {
    background: var(--deep);
    color: #c9f59f;
    border-radius: 18px;
    padding: 16px 20px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
}

.job-card {
    background: #fff;
    border: 1px solid #dfeae3;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 32px rgba(8,59,42,.08);
}

.job-card[hidden] {
    display: none!important;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.job-meta span {
    background: #edf7ef;
    color: var(--green);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: .73rem;
    font-weight: 800;
}

.job-card h3 {
    color: var(--deep);
    font-size: 1.35rem;
    margin: 0 0 10px;
}

.job-card p {
    color: #60756b;
    line-height: 1.65;
}

.job-closing {
    margin: 17px 0 0;
    font-weight: 750;
    color: var(--deep)!important;
}

.job-apply {
    display: inline-flex;
    margin-top: 18px;
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
}

.job-apply:hover {
    background: var(--deep);
}

.jobs-empty {
    display: none;
    background: #fff;
    border: 1px dashed #afcbbb;
    border-radius: 22px;
    padding: 34px;
    text-align: center;
    color: #60756b;
}

.jobs-empty.is-visible {
    display: block;
}

.jobs-empty strong {
    display: block;
    color: var(--deep);
    font-family: "Playfair Display",serif;
    font-size: 1.55rem;
    margin-bottom: 7px;
}

@media(max-width:760px) {
    .jobs-heading {
        grid-template-columns: 1fr;
    }
    .jobs-badge {
        width: max-content;
    }
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   CEO CONTACT BLOCK (injected into the team card by js/main.js)
   ========================================================== */

.ceo-contact {
    margin: 16px 0 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #edf7ef;
    color: var(--deep)!important;
    font-size: .86rem!important;
    line-height: 1.7;
}

.ceo-contact a {
    color: var(--green);
    font-weight: 750;
}

.ceo-contact a:hover {
    text-decoration: underline;
}
