/* ==========================================================================
   BOLUS TX — "Liquid Luxe" theme layer
   Loaded after styles.css. Re-skins the whole site around the droplet brand:
   deep ink navy, aqua light, Fraunces display serif, Hanken Grotesk body,
   atmospheric dark heroes, and a site-wide motion system.
   ========================================================================== */

:root {
    --ink: #081729;
    --navy: #0e2240;
    --brand: #1a3661;
    --royal: #2c5aa0;
    --aqua: #56a3c0;
    --aqua-2: #7cc8e4;
    --aqua-3: #bfe6f5;
    --ice: #e8f3f8;
    --mist: #f3f7fa;
    --line: #dfeaf1;
    --text: #22344e;
    --muted: #5a6e88;
    --amber: #f4b840;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Hanken Grotesk', 'Inter', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-card: 0 6px 30px rgba(14, 34, 64, 0.07);
    --shadow-card-hover: 0 24px 60px rgba(14, 34, 64, 0.14);
    --glow-aqua: 0 12px 40px rgba(86, 163, 192, 0.35);

    /* grain texture used on dark sections */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* clip (not hidden) so horizontal entrance animations can't cause
       page judder, while position: sticky/fixed keep working */
    overflow-x: clip;
}

::selection {
    background: var(--aqua);
    color: #ffffff;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.015em;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Slim custom scrollbar (WebKit) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--brand), var(--aqua));
    border-radius: 8px;
    border: 2px solid var(--mist);
}

/* ==========================================================================
   Scroll progress bar (element injected by theme.js)
   ========================================================================== */

#tx-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--aqua-2), var(--aqua), var(--royal));
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 2000;
    pointer-events: none;
}

/* ==========================================================================
   Navbar — frosted glass
   ========================================================================== */

.navbar {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(223, 234, 241, 0.7);
    transition: box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 30px rgba(14, 34, 64, 0.08);
}

.nav-container { height: 76px; }

.logo-image {
    height: 38px;
    max-width: 120px;
    transition: transform 0.4s var(--ease-out);
}

.nav-logo:hover .logo-image { transform: translateY(-2px) rotate(-4deg); }

.nav-link,
.dropdown-toggle {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--aqua), var(--aqua-2));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.35s var(--ease-out);
}

.nav-link:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-link:hover,
.dropdown-toggle:hover { color: var(--brand); }

.dropdown-menu {
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(14, 34, 64, 0.16);
    overflow: hidden;
    padding: 8px;
}

.dropdown-link {
    border-radius: 10px;
    font-size: 14.5px;
}

.dropdown-link:hover {
    background: var(--ice);
    color: var(--brand);
    padding-left: 30px;
}

.dropdown-link.active {
    background: var(--ice);
    border-left: 3px solid var(--aqua);
    color: var(--brand);
}

/* ==========================================================================
   Buttons — pill silhouettes with shine sweep
   ========================================================================== */

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-get-started,
.btn-review-link {
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.nav-cta {
    background: linear-gradient(135deg, var(--brand), var(--royal));
    padding: 11px 24px;
    font-size: 14.5px;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px rgba(26, 54, 97, 0.25);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--royal), var(--aqua));
    transform: translateY(-2px);
    box-shadow: var(--glow-aqua);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--royal) 100%);
    box-shadow: 0 10px 28px rgba(26, 54, 97, 0.3);
}

.btn-primary::after,
.nav-cta::after,
.btn-get-started::after {
    content: '';
    position: absolute;
    top: 0;
    left: -90%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-22deg);
    transition: left 0.65s var(--ease-out);
    pointer-events: none;
}

.btn-primary:hover::after,
.nav-cta:hover::after,
.btn-get-started:hover::after { left: 140%; }

.btn-primary:hover {
    background: linear-gradient(135deg, var(--royal), var(--aqua));
    transform: translateY(-3px);
    box-shadow: var(--glow-aqua);
}

.btn-secondary {
    border-width: 1.5px;
}

.btn-outline { border-radius: 999px; }

.btn-primary i,
.service-link i,
.btn-get-started i {
    transition: transform 0.35s var(--ease-out);
}

.btn-primary:hover i,
.btn-get-started:hover i { transform: translateX(4px); }

/* ==========================================================================
   Homepage hero — deep water, aurora light, floating droplets
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    padding: 150px 0 140px;
    color: #ffffff;
    background:
        radial-gradient(1100px 600px at 85% -10%, rgba(86, 163, 192, 0.38), transparent 62%),
        radial-gradient(900px 540px at 8% 112%, rgba(44, 90, 160, 0.5), transparent 60%),
        linear-gradient(158deg, #0a1c33 0%, #102a4e 52%, #0b2038 100%);
}

/* drifting aurora light */
.hero::before {
    content: '';
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(40% 36% at 30% 28%, rgba(124, 200, 228, 0.26), transparent 70%),
        radial-gradient(34% 38% at 74% 64%, rgba(86, 163, 192, 0.22), transparent 70%),
        radial-gradient(28% 30% at 56% 18%, rgba(44, 90, 160, 0.35), transparent 70%);
    filter: blur(48px);
    animation: tx-aurora 22s ease-in-out infinite alternate;
    pointer-events: none;
}

/* film grain */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.13;
    mix-blend-mode: overlay;
    pointer-events: none;
}

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

/* floating droplets */
.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-decor span {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%;
    background: linear-gradient(145deg, rgba(124, 200, 228, 0.5), rgba(86, 163, 192, 0.12));
    border: 1px solid rgba(191, 230, 245, 0.35);
    animation: tx-float 9s ease-in-out infinite;
}

.hero-decor span:nth-child(1) { top: 22%; left: 7%;  width: 16px; height: 16px; animation-duration: 8s; }
.hero-decor span:nth-child(2) { top: 64%; left: 13%; width: 28px; height: 28px; animation-duration: 11s; animation-delay: -3s; }
.hero-decor span:nth-child(3) { top: 14%; left: 46%; width: 12px; height: 12px; animation-duration: 7s;  animation-delay: -1.5s; }
.hero-decor span:nth-child(4) { top: 78%; left: 55%; width: 18px; height: 18px; animation-duration: 10s; animation-delay: -5s; }
.hero-decor span:nth-child(5) { top: 30%; left: 90%; width: 26px; height: 26px; animation-duration: 12s; animation-delay: -2s; }
.hero-decor span:nth-child(6) { top: 70%; left: 84%; width: 14px; height: 14px; animation-duration: 8.5s; animation-delay: -6s; }

.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(191, 230, 245, 0.28);
    color: var(--aqua-3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 700;
}

.hero-badge i { color: var(--aqua-2); }

.hero-title {
    font-size: clamp(44px, 5.6vw, 76px);
    font-weight: 560;
    font-variation-settings: 'opsz' 110;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 26px;
}

.hero-title .accent-word {
    font-style: italic;
    font-weight: 480;
    background: linear-gradient(95deg, var(--aqua-2), var(--aqua-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    color: rgba(220, 237, 246, 0.82);
    font-size: 19px;
    font-weight: 400;
    max-width: 520px;
}

.hero-features { flex-wrap: wrap; }

.hero .feature {
    color: rgba(236, 246, 251, 0.92);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(191, 230, 245, 0.2);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14.5px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out);
}

.hero .feature:hover {
    border-color: rgba(124, 200, 228, 0.55);
    background: rgba(124, 200, 228, 0.12);
    transform: translateY(-2px);
}

.hero .feature i { color: var(--aqua-2); }

.hero .btn-primary {
    background: linear-gradient(135deg, var(--aqua) 0%, var(--royal) 100%);
    box-shadow: 0 14px 40px rgba(86, 163, 192, 0.4);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(236, 246, 251, 0.4);
    color: #ffffff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffffff;
    color: var(--brand);
}

/* portrait inside a slowly morphing droplet blob */
.hero-image { position: relative; }

.hero-image::before {
    content: '';
    position: absolute;
    width: 112%;
    height: 112%;
    border-radius: 55% 45% 50% 50% / 48% 55% 45% 52%;
    background: linear-gradient(140deg, rgba(124, 200, 228, 0.4), rgba(44, 90, 160, 0.12));
    filter: blur(34px);
    animation: tx-blob 18s ease-in-out infinite alternate-reverse;
}

.hero-img {
    position: relative;
    border-radius: 58% 42% 55% 45% / 52% 48% 60% 40%;
    border: 1px solid rgba(191, 230, 245, 0.4);
    box-shadow: 0 40px 90px rgba(3, 12, 26, 0.55);
    animation: tx-blob 14s ease-in-out infinite alternate, tx-float 8s ease-in-out infinite;
}

.hero-img:hover {
    transform: scale(1.02);
    box-shadow: 0 50px 110px rgba(3, 12, 26, 0.6);
}

/* wave divider sitting at the hero's bottom edge */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 92px;
}

/* neutralize the old per-child CSS animation (AOS owns hero entrances now) */
.hero-content > * { animation: none; }

/* ==========================================================================
   Section headers — serif display + eyebrow rule
   ========================================================================== */

.section-header h2,
.contact-header h2,
.cta-content h2 {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 560;
    font-variation-settings: 'opsz' 90;
    color: var(--navy);
}

.section-header { position: relative; }

.section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, var(--aqua), var(--aqua-2));
}

.section-header p { color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */

.services {
    background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}

.service-card::before {
    background: linear-gradient(90deg, var(--aqua), var(--royal));
    inset: auto 0 auto 0;
    top: 0;
    height: 4px;
    border-radius: 26px 26px 0 0;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(86, 163, 192, 0.45);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
    font-size: 26px;
    font-weight: 560;
    color: var(--navy);
}

.service-icon {
    border-radius: 20px;
    background: linear-gradient(140deg, var(--brand), var(--aqua));
    box-shadow: 0 10px 26px rgba(86, 163, 192, 0.35);
    transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 14px 34px rgba(86, 163, 192, 0.5);
}

.service-card li::before { color: var(--aqua); }

.service-link { color: var(--royal); }

.service-link:hover { color: var(--aqua); }

/* ==========================================================================
   Get-started band — immersive dark CTA
   ========================================================================== */

.get-started-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 420px at 90% 0%, rgba(86, 163, 192, 0.35), transparent 60%),
        radial-gradient(700px 420px at 5% 100%, rgba(44, 90, 160, 0.45), transparent 60%),
        linear-gradient(150deg, #0a1c33, #11294a);
}

.get-started-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.get-started-content { position: relative; z-index: 1; }

.get-started-text h2 {
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 560;
}

.benefits-list .benefit i { color: var(--aqua-2); }

.btn-get-started {
    background: linear-gradient(135deg, #ffffff, var(--ice));
    color: var(--brand);
    box-shadow: 0 16px 44px rgba(3, 12, 26, 0.4);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.btn-get-started:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 54px rgba(3, 12, 26, 0.5);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(124, 200, 228, 0.14), transparent 60%),
        var(--mist);
}

.practitioner-info h3 {
    font-size: 30px;
    font-weight: 560;
    color: var(--navy);
}

.credential {
    background: var(--ice);
    color: var(--brand);
    border: 1px solid rgba(86, 163, 192, 0.35);
    font-weight: 600;
}

.highlight strong {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    background: linear-gradient(120deg, var(--brand), var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 32px 4px;
    background:
        radial-gradient(420px 280px at 80% 10%, rgba(124, 200, 228, 0.35), transparent 65%),
        linear-gradient(150deg, var(--brand), var(--royal));
    box-shadow: 0 30px 70px rgba(14, 34, 64, 0.25);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.14;
    mix-blend-mode: overlay;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--ice) 100%);
}

.review-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
    overflow: hidden;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    color: rgba(86, 163, 192, 0.16);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    border-color: rgba(86, 163, 192, 0.45);
    box-shadow: var(--shadow-card-hover);
}

.reviewer-avatar {
    background: linear-gradient(140deg, var(--brand), var(--aqua)) !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px rgba(86, 163, 192, 0.4);
}

.review-stars i,
.stars i { color: var(--amber); }

.review-text {
    font-size: 15.5px;
    color: var(--muted);
}

.btn-review-link { border-radius: 999px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--mist); }

.method-icon {
    border-radius: 18px;
    background: linear-gradient(140deg, var(--brand), var(--aqua));
    box-shadow: 0 10px 26px rgba(86, 163, 192, 0.3);
    transition: transform 0.4s var(--ease-out);
}

.contact-method:hover .method-icon { transform: translateY(-4px) rotate(-6deg); }

.method-info a { color: var(--royal); }

/* ==========================================================================
   Footer — deep water with outlined watermark
   ========================================================================== */

.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1c33 0%, #071423 100%);
    padding-top: 80px;
}

.footer::before {
    content: 'BOLUS';
    position: absolute;
    bottom: -0.32em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(120px, 24vw, 300px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(124, 200, 228, 0.09);
    pointer-events: none;
    user-select: none;
}

.footer-content,
.footer-bottom { position: relative; z-index: 1; }

.footer-section h3 {
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-section h4 {
    color: var(--aqua-3);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-section a { transition: color 0.3s ease, padding-left 0.3s var(--ease-out); }

.footer-section a:hover {
    color: var(--aqua-2);
    padding-left: 4px;
}

.footer-bottom { border-top: 1px solid rgba(124, 200, 228, 0.12); }

/* ==========================================================================
   Subpage heroes (.page-hero) — same deep water treatment
   ========================================================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 110px;
    color: #ffffff;
    background:
        radial-gradient(1000px 540px at 85% -10%, rgba(86, 163, 192, 0.36), transparent 62%),
        radial-gradient(800px 480px at 8% 112%, rgba(44, 90, 160, 0.48), transparent 60%),
        linear-gradient(158deg, #0a1c33 0%, #102a4e 55%, #0b2038 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(38% 34% at 28% 30%, rgba(124, 200, 228, 0.24), transparent 70%),
        radial-gradient(32% 36% at 72% 66%, rgba(86, 163, 192, 0.2), transparent 70%);
    filter: blur(48px);
    animation: tx-aurora 24s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

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

.page-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 560;
    font-variation-settings: 'opsz' 110;
    color: #ffffff;
    line-height: 1.08;
}

.page-hero p { color: rgba(220, 237, 246, 0.85); }

.page-hero .breadcrumb { color: rgba(191, 230, 245, 0.6); }

.page-hero .breadcrumb a { color: var(--aqua-2); }

.page-hero .hero-features {
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    gap: 16px;
}

.page-hero .feature {
    color: rgba(236, 246, 251, 0.92);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(191, 230, 245, 0.2);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14.5px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.page-hero .feature i { color: var(--aqua-2); }

/* staggered entrance for subpage hero content (CSS-only, on load) */
.page-hero-content > * {
    animation: tx-rise 0.9s var(--ease-out) both;
}

.page-hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.page-hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.page-hero-content > *:nth-child(4) { animation-delay: 0.36s; }
.page-hero-content > *:nth-child(5) { animation-delay: 0.48s; }

.page-hero .hero-wave svg { height: 70px; }

/* ==========================================================================
   Subpage content components
   ========================================================================== */

.service-description h2,
.service-description h3 {
    color: var(--navy);
    font-weight: 560;
}

.process-info,
.conditions-treated,
.safety-info {
    border-radius: 24px;
    border: 1px solid var(--line);
}

.process-info { background: var(--mist); }
.conditions-treated { background: var(--ice); border-color: rgba(86, 163, 192, 0.3); }

.step-number {
    background: linear-gradient(140deg, var(--brand), var(--aqua));
    box-shadow: 0 8px 20px rgba(86, 163, 192, 0.35);
}

.condition-item {
    border-radius: 12px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.condition-item i { color: var(--aqua); }

.benefit-item {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #ffffff;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.35s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(86, 163, 192, 0.45);
    box-shadow: var(--shadow-card-hover);
}

.benefit-item i {
    background: linear-gradient(120deg, var(--brand), var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.treatments-pricing { background: var(--mist); }

.treatment-card,
.pricing-card,
.trt-pricing-card {
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}

.treatment-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(86, 163, 192, 0.45);
    box-shadow: var(--shadow-card-hover);
}

.treatment-card.featured,
.pricing-card.featured { border-color: var(--aqua); }

.treatment-icon {
    background: linear-gradient(140deg, var(--brand), var(--aqua));
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(86, 163, 192, 0.32);
}

.treatment-header h3 { font-weight: 560; color: var(--navy); }

.popular-badge,
.treatment-badge {
    background: linear-gradient(120deg, var(--aqua), var(--royal));
    border-radius: 999px;
}

.price .amount { color: var(--brand); font-family: var(--font-display); }

.features li::before { color: var(--aqua); }

.faq-section { background: linear-gradient(180deg, #ffffff, var(--mist)); }

.faq-item {
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.4s var(--ease-out), border-color 0.35s ease, box-shadow 0.4s ease;
}

.faq-item:hover {
    border-color: rgba(86, 163, 192, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.faq-item h4 { color: var(--navy); }

/* dark CTA band on subpages */
.cta-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 420px at 88% 0%, rgba(86, 163, 192, 0.35), transparent 60%),
        radial-gradient(700px 420px at 6% 100%, rgba(44, 90, 160, 0.45), transparent 60%),
        linear-gradient(150deg, #0a1c33, #11294a);
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
    color: #ffffff;
    font-weight: 560;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, #ffffff, var(--ice));
    color: var(--brand);
}

.cta-section .btn-primary:hover {
    background: #ffffff;
    color: var(--brand);
}

.info-highlight { border-radius: 16px; }

/* ==========================================================================
   Modal
   ========================================================================== */

.modal {
    background-color: rgba(8, 23, 41, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.modal-content {
    border-radius: 26px;
    box-shadow: 0 40px 100px rgba(3, 12, 26, 0.5);
    animation: tx-rise 0.5s var(--ease-out) both;
}

.modal-header h3 { color: var(--navy); font-weight: 560; }

.form-group input,
.form-group select,
.form-group textarea {
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--mist);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--aqua);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(86, 163, 192, 0.16);
}

.success-icon i { color: var(--aqua); }

/* ==========================================================================
   Scroll-reveal utility (theme.js applies .tr-reveal / .tr-in)
   ========================================================================== */

.tr-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s var(--ease-out) var(--d, 0s),
        transform 0.9s var(--ease-out) var(--d, 0s);
    will-change: opacity, transform;
}

.tr-reveal.tr-in {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Weight-loss sticky CTA — floating glass dock
   ========================================================================== */

.wl-sticky-cta {
    background: transparent;
    box-shadow: none;
    padding: 0 16px calc(18px + env(safe-area-inset-bottom));
    pointer-events: none;
}

.wl-sticky-cta .container {
    max-width: 860px;
    padding: 0;
}

.wl-sticky-inner {
    pointer-events: auto;
    gap: 16px;
    background: rgba(10, 28, 51, 0.85);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(124, 200, 228, 0.28);
    border-radius: 999px;
    padding: 12px 14px 12px 26px;
    box-shadow:
        0 18px 50px rgba(3, 12, 26, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: tx-dock-rise 0.8s var(--ease-out) 0.4s both;
}

.wl-sticky-icon {
    background: linear-gradient(140deg, var(--aqua), var(--royal));
    box-shadow: 0 8px 20px rgba(86, 163, 192, 0.4);
}

.wl-sticky-text strong {
    font-size: 15px;
    letter-spacing: 0.01em;
}

.wl-sticky-text span { color: rgba(191, 230, 245, 0.75); }

.wl-sticky-cta .wl-btn-primary {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--aqua), var(--royal));
    box-shadow: 0 10px 28px rgba(86, 163, 192, 0.35);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.wl-sticky-cta .wl-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -90%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-22deg);
    transition: left 0.65s var(--ease-out);
    pointer-events: none;
}

.wl-sticky-cta .wl-btn-primary:hover {
    background: linear-gradient(135deg, var(--aqua-2), var(--aqua));
    transform: translateY(-2px);
    box-shadow: var(--glow-aqua);
}

.wl-sticky-cta .wl-btn-primary:hover::after { left: 140%; }

@media (max-width: 768px) {
    .wl-sticky-cta { padding: 0 12px calc(12px + env(safe-area-inset-bottom)); }

    /* stay on one compact row instead of stacking */
    .wl-sticky-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 12px;
        padding: 10px 10px 10px 18px;
    }

    .wl-sticky-text { justify-content: flex-start; gap: 11px; }
    .wl-sticky-text span { display: none; }
    .wl-sticky-text strong { font-size: 14px; }
    .wl-sticky-icon { width: 36px; height: 36px; }
    .wl-sticky-icon i { font-size: 15px; }

    .wl-sticky-cta .wl-btn-primary {
        width: auto;
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes tx-dock-rise {
    from { opacity: 0; transform: translateY(120%); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes tx-aurora {
    0%   { transform: translate3d(-4%, -2%, 0) scale(1); }
    50%  { transform: translate3d(3%, 4%, 0) scale(1.08); }
    100% { transform: translate3d(-2%, 6%, 0) scale(1.02); }
}

@keyframes tx-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}

@keyframes tx-blob {
    0%   { border-radius: 58% 42% 55% 45% / 52% 48% 60% 40%; }
    50%  { border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%; }
    100% { border-radius: 52% 48% 42% 58% / 46% 56% 44% 54%; }
}

@keyframes tx-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive & accessibility
   ========================================================================== */

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 130px 0 110px; }
    /* stats row was forcing the about section wider than the viewport */
    .experience-highlights {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 32px;
    }
    .highlight strong { font-size: 34px; }
    .hero-decor span:nth-child(3),
    .hero-decor span:nth-child(4) { display: none; }
    .hero-img { max-width: 320px; }
    .hero-wave svg { height: 54px; }
    .page-hero { padding: 130px 0 90px; }
    .footer::before { font-size: 34vw; }
    .nav-menu {
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        top: 76px;
        border-bottom: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero::before,
    .page-hero::before,
    .hero-decor span,
    .hero-img,
    .hero-image::before,
    .page-hero-content > *,
    .wl-sticky-inner,
    .modal-content { animation: none !important; }
    .tr-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
