/* ==========================================================================
   Dr. Captab Life Sciences — site styles
   Framework-free design system for the public website.
   Brand colours are taken from the logo (royal blue hand + red heart) and the
   amber used in product campaigns.
   ========================================================================== */

:root {
  --brand: #2a31a8;
  --brand-600: #222893;
  --brand-700: #1b2079;
  --brand-900: #10144f;
  --brand-50: #eef0fd;
  --brand-100: #dfe2fb;
  --accent: #f6a609;
  --accent-600: #dc8f00;
  --accent-50: #fff6e0;
  --heart: #e2323a;
  --whatsapp: #1fae55;
  --whatsapp-600: #178c44;

  --ink: #0f1430;
  --ink-2: #303656;
  --muted: #5d6380;
  --line: #e4e6f0;
  --surface: #f5f6fb;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 79, .06), 0 1px 3px rgba(16, 20, 79, .08);
  --shadow: 0 10px 30px -12px rgba(16, 20, 79, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 20, 79, .28);

  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--surface); }
.section-dark { background: var(--brand-900); color: #c9cdf0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split > *, .grid > *, .cta-band > *, .form-grid > * { min-width: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(42, 49, 168, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: var(--brand-900); box-shadow: 0 10px 20px -10px rgba(246, 166, 9, .8); }
.btn-accent:hover { background: var(--accent-600); color: var(--brand-900); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-600); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-900); color: #c3c7ee; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e6e8ff; }
.topbar a:hover { color: var(--accent); }
.topbar-list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-list i { color: var(--accent); margin-right: 6px; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,20,79,.4); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-50); }
.nav-links a[aria-current="page"] { color: var(--brand); background: var(--brand-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: .92rem; padding-right: 6px; }
.nav-phone .icon-circle { width: 38px; height: 38px; font-size: .95rem; }
.nav-phone small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--ink);
}

/* ---------- Icon helpers ---------- */
.icon-circle {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand); font-size: 1.3rem;
}
.icon-circle.accent { background: var(--accent-50); color: var(--accent-600); }
.icon-circle.heart { background: #fdecec; color: var(--heart); }
.icon-circle.green { background: #e6f7ed; color: var(--whatsapp-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(246,166,9,.16), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(42,49,168,.12), transparent 60%),
    linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
  padding: 72px 0 96px;
}
.hero .split { gap: 56px; }
.hero h1 span { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: rgba(246,166,9,.45); z-index: -1; border-radius: 4px;
}
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 22px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.hero-badge b { white-space: nowrap; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .75rem; letter-spacing: .04em; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.trust-row i { color: var(--whatsapp-600); }

.hero-visual { position: relative; }
.hero-floating {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink-2);
}
.hero-floating strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.hero-floating.one { left: -28px; bottom: 48px; }
.hero-floating.two { right: -18px; top: 28px; }

/* ---------- Slider (banners) ---------- */
.slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-900); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) saturate(1.2); opacity: .75; }
.slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.slider-dots { position: absolute; z-index: 4; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background-color .3s; }
.slider-dots button.is-active { width: 28px; background: #fff; }
.slider-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.slider:hover .slider-nav, .slider-nav:focus-visible { opacity: 1; }
.slider-nav.prev { left: 14px; }
.slider-nav.next { right: 14px; }

/* ---------- Stats ---------- */
.stats { margin-top: -48px; position: relative; z-index: 5; }
.stats-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 28px 24px; display: flex; align-items: center; gap: 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat-label { color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: 4px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: 16px; }
.card-flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.audience-card { position: relative; overflow: hidden; }
.audience-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--brand-50); transition: transform .4s ease;
}
.audience-card:hover::after { transform: scale(1.6); }
.audience-card > * { position: relative; z-index: 1; }

/* ---------- Products ---------- */
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-media {
  position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f6f7fd, #eef0fb);
  display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media .placeholder { width: 40%; opacity: .35; padding: 0; }
.product-tag {
  position: absolute; top: 12px; left: 12px; background: #fff; color: var(--brand);
  border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.08rem; margin: 0 0 6px; }
.product-body p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; color: var(--ink); }
.price.muted { font-weight: 600; color: var(--muted); font-size: .85rem; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.product-actions .btn { padding: 10px 14px; font-size: .88rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.search {
  position: relative; flex: 1 1 320px; max-width: 420px;
}
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* Skeletons */
.skeleton { position: relative; overflow: hidden; background: #eceef6; border-radius: 8px; }
.skeleton::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-media { aspect-ratio: 1/1; border-radius: 0; }
.sk-line { height: 14px; margin: 8px 0; }
.sk-line.short { width: 60%; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty-state i { font-size: 2.2rem; color: var(--brand); margin-bottom: 14px; }
.empty-state p { color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-50); border: 1px solid #fde3a7; color: #6b4a00; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; margin-bottom: 24px; }

/* ---------- Feature / checklist ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.media-stack { position: relative; padding: 0 0 40px 40px; }
.media-stack .media-small {
  position: absolute; left: 0; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.media-stack .media-small img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.checklist { display: grid; gap: 12px; margin: 22px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.checklist i { margin-top: 4px; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #e6f7ed; color: var(--whatsapp-600); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; }

.feature { display: flex; gap: 18px; }
.feature h3 { margin: 2px 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section-dark .feature p { color: #b7bce8; }
.section-dark .icon-circle { background: rgba(255,255,255,.08); color: var(--accent); }

/* ---------- Spotlight ---------- */
.spotlight {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff4d6 0%, #ffe3a1 100%);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.spotlight-body { padding: 56px; }
.spotlight-body h2 { color: var(--brand-900); }
.spotlight-body .lead { color: #5a4a20; }
.spotlight-media { align-self: stretch; position: relative; min-height: 380px; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.pill-list li { background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--brand-900); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--brand-900);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: #b7bce8; margin: 0; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 64px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px);
}

/* ---------- Leadership ---------- */
.person { display: flex; gap: 22px; align-items: flex-start; }
.avatar {
  width: 84px; height: 84px; border-radius: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: .02em;
}
.person .role { color: var(--brand); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.person h3 { margin: 4px 0 10px; }
.person p { color: var(--muted); margin: 0; }

/* ---------- Values ---------- */
.value-card { text-align: left; }
.value-card .emoji { font-size: 1.8rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(600px 300px at 90% 0%, rgba(246,166,9,.35), transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%);
  color: #d9dcff; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.cta-band .lead { color: #c7cbf5; }
.cta-contacts { display: grid; gap: 14px; margin-top: 26px; }
.cta-contacts a { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; }
.cta-contacts a small { display: block; color: #aab0ea; font-weight: 500; font-size: .8rem; }
.cta-contacts .icon-circle { background: rgba(255,255,255,.1); color: var(--accent); width: 46px; height: 46px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); color: var(--ink-2); }
.form-card h3 { margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--heart); background: #fff8f8; }
.field .error { display: none; color: var(--heart); font-size: .8rem; margin-top: 4px; font-weight: 600; }
.field.invalid .error { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note i { color: var(--whatsapp-600); }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .icon-circle { margin: 0 auto 14px; width: 64px; height: 64px; font-size: 1.6rem; border-radius: 50%; }
.form-success p { color: var(--muted); }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #d4d8ff; padding: 72px 0 80px;
  background: linear-gradient(120deg, rgba(16,20,79,.96) 0%, rgba(27,32,121,.88) 55%, rgba(42,49,168,.55) 100%), var(--hero-img, none) center/cover no-repeat;
}
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: #c7cbf5; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; font-weight: 600; margin: 0 0 18px; padding: 0; list-style: none; color: #aab0ea; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; padding: 6px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 36px; }
.tab { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }

.job-card { display: flex; flex-direction: column; gap: 10px; }
.job-card .job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card h3 { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #e6f7ed; color: var(--whatsapp-600); white-space: nowrap; }
.job-card .meta { color: var(--muted); font-size: .85rem; }
.job-card .btn-row { margin-top: auto; padding-top: 8px; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; }
.contact-item h3 { font-size: 1rem; margin: 2px 0 4px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); }
.contact-item a:hover { color: var(--brand); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; }
.hours span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0e3a; color: #a5aad6; padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.site-footer a { color: #cfd2f3; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: grid; gap: 10px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #8d93c9; }
.footer-brand .brand img { background: #fff; border-radius: 12px; padding: 4px; width: 50px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--accent); margin-top: 5px; width: 16px; text-align: center; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color .2s, transform .2s; }
.social a:hover { background: var(--accent); color: var(--brand-900); transform: translateY(-2px); }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f85bd; }

/* ---------- Floating contact ---------- */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
  box-shadow: 0 14px 30px -10px rgba(31,174,85,.8); transition: transform .2s;
}
.fab-whatsapp:hover { color: #fff; transform: scale(1.06); }
.fab-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: pulse 2.4s ease-out infinite;
}
.fab-whatsapp .fab-label {
  position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none;
}
.fab-whatsapp:hover .fab-label { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,14,58,.6); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
.modal-dialog.wide { max-width: 860px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.1rem;
}
.modal-close:hover { background: var(--brand-50); color: var(--brand); }
.modal .form-card { box-shadow: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
body.modal-open { overflow: hidden; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.product-detail .product-media { aspect-ratio: auto; min-height: 100%; cursor: default; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.product-detail .detail-body { padding: 40px 32px 32px; }
.product-detail .detail-body p { color: var(--muted); white-space: pre-line; }

/* ---------- Reveal animation ---------- */
/* Only hidden when JS is running (html.js is set in <head>), so content is never lost without JS. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Content rendered from the API animates in on insert (no observer needed). */
.enter { animation: enter .55s ease both; }
.enter:nth-child(4n+2) { animation-delay: .06s; }
.enter:nth-child(4n+3) { animation-delay: .12s; }
.enter:nth-child(4n+4) { animation-delay: .18s; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding: 68px 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 1.02rem; }
  .site-header.nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-cta { margin-left: 0; }

  .hero { padding: 44px 0 80px; }
  .hero-floating.one { left: 8px; bottom: 24px; }
  .hero-floating.two { right: 8px; top: 16px; }
  .slider { aspect-ratio: 4 / 3.6; }

  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .spotlight { grid-template-columns: 1fr; }
  .spotlight-body { padding: 36px 28px; }
  .spotlight-media { min-height: 340px; }

  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .steps .step::after { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail .product-media { border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 4/3; }
  .media-stack { padding: 0 0 32px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid.products .product-body { padding: 12px; }
  .grid.products .product-body p { display: none; }
  .grid.products .product-body h3 { font-size: .95rem; }
  .grid.products .product-actions { grid-template-columns: 1fr; }
  .grid.products .product-actions .icon-btn { display: none; }
  .grid.products .product-tag { font-size: .62rem; top: 8px; left: 8px; }
  .nav-cta .btn { display: none; }
  .brand img { width: 38px; }
  .brand-text strong { font-size: 1rem; }
  .hero-floating { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .stat { padding: 18px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat .icon-circle { width: 40px; height: 40px; font-size: 1rem; }
  .stat-num { font-size: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .cta-band { padding: 32px 16px; border-radius: var(--radius); }
  .cta-band .form-card { padding: 22px 16px; }
  .spotlight-body { padding: 28px 20px; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 48px 0 56px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 11px 12px; }
  .person { flex-direction: column; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; flex-basis: auto; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chip { flex-shrink: 0; }

  .fab-whatsapp { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(16,20,79,.5);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; border-radius: 12px;
    font-weight: 700; font-size: .9rem; border: 0; cursor: pointer;
  }
  .mobile-bar .mb-call { background: var(--brand-50); color: var(--brand); }
  .mobile-bar .mb-wa { background: #e6f7ed; color: var(--whatsapp-600); }
  .mobile-bar .mb-enquire { background: var(--brand); color: #fff; }
}
