/* ETÈR Health Clinic — shared (tokens, chrome, components used on multiple pages) */

/* ============================================================
   1. TOKENS
   ============================================================ */

:root {
  /* Brand palette */
  --brand-burgundy: #6b1f2a;
  --brand-dark: #2e2e2e;
  --brand-gray: #bbbec1;
  --brand-gray-light: #d5d6d8;
  --brand-cream: #edeceb;
  --brand-warm: #b8957a;
  --brand-warm-light: #e0c3a8;

  --bg: var(--brand-cream);
  --bg-elevated: #f7f6f5;
  --footer-bg: #3a1520;
  --footer-ink: var(--brand-cream);
  --footer-ink-soft: rgba(237, 236, 235, 0.72);
  --footer-line: rgba(237, 236, 235, 0.14);
  --ink: var(--brand-dark);
  --ink-soft: #5c5f62;
  --accent: var(--brand-burgundy);
  --accent-deep: #521820;
  --accent-mist: var(--brand-gray-light);
  --line: rgba(46, 46, 46, 0.1);
  --line-strong: rgba(46, 46, 46, 0.2);
  --hero-veil:
    linear-gradient(to top, rgba(24, 24, 24, 0.82) 0%, rgba(30, 30, 30, 0.28) 46%, transparent 72%),
    linear-gradient(
      100deg,
      rgba(35, 25, 27, 0.8) 0%,
      rgba(46, 46, 46, 0.42) 50%,
      rgba(237, 236, 235, 0.06) 100%
    );
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --text-heading: var(--ink);
  --text-heading-accent: var(--brand-burgundy);
  --text-on-dark: var(--brand-cream);
  --text-on-dark-soft: rgba(237, 236, 235, 0.88);
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --hero-frame-gutter: clamp(0.75rem, 2vw, 1.25rem);
  --container: min(1120px, calc(100% - 2 * var(--space)));
  --header-h: 4.25rem;
  --logo-w: 136px;
  --logo-h: 42px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 2px;
  --shadow-soft: 0 24px 60px rgba(46, 46, 46, 0.12);
  --shadow-lift: 0 30px 70px rgba(46, 46, 46, 0.16);
}

/* ============================================================
   2. BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.6vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(213, 214, 216, 0.55), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(109, 32, 43, 0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img:not(.logo__img):not(.hero__logo) {
  max-width: 100%;
  display: block;
}

/* Imazhe në kuti me aspect-ratio — duhet të mbulojnë, jo height: auto */
.about__visual img,
.team-member__photo img,
.gallery__track img,
.service-panel__media img,
.intro__media-main img,
.intro__media-sub img,
.showcase__thumb img,
.showcase__viewer img,
.ba__img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo__img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1,
.hero__title,
.page-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--text-heading);
}

h2,
h3,
.section-title,
.service-card h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-heading);
}

h2,
.section-title {
  font-size: clamp(1.95rem, 4.5vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

p,
.section-text,
.hero__lede,
.page-lede,
.point p,
.step p,
.showcase__body p,
.service-card > p,
.service-card__list p,
.team-member p,
.contact-page__block p,
.contact-page__block li,
.stat-row dd,
.tick-list li,
.form-note {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-text,
.page-lede {
  max-width: 38ch;
}

.eyebrow,
.field label,
.contact-meta span,
.service-card__index,
.showcase__num,
.hero__kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-burgundy);
}

.nav a,
.mobile-nav nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn,
button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.service-card__list h4,
.contact-meta strong {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-heading);
}

.service-card__list h4 {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-meta strong {
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer__note,
.site-footer__copy {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
}

.text-on-dark {
  color: var(--text-on-dark);
}

.text-on-dark-soft {
  color: var(--text-on-dark-soft);
}

/* ============================================================
   4. LAYOUT HELPERS & COMPONENTS
   ============================================================ */

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 11vw, 8rem) 0;
}

.eyebrow {
  margin-bottom: 1rem;
}

.eyebrow--on-dark {
  color: var(--brand-warm-light);
}

.section-title {
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-text {
  margin-bottom: 0.5rem;
}

.section-head {
  margin-bottom: clamp(2.5rem, 7vw, 4rem);
  max-width: 40rem;
}

.section-head--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-title,
.section-head--center .section-text {
  margin-inline: auto;
}

/* Star ornament */
.orn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.orn__line {
  height: 1px;
  width: 2.75rem;
  background: linear-gradient(90deg, var(--brand-burgundy), rgba(107, 31, 42, 0));
}

.orn__star {
  font-size: 0.6rem;
  line-height: 1;
  color: var(--brand-burgundy);
}

.orn--center {
  justify-content: center;
}

.orn--center .orn__line:first-child {
  background: linear-gradient(90deg, rgba(107, 31, 42, 0), var(--brand-burgundy));
}

.orn--light .orn__line {
  background: linear-gradient(90deg, var(--brand-warm), rgba(184, 149, 122, 0));
}

.orn--light .orn__star {
  color: var(--brand-warm-light);
}

.orn--light.orn--center .orn__line:first-child {
  background: linear-gradient(90deg, rgba(184, 149, 122, 0), var(--brand-warm));
}

/* Tick list */
.tick-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}

.tick-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.62rem;
  color: var(--brand-burgundy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--solid {
  background: var(--accent);
  color: var(--brand-cream);
}

.btn--solid:hover {
  background: var(--accent-deep);
  box-shadow: 0 12px 28px rgba(107, 31, 42, 0.25);
}

.btn--line {
  background: rgba(237, 236, 235, 0.06);
  backdrop-filter: blur(6px);
  color: var(--brand-cream);
  border-color: rgba(237, 236, 235, 0.45);
}

.btn--line:hover {
  background: rgba(237, 236, 235, 0.16);
  border-color: var(--brand-cream);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-cream);
  border: 1px solid rgba(237, 236, 235, 0.4);
  min-height: 2.5rem;
  padding-inline: 1.1rem;
  font-size: 0.88rem;
}

.btn--ghost:hover {
  background: var(--brand-cream);
  color: var(--ink);
}

.btn--full {
  width: 100%;
}

/* ============================================================
   5. HEADER / NAV
   ============================================================ */

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}

.page-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--brand-warm));
  transform-origin: left;
}

.site-header {
  --logo-w: 132px;
  --logo-h: 38px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(237, 236, 235, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-menu-open {
  background: rgba(237, 236, 235, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .nav a,
.site-header.is-scrolled .menu-toggle span,
.site-header.is-menu-open .menu-toggle span {
  color: var(--ink);
  text-shadow: none;
}

.site-header.is-scrolled .menu-toggle span,
.site-header.is-menu-open .menu-toggle span {
  background: var(--ink);
}

.site-header.is-scrolled .btn--ghost,
.site-header.is-menu-open .btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}

.site-header.is-scrolled .btn--ghost:hover,
.site-header.is-menu-open .btn--ghost:hover {
  background: var(--ink);
  color: var(--bg-elevated);
}

.site-header.is-scrolled .logo__img--light,
.site-header.is-menu-open .logo__img--light,
body.page-inner .site-header .logo__img--light {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header.is-scrolled .logo__img--dark,
.site-header.is-menu-open .logo__img--dark,
body.page-inner .site-header .logo__img--dark {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.logo--footer .logo__img--dark {
  mix-blend-mode: screen;
}

.site-header__inner {
  width: var(--container);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  position: relative;
  display: block;
  width: var(--logo-w);
  height: var(--logo-h);
  min-width: var(--logo-w);
  max-width: var(--logo-w);
  min-height: var(--logo-h);
  max-height: var(--logo-h);
  flex: 0 0 var(--logo-w);
  overflow: hidden;
  z-index: 2;
}

.logo__img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: var(--logo-w);
  height: var(--logo-h);
  min-width: var(--logo-w);
  max-width: var(--logo-w);
  min-height: var(--logo-h);
  max-height: var(--logo-h);
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.logo__img--light {
  opacity: 1;
  visibility: visible;
}

.logo__img--dark {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo--footer {
  width: var(--logo-w);
  height: var(--logo-h);
  min-width: var(--logo-w);
  max-width: var(--logo-w);
  min-height: var(--logo-h);
  max-height: var(--logo-h);
}

.logo--footer .logo__img--light {
  display: none;
}

.logo--footer .logo__img--dark {
  opacity: 1;
  visibility: visible;
}

.nav {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 18px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: 5.5rem;
  max-width: none;
  min-height: 2.35rem;
  padding-inline: 0.9rem;
  justify-content: center;
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
  z-index: 3;
}

/* Mobile: language lives in the menu, not the header bar */
.header-actions > .lang-switch {
  display: none;
}

.lang-switch.is-open {
  z-index: 20;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0 0.15rem;
  border: 0;
  outline: none;
  appearance: none;
  background: transparent;
  color: rgba(237, 236, 235, 0.92);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  color: var(--brand-cream);
}

.lang-switch__flag {
  display: block;
  width: 1.2rem;
  height: 0.82rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(237, 236, 235, 0.28);
}

.lang-switch__flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-switch__name {
  line-height: 1;
}

.lang-switch__chevron {
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.05rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  opacity: 0.75;
  transition: transform 0.3s var(--ease);
}

.lang-switch.is-open .lang-switch__chevron {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: max-content;
  min-width: 0;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
  background: var(--bg-elevated);
  border: 0;
  box-shadow: var(--shadow-soft);
}

.lang-switch__menu[hidden] {
  display: none;
}

.lang-switch__menu li + li {
  margin-top: 0.1rem;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  padding: 0.4rem 0.45rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lang-switch__option .lang-switch__flag {
  box-shadow: 0 0 0 1px rgba(46, 46, 46, 0.16);
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible,
.lang-switch__option[aria-selected="true"] {
  background: rgba(107, 31, 42, 0.08);
}

.site-header.is-scrolled .lang-switch__btn,
.site-header.is-menu-open .lang-switch__btn,
body.page-inner .lang-switch__btn {
  color: var(--ink);
}

.site-header.is-scrolled .lang-switch__btn:hover,
.site-header.is-menu-open .lang-switch__btn:hover,
body.page-inner .lang-switch__btn:hover,
.site-header.is-scrolled .lang-switch__btn:focus-visible,
.site-header.is-menu-open .lang-switch__btn:focus-visible,
body.page-inner .lang-switch__btn:focus-visible {
  color: var(--ink);
  opacity: 0.72;
}

.site-header.is-scrolled .lang-switch__flag,
.site-header.is-menu-open .lang-switch__flag,
body.page-inner .lang-switch__flag,
.mobile-nav .lang-switch__flag {
  box-shadow: 0 0 0 1px rgba(46, 46, 46, 0.16);
}

.mobile-nav .lang-switch {
  width: auto;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease) 0.25s, transform 0.45s var(--ease) 0.25s;
}

.mobile-nav.is-open .lang-switch {
  opacity: 1;
  transform: none;
}

.mobile-nav .lang-switch__btn {
  color: var(--ink);
  min-height: 2.4rem;
  width: auto;
  justify-content: flex-start;
}

.mobile-nav .lang-switch__menu {
  position: absolute;
  left: 0;
  right: auto;
  min-width: 0;
  margin-top: 0;
}

.menu-toggle {
  margin-left: 0;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--brand-cream);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, background 0.35s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background:
    radial-gradient(800px 500px at 80% 0%, rgba(107, 31, 42, 0.08), transparent 50%),
    var(--brand-cream);
  padding: calc(var(--header-h) + 1.5rem) var(--space) var(--space);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav nav a {
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), color 0.3s ease;
}

.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible {
  color: var(--brand-burgundy);
}

.mobile-nav nav a[aria-current="page"] {
  color: var(--brand-burgundy);
}

.mobile-nav.is-open nav a {
  transform: none;
  opacity: 1;
}

.mobile-nav.is-open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.is-open nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.is-open nav a:nth-child(5) { transition-delay: 0.25s; }

.mobile-nav__foot {
  display: grid;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease) 0.28s, transform 0.5s var(--ease) 0.28s;
}

.mobile-nav.is-open .mobile-nav__foot {
  opacity: 1;
  transform: none;
}

.mobile-nav__foot p {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================================
   INTRO + STATS (home + about)
   ============================================================ */

.intro__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.intro__media {
  position: relative;
  margin-bottom: 2rem;
  max-width: 30rem;
}

.intro__media-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 5;
  background: var(--accent-mist);
  box-shadow: var(--shadow-soft);
}

.intro__media-main img {
  transition: transform 1.4s var(--ease);
}

.intro__media:hover .intro__media-main img {
  transform: scale(1.05);
}

.intro__media-sub {
  position: absolute;
  left: 1.25rem;
  bottom: -2rem;
  width: 46%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 6px solid var(--bg);
  background: var(--accent-mist);
  box-shadow: var(--shadow-soft);
}

.intro__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  padding: 0.9rem 1.05rem;
  background: rgba(107, 31, 42, 0.92);
  backdrop-filter: blur(6px);
  color: var(--brand-cream);
  text-align: center;
}

.intro__badge-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.intro__badge-txt {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 236, 235, 0.75);
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat-row dt {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--brand-burgundy);
  font-variant-numeric: tabular-nums;
}

.stat-row dd {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================================================
   VOICES (home + about)
   ============================================================ */

.voices-section {
  background:
    linear-gradient(180deg, transparent, rgba(213, 214, 216, 0.5), transparent);
}

.section.voices-section {
  padding-top: clamp(2rem, 5vw, 3.25rem);
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

.voices {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.voices__mark {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.65;
  color: rgba(107, 31, 42, 0.18);
  margin-bottom: 0.35rem;
  user-select: none;
}

.voices__stage {
  display: grid;
}

.voice {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}

.voice.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.voice p {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.08rem, 3vw, 1.4rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.voice footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.voice cite {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink);
}

.voice footer span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-burgundy);
}

.voices__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.voices__btn {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.voices__btn:hover {
  background: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  color: var(--brand-cream);
}

.voices__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.voices__dots button {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(46, 46, 46, 0.22);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.voices__dots button.is-active {
  background: var(--brand-burgundy);
  transform: scale(1.5);
}

/* ============================================================
   TESTIMONIAL ALBUM (home + about)
   ============================================================ */

.album-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.album {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
}

.album__stack {
  position: relative;
  min-height: 24.5rem;
  padding: 0.85rem 1.1rem 1.6rem;
  cursor: grab;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.album__stack:focus-visible {
  outline: 1px solid var(--brand-burgundy);
  outline-offset: 6px;
}

.album__stack:active {
  cursor: grabbing;
}

.album__card {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0.85rem;
  min-height: 21.5rem;
  padding: clamp(1.6rem, 4vw, 2.35rem) clamp(1.4rem, 4vw, 2.1rem) 1.7rem;
  background: var(--bg-elevated);
  box-shadow: 0 18px 40px rgba(22, 16, 18, 0.08);
  transform-origin: 50% 90%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
  overflow: hidden;
}

.album__card[data-depth="0"] {
  z-index: 5;
  transform: rotate(-0.8deg);
  box-shadow: 0 22px 48px rgba(22, 16, 18, 0.12);
}

.album__card[data-depth="1"] {
  z-index: 4;
  transform: translate(14px, 11px) rotate(3.4deg);
}

.album__card[data-depth="2"] {
  z-index: 3;
  transform: translate(-12px, 18px) rotate(-4.2deg);
}

.album__card[data-depth="3"],
.album__card[data-depth="4"],
.album__card[data-depth="5"],
.album__card[data-depth="6"],
.album__card[data-depth="7"] {
  z-index: 1;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}

.album__card.is-front .album__fold {
  opacity: 1;
}

.album__fold {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 0;
  height: 0;
  opacity: 0;
  border-style: solid;
  border-width: 0 3.15rem 2.95rem 0;
  border-color: transparent #ead9c6 transparent transparent;
  filter: drop-shadow(-4px 6px 4px rgba(22, 16, 18, 0.12));
  transition: border-width 0.35s var(--ease), filter 0.35s var(--ease);
  pointer-events: none;
}

.album__card blockquote {
  margin: 0;
}

.album__card blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 0.55;
  color: rgba(107, 31, 42, 0.22);
  margin-bottom: 0.7rem;
}

.album__card p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.42rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.album__card footer {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.album__card cite {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink);
}

.album__card footer span {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-burgundy);
}

.album__card.is-leaving {
  z-index: 8;
  animation: albumToss 0.55s cubic-bezier(0.22, 0.8, 0.32, 1) forwards;
  pointer-events: none;
}

.album__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes albumToss {
  0% {
    opacity: 1;
  }
  100% {
    transform: translate3d(42%, -18%, 0) rotate(16deg);
    opacity: 0;
  }
}

@media (hover: hover) {
  .album__stack:hover .album__card[data-depth="0"]:not(.is-leaving) {
    transform: translateY(-10px) rotate(-1.4deg);
    box-shadow: 0 28px 56px rgba(22, 16, 18, 0.14);
  }

  .album__stack:hover .album__card[data-depth="1"] {
    transform: translate(18px, 14px) rotate(4.4deg);
  }

  .album__stack:hover .album__card[data-depth="2"] {
    transform: translate(-16px, 22px) rotate(-5deg);
  }

  .album__stack:hover .album__card.is-front .album__fold {
    border-width: 0 3.05rem 2.9rem 0;
    filter: drop-shadow(-5px 6px 0 rgba(107, 31, 42, 0.2));
  }
}

@media (min-width: 768px) {
  .album__stack {
    min-height: 23rem;
  }

  .album__card {
    min-height: 20rem;
  }
}

/* Legacy quote (services CTA band background) */
.quote-section {
  background:
    linear-gradient(180deg, transparent, rgba(213, 214, 216, 0.45), transparent);
}

/* ============================================================
   CONTACT FORM (home + contact)
   ============================================================ */

.contact-form {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-burgundy);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--brand-burgundy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--brand-cream);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 32, 43, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-note {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.form-note.is-success {
  min-height: 0;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(46, 110, 72, 0.28);
  background: rgba(46, 110, 72, 0.1);
  color: #1f5c3a;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}
/* ============================================================
   14. FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: clamp(2rem, 5vw, 2.75rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.site-footer__shell {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2rem);
}

.site-footer__bar {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--footer-line);
}

.site-footer .logo--footer .logo__img--light {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-footer .logo--footer .logo__img--dark {
  display: none;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.site-footer__nav a {
  color: var(--footer-ink-soft);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--brand-warm-light);
}

.site-footer__cta {
  justify-self: start;
  padding-inline: 1.1rem;
  font-size: 0.78rem;
  color: var(--footer-ink);
  border-color: rgba(237, 236, 235, 0.35);
}

.site-footer__cta:hover,
.site-footer__cta:focus-visible {
  background: var(--brand-cream);
  color: var(--brand-burgundy);
  border-color: transparent;
}

.site-footer__details {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.site-footer__detail {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.site-footer__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-warm-light);
}

.site-footer__value {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--footer-ink);
}

.site-footer__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.site-footer__value a:hover,
.site-footer__value a:focus-visible {
  color: var(--brand-warm-light);
}

.site-footer__map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-warm-light);
}

.site-footer__map-link:hover,
.site-footer__map-link:focus-visible {
  color: var(--footer-ink);
}

.site-footer__bottom {
  display: grid;
  gap: 0.3rem;
  padding-top: clamp(1rem, 2.5vw, 1.35rem);
  border-top: 1px solid var(--footer-line);
}

.site-footer__note,
.site-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--footer-ink-soft);
}

@media (min-width: 720px) {
  .site-footer__bar {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .site-footer__cta {
    justify-self: end;
  }

  .site-footer__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
  }

  .site-footer__note {
    text-align: right;
  }
}

/* ============================================================
   15. MOTION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .album__card.is-leaving {
    animation: none;
  }
}

/* ============================================================
   16. INNER PAGES
   ============================================================ */

.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5rem)) 0 clamp(3rem, 7vw, 4.5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 44rem;
}

.page-title {
  margin-bottom: 1.25rem;
}

.page-lede {
  max-width: 42ch;
}

.nav a.is-active {
  color: var(--text-heading-accent);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

body.page-home .nav a.is-active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 18px rgba(0, 0, 0, 0.25);
}

body.page-home .site-header.is-scrolled .nav a.is-active {
  color: var(--text-heading-accent);
}

body.page-inner .site-header {
  background: rgba(237, 236, 235, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

body.page-inner .nav a,
body.page-inner .menu-toggle span {
  color: var(--ink);
  text-shadow: none;
}

body.page-inner .menu-toggle span {
  background: var(--ink);
}

body.page-inner .btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

body.page-inner .btn--ghost:hover {
  background: var(--ink);
  color: var(--brand-cream);
}

.cta-band__inner {
  text-align: center;
}

.cta-band__inner .section-title {
  margin-inline: auto;
}

.cta-band__inner .section-text {
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ============================================================
   SHARED RESPONSIVE
   ============================================================ */

@media (max-width: 420px) {
  :root {
    --logo-w: 118px;
    --logo-h: 36px;
  }

  .site-header {
    --logo-w: 118px;
    --logo-h: 34px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .stat-row div:last-child {
    grid-column: span 2;
  }

  .voices__nav {
    gap: 0.9rem;
  }
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .intro__media {
    max-width: none;
    margin-bottom: 0;
  }

  .intro__media-sub {
    left: auto;
    right: -2rem;
    bottom: -2.5rem;
    width: 42%;
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
    gap: 0.75rem;
  }

  .header-actions > .lang-switch {
    display: block;
  }

  .header-cta {
    min-width: 6.875rem;
    min-height: 2.5rem;
    padding-inline: 1.1rem;
  }

  .menu-toggle {
    display: none;
  }

  .section-head--split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: end;
    max-width: none;
  }

  .section-head--split .section-text {
    padding-bottom: 0.4rem;
    max-width: 34ch;
  }
}

/* ============================================================
   WHATSAPP FLOATING WIDGET
   ============================================================ */

.wa {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
  pointer-events: none;
}

.wa > * {
  pointer-events: auto;
}

.wa__fab {
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.38), 0 6px 16px rgba(46, 46, 46, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.wa__fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42), 0 8px 18px rgba(46, 46, 46, 0.2);
}

.wa__fab:active {
  transform: scale(0.97);
}

.wa__fab svg {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
}

.wa__panel {
  width: min(24.5rem, calc(100vw - 1.6rem));
  max-height: calc(100dvh - 6.5rem);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  transform-origin: bottom right;
  animation: wa-in 0.32s var(--ease) both;
}

@keyframes wa-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa__fab,
  .wa__fab:hover {
    transition: none;
    transform: none;
  }

  .wa__panel {
    animation: none;
  }
}

.wa__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: #075e54;
  color: #fff;
}

.wa__head-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa__head-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.wa__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.wa__status {
  margin: 0.1rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
}

.wa__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.22);
  flex-shrink: 0;
}

.wa__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}

.wa__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.wa__form {
  padding: 1rem 1rem 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.wa__lede {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.wa__fields {
  display: grid;
  gap: 0.7rem;
}

.wa__fields .field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #128c7e;
}

.wa__fields .field input,
.wa__fields .field textarea {
  padding: 0.7rem 0.8rem;
  background: #fff;
  font-size: 0.92rem;
}

.wa__fields .field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.wa__note {
  margin: 0;
  min-height: 0;
  font-size: 0.82rem;
  color: var(--accent);
}

.wa__note:empty {
  display: none;
}

.wa__note:not(:empty) {
  min-height: 1.1rem;
}

.wa__submit {
  margin-top: 0;
  background: #075e54;
  border-color: #075e54;
}

.wa__submit:hover {
  background: #064c44;
  border-color: #064c44;
}

/* ── Lead / booking reminder modal ── */

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 18, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lead-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(82vh, 36rem);
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0 0.7rem max(0.7rem, env(safe-area-inset-bottom));
  padding: 1.15rem 1.1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(237, 236, 235, 0.35);
  border-radius: 1rem 1rem 0.75rem 0.75rem;
  box-shadow:
    0 -8px 40px rgba(20, 12, 14, 0.28),
    0 18px 40px rgba(20, 12, 14, 0.18);
  animation: leadModalSheetIn 0.42s var(--ease);
}

/* Grabber — makes it read as a sheet, not a page */
.lead-modal__panel::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 0.28rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: rgba(46, 46, 46, 0.22);
}

.lead-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lead-modal__close:hover,
.lead-modal__close:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.lead-modal__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead-modal__title {
  margin: 0;
  padding-right: 2.4rem;
  font-family: var(--font-heading);
  font-size: clamp(1.28rem, 5.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.lead-modal__lede {
  margin: 0.45rem 0 0.95rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.lead-modal__form {
  display: grid;
  gap: 0.65rem;
}

.lead-modal__row {
  display: grid;
  gap: 0.65rem;
}

.lead-modal__actions {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.lead-modal__hint {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
}

.lead-modal .form-note {
  margin: 0;
  min-height: 0;
  font-size: 0.82rem;
}

.lead-modal .form-note:empty {
  display: none;
}

.lead-modal .form-note.is-success {
  margin-top: 0.15rem;
  padding: 1rem 1.05rem;
  font-size: 0.98rem;
  text-align: center;
  animation: leadSuccessIn 0.35s var(--ease);
}

.lead-modal__form.is-sent .lead-modal__row,
.lead-modal__form.is-sent .field,
.lead-modal__form.is-sent .lead-modal__actions {
  display: none;
}

.lead-modal__form.is-sent .form-note.is-success {
  margin: 0.25rem 0 0.15rem;
}

.lead-modal .field label {
  font-size: 0.68rem;
}

.lead-modal .field input,
.lead-modal .field select,
.lead-modal .field textarea {
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  background: #fff;
}

.lead-modal .field textarea {
  min-height: 3.4rem;
  resize: vertical;
}

.wa.is-lead-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@keyframes leadModalSheetIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes leadSuccessIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes leadModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .lead-modal {
    align-items: center;
    padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(1rem, env(safe-area-inset-bottom));
  }

  .lead-modal__scrim {
    background: rgba(30, 22, 24, 0.55);
  }

  .lead-modal__panel {
    max-height: min(88vh, 40rem);
    margin: 0;
    padding: 1.5rem 1.35rem 1.35rem;
    border-radius: 2px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    animation: leadModalIn 0.45s var(--ease);
  }

  .lead-modal__panel::before {
    display: none;
  }

  .lead-modal__close {
    top: 0.65rem;
    right: 0.65rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
  }

  .lead-modal__title {
    font-size: clamp(1.45rem, 3.5vw, 1.75rem);
  }

  .lead-modal__lede {
    margin: 0.55rem 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .lead-modal__form,
  .lead-modal__row {
    gap: 0.75rem;
  }

  .lead-modal__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal__panel,
  .lead-modal .form-note.is-success {
    animation: none;
  }
}
