/* Klinik Harmoni — Website Demo (NatNetwork Starter Website)
   Satu fail gaya untuk semua halaman. Token warna mengikut spesifikasi UI/UX §1. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --navy: #123B5D;
  --teal: #0D9488;
  --teal-deep: #0F766E;
  --mint: #DDF5EF;
  --white: #FFFFFF;
  --alt: #F4F8FB;
  --heading: #142B3B;
  --body: #526475;
  --border: #E2EAF0;
  --border-input: #D5E2EA;
  --wa: #25D366;

  --container: 1200px;
  --gutter: 32px;
  --section: 88px;
  --gap: 28px;
  --card-pad: 30px;
  --radius-card: 16px;
  --radius-btn: 10px;

  --shadow-sm: 0 1px 2px rgba(18, 59, 93, .05), 0 4px 14px rgba(18, 59, 93, .05);
  --shadow-md: 0 2px 6px rgba(18, 59, 93, .06), 0 14px 34px rgba(18, 59, 93, .10);
  --ease: 220ms ease;
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(13, 148, 136, .45); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--alt); }
.ico { width: 22px; height: 22px; flex: none; stroke-width: 1.85; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); }
.h1-hero { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.13; }
.h1-page { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.15; }
.h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; }
.h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.accent { color: var(--teal); }
.lead { font-size: 17px; line-height: 1.72; }
.muted { color: var(--body); }
.small { font-size: 14px; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head p { margin-top: 14px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 7fr 3fr; gap: 24px; align-items: end; }
.sec-head--split > div:first-child { max-width: 680px; }
.sec-head--split .sec-head-action { justify-self: end; }
.stack > * + * { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 14px 26px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--primary { background: var(--teal-deep); color: #fff; box-shadow: 0 6px 16px rgba(15, 118, 110, .22); }
.btn--primary:hover { background: #115E59; }
.btn--secondary { background: transparent; border-color: var(--border-input); color: var(--navy); }
.btn--secondary:hover { background: var(--alt); border-color: #C6D6E1; }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--teal-deep);
}
.link .ico { width: 17px; height: 17px; stroke-width: 2.2; transition: transform var(--ease); }
.link:hover { color: var(--navy); }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Demo ribbon ---------- */
.demo-ribbon { background: var(--navy); color: rgba(255, 255, 255, .9); font-size: 12.5px; line-height: 1.4; padding: 7px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.demo-ribbon .ico { width: 15px; height: 15px; color: #5EEAD4; }
.demo-ribbon strong { color: #fff; }
.ex { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: 11px; font-weight: 700; letter-spacing: .3px; vertical-align: 1px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--alt); font-size: 13px; color: var(--body); border-bottom: 1px solid var(--border); }
.topbar-in { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .tb-group { display: flex; align-items: center; gap: 24px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico { width: 14px; height: 14px; color: var(--teal); stroke-width: 2.2; }
.topbar a.tb-item:hover { color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); transition: box-shadow var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 59, 93, .08); }
.hdr { min-height: 82px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.brand-sub { font-size: 11.5px; font-weight: 600; color: var(--body); letter-spacing: .3px; margin-top: 3px; }

.nav { justify-self: center; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  font-size: 15px; font-weight: 600; color: var(--heading); transition: color var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-btn); border: 1px solid var(--border-input); background: #fff; color: var(--navy); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.icon-btn:hover { background: var(--alt); }
.icon-btn--wa { color: #1DA851; }
.icon-btn--wa svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mnav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mnav.is-open { display: block; animation: mnavIn 220ms ease; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav ul { padding: 10px 0; }
.mnav li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font-weight: 600; color: var(--heading); border-bottom: 1px solid var(--border); }
.mnav li:last-child a { border-bottom: 0; }
.mnav li a[aria-current="page"] { color: var(--teal-deep); }
.mnav li a .ico { width: 18px; height: 18px; color: #9AAAB8; }
.mnav-actions { display: grid; gap: 10px; padding: 6px 0 22px; }
.mnav-actions .btn { width: 100%; }

/* ---------- Image placeholders & media ---------- */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #E3F4F0, #DCE9F2); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--alt); padding: 64px 0 104px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 52fr 48fr; gap: 56px; align-items: center; min-height: 520px; }
.hero-copy .lead { max-width: 520px; margin-top: 22px; }
.hero-copy .btn-row { margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--heading); }
.trust .ico { width: 20px; height: 20px; color: var(--teal); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 230px; height: 230px; right: -46px; top: -40px; border-radius: 50%; background: var(--mint); }
.hero-visual::after { content: ""; position: absolute; width: 120px; height: 120px; left: -34px; bottom: 60px; border-radius: 28px; border: 2px dashed rgba(13, 148, 136, .28); }
.hero-img { position: relative; z-index: 1; height: 520px; border-radius: 24px; box-shadow: var(--shadow-md); }
.float-card {
  position: absolute; z-index: 2; left: -28px; bottom: 34px; max-width: 300px;
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(18, 59, 93, .14);
}
.float-card b { display: block; color: var(--heading); font-size: 15.5px; line-height: 1.3; }
.float-card span { display: block; font-size: 13.5px; line-height: 1.5; margin-top: 4px; }

.icon-box { width: 52px; height: 52px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--mint); color: var(--teal); transition: background-color var(--ease), color var(--ease); }
.icon-box .ico { width: 24px; height: 24px; }
.icon-box--sm { width: 44px; height: 44px; border-radius: 11px; }
.icon-box--sm .ico { width: 22px; height: 22px; }
.icon-box--lg { width: 56px; height: 56px; }
.icon-box--lg .ico { width: 26px; height: 26px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.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)); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--card-pad); }
.card-hover { transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(13, 148, 136, .35); }

.quick { position: relative; z-index: 3; margin-top: -36px; }
.info-card { display: flex; flex-direction: column; padding: 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { margin-top: 20px; font-size: 20px; font-weight: 600; }
.info-card .info-lines { margin-top: 10px; font-size: 15px; line-height: 1.65; }
.info-card .info-lines li + li { margin-top: 2px; }
.info-card .info-lines strong { color: var(--heading); font-weight: 600; }
.info-card .link { margin-top: auto; padding-top: 14px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table th, .hours-table td { padding: 7px 0; text-align: left; border-bottom: 1px dashed var(--border); vertical-align: top; }
.hours-table th { font-weight: 600; color: var(--heading); padding-right: 12px; white-space: nowrap; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.service-card { display: flex; flex-direction: column; min-height: 250px; border-radius: 18px; padding: 30px; }
.service-card h3 { margin-top: 22px; font-size: 20px; font-weight: 600; }
.service-card p { margin-top: 10px; font-size: 15px; line-height: 1.65; }
.service-card .link { margin-top: auto; padding-top: 14px; }
.service-card:hover .icon-box { background: var(--teal); color: #fff; }
.service-card.card-hover:hover { transform: translateY(-5px); }
.ticks { margin-top: 14px; display: grid; gap: 7px; font-size: 14.5px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.ticks .ico { width: 17px; height: 17px; color: var(--teal); margin-top: 2px; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 64px; align-items: center; }
.split--48-52 { grid-template-columns: 48fr 52fr; }
.split--45-55 { grid-template-columns: 45fr 55fr; }
.split--55-45 { grid-template-columns: 55fr 45fr; }
.split--40-60 { grid-template-columns: 40fr 60fr; align-items: start; }
.split--50 { grid-template-columns: 1fr 1fr; align-items: stretch; }

.about-visual { position: relative; padding-right: 26px; padding-bottom: 26px; }
.about-img { aspect-ratio: 4 / 5; border-radius: 20px; }
.badge-card {
  position: absolute; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 16px 18px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(18, 59, 93, .14);
  font-size: 15px; font-weight: 600; color: var(--heading); line-height: 1.35;
}
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 26px; }
.features li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--heading); }
.features .ico { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.2; }

.why-card { background: var(--alt); border-radius: 16px; padding: 26px; transition: transform var(--ease), background-color var(--ease); }
.why-card:hover { transform: translateY(-4px); background: #EEF4F8; }
.why-card .ico { width: 28px; height: 28px; color: var(--teal); }
.why-num { font-size: 13px; font-weight: 700; color: #9AAAB8; letter-spacing: 1px; float: right; }
.why-card h3 { margin-top: 18px; font-size: 19px; font-weight: 600; }
.why-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }

/* ---------- Doctors ---------- */
.doc-grid { max-width: 900px; margin: 0 auto; }
.doc-card { overflow: hidden; padding: 0; border-radius: 18px; display: flex; flex-direction: column; }
.doc-card .doc-img { aspect-ratio: 1 / 1; }
.doc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-size: 21px; font-weight: 600; }
.doc-role { color: var(--teal-deep); font-size: 15px; font-weight: 600; margin-top: 4px; }
.doc-field { font-size: 14px; margin-top: 6px; }
.doc-body .link { margin-top: auto; padding-top: 10px; }
.demo-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .3px; box-shadow: 0 2px 8px rgba(18, 59, 93, .1);
}
.demo-tag .ico { width: 14px; height: 14px; color: var(--teal); }

.doc-profile { display: grid; grid-template-columns: 40fr 60fr; overflow: hidden; padding: 0; border-radius: 18px; }
.doc-profile .doc-img { height: 100%; min-height: 100%; }
.doc-profile .doc-body { padding: 28px; }
.doc-meta { margin: 18px 0 20px; display: grid; gap: 10px; font-size: 14.5px; }
.doc-meta div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; line-height: 1.5; }
.doc-meta dt { color: #7A8B9A; font-weight: 500; }
.doc-meta dd { margin: 0; color: var(--heading); font-weight: 600; }
.doc-profile .btn { align-self: flex-start; margin-top: auto; }

.feature-list { display: grid; gap: 18px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.feature-item h3 { font-size: 18px; font-weight: 600; }
.feature-item p { margin-top: 6px; font-size: 15px; line-height: 1.6; }

/* ---------- Panel ---------- */
.panel-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.panel-logo {
  height: 90px; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; color: #8A9BAA; font-weight: 700; font-size: 15px; letter-spacing: .4px;
  transition: border-color var(--ease), color var(--ease);
}
.panel-logo .ico { width: 20px; height: 20px; }
.panel-logo:hover { border-color: rgba(13, 148, 136, .35); color: var(--navy); }
.panel-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: #7A8B9A; }
.center-cta { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 0 0 var(--section); }
.cta-band { background: var(--navy); border-radius: 24px; padding: 64px; color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -170px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .045); }
.cta-band::after { content: ""; position: absolute; width: 180px; height: 180px; left: -60px; bottom: -110px; border-radius: 50%; background: rgba(13, 148, 136, .22); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; font-size: 17px; }
.cta-split { display: grid; grid-template-columns: 65fr 35fr; gap: 40px; align-items: center; }
.cta-split .btn-row { justify-content: flex-end; }
.cta-center { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-center .btn-row { justify-content: center; margin-top: 30px; }
.cta-band .btn--primary { box-shadow: none; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--alt); padding: 90px 0; }
.page-hero--split { padding: 56px 0; }
.page-hero--split .split { min-height: 380px; }
.page-hero .lead { margin-top: 18px; }
.page-hero--center { text-align: center; }
.page-hero--center .inner { max-width: 800px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 18px; }
.page-hero--center .crumbs { justify-content: center; }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs [aria-current] { color: var(--heading); font-weight: 600; }
.crumbs .sep { color: #A9B7C3; }
.page-hero-img { height: 400px; border-radius: 20px; box-shadow: var(--shadow-md); }

.who-img { aspect-ratio: 4 / 5; border-radius: 20px; }
.prose p + p { margin-top: 16px; }

.vm-card { padding: 36px; border-radius: 18px; height: 100%; }
.vm-card h3 { margin-top: 20px; font-size: 22px; }
.vm-card p, .vm-card ul { margin-top: 12px; }

.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .media { aspect-ratio: 4 / 3; border-radius: 16px; }
.gallery .media img { transition: transform 300ms ease; }
.gallery figure:hover .media img { transform: scale(1.04); }
.gallery figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.gallery figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Contact ---------- */
.form-card { background: var(--alt); border-radius: 18px; padding: 36px; }
.form-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 24px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; line-height: 1.55; }
.form-note .ico { width: 18px; height: 18px; color: var(--teal-deep); margin-top: 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.field label .opt { font-weight: 500; color: #7A8B9A; }
.field label .req { color: #B42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-input); background: #fff;
  font-size: 15px; color: var(--heading); transition: border-color var(--ease), box-shadow var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23526475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D92D20; }
.field-error { font-size: 13px; color: #B42318; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; cursor: pointer; }
.check a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 6px; }
.form-status { display: none; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; }
.form-status.is-visible { display: flex; }
.form-status .ico { width: 20px; height: 20px; margin-top: 2px; }
.form-status b { display: block; color: var(--heading); }
.form-status--info { background: #EEF6FF; border: 1px solid #C9DDF3; }
.form-status--info .ico { color: var(--navy); }
.form-status--error { background: #FEF3F2; border: 1px solid #FECDCA; }
.form-status--error .ico { color: #B42318; }

.map-col { display: flex; flex-direction: column; gap: 18px; }
.map-box { flex: 1; min-height: 420px; border-radius: 18px; border: 1px solid var(--border); overflow: hidden; position: relative; background: #EAF1F6; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.map-pin .pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(13, 148, 136, .35); }
.map-pin .pin svg { transform: rotate(45deg); color: #fff; width: 24px; height: 24px; }
.map-label { position: absolute; left: 50%; top: calc(46% + 18px); transform: translateX(-50%); z-index: 2; background: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-md); text-align: center; font-size: 13.5px; line-height: 1.45; white-space: nowrap; }
.map-label b { color: var(--heading); display: block; font-size: 14.5px; }
.loc-card { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.loc-card .loc-text { display: flex; gap: 14px; align-items: flex-start; min-width: 0; flex: 1 1 260px; }
.loc-card b { display: block; color: var(--heading); }
.loc-card .small { margin-top: 3px; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); background: #fff; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; min-height: 64px;
  background: none; border: 0; text-align: left; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--heading); line-height: 1.4;
}
.faq-q:hover { color: var(--teal-deep); }
.faq-q .faq-ico { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--alt); color: var(--teal-deep); transition: background-color var(--ease), color var(--ease); }
.faq-q .faq-ico .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.faq-q .i-minus { display: none; }
.faq-q[aria-expanded="true"] .i-plus { display: none; }
.faq-q[aria-expanded="true"] .i-minus { display: block; }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--teal); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 22px 4px; font-size: 15.5px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.no-js .faq-a { grid-template-rows: 1fr; }

/* ---------- Legal ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.legal p + p { margin-top: 12px; }
.legal-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--mint); color: var(--heading); font-size: 14.5px; line-height: 1.6; }
.legal-note .ico { width: 20px; height: 20px; color: var(--teal-deep); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--alt); padding: 72px 0 32px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 32fr 20fr 23fr 25fr; gap: 40px; }
.foot-about p { margin-top: 18px; font-size: 15px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--navy); transition: background-color var(--ease), color var(--ease), border-color var(--ease); }
.socials a svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.foot-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 4px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 34px; font-size: 15px; transition: color var(--ease); }
.foot-col a:hover { color: var(--teal-deep); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; padding: 5px 0; }
.foot-contact .ico { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.foot-contact a { min-height: 0; }
.foot-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid #DCE5EC; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
.foot-bottom nav { display: flex; align-items: center; gap: 10px; }
.foot-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-bottom nav a:hover { color: var(--teal-deep); }
.foot-demo { width: 100%; font-size: 12.5px; color: #8496A6; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--wa); color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38); transition: transform var(--ease), box-shadow var(--ease);
}
.fab-wa svg { width: 30px; height: 30px; fill: currentColor; }
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  :root { --gap: 24px; }
  .nav a { padding: 0 10px; }
  .nav a::after { left: 10px; right: 10px; }
  .hero-grid { gap: 44px; }
  .split { gap: 48px; }
  .doc-meta div { grid-template-columns: 100px 1fr; }
}

@media (max-width: 1023px) {
  :root { --gutter: 24px; --section: 64px; --gap: 22px; --card-pad: 24px; }
  .topbar .tb-hours { display: none; }
  .hdr { grid-template-columns: 1fr auto; min-height: 74px; }
  .nav, .hdr-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding: 52px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .hero-visual { max-width: 640px; }
  .hero-img { height: 440px; }
  .float-card { left: 16px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick .grid-3, .info-cards.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick .info-card, .info-cards .info-card { padding: 22px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--48-52, .split--45-55, .split--55-45, .split--40-60 { grid-template-columns: 1fr; gap: 40px; }
  .split--50 { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { max-width: 520px; }
  .who-img { aspect-ratio: 16 / 11; }
  .page-hero--split .split { min-height: 0; }
  .page-hero-img { height: 340px; }
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split .sec-head-action { justify-self: start; }
  .doc-profiles { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { padding: 48px 40px; }
  .cta-split { grid-template-columns: 1fr; gap: 26px; }
  .cta-split .btn-row { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .quick .grid-3, .info-cards.grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 52px; --gap: 18px; --card-pad: 22px; --radius-card: 14px; }
  body { font-size: 15.5px; }
  .topbar { display: none; }
  .hdr { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 17.5px; }
  .brand-sub { font-size: 11px; }
  .icon-btn { width: 46px; height: 46px; }
  .hero { padding: 40px 0 84px; }
  .hero-copy .btn-row .btn, .cta-band .btn-row .btn { width: 100%; }
  .hero-img { height: 340px; border-radius: 20px; }
  .hero-visual::before { width: 160px; height: 160px; right: -30px; top: -26px; }
  .hero-visual::after { display: none; }
  .float-card { position: relative; left: auto; bottom: auto; margin: -40px 14px 0; max-width: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid.grid-2 { grid-template-columns: 1fr 1fr; }
  .lead { font-size: 16px; }
  .service-card { min-height: 0; padding: 24px; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .about-visual { padding-right: 14px; padding-bottom: 20px; }
  .doc-profile { grid-template-columns: 1fr; }
  .doc-profile .doc-img { aspect-ratio: 1 / 1; height: auto; }
  .doc-profile .doc-body { padding: 24px; }
  .doc-profile .btn { width: 100%; }
  .panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .panel-logo { height: 76px; }
  .cta-band { padding: 40px 24px; border-radius: 20px; text-align: center; }
  .cta-split .btn-row { justify-content: center; }
  .page-hero { padding: 56px 0; }
  .page-hero--split { padding: 40px 0 48px; }
  .page-hero-img { height: 260px; }
  .gallery { grid-template-columns: 1fr; }
  .vm-card { padding: 26px; }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .map-box { min-height: 340px; }
  .faq-q { font-size: 16px; padding: 18px 0; }
  .faq-a p { padding: 0 0 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding: 52px 0 96px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .why-grid.grid-2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  :root { --gutter: 16px; }
  .brand-sub { display: none; }
  .btn { padding: 13px 18px; }
  .map-label { white-space: normal; width: 80%; }
}

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