/* ============================================================
   Leishman Laboratories — Brand Theme
   Brand colour sampled from img/logo.png  ->  #990B6F (magenta)
   Fonts: Plus Jakarta Sans (headings) · Inter (body)
   ============================================================ */

:root {
    /* --- Brand scale, built from the logo magenta --- */
    --brand: #990B6F;          /* exact logo colour            */
    --brand-700: #6E0850;      /* deep, for hovers/pressed     */
    --brand-800: #4E0639;
    --brand-500: #B81485;
    --brand-400: #C21A8D;
    --brand-300: #E24BAE;
    --brand-200: #F3A5D8;
    --brand-100: #FBE0F1;
    --brand-50:  #FDF2F9;

    /* --- Supporting accents (analogous, keeps gradients rich) --- */
    --violet: #7B2CBF;
    --violet-light: #9D4EDD;
    --pink: #F0399B;

    /* --- Plum-tinted neutrals so greys sit under the brand --- */
    --plum-dark: #1B0714;      /* darkest section background   */
    --plum: #2C0F22;
    --plum-soft: #45203A;
    --ink: #3E3040;            /* body text                    */
    --muted: #7C6B7C;
    --line: #EFE3EC;
    --bg-soft: var(--brand-50);
    --bg-gray: #FAF6F9;
    --white: #ffffff;

    /* --- Gradients --- */
    --grad: linear-gradient(135deg, #990B6F 0%, #C21A8D 55%, #7B2CBF 100%);
    --grad-soft: linear-gradient(135deg, #FDF2F9 0%, #F7EAF6 100%);
    --grad-dark: linear-gradient(120deg, rgba(27, 7, 20, .95) 0%, rgba(110, 8, 80, .88) 55%, rgba(123, 44, 191, .72) 100%);
    --grad-text: linear-gradient(100deg, #990B6F, #C21A8D 45%, #7B2CBF);

    /* --- Elevation (brand-tinted, not neutral grey) --- */
    --shadow-sm: 0 2px 10px rgba(78, 6, 57, .07);
    --shadow-md: 0 12px 34px rgba(78, 6, 57, .12);
    --shadow-lg: 0 28px 70px rgba(78, 6, 57, .20);
    --shadow-brand: 0 12px 30px rgba(153, 11, 111, .38);

    --radius: 20px;
    --radius-sm: 14px;

    /* Fine film grain used over dark/gradient panels */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--plum);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.015em;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s ease; }
ul { list-style: none; }

::selection { background: var(--brand-200); color: var(--brand-800); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section.tight { padding: 72px 0; }

/* Gradient text helper */
.gt, .section-head h2 span, .hero h1 span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Scroll progress bar ---------- */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--grad);
    z-index: 1200;
    transition: width .08s linear;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease, background .28s ease, color .28s ease;
    white-space: nowrap;
}
/* Shine sweep */
.btn::after {
    content: "";
    position: absolute;
    top: 0; left: -85%;
    width: 55%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-22deg);
    transition: left .65s ease;
}
.btn:hover::after { left: 130%; }

.btn-primary {
    background: var(--grad);
    background-size: 180% 180%;
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(153, 11, 111, .48);
    background-position: 100% 0;
    color: #fff;
}
.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; transform: translateY(-3px); }
.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand-200);
}
.btn-outline:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-brand); }

/* ---------- Eyebrow chip ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-50);
    color: var(--brand);
    border: 1px solid var(--brand-100);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-100);
}

/* ---------- Section head ---------- */
.section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(29px, 4vw, 43px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--plum-dark);
    color: #d8c4d2;
    font-size: 13.5px;
    padding: 9px 0;
    position: relative;
}
.topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(153, 11, 111, .35), transparent 45%, rgba(123, 44, 191, .3));
}
.topbar-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #cbb2c4; font-weight: 500; }
.topbar-links a:hover { color: var(--brand-200); }
.topbar-contact { display: flex; gap: 24px; align-items: center; }
.topbar-contact li { display: flex; align-items: center; gap: 8px; }
.topbar-contact i { color: var(--brand-300); }
.topbar-contact a { color: #d8c4d2; }
.topbar-contact a:hover { color: var(--brand-200); }

/* ============================================================
   NAVBAR — sticky glass
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(239, 227, 236, .9);
    transition: box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, .94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.brand img { height: 56px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.04); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--plum-soft);
}
.nav-menu a:not(.active)::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 4px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: translateX(-50%);
    transition: width .3s ease;
}
.nav-menu a:not(.active):hover { color: var(--brand); }
.nav-menu a:not(.active):hover::after { width: 42%; }
.nav-menu a.active { color: #fff; background: var(--grad); box-shadow: var(--shadow-brand); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
    display: none;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand);
    width: 46px; height: 46px;
    border-radius: 13px;
    font-size: 20px;
    cursor: pointer;
}

/* ============================================================
   HERO — image + aurora blobs + grain
   ============================================================ */
.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.13); } }

.hero::before {                       /* brand scrim */
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-dark);
    z-index: 1;
}
.hero::after {                        /* film grain */
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .16;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 3;
}
/* Floating aurora blobs */
.aurora { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    opacity: .55;
}
.aurora span:nth-child(1) { width: 480px; height: 480px; background: #E24BAE; top: -140px; left: -110px; animation: float1 16s ease-in-out infinite; }
.aurora span:nth-child(2) { width: 400px; height: 400px; background: #7B2CBF; bottom: -150px; right: 8%;  animation: float2 20s ease-in-out infinite; }
.aurora span:nth-child(3) { width: 320px; height: 320px; background: #990B6F; top: 22%; right: 28%;      animation: float3 18s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(70px,50px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,-45px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(35px,-55px) scale(1.14)} }

.hero-content { position: relative; z-index: 4; padding: 100px 0; max-width: 760px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #fff;
}
.hero-badge i { color: var(--brand-200); }
.hero h1 {
    color: #fff;
    font-size: clamp(35px, 5.5vw, 62px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 22px;
    text-shadow: 0 2px 30px rgba(27, 7, 20, .3);
}
.hero h1 span {
    background: linear-gradient(100deg, #FBE0F1, #F3A5D8 40%, #C9A7F5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 18px; color: rgba(255, 255, 255, .9); max-width: 570px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-ticker { position: relative; z-index: 4; margin-top: 58px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-ticker .tick { display: flex; align-items: center; gap: 13px; }
.hero-ticker .tick i {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--brand-200);
    font-size: 18px;
}
.hero-ticker .tick b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; }
.hero-ticker .tick small { color: rgba(255, 255, 255, .72); font-size: 12.5px; }

/* ============================================================
   MARQUEE strip
   ============================================================ */
.marquee {
    background: var(--plum-dark);
    color: #fff;
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}
.marquee::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: .9;
}
.marquee-track {
    position: relative;
    display: flex;
    width: max-content;
    animation: scrollx 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Spacing lives inside each item (padding, not gap) so the two duplicated
   halves are exactly 50% of the track and the loop has no visible jump. */
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-right: 44px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee-track span i { color: var(--brand-200); font-size: 11px; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CARDS — gradient border + cursor spotlight
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.34, 1.3, .64, 1), box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
    isolation: isolate;
}
/* spotlight that follows the cursor (--mx/--my set by JS) */
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 26, 141, .1), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: -1;
}
.card:hover::after { opacity: 1; }
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.card:hover::before { transform: scaleX(1); }

.card .icon {
    width: 66px; height: 66px;
    border-radius: 18px;
    background: var(--grad-soft);
    border: 1px solid var(--brand-100);
    color: var(--brand);
    display: grid; place-items: center;
    font-size: 27px;
    margin-bottom: 22px;
    transition: background .35s ease, color .35s ease, transform .35s ease, border-color .35s ease;
}
.card:hover .icon { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-6deg) scale(1.06); }
.card small.kicker {
    display: block;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 11.5px;
    margin-bottom: 6px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card .more { color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.card .more i { transition: transform .28s ease; }
.card .more:hover i { transform: translateX(6px); }

.raised { margin-top: -80px; position: relative; z-index: 5; }

/* ---------- Feature tiles ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
    position: relative;
    text-align: center;
    padding: 44px 28px;
    border-radius: var(--radius);
    background: var(--bg-gray);
    border: 1px solid transparent;
    transition: all .35s ease;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease;
}
.feature:hover::before { opacity: 1; transform: scale(1.3); }
.feature:hover { background: #fff; border-color: var(--brand-100); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.feature .f-icon {
    position: relative;
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid; place-items: center;
    font-size: 29px;
    box-shadow: var(--shadow-brand);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.feature:hover .f-icon { transform: translateY(-4px) scale(1.08); }
.feature h3 { position: relative; font-size: 19px; margin-bottom: 8px; }
.feature p { position: relative; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   STATS — dark plum with brand glow
   ============================================================ */
.stats { position: relative; background: var(--plum-dark); color: #fff; overflow: hidden; }
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 320px at 12% 18%, rgba(194, 26, 141, .48), transparent 62%),
        radial-gradient(620px 320px at 88% 82%, rgba(123, 44, 191, .42), transparent 62%);
}
.stats::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .12;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 24px 12px; border-radius: var(--radius); transition: background .3s ease; }
.stat:hover { background: rgba(255, 255, 255, .05); }
.stat i { font-size: 31px; color: var(--brand-200); margin-bottom: 14px; display: block; }
.stat .num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.03em;
}
.stat .num::after { content: "+"; color: var(--brand-300); }
.stat p { color: #c3aec0; font-weight: 500; margin-top: 6px; font-size: 15px; }

/* ============================================================
   SPLIT (about / why choose)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text h2 { font-size: clamp(27px, 3.5vw, 38px); margin-bottom: 20px; }
.split-text p { color: var(--muted); margin-bottom: 16px; text-align: justify; }
.check-list { margin: 24px 0 32px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--plum-soft); }
.check-list i {
    color: #fff;
    background: var(--grad);
    width: 26px; height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px;
    margin-top: 3px;
    box-shadow: 0 4px 10px rgba(153, 11, 111, .3);
}

.media-frame { position: relative; isolation: isolate; }
.media-frame img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 460px;
    object-fit: cover;
}
.media-frame::after {
    content: "";
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 2px solid var(--brand-200);
    border-radius: var(--radius);
    z-index: 0;
}
.play-btn { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.play-btn a {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--brand);
    display: grid; place-items: center;
    font-size: 27px;
    padding-left: 5px;
    animation: pulse 2.2s infinite;
    transition: transform .25s ease, color .25s ease;
}
.play-btn a:hover { transform: scale(1.1); color: var(--brand-700); }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(226, 75, 174, .6); }
    70%  { box-shadow: 0 0 0 28px rgba(226, 75, 174, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 75, 174, 0); }
}

/* ============================================================
   GALLERY — bento grid
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 20px;
}
.g-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.g-item:hover img { transform: scale(1.09); }
.g-item .g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(78, 6, 57, .9), rgba(153, 11, 111, .25) 55%, transparent);
    opacity: 0;
    transition: opacity .4s ease;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
}
.g-item .g-overlay::before {
    content: "";
    position: absolute;
    left: 22px; bottom: 52px;
    width: 34px; height: 3px;
    border-radius: 3px;
    background: var(--brand-300);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease .1s;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-item:hover .g-overlay::before { transform: scaleX(1); }

/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */
.newsletter {
    background: var(--grad);
    border-radius: 26px;
    padding: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.newsletter::before {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    top: -150px; right: -80px;
}
.newsletter::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .14;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h3 { color: #fff; font-size: clamp(23px, 3vw, 32px); margin-bottom: 10px; }
.newsletter p { color: rgba(255, 255, 255, .9); max-width: 470px; font-size: 15px; }
.newsletter-form {
    display: flex;
    background: #fff;
    border-radius: 999px;
    padding: 7px;
    min-width: 390px;
    box-shadow: var(--shadow-md);
}
.newsletter-form input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
    min-width: 0;
}
.newsletter-form .btn { padding: 12px 28px; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
    position: relative;
    padding: 120px 0 100px;
    background: url('../img/bread-bg.jpg') center / cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-dark); z-index: 1; }
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .15;
    mix-blend-mode: overlay;
    z-index: 3;
}
.page-hero .aurora { z-index: 2; }
.page-hero .inner { position: relative; z-index: 4; }
.page-hero h1 { color: #fff; font-size: clamp(33px, 4.8vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.crumbs { display: flex; justify-content: center; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .85); }
.crumbs a { color: var(--brand-200); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: 11px; opacity: .7; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.share-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.share-bar h4 { font-size: 16px; }
.share-bar ul { display: flex; gap: 10px; }
.share-bar a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--muted);
    transition: all .28s ease;
}
.share-bar a:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-brand); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.contact-card i {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad-soft);
    border: 1px solid var(--brand-100);
    color: var(--brand);
    display: grid; place-items: center;
    font-size: 25px;
    transition: background .32s ease, color .32s ease;
}
.contact-card:hover i { background: var(--grad); color: #fff; border-color: transparent; }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 14.5px; word-break: break-word; }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: block; filter: saturate(1.05); }
.contact-form-box { padding: 54px 48px; background: #fff; }
.contact-form-box h2 { font-size: 29px; margin-bottom: 8px; }
.contact-form-box > p { color: var(--muted); margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field input, .field textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg-gray);
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a998a9; }
.field input:focus, .field textarea:focus {
    border-color: var(--brand-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(194, 26, 141, .12);
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.form-foot input[type="checkbox"] { accent-color: var(--brand); width: 17px; height: 17px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--plum-dark); color: #b9a3b5; position: relative; overflow: hidden; }
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 380px at 88% 6%, rgba(153, 11, 111, .35), transparent 62%),
        radial-gradient(560px 300px at 5% 92%, rgba(123, 44, 191, .22), transparent 62%);
}
.footer-top {
    position: relative;
    z-index: 1;
    padding: 84px 0 52px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 48px;
}
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    border-radius: 3px;
    background: var(--grad);
}
.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 41px; height: 41px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    display: grid; place-items: center;
    color: #d8c4d2;
    font-size: 15px;
    transition: all .28s ease;
}
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-brand); }

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b9a3b5; font-size: 14.5px; display: inline-flex; align-items: center; gap: 9px; transition: all .25s ease; }
.footer-links a i { font-size: 11px; color: var(--brand-300); }
.footer-links a:hover { color: #fff; padding-left: 6px; }

.footer-info li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; align-items: flex-start; }
.footer-info i { color: var(--brand-300); margin-top: 4px; }
.hours { margin-top: 16px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(185, 163, 181, .22); font-size: 14px; }
.hours span { color: var(--brand-200); font-weight: 600; }

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(185, 163, 181, .16);
    padding: 22px 0;
    text-align: center;
    font-size: 14px;
}
.footer-bottom a { color: var(--brand-200); font-weight: 600; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    width: 50px; height: 50px;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    display: grid; place-items: center;
    font-size: 17px;
    box-shadow: var(--shadow-brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s ease;
    z-index: 998;
    cursor: pointer;
    border: 0;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg, .aurora span, .play-btn a, .marquee-track { animation: none; }
    .btn::after { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .cards-grid, .features-grid, .contact-cards, .about-values { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 46px; }
    .newsletter { flex-direction: column; text-align: center; }
    .newsletter-form { min-width: 0; width: 100%; max-width: 490px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .contact-map iframe { min-height: 380px; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 860px) {
    .topbar-links { display: none; }
    .topbar-inner { justify-content: center; }

    .nav-toggle { display: grid; place-items: center; }
    .nav-cta .btn { display: none; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 14px 20px 22px;
        gap: 4px;
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { border-radius: 13px; padding: 13px 18px; }

    .section { padding: 72px 0; }
    .raised { margin-top: -48px; }
    .hero { min-height: 580px; }
}

@media (max-width: 600px) {
    .cards-grid, .features-grid, .contact-cards, .about-values,
    .stats-grid, .gallery-grid, .footer-top { grid-template-columns: 1fr; }
    .gallery-grid { grid-auto-rows: 200px; }
    .g-item.wide, .g-item.tall { grid-column: auto; grid-row: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .newsletter { padding: 42px 26px; }
    .newsletter-form { flex-direction: column; border-radius: 22px; gap: 10px; padding: 12px; }
    .newsletter-form .btn { justify-content: center; }
    .contact-form-box { padding: 38px 24px; }
    .hero-ticker { gap: 22px; }
    .media-frame img { height: 330px; }
    .media-frame::after { inset: 14px -14px -14px 14px; }
    .topbar-contact { flex-direction: column; gap: 4px; }
}
