/* ==========================================================================
   KLINIK PAKAR WANITA DAN IBU UMRA
   Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --blush: #FDF2F4;
  --blush-2: #F8E3E8;
  --plum: #3C1361;
  --plum-2: #5A2590;
  --gold: #D4AF37;
  --gold-deep: #9A7A12;
  --text: #1F2937;
  --muted: #4B5563;
  --line: #E8DFEF;
  --heading: #3C1361;
  --primary: #3C1361;
  --on-primary: #FFFFFF;
  --link: #3C1361;
  --shadow: 0 18px 50px -24px rgba(60, 19, 97, .35);
  --display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --body: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --nav-h: 81px; /* .bar min-height 80px + 1px header border */
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* --------------------------------------------------------------------------
   2. Base & Typography Resets
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: inherit;
}

html {
  height: auto;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img, svg {
  max-width: 100%;
}

a {
  color: var(--link);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -.2em;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
}

/* --------------------------------------------------------------------------
   3. Buttons & Common Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: 600 1rem/1 var(--body);
  padding: 15px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 24px -12px var(--primary);
}

.btn-gold {
  background: linear-gradient(135deg, #E8CB66, #D4AF37 55%, #B8932A);
  color: #2A0F45;
  box-shadow: 0 10px 24px -12px #B8932A;
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 14px -6px rgba(60, 19, 97, 0.15);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(60, 19, 97, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--gold);
}

.btn-ghost:hover {
  background: var(--blush);
}

.btn-wa {
  background: #1FA855;
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  min-height: 40px;
  font-size: .92rem;
  line-height: 1;
}

.gold-rule {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 22px;
}

.center {
  text-align: center;
}

.center .gold-rule {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 60ch;
}

.center .lede {
  margin-inline: auto;
}

section.block {
  padding: 84px 0;
}

section.tint {
  background: var(--blush);
}

/* --------------------------------------------------------------------------
   4. Header & Top Bar Navigation
   -------------------------------------------------------------------------- */
.top-strip {
  background: var(--plum);
  color: #fff;
  font-size: .86rem;
}

.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}

.top-strip a {
  color: #fff;
  text-decoration: none;
}

.top-strip .gold {
  color: #F0D77A;
}

header.site {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  max-width: 1360px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
  flex-shrink: 0;
}

.brand span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.brand img.logo {
  width: 50px;
  height: 50px;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.brand:hover img.logo {
  transform: scale(1.03);
}

.brand b {
  display: block;
  font: 700 1.02rem/1.2 var(--display);
  letter-spacing: .01em;
  color: var(--heading);
}

.brand small {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 2px;
  letter-spacing: .01em;
}

nav.main {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

nav.main > * {
  margin: 0;
}

nav.main a.nl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1;
  white-space: nowrap;
  min-height: 36px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

nav.main a.nl:hover {
  background: var(--blush);
  color: var(--heading);
}

nav.main a.nl[aria-current="page"],
nav.main a.nl.active {
  color: var(--heading);
  background: var(--blush);
  box-shadow: inset 0 -2.5px 0 var(--gold);
}

.lang {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface);
  margin: 0 2px;
  min-height: 36px;
  box-sizing: border-box;
}

.lang button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 .80rem/1 var(--body);
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 28px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang button:hover {
  color: var(--heading);
}

.lang button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.lang button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--on-primary);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-flex !important;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 1200px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .header-actions {
    gap: 6px;
  }
  .lang {
    min-height: 32px;
    padding: 2px;
    margin: 0;
  }
  .lang button {
    padding: 4px 8px;
    font-size: 0.76rem;
    min-height: 26px;
  }
  .burger {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

.burger:hover {
  border-color: var(--gold);
  background: var(--blush);
}

.head-cta {
  margin-left: 4px;
  padding: 7px 14px;
  min-height: 36px;
  font-size: 0.86rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  nav.main {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 24px;
    gap: 8px;
    display: none;
    box-shadow: 0 16px 36px rgba(42, 14, 72, 0.22);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
  }
  nav.main.open {
    display: flex;
  }
  nav.main a.nl {
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 8px;
    display: block;
  }
  nav.main a.nl[aria-current="page"],
  nav.main a.nl.active {
    background: var(--blush);
    border-left: 3px solid var(--gold);
    border-bottom: none;
    border-radius: 6px;
  }
  .head-cta {
    margin: 10px 0 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .lang {
    align-self: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section (Screen Fit / Above-the-Fold)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  padding: clamp(14px, 2.2vh, 28px) 0 clamp(16px, 2.4vh, 30px);
  background: radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, var(--blush), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3.5vw, 42px);
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: clamp(1.85rem, 2.9vw, 2.65rem);
  line-height: 1.14;
  margin: 0 0 .3em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--heading);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  margin-bottom: 10px;
}

.badge .ico {
  color: var(--gold-deep);
  width: 1.1em;
  height: 1.1em;
}

.hero p.lede {
  margin-bottom: 16px;
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  padding: 12px 22px;
  min-height: 44px;
  font-size: .94rem;
}

/* Hero Micro Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.h-stat {
  display: flex;
  flex-direction: column;
}

.h-stat b {
  font: 700 1.35rem/1 var(--display);
  color: var(--gold-deep);
  letter-spacing: -.01em;
}

.h-stat span {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.h-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* Hero Visual Showcase (Compact & Balanced) */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: clamp(290px, 28vw, 375px);
  margin: 0 auto;
}

.hero-image-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 48px -12px rgba(60, 19, 97, 0.25), 0 0 36px -8px rgba(212, 175, 55, 0.25);
  transition: transform .4s ease, box-shadow .4s ease;
  max-height: clamp(280px, 52vh, 380px);
}

.hero-image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px -12px rgba(60, 19, 97, 0.32), 0 0 45px -8px rgba(212, 175, 55, 0.35);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.98;
  max-height: clamp(280px, 52vh, 380px);
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(42, 14, 72, 0.3) 0%, transparent 45%);
}

/* Floating Clinical Trust Badges (Compact & Proportional) */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(38, 12, 68, 0.96), rgba(58, 20, 96, 0.94));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(240, 215, 122, 0.75);
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.45), 0 0 18px -4px rgba(212, 175, 55, 0.3);
  z-index: 5;
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-float-badge:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.55), 0 0 24px -4px rgba(212, 175, 55, 0.45);
}

.float-top-left {
  top: -12px;
  left: -22px;
  animation: floatSlow1 5.5s ease-in-out infinite;
}

.float-bottom-right {
  bottom: 38px;
  right: -24px;
  animation: floatSlow2 6s ease-in-out infinite;
}

.float-bottom-left {
  bottom: -16px;
  left: -20px;
  animation: floatSlow3 6.5s ease-in-out infinite;
}

.float-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: .9rem;
}

.float-icon.gold {
  background: linear-gradient(135deg, #F0D77A, #D4AF37);
  color: #2A0F45;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.45);
}

.float-icon.plum {
  background: rgba(255, 255, 255, 0.15);
  color: #F0D77A;
  border: 1px solid rgba(240, 215, 122, 0.4);
}

.float-icon .ico {
  width: 15px;
  height: 15px;
}

.float-title {
  font-weight: 700;
  font-size: .82rem;
  color: #FFFFFF !important;
  line-height: 1.2;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.float-sub {
  font-size: .70rem;
  color: #F0D77A !important;
  line-height: 1.2;
  margin-top: 2px;
  font-weight: 600;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  flex: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes floatSlow1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes floatSlow2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes floatSlow3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

:root[data-theme="dark"] .hero-float-badge {
  background: linear-gradient(135deg, rgba(28, 9, 52, 0.98), rgba(48, 16, 82, 0.96));
  border-color: rgba(240, 215, 122, 0.8);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-float-badge {
    background: linear-gradient(135deg, rgba(28, 9, 52, 0.98), rgba(48, 16, 82, 0.96));
    border-color: rgba(240, 215, 122, 0.8);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding-top: 40px;
  }
  .float-top-left {
    left: 2px;
    top: -12px;
  }
  .float-bottom-right {
    right: 2px;
    bottom: 36px;
  }
  .float-bottom-left {
    left: 2px;
    bottom: -14px;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    gap: 14px;
  }
  .float-bottom-left {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Trust Strip
   -------------------------------------------------------------------------- */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  padding: 28px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item .ico {
  width: 30px;
  height: 30px;
  color: var(--gold-deep);
  margin-top: 2px;
}

.trust-item b {
  display: block;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 3px;
}

.trust-item span {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
}

/* --------------------------------------------------------------------------
   8. Home Categories
   -------------------------------------------------------------------------- */
.cats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.cat {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.cat:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 36px -12px rgba(60, 19, 97, .12);
  transform: translateY(-4px);
}

.cat .ico-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  margin-bottom: 6px;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--gold);
}

.cat .ico-box .ico {
  width: 26px;
  height: 26px;
}

.cat p {
  color: var(--muted);
  margin: 0;
  font-size: .98rem;
}

.cat .more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .cats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   9. Scan Teaser Band
   -------------------------------------------------------------------------- */
.scan-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.scan-card {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #2A0E48, #3C1361 60%, #4A1C78);
  color: #fff;
  padding: 38px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scan-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .5), transparent 65%);
}

.scan-card h3 {
  color: #F5E7AE;
  font-size: 1.9rem;
}

.dims {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
  position: relative;
  z-index: 1;
}

.dim {
  flex: 1 1 70px;
  min-width: 70px;
  text-align: center;
  border: 1px solid rgba(240, 215, 122, .55);
  border-radius: 16px;
  padding: 16px 6px;
  font: 600 2rem/1 var(--display);
  color: #F5E7AE;
}

.dim small {
  display: block;
  font: 500 .72rem var(--body);
  color: #D9C9EC;
  margin-top: 6px;
}

.ticks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ticks .ico {
  color: var(--gold-deep);
  margin-top: .2em;
  width: 1.35em;
  height: 1.35em;
}

@media (max-width: 900px) {
  .scan-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* --------------------------------------------------------------------------
   10. Services Page
   -------------------------------------------------------------------------- */
.page-head {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, var(--blush), var(--bg));
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.tab {
  font: 700 .95rem var(--body);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  min-height: 46px;
  transition: all .2s;
}

.tab:hover {
  border-color: var(--gold);
}

.tab[aria-selected="true"] {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.svc-group {
  margin-bottom: 46px;
}

.svc-group > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 22px;
}

.svc-group > h3 small {
  font: 500 1rem var(--body);
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.svc:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.svc .ib {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--gold);
  margin-bottom: 10px;
  transition: background .25s;
}

.svc:hover .ib {
  background: var(--gold);
  color: #2A0F45;
}

.svc h4 {
  font: 700 1.18rem/1.25 var(--display);
  color: var(--heading);
  margin: 0;
}

.svc .alt {
  font-size: .88rem;
  color: var(--gold-deep);
  font-weight: 600;
}

.svc p {
  font-size: .95rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.svc a.ask {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.svc a.ask:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. Scans Page & FAQ
   -------------------------------------------------------------------------- */
.types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.type {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
}

.type .big {
  font: 700 3rem/1 var(--display);
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}

.type h4 {
  font: 700 1.1rem var(--body);
  color: var(--heading);
  margin: 0 0 6px;
}

.type p {
  font-size: .94rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .types { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .types { grid-template-columns: 1fr; }
}

.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.why > div {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid var(--line);
}

.why .ico {
  width: 34px;
  height: 34px;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.why h3 {
  font-size: 1.35rem;
}

.why p {
  color: var(--muted);
  margin: 0;
  font-size: .96rem;
}

@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font: 600 1.6rem var(--display);
  color: var(--gold-deep);
  transition: transform .25s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] {
  border-color: var(--gold);
}

details .ans {
  padding: 0 22px 20px;
  color: var(--muted);
  margin: 0;
}

.note {
  font-size: .88rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   12. About Clinic Page
   -------------------------------------------------------------------------- */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.cred {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.cred dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.cred dt {
  font-size: .86rem;
  color: var(--muted);
  font-weight: 600;
}

.cred dd {
  margin: 2px 0 0;
  font: 700 1.25rem/1.3 var(--display);
  color: var(--heading);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.values > div {
  padding: 6px 0 0;
  border-top: 3px solid var(--gold);
}

.values h3 {
  font-size: 1.4rem;
  margin-top: 14px;
}

.values p {
  color: var(--muted);
  font-size: .98rem;
}

@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. Contact & WhatsApp Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info {
  display: grid;
  gap: 18px;
}

.row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.row .ib {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--gold);
}

.row b {
  display: block;
  color: var(--heading);
  margin-bottom: 2px;
}

.row a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--gold) 75%, transparent);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.row a:hover {
  color: #6B1C80;
  text-decoration-color: var(--gold);
}

.row a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.row span {
  color: var(--muted);
  font-size: .97rem;
}

.nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: 0 12px 32px -8px rgba(42, 14, 72, 0.12);
  background: var(--surface);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.map-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.map-pin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}

.map-head-info {
  flex: 1 1 auto;
  min-width: 180px;
}

.map-head-info b {
  display: block;
  font-size: 0.95rem;
  color: var(--heading);
  line-height: 1.25;
}

.map-head-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}

.map-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.map iframe {
  border: 0;
  width: 100%;
  flex: 1;
  min-height: 320px;
  display: block;
}

.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.map-fallback svg {
  color: var(--gold);
  flex: none;
}

form.wa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  margin-top: 34px;
}

form.wa h3 {
  font-size: 1.5rem;
}

.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .f2 { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--heading);
}

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  min-height: 48px;
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-color: var(--gold);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.field {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   14. CTA Band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #2A0E48, #3C1361 55%, #53207F);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 50px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-band p {
  margin: 0;
  color: #E2D3F3;
  max-width: 52ch;
}

.cta-band .acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .btn-ghost {
  color: #fff;
  border-color: #F0D77A;
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
}

/* --------------------------------------------------------------------------
   15. Site Footer
   -------------------------------------------------------------------------- */
footer.site {
  background: #220B38;
  color: #D9CCE9;
  padding: 56px 0 0;
  margin-top: 0;
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 820px) {
  .fgrid { grid-template-columns: 1fr; gap: 28px; }
}

footer h4 {
  font: 700 1.2rem var(--display);
  color: #F0D77A;
  margin: 0 0 14px;
}

footer a {
  color: #D9CCE9;
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer p {
  margin: 0 0 8px;
  font-size: .95rem;
}

.legal {
  background: #170726;
  border-top: 1px solid rgba(240, 215, 122, .3);
  padding: 18px 0;
  font-size: .88rem;
}

.legal .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal .kkm {
  color: #F0D77A;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1FA855;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7);
  min-height: 56px;
  transition: transform .2s, box-shadow .2s;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex: none;
}

.wa-float:hover {
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

/* --------------------------------------------------------------------------
   17. Entrance Animations & Accessibility
   -------------------------------------------------------------------------- */
.js .hero .rise {
  opacity: 0;
  transform: translateY(16px);
  animation: rise .8s ease forwards;
}

.js .hero .rise:nth-child(2) { animation-delay: .1s; }
.js .hero .rise:nth-child(3) { animation-delay: .2s; }
.js .hero .rise:nth-child(4) { animation-delay: .3s; }
.js .hero .rise:nth-child(5) { animation-delay: .4s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .draw { stroke-dashoffset: 0; }
  .p { opacity: .7; }
}

/* --------------------------------------------------------------------------
   18. Homepage Opening
   -------------------------------------------------------------------------- */
.intro-screen {
  display: none;
}

html.intro-ready,
html.intro-ready body {
  overflow: hidden;
}

html.intro-ready .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(200, 164, 93, .14), transparent 48%),
    #fbf8f1;
  color: #701B35;
  transition: opacity .72s ease, visibility .72s ease;
}

html.intro-ready .intro-screen::before,
html.intro-ready .intro-screen::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  pointer-events: none;
  border: 1px solid rgba(200, 164, 93, .35);
  border-radius: 50%;
}

html.intro-ready .intro-screen::before {
  width: min(88vw, 760px);
  aspect-ratio: 1;
}

html.intro-ready .intro-screen::after {
  width: min(76vw, 650px);
  aspect-ratio: 1;
  border-color: rgba(112, 27, 53, .1);
}

.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 640px);
  text-align: center;
  animation: intro-arrive .75s ease both;
}

.intro-mark {
  width: 30px;
  height: 1px;
  margin-bottom: 12px;
  background: #C8A45D;
}

.intro-video {
  display: block;
  width: min(44vw, 360px);
  height: min(39vh, 340px);
  min-height: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.15) brightness(1.05);
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 58% 55% at 50% 50%, #000 45%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 55% at 50% 50%, #000 45%, transparent 72%);
}

.intro-name {
  margin: 14px 0 4px;
  color: #701B35;
  font: 600 clamp(1.15rem, 5vw, 2.35rem)/1.15 var(--display);
  letter-spacing: .01em;
  padding: 0 10px;
  max-width: 100%;
  word-break: break-word;
}

.intro-tagline {
  margin: 0;
  color: #806d5c;
  font: 500 clamp(.8rem, 1.6vw, .96rem)/1.5 var(--body);
  letter-spacing: .14em;
}

.intro-loader {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #806d5c;
  font: 600 .72rem/1 var(--body);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.intro-spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(200, 164, 93, .35);
  border-top-color: #701B35;
  border-radius: 50%;
  animation: intro-spin .8s linear infinite;
}

html.intro-ready .top-strip,
html.intro-ready header.site,
html.intro-ready main,
html.intro-ready footer.site,
html.intro-ready .wa-float {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
}

html.intro-ready.intro-revealing .top-strip,
html.intro-ready.intro-revealing header.site,
html.intro-ready.intro-revealing main,
html.intro-ready.intro-revealing footer.site,
html.intro-ready.intro-revealing .wa-float {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .62s ease, transform .62s ease, visibility .62s;
}

html.intro-ready .frame-in svg {
  opacity: 0;
  transition: opacity .55s ease .2s;
}

html.intro-ready.intro-revealing .frame-in svg {
  opacity: 1;
}

html.intro-ready.intro-revealing .intro-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video.intro-flight {
  position: fixed;
  z-index: 1001;
  max-width: none;
  min-height: 0;
  margin: 0;
  object-fit: contain;
  border-radius: 22px;
  pointer-events: none;
  transition: top .72s cubic-bezier(.22, .75, .25, 1),
              left .72s cubic-bezier(.22, .75, .25, 1),
              width .72s cubic-bezier(.22, .75, .25, 1),
              height .72s cubic-bezier(.22, .75, .25, 1),
              opacity .24s ease .48s;
  opacity: .88;
}

.intro-video.intro-flight.intro-fading {
  opacity: 0;
  transition: opacity .4s ease;
}

@keyframes intro-spin {
  to { transform: rotate(360deg); }
}

@keyframes intro-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .intro-video {
    width: min(72vw, 320px);
    height: min(36vh, 290px);
    min-height: 150px;
  }

  .intro-tagline {
    letter-spacing: .09em;
  }
}

/* ==========================================================================
   DESKTOP FOLD CLEARANCE (LAPTOP & WIDE SCREENS)
   ========================================================================== */
@media (min-width: 901px) {
  .hero {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vh, 48px) 0;
  }
  .hero-grid {
    align-items: center;
  }
  .hero-stats {
    margin-top: 18px;
    padding-top: 14px;
    margin-bottom: 0;
  }

  .hero-visual {
    margin-bottom: 18px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.13;
    margin-bottom: 0.35em;
  }

  .hero p.lede {
    font-size: 1.02rem;
    margin-bottom: 18px;
  }

  .badge {
    margin-bottom: 12px;
    padding: 6px 14px;
  }

  .hero-actions {
    gap: 12px;
  }

  nav.main a.nl[aria-current="page"],
  nav.main a.nl.active {
    background: transparent;
    color: var(--heading);
    box-shadow: inset 0 -2.5px 0 var(--gold);
    border-radius: 0;
  }
}

/* ==========================================================================
   TABLET & MOBILE VIEWPORT SYSTEM (< 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    display: block;
    padding: clamp(24px, 4vw, 36px) 0 clamp(32px, 5vw, 44px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 5.2vw, 2.45rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero p.lede {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-visual {
    max-width: min(340px, 90vw);
    margin: 12px auto 0;
  }

  .hero-image-card {
    max-height: 340px;
  }

  .hero-float-badge {
    padding: 6px 13px;
    gap: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .float-top-left {
    top: -10px;
    left: 4px;
  }

  .float-bottom-right {
    bottom: 26px;
    right: 4px;
  }

  .float-bottom-left {
    bottom: -12px;
    left: 4px;
  }

  .float-title {
    font-size: 0.78rem;
  }

  .float-sub {
    font-size: 0.68rem;
  }

  .float-icon {
    width: 26px;
    height: 26px;
  }

  .float-icon .ico {
    width: 14px;
    height: 14px;
  }

  .two {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scan-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   SMARTPHONE VIEWPORT REFINEMENTS (< 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .wrap {
    padding: 0 12px;
  }

  .top-strip .wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    gap: 3px;
    padding: 5px 10px;
    line-height: 1.35;
  }

  .bar {
    min-height: 56px;
    gap: 6px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand img.logo {
    width: 38px;
    height: 38px;
  }

  .brand b {
    font-size: clamp(0.74rem, 3.2vw, 0.86rem);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    font-size: 0.65rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .burger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: none;
    margin-left: 0;
  }

  .badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-stats {
    gap: 6px;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
  }

  .h-stat b {
    font-size: 1.15rem;
  }

  .h-stat span {
    font-size: 0.68rem;
  }

  .trust-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .trust-item .ico {
    width: 24px;
    height: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card, .svc {
    padding: 20px 16px;
  }

  .cta-band {
    padding: 26px 18px;
    border-radius: var(--r-md);
    gap: 18px;
  }

  .cta-band h2 {
    font-size: 1.55rem;
  }

  .cta-band .acts {
    width: 100%;
  }

  .cta-band .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .tabs {
    gap: 8px;
    margin-bottom: 22px;
  }

  .tab {
    padding: 10px 16px;
    font-size: 0.88rem;
    min-height: 40px;
  }

  .map, .map iframe {
    min-height: 260px;
  }

  form.wa {
    padding: 22px 16px;
    margin-top: 24px;
  }

  form.wa button[type="submit"] {
    width: 100%;
    justify-content: center;
  }

  /* Prevent automatic iOS input zoom on focus */
  input, select, textarea {
    font-size: 16px !important;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }

  .wa-float span {
    display: none;
  }

  .wa-float svg {
    width: 26px;
    height: 26px;
  }

  .legal .wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 0.80rem;
  }
}

/* ==========================================================================
   EXTRA-COMPACT SCREENS (< 400px, e.g. iPhone SE / Fold)
   ========================================================================== */
@media (max-width: 400px) {
  .brand small {
    display: none;
  }

  .brand b {
    font-size: 0.88rem;
  }

  .hero-float-badge {
    max-width: 88%;
  }

  .float-bottom-left {
    display: none;
  }
}

