/* ============================================================
   Baptist Healthcare — TULIA
   Design System : Soft Lilac + Ivory (Light)
   Designed by Baptist Digitek
   ============================================================ */

:root {
  /* Base */
  --ivory:      #F6F3FA;
  --cream:      #EFEAF6;
  --cream-2:    #E6DDF2;
  --white:      #FFFFFF;

  /* Brand — soft lilac */
  --blush:      #E3D9F1;
  --blush-soft: #ECE5F4;
  --rose:       #8A75B4;
  --rose-deep:  #6E5C93;
  --rose-ink:   #443768;

  /* Accents */
  --terracotta: #AE9AD0;
  --peach:      #ECE5F4;
  --gold:       #C6A97A;

  /* Ink */
  --plum:       #2E2540;
  --charcoal:   #2E2540;
  --muted:      #7A6E8B;
  --muted-2:    #A99FB6;

  /* Lines / shadows */
  --line:       rgba(46, 37, 64, 0.10);
  --line-2:     rgba(46, 37, 64, 0.06);
  --shadow-sm:  0 4px 14px rgba(110, 92, 147, 0.10);
  --shadow-md:  0 14px 40px rgba(110, 92, 147, 0.14);
  --shadow-lg:  0 30px 70px rgba(110, 92, 147, 0.18);

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
/* scroll-behavior stays auto: Lenis (assets/aura-motion.js) drives smooth scrolling.
   CSS smooth-scroll here fights Lenis for the scroll position and causes juddering. */
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--plum); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blush); color: var(--plum); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .container { padding-inline: 18px; } .section { padding-block: clamp(44px, 12vw, 72px); } }
.section { padding-block: clamp(56px, 8vw, 112px); }
.tight { padding-block: clamp(40px, 5vw, 72px); }
.bg-cream { background: var(--cream); }
.bg-cream-2 { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.bg-white { background: var(--white); }
.center { text-align: center; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--rose); border-radius: 2px; }
.center .eyebrow::before { display: none; }
.h-xl { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.center.section-head { margin-inline: auto; }
.serif-accent { font-style: italic; color: var(--rose-deep); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--rose-deep); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  box-shadow: 0 10px 24px rgba(110, 92, 147, .28);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(110, 92, 147, .34); }
.btn svg { width: 17px; height: 17px; }
.btn--ghost {
  background: transparent; color: var(--rose-deep);
  border-color: rgba(110, 92, 147, .35); box-shadow: none;
}
.btn--ghost:hover { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); box-shadow: 0 14px 30px rgba(110, 92, 147,.28); }
.btn--light { background: #fff; color: var(--rose-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--plum); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--rose-deep); font-size: 14.5px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Announcement bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--rose-deep), var(--rose));
  color: #fff; font-size: 12.5px; letter-spacing: .04em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; gap: 20px; }
.topbar .marq { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.topbar .marq-track { display: flex; gap: 34px; width: max-content; white-space: nowrap; animation: scrollx 20s linear infinite; }
.topbar .marq-track span { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.topbar .tb-right { display: flex; gap: 18px; white-space: nowrap; flex: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 780px){ .topbar .tb-right{ display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 243, 250, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 34px rgba(110, 92, 147,.12); background: rgba(246, 243, 250,.96); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 20px; transition: height .35s var(--ease); }
/* Shrink header on scroll for a premium feel */
.site-header.scrolled .nav { height: 74px; }
.site-header.scrolled .brand-logo { height: 58px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: linear-gradient(140deg, var(--rose), var(--terracotta));
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(110, 92, 147,.35);
}
.brand .mark svg { width: 22px; height: 22px; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: var(--font-display); font-size: 19px; color: var(--plum); font-weight: 600; letter-spacing: .01em; }
.brand .word small { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--rose-deep); font-weight: 700; margin-top: 4px; }
/* Official Baptist Healthcare logo */
.brand-logo { height: 82px; width: auto; display: block; transition: height .35s var(--ease); }
.footer-brand .brand-chip { background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.footer-brand .brand-chip .brand-logo { height: auto; width: 100%; max-height: 120px; object-fit: contain; }
@media (max-width: 600px) {
  .nav { height: 72px; }
  .brand-logo { height: 50px; }
  .site-header.scrolled .nav { height: 62px; }
  .site-header.scrolled .brand-logo { height: 44px; }
  .footer-brand .brand-chip .brand-logo { height: auto; width: 100%; max-height: 105px; }
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links a.nl {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 11px 16px; border-radius: 12px;
  font-weight: 600; font-size: 15px; color: var(--charcoal);
  transition: color .25s ease;
}
/* animated underline indicator */
.nav-links a.nl::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rose), var(--terracotta));
  transform: scaleX(0); transform-origin: center; opacity: 0;
  transition: transform .32s var(--ease), opacity .32s ease;
}
.nav-links a.nl:hover { color: var(--rose-deep); }
.nav-links a.nl:hover::after { transform: scaleX(1); opacity: 1; }
.nav-links a.nl.active { color: var(--rose-deep); font-weight: 700; }
.nav-links a.nl.active::after { transform: scaleX(1); opacity: 1; }
.nav-links .chev { width: 13px; height: 13px; opacity: .55; transition: transform .3s ease; }
.has-drop:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease); z-index: 70;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--charcoal); transition: background .2s, color .2s;
}
.dropdown a:hover { background: var(--cream); color: var(--rose-deep); }
.dropdown a i { width: 8px; height: 8px; border-radius: 50%; background: var(--blush); flex: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { background: linear-gradient(135deg, var(--rose-deep), var(--terracotta)); box-shadow: 0 12px 26px rgba(110, 92, 147,.34); padding: 12px 24px; font-size: 13.5px; }
.nav-cta .btn:hover { box-shadow: 0 18px 34px rgba(174, 154, 208,.42); }
.nav-cta .btn svg { transition: transform .3s var(--ease); }
.nav-cta .btn:hover svg { transform: translateX(4px); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; position: relative; transition: .3s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(340px, 84vw);
    background: var(--ivory); flex-direction: column; align-items: stretch; gap: 4px;
    padding: 90px 22px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .4s var(--ease); z-index: 65; overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a.nl { font-size: 16px; padding: 13px 14px; }
  .nav-links a.nl::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 2px 0 6px 14px; min-width: 0; }
  .nav-cta .btn { display: none; }
  .nav-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100vh; height: 100dvh; background: rgba(46, 37, 64,.45); opacity: 0; visibility: hidden; transition: .3s; z-index: 62; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.hero-bg-blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0; opacity: .6; }
.blob-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle at 30% 30%, var(--blush-soft), transparent 68%); }
.blob-2 { width: 460px; height: 460px; bottom: -180px; left: -140px; background: radial-gradient(circle at 50% 50%, var(--peach), transparent 66%); opacity: .5; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700; color: var(--rose-deep); letter-spacing: .02em; margin-bottom: 22px;
}
.hero-badge i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6E9E7E; box-shadow: 0 0 0 4px rgba(110,158,126,.18); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--charcoal); }
.hero-trust .t svg { width: 20px; height: 20px; color: var(--rose); flex: none; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--blush-soft) 100%);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4;
  display: grid; place-items: center;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-16px);} }
.hero-chip {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-md); z-index: 3;
  display: flex; align-items: center; gap: 11px; animation: floaty 5s ease-in-out infinite;
}
.hero-chip .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--rose-deep); flex: none; }
.hero-chip .ic svg { width: 20px; height: 20px; }
.hero-chip b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--plum); line-height: 1; }
.hero-chip small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.hero-chip.c1 { top: 8%; left: -6%; animation-delay: .4s; }
.hero-chip.c2 { bottom: 12%; right: -7%; animation-delay: 1.2s; }
.hero-chip.c3 { bottom: 34%; left: -9%; animation-delay: 2s; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .hero-chip.c1 { left: 2%; } .hero-chip.c3 { left: 0; } .hero-chip.c2 { right: 2%; }
}
@media (max-width: 480px){ .hero-chip.c3 { display:none; } }

/* ---------- Marquee benefits ---------- */
.marquee { background: var(--plum); color: #fff; overflow: hidden; padding-block: 16px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 15s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--blush-soft); white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--gold); font-style: normal; font-size: 14px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Feature / value cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.vcard {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(110, 92, 147,.28); }
.vcard .vic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--cream), var(--blush-soft)); color: var(--rose-deep); }
.vcard .vic svg { width: 26px; height: 26px; }
.vcard h3 { font-size: 1.24rem; margin-bottom: 8px; }
.vcard p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-media {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 0; overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--white) 100%);
}
.product-media::after { content:""; position:absolute; inset:auto 0 0 0; height: 1px; background: var(--line-2); z-index: 1; }
/* Red brand mockups display full-bleed */
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.9); color: var(--rose-deep); box-shadow: var(--shadow-sm);
}
.product-fav { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--rose); box-shadow: var(--shadow-sm); }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .cat { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.product-body h3 { font-size: 1.18rem; margin: 0; }
.product-body p { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 13px; }
.product-foot .link-arrow { font-size: 13.5px; }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-pill {
  padding: 9px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: #fff; font-weight: 700; font-size: 13.5px; color: var(--charcoal); cursor: pointer; transition: .28s;
}
.filter-pill:hover { border-color: var(--rose); color: var(--rose-deep); }
.filter-pill.active { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); box-shadow: 0 10px 22px rgba(110, 92, 147,.25); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px){ .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--rose-deep); line-height: 1; }
.stat b span { display: inline; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.stat > span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- UBIK partner feature ---------- */
.ubik-feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(30px, 4.5vw, 60px); align-items: center;
  background: linear-gradient(140deg, var(--cream) 0%, var(--blush-soft) 130%);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 60px); box-shadow: var(--shadow-md);
}
.ubik-feature::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle at 50% 50%, rgba(174,154,208,.18), transparent 70%); pointer-events: none; }
@media (max-width: 860px){ .ubik-feature { grid-template-columns: 1fr; } }
.ubik-intro { position: relative; z-index: 1; }
.ubik-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta);
}
.ubik-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.ubik-intro h2 { margin: 18px 0 14px; }
.ubik-intro .lead { margin-bottom: 26px; }
.ubik-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 460px){ .ubik-grid { grid-template-columns: 1fr; } }
.ubik-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ubik-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ubik-card .uic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 15px;
  background: linear-gradient(150deg, var(--cream), var(--blush-soft)); color: var(--rose-deep); }
.ubik-card .uic svg { width: 24px; height: 24px; }
.ubik-card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.ubik-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split-media .badge-float {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 18px;
  padding: 18px 22px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.split-media .badge-float .n { font-family: var(--font-display); font-size: 2rem; color: var(--rose-deep); line-height: 1; }
.split-media .badge-float p { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 520px){ .split-media .badge-float { position: static; margin-top: 16px; left:0; } }

.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--charcoal); font-weight: 500; }
.checklist li svg { width: 22px; height: 22px; color: var(--rose); flex: none; margin-top: 1px; }

/* ---------- Testimonials ---------- */
.tcard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.tcard .stars { font-size: 15px; margin-bottom: 14px; }
.tcard blockquote { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.14rem; color: var(--plum); line-height: 1.5; font-style: italic; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--blush), var(--terracotta)); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-display); }
.tcard .who b { display: block; font-size: 14.5px; color: var(--plum); }
.tcard .who small { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--rose-deep), var(--rose) 55%, var(--terracotta));
  color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta-band::before, .cta-band::after { content:""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 320px; height: 320px; background: rgba(255,255,255,.12); top: -140px; right: -80px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(255,255,255,.08); bottom: -130px; left: -60px; }
.cta-band h2 { color: #fff; position: relative; z-index: 1; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: rgba(255,255,255,.9); position: relative; z-index: 1; max-width: 56ch; margin-inline: auto; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(50px, 7vw, 92px); background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%); text-align: center; }
.page-hero .blob-1, .page-hero .blob-2 { opacity: .45; }
.page-hero .inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 14px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px){ .pd-grid { grid-template-columns: 1fr; } }
.pd-media { position: sticky; top: 100px; background: linear-gradient(160deg, var(--cream), var(--blush-soft)); border-radius: var(--radius-lg); padding: 0; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-md); aspect-ratio: 1/1.05; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px){ .pd-media { position: static; } }
.pd-cat { color: var(--rose-deep); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.pd-benefits { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; }
.pd-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.pd-benefits li svg { width: 22px; height: 22px; color: var(--rose); flex: none; margin-top: 2px; }
.ingredients { background: var(--cream); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 28px; }
.ingredients h4 { font-size: 1rem; margin-bottom: 10px; color: var(--plum); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--charcoal); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; cursor: pointer; font-family: var(--font-display); font-size: 1.08rem; color: var(--plum); }
.acc-head .pm { width: 24px; height: 24px; flex: none; position: relative; }
.acc-head .pm::before, .acc-head .pm::after { content:""; position: absolute; background: var(--rose-deep); border-radius: 2px; }
.acc-head .pm::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.acc-head .pm::after { width: 2px; height: 14px; top: 5px; left: 11px; transition: transform .3s; }
.acc-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 4px 18px; color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.masonry { columns: 3; column-gap: 18px; }
@media (max-width: 860px){ .masonry { columns: 2; } }
@media (max-width: 520px){ .masonry { columns: 1; } }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; }
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry figure::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(46, 37, 64,.35)); opacity: 0; transition: .3s; }
.masonry figure:hover img { transform: scale(1.07); }
.masonry figure:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(46,37,64,.92); display: none; place-items: center; z-index: 200; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: none; font-size: 24px; cursor: pointer; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.info-card .ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--cream), var(--blush-soft)); color: var(--rose-deep); display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card b { display: block; color: var(--plum); font-family: var(--font-display); font-size: 1.05rem; }
.info-card p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; color: var(--plum); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--ivory); font-family: var(--font-body); font-size: 15px; color: var(--charcoal); transition: .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(227, 217, 241,.22); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }

/* ---------- Director / team ---------- */
.team-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card .ph { aspect-ratio: 4/4.4; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.team-card .meta { padding: 20px 22px 24px; text-align: center; }
.team-card .meta h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team-card .meta span { color: var(--rose-deep); font-weight: 700; font-size: 13px; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: rgba(255,255,255,.78); padding-top: 72px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand .word b { color: #fff; }
.footer-brand p { margin: 18px 0; font-size: 14.5px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .28s; }
.footer-social a:hover { background: var(--rose); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,.72); transition: .25s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--blush); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: var(--blush-soft); font-weight: 700; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.digitek { display: inline-flex; align-items: center; gap: 7px; }
.digitek .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .topbar .marq-track { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.maxw-sm { max-width: 540px; } .mx-auto { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------- Products mega-nav: TULIA (with sub-menu) + UBIK ---------- */
.drop-sub { position: relative; }
.drop-sub > a .chev-sm { width: 12px; height: 12px; margin-left: auto; opacity: .5; transition: transform .3s ease; }
.drop-sub:hover > a .chev-sm { transform: rotate(-90deg); }
.subdrop {
  position: absolute; top: -8px; left: calc(100% + 6px);
  min-width: 200px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: all .26s var(--ease); z-index: 71;
}
.drop-sub:hover .subdrop,
.drop-sub:focus-within .subdrop { opacity: 1; visibility: visible; transform: translateX(0); }

/* In the mobile drawer the whole menu is a flat, always-open list. */
@media (max-width: 980px) {
  .subdrop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 2px 0 4px 14px; min-width: 0;
  }
  .drop-sub > a .chev-sm { display: none; }
}

/* ---------- Partner panel (UBIK) on the products page ---------- */
.partner-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(30px, 4vw, 46px) clamp(26px, 4vw, 52px);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream) 0%, var(--ivory) 46%, #fff 100%);
  box-shadow: var(--shadow-md);
}
/* soft lilac bloom in the top-right, echoing the CTA band below it */
.partner-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 120% at 88% 0%, rgba(174, 154, 208, .30), transparent 62%);
}
.partner-panel > * { position: relative; }
.partner-panel h3 {
  font-family: var(--font-display); color: var(--plum);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.15; margin: 0 0 10px;
}
.partner-panel p { margin: 0; color: var(--muted); max-width: 60ch; }
.partner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.partner-chips span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--rose-ink);
}
.partner-chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); flex: none; }
@media (max-width: 820px) {
  .partner-panel { grid-template-columns: 1fr; }
}

/* ---------- Footer fixes ---------- */
/* .brand is display:flex, so as a grid child the white chip stretched to the
   full column width and left a large empty gap beside the logo. */
.footer-brand .brand-chip { display: flex; width: 100%; max-width: 270px; box-sizing: border-box; justify-content: center; align-items: center; }

/* The icons sat on 8% white over a dark plum footer — near-invisible.
   Lift the surface, add a rim, and make the hover state unmistakable. */
.footer-social a {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
}
.footer-social a:hover {
  background: var(--rose); border-color: var(--rose);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}
.footer-social svg { width: 19px; height: 19px; }
