/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/geist-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/geist-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/geist-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/geist-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* ============================================================
   Unisorriso — Clínica Odontológica
   Aesthetic: soft medical. Airy whites, light blue, soft green.
   Type: Instrument Serif (display) + Geist (text).
   ============================================================ */

:root {
  /* Palette: UNISORRISO — laranja-âmbar do sorriso vira acento principal.
     Vermelho da marca permanece só na logo. Base creme quente, neutros areia. */
  --bg:        #fbf6f0;
  --bg-2:      #ffffff;
  --bg-3:      #f4ebdf;
  --ink:       #2a1a0c;         /* deep warm brown-black, acolhedor */
  --ink-2:     #6b513d;
  --muted:     #a28d77;
  --line:      #ecdecb;
  --line-2:    #dcc6a9;
  --accent:    #ab5e10;         /* laranja do sorriso — escurecido para WCAG AA 4.5:1 */
  --accent-2:  #f9d8b0;
  --soft:      #e9f0e4;         /* verde-sálvia muito suave — hospital, calma */
  --soft-ink:  #3d6b48;
  --warn:      #b05a3a;
  --white:     #ffffff;

  /* Type scale */
  --serif: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --sans:  "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* Density (airy is default) */
  --pad-section: clamp(40px, 4vw, 800px);
  --gap:         clamp(14px, 1.6vw, 22px);
  --radius:      14px;
  --radius-lg:   22px;

  /* Misc */
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Palette variants — todas derivadas da logo. */
[data-palette="laranja"] {
  /* Variância mais quente, laranja mais saturado */
  --bg:        #fdf7ee;
  --bg-3:      #f8ead3;
  --ink:       #2a1608;
  --ink-2:     #6f4a2b;
  --muted:     #a88f73;
  --line:      #ead6bf;
  --line-2:    #dabf9d;
  --accent:    #a85410;
  --accent-2:  #fbd9b0;
  --soft:      #e7efe1;
  --soft-ink:  #3d6b48;
}

[data-palette="neutro"] {
  /* Neutro areia: para quem quer máximo "hospital moderno" sem calor */
  --bg:        #f7f4ee;
  --bg-2:      #ffffff;
  --bg-3:      #ede8de;
  --ink:       #1d1812;
  --ink-2:     #4a4237;
  --muted:     #8a806f;
  --line:      #e0dacc;
  --line-2:    #cdc4b1;
  --accent:    #9e5012;         /* laranja dessaturado, mais terroso — WCAG AA 4.5:1 */
  --accent-2:  #edd7bb;
  --soft:      #e6ece0;
  --soft-ink:  #3d6b48;
}

[data-density="compact"] {
  --pad-section: clamp(56px, 6vw, 96px);
  --gap:         clamp(10px, 1.1vw, 14px);
  --radius:      10px;
  --radius-lg:   16px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
figure { margin: 0; }
address { font-style: normal; }
dt, dd { margin: 0; font-weight: inherit; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; display: block; }
.footer .brand img { height: 44px; filter: brightness(0) invert(1); opacity: .95; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero (layout style 2: centered headline + full-width image band) ---------- */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0 -20% auto -20%; height: 70%;
  background: radial-gradient(60% 70% at 50% 0%, color-mix(in oklab, var(--accent-2) 60%, transparent) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in oklab, var(--bg-2) 70%, transparent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--soft-ink); box-shadow: 0 0 0 3px color-mix(in oklab, var(--soft-ink) 20%, transparent); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--soft-ink) 20%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--soft-ink) 0%, transparent); } }

.hero h1 {
  font-size: clamp(48px, 8.2vw, 124px);
  max-width: 14ch;
  margin: 22px auto 0;
  font-weight: 400;
  line-height: 1.12;
  padding-bottom: 0.12em;
}
.hero h1 em { font-family: 'Noto Sans', sans-serif; font-style: italic; color: var(--accent); }
h2 em, h3 em { font-style: normal; }
.hero-sub {
  margin: 48px auto 0;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: clamp(16px, 1.25vw, 19px);
}
.hero-ctas { margin-top: 32px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  border: 1px solid transparent;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }
.btn-whats {
  background: #1e8a50; color: #fff;
}
.btn-whats:hover { background: #166b3d; }

.hero-trust { margin-top: 32px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.hero-trust .stars { color: #e4a73d; letter-spacing: 2px; }
.hero-trust .sep { width: 1px; height: 18px; background: var(--line-2); }

/* Hero image band */
.hero-band {
  margin-top: 64px;
  position: relative;
}
.hero-band-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: 14px;
  align-items: end;
  padding: 0 28px;
  max-width: 1400px; margin: 0 auto;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 3/4;
  box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--ink) 40%, transparent);
  border: 1px solid var(--line);
}
.hero-card.tall { aspect-ratio: 3/4.6; transform: translateY(40px); }
.hero-card.mid  { aspect-ratio: 3/4; }
.hero-card.wide { aspect-ratio: 4/5; }
.hero-card > .placeholder { position: absolute; inset: 0; }
.hero-card > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-badge {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg-2) 86%, transparent);
  backdrop-filter: blur(6px);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .hero-band-inner { grid-template-columns: 1fr 1fr; }
  .hero-card.wide { display: none; }
  .hero-card.tall { transform: none; }
}
@media (max-width: 560px) {
  .hero-band-inner { grid-template-columns: 1fr; }
  .hero-card.mid { display: none; }
}

/* Placeholder imagery (striped, labelled) */
.placeholder {
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--accent) 14%, var(--bg-3)) 0 2px,
      var(--bg-3) 2px 16px);
  display: grid; place-items: center; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.placeholder span {
  padding: 6px 10px; background: color-mix(in oklab, var(--bg-2) 84%, transparent); border: 1px solid var(--line); border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: var(--pad-section) 0; }
.section-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 56px; max-width: 860px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 64px);
}
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: var(--bg-2);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  position: relative;
  transition: background .3s var(--ease), transform .3s var(--ease);
  cursor: default;
}
.service:hover { background: color-mix(in oklab, var(--bg-2) 92%, var(--accent-2)); }
.service .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-3);
  display: grid; place-items: center;
  color: var(--accent);
  border: 1px solid var(--line);
}
.service h3 { font-size: 24px; }
.service p { color: var(--ink-2); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.service .arrow {
  position: absolute; right: 22px; top: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.service:hover .arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(-45deg); }

.section-cta { margin-top: 48px; padding-top: 8px; display: flex; justify-content: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  position: relative;
}
.about-stats {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-top: 1px solid var(--line);
}
.about-stats > div {
  padding: 24px 20px 0 0;
  border-right: 1px solid var(--line);
}
.about-stats > div:last-child { border-right: 0; }
.about-stats .n { font-family: var(--serif); font-size: 44px; line-height: 1; }
.about-stats .l { color: var(--muted); font-size: 13px; margin-top: 8px; letter-spacing: .04em; }

/* ---------- Testimonials (carousel) ---------- */
.testimonials {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.carousel {
  position: relative;
  margin-top: 24px;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform .7s var(--ease);
}
.carousel-slide {
  flex: 0 0 100%;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 760px) {
  .carousel-slide { grid-template-columns: 1fr; gap: 24px; }
}
.quote-portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  max-width: 220px;
}
.quote-portrait img {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: center;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.22;
  margin: 0;
  color: var(--ink);
  font-style: italic;
}
.quote blockquote::before { content: "“"; margin-right: 4px; color: var(--accent); }
.quote blockquote::after  { content: "”"; margin-left: 4px; color: var(--accent); }
.quote-meta { margin-top: 22px; display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 14px; }
.quote-meta .stars { color: #e4a73d; letter-spacing: 2px; }
.quote-meta .sep { width: 1px; height: 14px; background: var(--line-2); }

.carousel-controls { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button {
  width: 32px; height: 4px; border-radius: 2px; background: var(--line-2);
  position: relative; overflow: hidden;
  transition: background .2s var(--ease);
}
.carousel-dots button.active {
  background: var(--line);
}
.carousel-dots button.active::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: left;
  animation: fill 7s linear forwards;
}
.carousel-dots button.active.paused::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.carousel-arrows button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Booking ---------- */
.booking-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
@media (max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } }
.booking-side {
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent-2) 60%, var(--bg-2)), var(--bg-2));
  padding: 48px;
  position: relative;
  border-right: 1px solid var(--line);
}
@media (max-width: 900px) { .booking-side { border-right: 0; border-bottom: 1px solid var(--line); } }
.booking-side h3 { font-size: clamp(28px, 3.4vw, 42px); }
.booking-side p { color: var(--ink-2); margin-top: 14px; max-width: 36ch; }
.booking-highlights { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.booking-highlights li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.booking-highlights .check {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--soft); color: var(--soft-ink);
  display: grid; place-items: center;
}

.booking-form { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field.err input, .field.err select { border-color: #c4563a; }
.field .errmsg { font-size: 12px; color: #c4563a; min-height: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.booking-submit { margin-top: 10px; justify-content: center; }
.booking-success {
  padding: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.booking-success .mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--soft); color: var(--soft-ink);
  display: grid; place-items: center;
  animation: pop .5s var(--ease);
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.booking-success h3 { font-size: 32px; }
.booking-success p { color: var(--ink-2); max-width: 36ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  text-align: left;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
}
.contact-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.contact-card-sub { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.contact-card p { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.contact-card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: 32px; left: -5px;
}
.contact-maps-btn {
  margin-top: 16px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  border: 1px solid var(--line);
}
.contact-map iframe { display: block; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease), padding .3s var(--ease);
  color: var(--ink-2); font-size: 16px;
}
.faq-item.open .faq-a { padding: 0 0 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: color-mix(in oklab, var(--bg) 92%, transparent);
  padding: 72px 0 28px;
  margin-top: var(--pad-section);
}
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer .brand { color: var(--bg); }
.footer h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg) 60%, transparent); margin-bottom: 18px; font-weight: 500; }
.footer a { color: color-mix(in oklab, var(--bg) 80%, transparent); transition: color .2s var(--ease); display: block; padding: 6px 0; }
.footer a:hover { color: var(--bg); }
.footer .about-p { color: color-mix(in oklab, var(--bg) 70%, transparent); font-size: 15px; max-width: 34ch; margin-top: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 15%, transparent);
  font-size: 13px; color: color-mix(in oklab, var(--bg) 55%, transparent);
  flex-wrap: wrap;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.3);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #25d366; opacity: .4;
  animation: wa 2.4s var(--ease) infinite;
}
@keyframes wa { 0% { transform: scale(.9); opacity: .5; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- Tweaks Panel ---------- */
.tweaks {
  position: fixed; right: 22px; bottom: 92px; z-index: 70;
  width: 280px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
  padding: 18px;
  font-size: 13px;
  transform-origin: bottom right;
  animation: tweaksIn .3s var(--ease);
}
@keyframes tweaksIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.tweaks h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 500; }
.tweaks + .tweaks { margin-top: 12px; }
.tweak-group { margin-bottom: 16px; }
.tweak-group:last-child { margin-bottom: 0; }
.swatches { display: flex; gap: 8px; }
.swatch { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line); position: relative; cursor: pointer; transition: transform .15s var(--ease); overflow: hidden; }
.swatch:hover { transform: translateY(-1px); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink); }
.swatch .lbl { position: absolute; left: 6px; bottom: 4px; font-size: 10px; color: var(--ink-2); letter-spacing: .04em; }
.segmented { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.segmented button { flex: 1; padding: 8px; border-radius: 7px; font-size: 12px; color: var(--ink-2); transition: all .2s var(--ease); }
.segmented button.active { background: var(--ink); color: var(--bg); }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2);
  cursor: pointer;
}
.toggle.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tweaks-toggle {
  position: fixed; right: 22px; bottom: 92px; z-index: 70;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.2);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Marquee (logos/trust) ---------- */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.trust-strip-inner {
  display: flex; gap: 64px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.trust-strip-inner .item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.trust-strip-inner .item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Mobile responsiveness
   ============================================================ */

/* 900px: move portrait below text when about-grid stacks */
@media (max-width: 900px) {
  .about-portrait { order: 2; }
}

/* 768px: tablets and large phones — reduce vertical rhythm */
@media (max-width: 768px) {
  .hero { padding-top: 100px; }
  .hero-sub { margin-top: 28px; }
  .section-head { margin-bottom: 40px; gap: 16px; }
  .section-head p { font-size: 16px; }
  .about-stats .n { font-size: 36px; }
  .footer { padding: 56px 0 24px; }
  .footer-bottom { margin-top: 48px; }
}

/* 560px: small phones */
@media (max-width: 560px) {
  .hero { padding-top: 84px; }
  .hero-sub { margin-top: 20px; font-size: 15px; }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
  }
  .hero-ctas .btn { justify-content: center; }

  .hero-trust { gap: 14px; font-size: 13px; }
  .hero-trust .sep { display: none; }

  .section-head { margin-bottom: 28px; }

  .about-stats .n { font-size: 32px; }

  .service { padding: 26px 18px; min-height: auto; }

  .quote-portrait { max-width: 120px; margin: 0 auto; }

  .contact-card { padding: 24px 20px; }

  .footer { padding: 48px 0 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 36px; }
}

/* 480px: very small phones */
@media (max-width: 480px) {
  .hero { padding-top: 76px; }
  .hero-eyebrow { font-size: 11px; padding: 6px 14px; letter-spacing: .07em; }
  .nav-cta { padding: 8px 12px; font-size: 13px; gap: 6px; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats > div:nth-child(2) { border-right: 0; }
  .about-stats > div:last-child {
    grid-column: span 2;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
}

@media (max-width: 375px) {
  .nav-cta { display: none; }
  .nav-inner { justify-content: center; }
}

