/* ============ TOKENS ============ */
:root {
    --primary: #0132b4;
    --primary-2: #1f4fe0;
    --primary-deep: #021d73;
    --secondary: #3cb496;
    --secondary-2: #5fd8b8;
    --accent-orange: #ffa100;
    --bg: #f3f7fc;
    --surface: #ffffff;
    --ink: #071845;
    --ink-soft: #4a5578;
    --muted: #7686a8;
    --line: rgba(7, 24, 69, 0.08);
    --radius: 4px;
    --shadow-sm: 0 2px 8px rgba(7, 24, 69, 0.06);
    --shadow-md: 0 12px 30px rgba(7, 24, 69, 0.10);
    --shadow-lg: 0 24px 60px rgba(1, 50, 180, 0.18);
    --shadow-glow-blue: 0 10px 30px rgba(1, 50, 180, 0.28);
    --shadow-glow-green: 0 10px 30px rgba(60, 180, 150, 0.28);
    --ease: cubic-bezier(.22, .9, .3, 1.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom scrollbar (WebKit/Blink) */
body::-webkit-scrollbar {
    width: 4px;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px var(--surface);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    outline: 1px solid var(--primary);
}

h1,
h2,
h3,
h4 {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
    font-family: 'Barlow', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    font-family: 'Barlow', sans-serif;
}

img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius);
}

button {
    font-family: 'Barlow', sans-serif;
}

.grad-text {
    background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ REVEAL ANIM ============ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ============ BUTTONS (GLOSSY / AERO) ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 30px;
    font-size: 16px;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 60%, var(--primary-deep) 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.btn-outline {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(1, 50, 180, 0.25);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-ghost {
    color: var(--ink);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-glass {
    color: var(--primary-deep);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(1, 50, 180, 0.15);
}

.btn-glass:hover {
    background: #eef3ff;
}

.btn-white {
    color: var(--primary-deep);
    background: #fff;
}

.btn-white:hover {
    background: #eef3ff;
}

.btn-glass-dark {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset;
}

.btn-glass-dark:hover {
    background: rgba(255, 255, 255, .24);
}

/* ============ NAV ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 247, 252, 0.7);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(7, 24, 69, .06);
}

.nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    height: 44px;
    width: auto;
    /* the global img{max-width:100%} squashes a fixed-height logo
       whenever the flex row tightens — opt this one out */
    max-width: none;
    object-fit: contain;
    border-radius: 0;
}

@media (max-width:600px) {
    .brand-logo {
        height: 38px;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links .menu-trigger {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color .2s ease;
}

.nav-links .menu-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width .25s var(--ease);
    border-radius: var(--radius);
}

.nav-links .menu-trigger:hover {
    color: var(--ink);
}

.nav-links .menu-trigger:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.nav-inner>.brand {
    flex: 0 0 auto;
}

.nav-links {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: var(--radius);
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s var(--ease), opacity .3s ease, padding .35s ease;
}

/* scoped to real menu rows — a blanket .nav-mobile a also hit the
   .btn CTAs at the bottom of the panel and overrode their colours */
.nav-mobile .m-link,
.nav-mobile .m-sub a {
    font-weight: 600;
    color: var(--ink-soft);
}

.nav-mobile.open {
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    opacity: 1;
    padding: 8px 28px 20px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 88px 28px 40px;
    overflow: hidden;
    isolation: isolate;
    /* smooth corner-to-corner fill: soft blue, light centre, soft mint */
    background: linear-gradient(135deg, #d6e4ff 0%, #eaf1ff 38%, #f4f9ff 58%, #d9f3ea 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: -2;
    opacity: .55;
    animation: float 9s ease-in-out infinite;
}

.orb-blue {
    width: 520px;
    height: 520px;
    top: -220px;
    right: -160px;
    background: radial-gradient(circle at 35% 30%, rgba(31, 79, 224, .55), rgba(1, 50, 180, .12) 60%, transparent 75%);
}

.orb-green {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -140px;
    background: radial-gradient(circle at 40% 40%, rgba(95, 216, 184, .5), rgba(60, 180, 150, .1) 60%, transparent 75%);
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-14px, 18px) scale(1.04);
    }
}

.hero-chevrons {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.chev {
    position: absolute;
    opacity: .14;
}

.chev-1 {
    top: 120px;
    right: 6%;
    width: 90px;
    height: 90px;
    background: var(--primary);
    clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
    animation: drift 10s ease-in-out infinite;
}

.chev-2 {
    bottom: 60px;
    right: 22%;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
    animation: drift 12s ease-in-out infinite reverse;
}

.chev-3 {
    top: 60%;
    left: 4%;
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
    animation: drift 8s ease-in-out infinite;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) rotate(6deg);
    }
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.eyebrow.center {
    justify-content: flex-start;
    width: 100%;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 0 4px rgba(60, 180, 150, .18);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
}

.hero-sub {
    margin-top: 22px;
    font-size: 17.5px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-actions.center {
    justify-content: center;
}

.hero-trust {
    display: flex;
    gap: 34px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}

.trust-item span {
    font-size: 12.5px;
    color: var(--muted);
}

/* ---- hero visual / image ---- */
.hero-visual {
    position: relative;
    height: 100%;
    min-height: 420px;
}

.hero-image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .6);
    position: relative;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 35%);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    animation: hoverY 7s ease-in-out infinite;
}

@keyframes hoverY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.glass-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .68));
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
}

.float-chip {
    position: absolute;
    padding: 11px 16px;
    border-radius: var(--radius);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: hoverY 7s ease-in-out infinite;
}

.chip-1 {
    top: 6%;
    right: -4%;
    animation-delay: -1.2s;
}

.chip-2 {
    bottom: 6%;
    left: -6%;
    animation-delay: -3s;
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chip-dot.green {
    background: var(--secondary);
    box-shadow: 0 0 0 3px rgba(60, 180, 150, .2);
}

.chip-dot.blue {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 50, 180, .16);
}

/* ============ MARQUEE STRIP ============ */
.strip {
    background: linear-gradient(100deg, var(--primary-deep), var(--primary) 55%, var(--secondary) 130%);
    padding: 16px 0;
    overflow: hidden;
}

.strip-text {
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .02em;
    white-space: nowrap;
    text-align: center;
}

.strip-text span {
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

/* ============ SECTION SHARED ============ */
.section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 28px;
}

.section-head {
    max-width: 760px;
    margin: 0 0 44px;
    text-align: left;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 750;
    margin-top: 0;
}

.section-sub {
    margin-top: 16px;
    font-size: 16px;
}

/* ============ CATEGORIES ============ */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
}

.category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform .6s var(--ease);
}

.category-card:hover .category-image {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;
    inset: 0;
}

.cat-blue {
    background: linear-gradient(180deg, rgba(1, 29, 115, .15) 0%, rgba(1, 29, 115, .92) 78%);
}

.cat-green {
    background: linear-gradient(180deg, rgba(19, 84, 68, .15) 0%, rgba(19, 84, 68, .92) 78%);
}

.category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    margin-bottom: 6px;
}

.category-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.category-desc {
    color: rgba(255, 255, 255, .82);
    font-size: 14.5px;
    max-width: 400px;
}

.category-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 2px;
    width: fit-content;
    transition: gap .25s ease, border-color .25s ease;
}

.category-link:hover {
    gap: 12px;
    border-color: #fff;
}

/* ============ SERVICES ============ */
.grid {
    display: grid;
    gap: 24px;
}

.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease, background .35s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 50, 180, .14);
    background: linear-gradient(165deg, #eef3ff 0%, #ffffff 60%);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px -6px rgba(0, 0, 0, .28);
}

.icon-blue {
    background: linear-gradient(140deg, var(--primary-2), var(--primary-deep));
}

.icon-green {
    background: linear-gradient(140deg, var(--secondary-2), var(--secondary));
}

.icon-orange {
    background: linear-gradient(140deg, #ffc266, var(--accent-orange));
}

.service-card h3 {
    font-size: 18.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14.5px;
}

/* ============ WHY ============ */
.why {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.why-visual {
    position: relative;
    min-height: 380px;
}

.why-image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.why-card {
    padding: 26px 30px;
    position: absolute;
    width: 220px;
}

.why-card-1 {
    top: 6%;
    left: -6%;
}

.why-card-2 {
    bottom: 8%;
    right: -6%;
}

.why-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.why-num {
    font-family: 'Barlow', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.why-num small {
    font-size: 1.1rem;
    font-weight: 700;
}

.why-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.why-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-top: 6px;
    margin-bottom: 34px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--secondary), var(--primary));
    box-shadow: var(--shadow-glow-green);
}

.why-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.why-item p {
    font-size: 14.5px;
}

/* ============ PACKAGES ============ */
.pkg-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pkg-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.pkg-card:hover {
    box-shadow: var(--shadow-md);
}

.pkg-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0;
}

.pkg-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.pkg-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--secondary);
}

.pkg-card h3 {
    font-size: 19px;
    font-weight: 700;
}

.pkg-desc {
    font-size: 14.5px;
    flex-grow: 1;
}

.pkg-card .btn {
    margin-top: 8px;
    align-self: flex-start;
}

.pkg-card.featured {
    background: linear-gradient(165deg, #ffffff, #eef3ff);
    border-color: rgba(1, 50, 180, .22);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pkg-card.featured:hover {
    transform: scale(1.03);
}

/* ============ TESTIMONIAL VIDEOS ============ */
.video-grid {
    grid-template-columns: repeat(3, 1fr);
}

.video-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.video-card:hover {
    box-shadow: var(--shadow-md);
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(7, 24, 69, .75);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
    transition: transform .25s var(--ease), background .25s ease;
}

.play-btn svg {
    margin-left: 3px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.video-body {
    padding: 22px 24px 26px;
}

.video-quote {
    font-size: 14.5px;
    font-style: italic;
    color: var(--ink-soft);
    margin-bottom: 12px;
}

.video-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.video-name span {
    font-weight: 500;
    color: var(--muted);
}

/* ============ BLOGS ============ */
.blog-grid {
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0;
}

.blog-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.blog-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
}

.blog-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.3;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.blog-link {
    color: var(--secondary);
    font-weight: 700;
    transition: color .2s ease;
}

.blog-link:hover {
    color: var(--primary);
}

/* ============ CTA BANNER (FULL WIDTH) ============ */
/* ============ SITE CTA (in the footer, every page) ============
   Full-bleed band, not a boxed card: the tint runs edge to edge
   and only the content inside is constrained.
=============================================================== */
.site-cta {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(900px 360px at 85% 0%, rgba(60, 180, 150, .20), transparent 62%),
        linear-gradient(165deg, #eef3ff 0%, #ffffff 62%);
}

.site-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-cta-inner h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 750;
}

.site-cta-inner p {
    margin: 6px 0 0;
    font-size: 15px;
}

.site-cta-inner .hero-actions {
    margin: 0;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.site-cta-inner .btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width:860px) {
    .site-cta-inner {
        padding: 28px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .site-cta-inner .hero-actions {
        width: 100%;
    }

    .site-cta-inner .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-deep);
    padding: 70px 28px 26px;
    color: #dbe3f2;
}

.footer-top {
    max-width: 1240px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: .95;
    border-radius: 0;
}

.footer-brand p {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    max-width: 280px;
}

.footer-col h5 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    transition: color .2s ease;
}

.footer-col a:hover {
    color: var(--secondary-2);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.footer-tag {
    color: var(--secondary-2);
    font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width:980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 340px;
        margin-top: 20px;
    }

    .why {
        grid-template-columns: 1fr;
    }

    .why-visual {
        min-height: 300px;
        margin-bottom: 60px;
    }

    .services-grid,
    .pkg-grid,
    .video-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:720px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    .hero {
        padding-top: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust {
        gap: 22px;
    }

    .services-grid,
    .pkg-grid,
    .video-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .pkg-card.featured {
        transform: none;
    }

    .why-card {
        position: static;
        width: auto;
        margin-bottom: 14px;
    }

    .why-visual {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 64px 24px;
    }

    .category-content {
        padding: 26px;
    }
}

/* ============================================================
   QUICK ACTIONS
   ============================================================ */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
    gap: 20px;
}

.qa-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease, background .35s ease;
}

.qa-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 50, 180, .14);
    background: linear-gradient(165deg, #eef3ff 0%, #ffffff 60%);
}

.qa-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px -6px rgba(0, 0, 0, .28);
}

.qa-icon svg {
    width: 22px;
    height: 22px;
}

.qa-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.qa-card p {
    font-size: 14px;
    flex: 1;
}

.qa-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.qa-link svg {
    width: 15px;
    height: 15px;
    transition: transform .3s var(--ease);
}

.qa-card:hover .qa-link svg {
    transform: translateX(4px);
}


/* ============================================================
   SECTION FOOTER (view-all row)
   ============================================================ */
.section-foot {
    margin-top: 44px;
    display: flex;
    justify-content: flex-start;
}

.section-foot .btn svg {
    width: 15px;
    height: 15px;
    margin-left: 7px;
    transition: transform .3s var(--ease);
}

.section-foot .btn:hover svg {
    transform: translateX(4px);
}


/* ============================================================
   POPULAR TESTS
   ============================================================ */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 14px;
}

.test-chip {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 15px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}

.test-chip:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 50, 180, .18);
}

.test-chip-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(31, 79, 224, .10), rgba(60, 180, 150, .14));
    color: var(--primary);
}

.test-chip-icon svg {
    width: 17px;
    height: 17px;
}

.test-chip-name {
    flex: 1;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.test-chip-arrow {
    display: flex;
    color: var(--muted);
    transition: transform .3s var(--ease), color .3s ease;
}

.test-chip-arrow svg {
    width: 16px;
    height: 16px;
}

.test-chip:hover .test-chip-arrow {
    transform: translateX(4px);
    color: var(--primary);
}


/* ============================================================
   HOME SAMPLE COLLECTION
   ============================================================ */
.home-collect {
    max-width: 1240px;
}

.hc-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hc-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 750;
    margin-top: 6px;
}

.hc-copy .hero-actions {
    margin-top: 30px;
}

.hc-copy .btn svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.hc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hc-step {
    display: flex;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hc-step:hover {
    box-shadow: var(--shadow-md);
}

.hc-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hc-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.6;
}

.hc-step-copy h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hc-step-copy p {
    font-size: 14.5px;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
}

@media (max-width: 820px) {
    .faq-list { grid-template-columns: 1fr; }
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), border-color .3s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 50, 180, .14);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 24px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--primary-2);
    outline-offset: -2px;
}

.faq-q {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.faq-marker {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.faq-marker::before,
.faq-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease), opacity .3s ease;
}

.faq-marker::before {
    width: 14px;
    height: 2px;
}

.faq-marker::after {
    width: 2px;
    height: 14px;
}

.faq-item[open] .faq-marker::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-a {
    padding: 0 24px 22px;
    font-size: 15px;
    max-width: 92%;
}


/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width:980px) {
    .hc-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width:720px) {
    .qa-grid {
        grid-template-columns: 1fr;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .hc-step {
        padding: 18px 20px;
        gap: 14px;
    }

    .faq-item summary {
        padding: 18px 20px;
    }

    .faq-a {
        padding: 0 20px 20px;
        max-width: 100%;
    }

    .section-foot .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   PRIMARY MENU — mega panels & dropdowns
   ============================================================ */
.nav-links .menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 4px 0;
    white-space: nowrap;
    transition: color .2s ease;
}

.menu-chev svg {
    width: 13px;
    height: 13px;
    display: block;
    transition: transform .3s var(--ease);
}

.menu-item.has-panel:hover>.menu-trigger .menu-chev svg,
.menu-item.has-panel.is-open>.menu-trigger .menu-chev svg {
    transform: rotate(180deg);
}

/* ---------- shared panel shell ---------- */
.panel {
    position: absolute;
    top: calc(100% + 16px);
    z-index: 120;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
}

/* hover bridge so the pointer can travel into the panel */
.menu-item.is-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
}

.menu-item.has-panel:hover>.panel,
.menu-item.has-panel:focus-within>.panel,
.menu-item.has-panel.is-open>.panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- dropdown ---------- */
.panel-dropdown {
    left: 50%;
    transform: translate(-50%, -8px);
    min-width: 262px;
    padding: 10px;
}

.menu-item.has-panel:hover>.panel-dropdown,
.menu-item.has-panel:focus-within>.panel-dropdown,
.menu-item.has-panel.is-open>.panel-dropdown {
    transform: translate(-50%, 0);
}

.dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-links a,
.mega-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.35;
    transition: background .2s ease, color .2s ease;
}

.dropdown-links a:hover,
.mega-links a:hover {
    background: linear-gradient(100deg, rgba(31, 79, 224, .07), rgba(60, 180, 150, .07));
    color: var(--primary);
}

.mega-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--primary-2), var(--secondary));
    opacity: .45;
    transition: opacity .2s ease, transform .2s var(--ease);
}

.dropdown-links a:hover .mega-dot,
.mega-links a:hover .mega-dot {
    opacity: 1;
    transform: scale(1.5);
}

/* ---------- mega ---------- */
.menu-item.is-mega {
    position: static;
}

.panel-mega {
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

.mega-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 26px 28px 30px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.mega-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.mega-title {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    padding-left: 27px;
}

.mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
    gap: 0 12px;
}

.mega-group+.mega-group {
    border-left: 1px solid var(--line);
    padding-left: 30px;
}

.mega-feature {
    background: linear-gradient(165deg, #eef3ff 0%, #ffffff 65%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mega-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    background: linear-gradient(140deg, var(--primary-2), var(--primary-deep));
    box-shadow: 0 8px 18px -8px rgba(1, 50, 180, .6);
}

.mega-feature-icon svg {
    width: 20px;
    height: 20px;
}

.mega-feature h4 {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 8px;
}

.mega-feature p {
    font-size: 13.5px;
    margin-bottom: 20px;
}

.mega-feature .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.mega-feature .btn svg {
    width: 15px;
    height: 15px;
    margin-left: 6px;
}


/* ============================================================
   MOBILE MENU
   ============================================================ */
.m-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-item {
    border-bottom: 1px solid var(--line);
}

.m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.m-toggle[aria-expanded="true"] {
    color: var(--primary);
}

.m-toggle[aria-expanded="true"] .menu-chev svg {
    transform: rotate(180deg);
}

.m-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s var(--ease);
}

.m-sub.open {
    grid-template-rows: 1fr;
}

.m-sub-inner {
    overflow: hidden;
    min-height: 0;
}

.m-sub a {
    display: block;
    padding: 10px 4px 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    border-bottom: none;
    border-left: 2px solid var(--line);
    margin-left: 4px;
}

.m-sub a:hover {
    color: var(--primary);
    border-left-color: var(--primary-2);
}

.m-sub-all {
    font-weight: 700 !important;
    color: var(--primary) !important;
}

.m-sub.open .m-sub-inner {
    padding-bottom: 10px;
}

.m-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.m-cta .btn {
    justify-content: center;
}


/* ============================================================
   MENU RESPONSIVE
   ============================================================ */
@media (max-width:1340px) {

    /* the secondary CTA is the first thing to go */
    .nav-cta .btn-ghost {
        display: none;
    }
}

@media (max-width:1220px) {
    .nav-links .menu {
        gap: 14px;
    }

    .menu-trigger {
        font-size: 13.4px;
    }

    .mega-inner {
        grid-template-columns: 1fr 250px;
        gap: 28px;
    }
}

@media (max-width:1150px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }
}

/* ============================================================
   BUTTONS INSIDE THE NAV — specificity guard
   ------------------------------------------------------------
   .nav-links / .nav-mobile carry element-level link rules
   (0,1,1) which outrank .btn-primary (0,1,0) and were painting
   CTA labels in body-text navy on a blue background, plus
   drawing the nav underline across them. These re-assert the
   button's own colours at matching specificity and kill the
   inherited underline. Keep them last in the file.
   ============================================================ */
.nav .btn-primary,
.nav-mobile .btn-primary {
    color: #fff;
}

.nav .btn-white,
.nav-mobile .btn-white {
    color: var(--primary);
}

.nav .btn-outline,
.nav-mobile .btn-outline {
    color: var(--primary);
}

.nav .btn-ghost,
.nav-mobile .btn-ghost {
    color: var(--ink);
}

.nav .btn-ghost:hover,
.nav-mobile .btn-ghost:hover {
    color: var(--primary);
}

/* the nav's animated underline must never run across a button */
.nav .btn::after,
.nav-mobile .btn::after {
    display: none;
}

/* the mobile row divider belongs to menu rows, not to the CTAs */
.nav-mobile .m-cta .btn {
    border-bottom: none;
}


/* ===== Plain line icons: no background boxes ===== */
.service-icon, .why-icon, .qa-icon, .test-chip-icon, .mega-feature-icon,
.why-point-icon, .journey-icon, .family-icon, .service-box-icon, .fact-icon,
.contact-icon, .detail-icon, .faq-group-icon, .collect-point-icon, .collect-note-icon {
    background: none !important;
    box-shadow: none !important;
    color: var(--primary);
    width: auto;
    height: auto;
    justify-content: flex-start;
}
.icon-blue { color: var(--primary); }
.icon-green { color: var(--secondary); }
.icon-orange { color: var(--accent-orange); }
.why-icon, .collect-note-icon { color: var(--secondary); }
.test-chip-icon, .fact-icon, .detail-icon { flex-basis: auto; }
.service-icon svg, .why-icon svg, .qa-icon svg, .mega-feature-icon svg, .why-point-icon svg,
.journey-icon svg, .family-icon svg, .service-box-icon svg, .contact-icon svg,
.faq-group-icon svg, .collect-point-icon svg, .collect-note-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.6;
}
.test-chip-icon svg, .fact-icon svg, .detail-icon svg { width: 24px; height: 24px; }
.service-icon svg *, .why-icon svg *, .mega-feature-icon svg *, .why-point-icon svg *,
.journey-icon svg *, .family-icon svg *, .service-box-icon svg *, .contact-icon svg *,
.faq-group-icon svg *, .collect-point-icon svg *, .collect-note-icon svg * { stroke: currentColor; }
.service-icon svg { stroke-width: 1.6; }

/* Health package card details */
.pkg-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.pkg-off { color: var(--primary); font-weight: 700; }
.pkg-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.pkg-price strong { font-size: 20px; color: var(--ink); }
.pkg-price s { margin-left: 8px; font-size: 13px; color: var(--muted); }
.pkg-foot .btn { margin-top: 0; margin-left: auto; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* Hero image slider */
.hero-slider { position: relative; aspect-ratio: 5 / 4; background: var(--primary-deep); }
.hero-slider .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; animation: none; }
.hero-slider .hero-slide.is-active { opacity: 1; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 24px; border-radius: 6px; background: #fff; }

/* Blue strip: stack neatly on mobile */
.strip-sep { margin: 0 14px; }
@media (max-width: 768px) {
    .strip { padding: 18px 20px; }
    .strip-text { white-space: normal; font-size: 13.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
    .strip-item { display: block; }
    .strip-item > span { display: block; }
    .strip-sep { display: none; }
}

/* Header cart icon */
.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: var(--primary);
}

.nav-cart svg {
    width: 26px;
    height: 26px;
}

.nav-cart:hover {
    color: var(--primary-deep);
}

.nav-cart-count {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.pkg-price del { font-size: 13px; font-weight: 500; color: var(--muted); margin-right: 6px; }
.pkg-price ins { text-decoration: none; font-size: 20px; font-weight: 800; color: var(--ink); }
.pkg-price > .woocommerce-Price-amount { font-size: 20px; font-weight: 800; color: var(--ink); }
.pkg-card h3 a { color: inherit; }

.footer-legal { margin-left: 14px; }
.footer-legal a { color: inherit; opacity: .85; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 720px) { .footer-legal { display: block; margin: 6px 0 0; } }

#faqs .faq-a { max-width: none; }


/* Soft brand-coloured circles, fixed behind every page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle 300px at 6% 14%,  rgba(31, 79, 224, .16), transparent 70%),
        radial-gradient(circle 340px at 94% 26%, rgba(60, 180, 150, .20), transparent 70%),
        radial-gradient(circle 240px at 4% 62%,  rgba(255, 161, 0, .15), transparent 70%),
        radial-gradient(circle 320px at 92% 78%, rgba(31, 79, 224, .14), transparent 70%),
        radial-gradient(circle 280px at 30% 102%, rgba(60, 180, 150, .16), transparent 70%),
        radial-gradient(circle 200px at 58% 8%,  rgba(255, 161, 0, .10), transparent 70%);
}

@media (max-width: 720px) {
    .section { padding-top: 56px; padding-bottom: 56px; }
}

/* Footer: Get in Touch with line icons */
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--secondary-2);
}

/* Hero search */
.hero-search {
    margin: 26px 0 4px;
    max-width: 600px;
}

.hero-search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hero-search-tabs label {
    cursor: pointer;
}

.hero-search-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hero-search-tabs span {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(1, 50, 180, .15);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background .2s, color .2s, border-color .2s;
}

.hero-search-tabs label:hover span {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-search-tabs input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hero-search-tabs input:focus-visible + span {
    outline: 2px solid rgba(1, 50, 180, .4);
    outline-offset: 2px;
}

.hero-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 16px;
    background: #fff;
    border: 1px solid rgba(7, 24, 69, .12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.hero-search-bar svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--muted);
}

.hero-search-bar input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 10px 0;
}

.hero-search-bar .btn {
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .hero-search-tabs span { padding: 6px 13px; font-size: 13px; }
    .hero-search-bar { padding-left: 12px; }
}


/* Form fields: no glow or outline on focus, only the border colour changes */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
}

/* Footer credit line */
.footer-credit {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.footer-credit a {
    color: #fff;
    font-weight: 700;
    transition: color .2s ease;
}

.footer-credit a:hover {
    color: var(--secondary-2);
}

.footer-brand-link {
    color: inherit;
    font-weight: 600;
}

.footer-brand-link:hover {
    color: var(--secondary-2);
}

.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--primary); }

/* DHEE DX home: imaging list inside a service card (content from the client document) */
.hero-sub + .hero-sub { margin-top: 10px; }


/* DHEE DX home: two intro paragraphs under a section heading */
.section-head .section-sub + .section-sub { margin-top: 12px; }

/* DHEE DX home hero (desktop): the banner image fills the column height so the floating chips stay on the image */
@media (min-width: 981px) {
    .hero-inner .hero-visual { align-self: stretch; }
    .hero-inner .hero-visual .hero-image-frame { height: 100%; }
    .hero-inner .hero-visual .hero-slider { aspect-ratio: auto; height: 100%; min-height: 440px; }
}

/* DHEE DX home "Why DHEE DX": heading on its own line on top; image and list columns share the same height */
.why > .why-head { grid-column: 1 / -1; margin-bottom: 0; }
@media (min-width: 981px) {
    .why { align-items: stretch; gap: 36px 64px; }
    .why-visual { height: 100%; }
    .why-visual .why-image-frame { height: 100%; }
    .why-visual .why-image { height: 100%; object-fit: cover; }
    .why-copy { align-self: center; }
}
