/* =========================================================
   Tally Services — Proposta “Clarté”
   Navy + green from brand mark · editorial · calm luxury
   ========================================================= */

:root {
  --navy: #1b2b4a;
  --navy-deep: #121c32;
  --green: #00b377;
  --green-deep: #009663;
  --green-soft: #1fc48a;
  --green-mist: #7ed9b8;
  --green-glow: #b3efd6;
  --ink: #141c2b;
  --muted: #5c677a;
  --paper: #f5f7fa;
  --mist: #e8eef4;
  --white: #ffffff;
  --line: rgba(27, 43, 74, 0.12);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Libre Bodoni", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2rem);
  --measure: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(61, 155, 74, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(27, 43, 74, 0.06), transparent 50%);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(61, 155, 74, 0.22);
  color: var(--navy-deep);
}

.container {
  width: min(var(--measure), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header.is-solid,
body:not(.page-home) .site-header,
.site-header.is-menu-open {
  /* Solid only — backdrop-filter would trap position:fixed nav inside the bar */
  background: var(--paper);
  box-shadow: inset 0 -1px 0 var(--line);
}

.header-inner {
  width: min(var(--measure), calc(100% - 2 * var(--space)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.page-home .site-header:not(.is-solid) .nav a,
.page-home .site-header:not(.is-solid) .lang-switch a,
.page-home .site-header:not(.is-solid) .menu-toggle {
  color: var(--navy);
}

.page-home .site-header:not(.is-solid) .lang-switch a {
  color: var(--muted);
}

.page-home .site-header:not(.is-solid) .lang-switch a.active {
  color: var(--white);
  background: var(--navy);
}

.brand img {
  height: 2.65rem;
  width: auto;
  display: block;
}

.brand-word {
  display: none;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  transition: color 0.25s;
}

.site-header.is-solid .nav a,
body:not(.page-home) .nav a {
  color: var(--navy);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch a {
  padding: 0.4rem 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.site-header.is-solid .lang-switch a,
body:not(.page-home) .lang-switch a {
  color: var(--muted);
}

.lang-switch a.active {
  color: var(--white);
  background: var(--green);
}

.site-header.is-solid .lang-switch a.active,
body:not(.page-home) .lang-switch a.active {
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--white);
  place-items: center;
}

.site-header.is-solid .menu-toggle,
body:not(.page-home) .menu-toggle {
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero (one composition) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(18, 28, 50, 0.72) 0%,
      rgba(18, 28, 50, 0.42) 32%,
      rgba(18, 28, 50, 0.12) 55%,
      transparent 72%
    ),
    linear-gradient(
      to bottom,
      rgba(18, 28, 50, 0.35) 0%,
      transparent 42%,
      transparent 100%
    );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 0;
  left: var(--space);
  z-index: 1;
  width: min(22rem, calc(100% - 2 * var(--space)));
  padding: calc(var(--header-h) + 0.85rem) 0 1.25rem;
  margin: 0;
}

/* Desktop: optical mid-left — breathes with the image, clear of the header */
@media (min-width: 961px) {
  .hero {
    display: flex;
    align-items: center;
  }

  .hero-media img {
    object-position: 64% 40%;
  }

  .hero-media::after {
    background:
      linear-gradient(
        102deg,
        rgba(18, 28, 50, 0.7) 0%,
        rgba(18, 28, 50, 0.45) 28%,
        rgba(18, 28, 50, 0.16) 48%,
        transparent 64%
      ),
      linear-gradient(
        to bottom,
        rgba(18, 28, 50, 0.22) 0%,
        transparent 28%,
        transparent 72%,
        rgba(18, 28, 50, 0.2) 100%
      );
  }

  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    width: min(var(--measure), calc(100% - 2 * var(--space)));
    margin-inline: auto;
    padding: 0;
    transform: none;
  }

  .hero-content-inner {
    max-width: 30rem;
    padding-block: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 4.4vw, 3.55rem);
    line-height: 1.08;
    max-width: 12ch;
    margin-bottom: 1.15rem;
  }

  .hero-lead {
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 36ch;
    margin-bottom: 2rem;
  }

  .hero-kicker {
    margin-bottom: 1.35rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 1.1rem;
  animation: riseIn 1s var(--ease) both;
}

.hero-kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--green);
}

.hero-scroll {
  position: absolute;
  right: var(--space);
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll span {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  max-width: 16ch;
  animation: riseIn 1s 0.08s var(--ease) both;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32ch;
  margin-bottom: 1.5rem;
  animation: riseIn 1s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  animation: riseIn 1s 0.26s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--green-soft) 0%, var(--green) 48%, var(--green-deep) 100%);
  border-color: rgba(0, 179, 119, 0.35);
  color: var(--white);
  box-shadow:
    var(--btn-shadow),
    0 12px 28px rgba(0, 179, 119, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2dcea0 0%, var(--green) 42%, #008356 100%);
  box-shadow:
    var(--btn-shadow),
    0 16px 34px rgba(0, 179, 119, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(18, 28, 50, 0.12);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #2cc46a 0%, #1fa855 55%, #188c46 100%);
  border-color: rgba(18, 28, 50, 0.06);
  color: var(--white);
  box-shadow:
    var(--btn-shadow),
    0 12px 28px rgba(31, 168, 85, 0.28);
}

.btn-whatsapp:hover {
  background: linear-gradient(180deg, #36d076 0%, #1fa855 50%, #147a3c 100%);
}

.btn-outline {
  background: transparent;
  border-color: rgba(27, 43, 74, 0.28);
  color: var(--navy);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(18, 28, 50, 0.16);
}

.btn-text {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: auto;
  padding: 0.2rem 0;
  color: var(--white);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

.btn-text:hover {
  border-bottom-color: var(--white);
  transform: none;
  box-shadow: none;
}

.btn-text.on-light {
  color: var(--navy);
  border-bottom-color: rgba(27, 43, 74, 0.28);
}

.btn-text.on-light:hover {
  border-bottom-color: var(--navy);
}

/* Hero CTAs: primary + ghost as a matched pair */
.hero-actions .btn-primary {
  min-width: 10.5rem;
}

.hero-actions .btn-ghost {
  min-width: 9.5rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.section-head p,
.page-hero p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38ch;
}

/* ---------- Services: editorial bands ---------- */
.service-bands {
  display: grid;
  gap: 0;
}

.service-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(72vh, 560px);
  background: var(--white);
  border-top: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.service-band:nth-child(even) {
  direction: rtl;
}

.service-band:nth-child(even) > * {
  direction: ltr;
}

.service-band:hover {
  background: #fbfcfd;
}

.service-band-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.service-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.9s var(--ease);
}

.service-band:hover .service-band-media img {
  transform: scale(1.02);
}

.service-band-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 28rem;
  margin-inline: auto;
}

.service-band-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 1rem;
}

.service-band h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.service-band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.service-band .link-more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  align-self: flex-start;
  border-bottom: 1px solid var(--green);
  padding-bottom: 0.15rem;
}

/* ---------- Why (typography only) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.why-item {
  padding-top: 1.25rem;
  border-top: 2px solid var(--green);
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  margin: 1rem 0 0.65rem;
  line-height: 1.2;
}

.why-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-aside {
  padding: 2rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
}

.faq-aside h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.faq-aside p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: baseline;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.faq-question .mark {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.3s var(--ease);
}

.faq-question[aria-expanded="true"] .mark {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 1.5rem;
}

.page-hero.compact {
  padding-bottom: 0.5rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy p + p {
  margin-top: 1.1rem;
  color: var(--muted);
}

.about-copy .pull {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
}

.about-visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 30px 60px rgba(18, 28, 50, 0.12);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(18, 28, 50, 0.35));
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

.value-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.value-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-block p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Services index page */
.service-index {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-index-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease);
}

.service-index-row:hover {
  padding-left: 0.5rem;
}

.service-index-row .idx {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green);
}

.service-index-row h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.service-index-row p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

.service-index-row .go {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--green);
}

/* Placeholder */
.quiet-panel {
  padding: clamp(3rem, 8vw, 5rem) var(--space);
  text-align: center;
  background:
    linear-gradient(160deg, rgba(61, 155, 74, 0.06), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quiet-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.quiet-panel p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.quiet-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Contact page — editorial split */
.page-contact {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(61, 155, 74, 0.08), transparent 55%),
    var(--paper);
}

.page-contact .site-footer {
  margin-top: 0;
}

.contact-page {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.2fr);
  min-height: calc(100vh - var(--header-h));
}

.contact-rail {
  background:
    linear-gradient(165deg, rgba(61, 155, 74, 0.16), transparent 42%),
    var(--navy-deep);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
}

.contact-rail-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 1rem;
}

.contact-rail h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 10ch;
}

.contact-rail-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 28ch;
  margin-bottom: 2.5rem;
}

.contact-rail-links {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.contact-rail-link {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.2s;
}

.contact-rail-link span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mist);
}

.contact-rail-link strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
}

.contact-rail-link:not(.static):hover strong {
  color: var(--green-glow);
}

.contact-rail-wa {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-form-panel {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 4vw, 3.5rem);
  display: flex;
  align-items: flex-start;
}

.contact-form-panel form {
  width: min(100%, 560px);
  margin-inline: auto;
}

.form-block {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.form-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.form-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.15rem;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-submit-row .btn {
  min-width: 12rem;
}

/* Shared form controls */
.booking-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea,
.custom-select-trigger {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.page-contact .form-group input,
.page-contact .form-group select,
.page-contact .form-group textarea,
.page-contact .custom-select-trigger {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(27, 43, 74, 0.14);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61, 155, 74, 0.15);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 0;
  font-size: 0.92rem;
}

.form-status--error {
  color: #b42318;
}

.form-status--success {
  color: var(--green-deep);
}

.custom-select-container {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.custom-select-options {
  display: none;
  position: absolute;
  z-index: 20;
  inset: calc(100% + 4px) 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-height: 220px;
  overflow: auto;
  box-shadow: 0 16px 40px rgba(18, 28, 50, 0.12);
}

.custom-select-container.open .custom-select-options {
  display: block;
}

.custom-select-options button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
}

.custom-select-options button:hover {
  background: var(--mist);
}

/* Booking */
.progress-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.progress-step {
  padding: 0.85rem 0.75rem;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
}

.progress-step.active,
.progress-step.completed {
  background: var(--navy);
  color: var(--white);
}

.form-section + .form-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.option-cards,
.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.option-card,
.extra-item,
.checkbox-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.95rem;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option-card.selected,
.extra-item:has(input:checked),
.checkbox-item:has(input:checked) {
  border-color: var(--green);
  background: rgba(61, 155, 74, 0.08);
}

.option-card .price {
  margin-top: 0.35rem;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.time-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
}

.time-control button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
}

#time-display {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  min-width: 7rem;
  text-align: center;
}

.time-recommendation {
  color: var(--muted);
  font-size: 0.92rem;
}

.summary-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.summary-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin: 1.1rem 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 50, 0.55);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 1rem;
}

.modal-overlay.active {
  display: grid;
}

.modal-content {
  background: var(--white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  max-width: 26rem;
  text-align: center;
}

.modal-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 155, 74, 0.12);
  color: var(--green-deep);
  font-size: 1.25rem;
}

.modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 4rem 0 1.5rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2.25rem;
}

.site-footer h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root {
    --header-h: 4rem;
    --space: 1.15rem;
  }

  .header-inner {
    gap: 0.65rem;
    width: calc(100% - 2 * var(--space));
    max-width: none;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand img {
    height: 2.15rem;
    max-width: min(148px, 42vw);
    width: auto;
    object-fit: contain;
  }

  .lang-switch {
    flex-shrink: 0;
    gap: 0.05rem;
    font-size: 0.68rem;
  }

  .lang-switch a {
    padding: 0.35rem 0.4rem;
  }

  .menu-toggle {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    left: var(--space);
    width: calc(100% - 2 * var(--space));
    max-width: none;
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    max-width: 14ch;
  }

  .hero-lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    min-width: 0;
    width: 100%;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .service-band,
  .service-band:nth-child(even),
  .why-grid,
  .faq-layout,
  .about-split,
  .booking-layout,
  .footer-grid,
  .values-list,
  .service-index-row,
  .contact-shell {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-band:nth-child(even) {
    direction: ltr;
  }

  .contact-shell {
    min-height: 0;
  }

  .contact-rail {
    min-height: auto;
    height: auto;
    position: static;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .contact-rail h1 {
    max-width: none;
  }

  .contact-form-panel {
    padding-top: 2rem;
    padding-bottom: 3rem;
    align-items: stretch;
  }

  .service-band {
    min-height: 0;
  }

  .service-band-media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .service-band-body {
    padding: 1.75rem var(--space) 2.25rem;
    max-width: none;
  }

  .faq-aside,
  .summary-card {
    position: static;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
    background: var(--paper);
    padding: 2rem var(--space) 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -12px 0 40px rgba(18, 28, 50, 0.12);
    visibility: hidden;
    pointer-events: none;
  }

  .nav.open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav a {
    color: var(--navy) !important;
    font-size: 1.35rem;
    font-family: var(--font-display);
  }

  .menu-toggle {
    display: grid;
    margin-left: 0;
    z-index: 61;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .option-cards,
  .extras-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-index-row .go {
    justify-self: start;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .quiet-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .brand img {
    max-width: min(128px, 38vw);
    height: 1.95rem;
  }

  .lang-switch a {
    padding: 0.3rem 0.32rem;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
