/* INTRO — The Concierge Company · demo rebuild */

:root {
  --ink: #151515;
  --ink-soft: #3d3d38;
  --paper: #f6f4ef;
  --paper-deep: #efece4;
  --green: #204030;
  --green-deep: #16301f;
  --sand: #b3a184;
  --line: rgba(21, 21, 21, 0.1);
  --line-light: rgba(246, 244, 239, 0.22);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--green); color: var(--paper); }

/* ---------- typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  font-feature-settings: "liga", "kern";
}

h1 em, h2 em, h3 em, .serif em, .lede em { font-style: italic; font-weight: 500; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--green);
}

.label::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  flex: none;
}

.label.on-dark { color: var(--sand); }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- language ---------- */

html[data-lang="en"] [lang="es"], html[data-lang="en"] [lang="pt"] { display: none; }
html[data-lang="es"] [lang="en"], html[data-lang="es"] [lang="pt"] { display: none; }
html[data-lang="pt"] [lang="en"], html[data-lang="pt"] [lang="es"] { display: none; }

.nav-right { display: flex; align-items: center; gap: 1.6rem; margin-left: clamp(1.6rem, 3vw, 2.6rem); }

/* language dropdown */
.lang-switch {
  position: relative;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: none;
  border: 0;
  padding: 0.3rem 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  transition: opacity 0.3s ease;
}

.lang-current:hover { opacity: 0.7; }

.lang-current .caret { font-size: 0.8em; display: inline-block; transition: transform 0.35s ease; }

.lang-switch:hover .lang-current .caret,
.lang-switch:focus-within .lang-current .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 8.5rem;
  padding: 0.9rem 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(21, 21, 21, 0.14);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 20;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button {
  background: none;
  border: 0;
  text-align: left;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.lang-menu button:hover { opacity: 1; background: var(--paper-deep); }

.lang-menu button.active { opacity: 1; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem clamp(1.4rem, 4vw, 3.5rem);
  color: #fff;
  transition: background 0.6s ease, color 0.6s ease, padding 0.6s ease, box-shadow 0.6s ease;
}

.nav.scrolled {
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.nav.solid {
  position: sticky;
  background: var(--paper);
  color: var(--ink);
}

.wordmark { display: block; }

.logo {
  display: block;
  width: 126px;
  height: auto;
  overflow: visible;
}

.logo text { fill: currentColor; }

.logo-tag {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.8vw, 2.6rem);
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-top { position: relative; padding: 0.3rem 0; }

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

.nav-top:hover::after,
.nav-top.active::after,
.submenu a:hover::after,
.submenu a.active::after { transform: scaleX(1); transform-origin: left; }

/* services dropdown */
.nav-item { position: relative; display: flex; align-items: center; }

.nav-item .caret { font-size: 0.7em; margin-left: 0.35em; display: inline-block; transition: transform 0.35s ease; }

.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 15rem;
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(21, 21, 21, 0.14);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.nav-item:hover .submenu, .nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu a { position: relative; padding: 0.1rem 0; white-space: nowrap; }

.nav-cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1.3rem !important;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-cta::after { display: none; }

.nav-cta:hover { background: var(--green); border-color: var(--green); color: #fff !important; }

.nav-in-menu { display: none; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero.short { min-height: 72svh; }

.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: heroDrift 22s ease-out forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 16, 12, 0.72) 0%, rgba(10, 16, 12, 0.18) 48%, rgba(10, 16, 12, 0.3) 100%);
}

.hero-inner {
  width: 100%;
  padding: 0 clamp(1.4rem, 4vw, 3.5rem) clamp(3.5rem, 9vh, 7rem);
  max-width: 1200px;
  margin: 0 auto;
  text-shadow: 0 1px 26px rgba(8, 14, 10, 0.5);
}

.hero-inner .btn { text-shadow: none; }

.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  max-width: 15ch;
  margin: 1.4rem 0 1.5rem;
}

/* home hero carries the long DMC headline — keep it a touch more contained */
.hero:not(.short) h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  max-width: 18ch;
}

.hero .sub {
  max-width: 50ch;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  opacity: 0.88;
}

.hero .label { color: #f3f0e9; font-size: 0.74rem; letter-spacing: 0.34em; opacity: 0.95; }
.hero .label::before { background: #f3f0e9; opacity: 0.75; }

.hero-inner > * { animation: rise 1.3s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.38s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero-actions { display: flex; gap: 2rem; align-items: center; margin-top: 2.6rem; flex-wrap: wrap; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 1.15rem 2.8rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  transition: background 0.5s cubic-bezier(0.2, 0.6, 0.2, 1), color 0.5s ease, border-color 0.5s ease, letter-spacing 0.5s ease;
}

.btn:hover { background: var(--green-deep); border-color: var(--green-deep); letter-spacing: 0.38em; }

.btn.ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.55); }

.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.text-link {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.45rem;
  transition: opacity 0.4s ease, letter-spacing 0.5s ease;
}

.text-link:hover { opacity: 0.55; letter-spacing: 0.38em; }

/* ---------- layout primitives ---------- */

.section {
  padding: clamp(5.5rem, 13vh, 10.5rem) clamp(1.4rem, 4vw, 3.5rem);
}

.section.tight { padding-top: clamp(3.5rem, 8vh, 6rem); padding-bottom: clamp(3.5rem, 8vh, 6rem); }

.wrap { max-width: 1200px; margin: 0 auto; }

.wrap.narrow { max-width: 780px; }

.section-head { max-width: 660px; margin-bottom: clamp(3rem, 7vh, 5.5rem); }

.dmc-band { text-align: center; }
.dmc-band .lede { margin: 0 auto; max-width: 34ch; }

.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 1.3rem 0 1.3rem; }

.section-head p { color: var(--ink-soft); }

.on-green { background: var(--green); color: var(--paper); }
.on-green .section-head p { color: rgba(246, 244, 239, 0.78); }
.on-deep { background: var(--green-deep); color: var(--paper); }
.on-paper-deep { background: var(--paper-deep); }

/* split editorial */

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split.flip { grid-template-columns: 1fr 1.15fr; }

.split.flip .split-media { order: 2; }

.split-media { position: relative; overflow: hidden; }

.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; transition: transform 2s cubic-bezier(0.2, 0.6, 0.2, 1); }

.split-media.wide img { aspect-ratio: 4 / 3; }

.split-media:hover img { transform: scale(1.03); }

.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 1.3rem 0 1.5rem; }

.split-copy p { color: var(--ink-soft); margin-bottom: 1.2rem; max-width: 44ch; }

.on-green .split-copy p, .on-deep .split-copy p { color: rgba(246, 244, 239, 0.78); }

.caption {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
  margin-top: 1rem;
}

/* ---------- service panels (home) ---------- */

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }

.panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  aspect-ratio: 4 / 4.8;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.panel.wide { grid-column: span 2; aspect-ratio: 21 / 9; }

.panel img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.panel::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 16, 12, 0.72), rgba(10, 16, 12, 0.05) 55%);
  transition: background 0.5s ease;
}

.panel:hover img { transform: scale(1.05); }

.panel-copy { padding: clamp(1.6rem, 3.2vw, 2.8rem); }

.panel-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 0.7rem 0 0.7rem; }

.panel-copy p { font-size: 0.9rem; max-width: 42ch; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.5s ease 0.05s, max-height 0.5s ease, margin 0.5s ease; }

.panel:hover .panel-copy p, .panel:focus-within .panel-copy p { opacity: 0.92; max-height: 8rem; margin-bottom: 1rem; }

.panel .text-link { color: #fff; }

@media (hover: none) {
  .panel-copy p { opacity: 0.92; max-height: none; margin-bottom: 1rem; }
}

/* ---------- quote band ---------- */

.quote-band { text-align: center; }

.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.4;
  font-weight: 500;
  max-width: 26ch;
  margin: 2rem auto 2.2rem;
}

.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sand);
}

.quote-band .label { justify-content: center; }

/* ---------- stats / proof ---------- */

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line-light);
  padding-top: 2.6rem;
  margin-top: 3.2rem;
}

.proof-row .num { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1; }

.proof-row .desc { font-size: 0.76rem; letter-spacing: 0.1em; opacity: 0.7; margin: 0.9rem auto 0; max-width: 24ch; }

/* ---------- gallery mosaics ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

.mosaic figure { overflow: hidden; position: relative; }

.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 2s cubic-bezier(0.2, 0.6, 0.2, 1); }

.mosaic figure:hover img { transform: scale(1.03); }

.mosaic figure.landscape img { aspect-ratio: 4 / 3; }

.mosaic figure.tall { grid-row: span 2; }
.mosaic figure.tall img { aspect-ratio: auto; height: 100%; }

.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.8rem 1.2rem 1.1rem;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 16, 12, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.mosaic figure:hover figcaption { opacity: 1; }

/* ---------- steps (how it works) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.8rem); counter-reset: step; }

.steps.three { grid-template-columns: repeat(3, 1fr); }

.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }

.on-green .step, .on-deep .step { border-top-color: var(--line-light); }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sand);
  display: block;
  margin-bottom: 1.1rem;
}

.step h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }

.step p { font-size: 0.85rem; color: var(--ink-soft); }

.on-green .step p, .on-deep .step p { color: rgba(246, 244, 239, 0.78); }

/* ---------- detail lists ---------- */

.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }

.detail-list { list-style: none; }

.detail-list li {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: baseline;
}

.detail-list li strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; white-space: nowrap; }

.detail-list li span { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- property cards ---------- */

.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }

.prop { position: relative; overflow: hidden; }

.prop img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1); }

.prop:hover img { transform: scale(1.05); }

.prop-meta { padding: 1.2rem 0 0; }

.prop-meta .place { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--green); }

.prop-meta h3 { font-size: 1.5rem; margin: 0.5rem 0 0.3rem; }

.prop-meta p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- case block ---------- */

.case {
  border-left: 2px solid var(--sand);
  padding: 0.4rem 0 0.4rem clamp(1.4rem, 3vw, 2.6rem);
  max-width: 720px;
}

.case .serif { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; margin: 0.8rem 0 1rem; }

.case p { font-size: 0.92rem; color: var(--ink-soft); max-width: 60ch; }

.on-green .case p, .on-deep .case p { color: rgba(246, 244, 239, 0.8); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }

.field { margin-bottom: 1.6rem; }

.field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  padding: 0.6rem 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.field input:focus, .field textarea:focus { border-bottom-color: var(--green); }

.field textarea { resize: vertical; min-height: 110px; }

.contact-aside .block { border-top: 1px solid var(--line); padding: 1.4rem 0; }

.contact-aside .block h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

.contact-aside .block p { font-size: 0.88rem; color: var(--ink-soft); }

.contact-aside .block a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }

.contact-h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 1.2rem 0 1.3rem; }

.contact-lede { color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.6rem; }

.tbd { opacity: 0.55; font-style: italic; }

.form-note { font-size: 0.78rem; color: var(--ink-soft); opacity: 0.8; margin-top: 1rem; max-width: 46ch; }

.form-success { display: none; padding: 2rem 0; }
.form-success.show { display: block; }

/* ---------- footer ---------- */

footer {
  background: var(--green-deep);
  color: var(--paper);
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.4rem, 4vw, 3.5rem) 2.2rem;
}

.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.foot-brand .foot-logo { width: 175px; opacity: 0.95; }

.foot-brand p { font-size: 0.85rem; opacity: 0.65; margin-top: 1.2rem; max-width: 30ch; }

.foot-col h4 {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.4rem;
}

.foot-col a { display: block; font-size: 0.84rem; opacity: 0.75; padding: 0.35rem 0; transition: opacity 0.3s ease; }

.foot-col a:hover { opacity: 1; }

.foot-fine {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.64rem;
  opacity: 0.45;
  letter-spacing: 0.12em;
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.2s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }

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

.reveal.d1 { transition-delay: 0.15s; }
.reveal.d2 { transition-delay: 0.3s; }
.reveal.d3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero img.bg { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1399px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    font-size: 1rem;
    z-index: 90;
    overflow-y: auto;
    padding: 5.5rem 1.5rem 3rem;
  }

  .nav-links.open .nav-item.has-sub {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-links.open .nav-item .caret { display: none; }

  .nav-links.open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0;
    gap: 1.1rem;
    background: transparent;
    color: var(--paper);
    border: 0;
    box-shadow: none;
    align-items: center;
  }

  .nav-links.open .submenu a { font-size: 0.82rem; opacity: 0.85; }

  .nav-in-bar { display: none; }

  .nav-links.open .nav-in-menu { display: inline-block; margin-top: 0.8rem; }

  .nav-toggle {
    display: block;
    position: relative;
    background: none;
    border: 0;
    color: inherit;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 95;
  }

  .nav.menu-open { color: var(--paper); }

  .nav.menu-open.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .nav.menu-open .wordmark { position: relative; z-index: 95; }

  .nav.menu-open .nav-right { position: relative; z-index: 95; }
}

.nav-toggle .t-close { display: none; }
.nav-toggle.is-open .t-menu { display: none; }
.nav-toggle.is-open .t-close { display: inline; }

@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 1.8rem; }
  .split.flip .split-media { order: 0; }
  .panels { grid-template-columns: 1fr; }
  .panel { aspect-ratio: 4 / 4.4; }
  .panel.wide { grid-column: span 1; aspect-ratio: 4 / 4.4; }
  .steps, .steps.three { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .props { grid-template-columns: 1fr; }
  .detail-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .steps, .steps.three { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic figure.tall { grid-row: auto; }
  .mosaic figure.tall img { aspect-ratio: 4 / 5; height: auto; }
  .mosaic figcaption { opacity: 1; }
  .detail-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero-actions { gap: 1.1rem; }
  .hero .sub { font-size: 0.95rem; }
  .foot-fine { flex-direction: column; gap: 0.4rem; }
  .quote-band blockquote { max-width: 20ch; }
}

/* ---------- WhatsApp ---------- */

.wa-fab {
  position: fixed;
  right: clamp(1.1rem, 3vw, 2.2rem);
  bottom: clamp(1.1rem, 3vw, 2.2rem);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 6px 22px rgba(21, 32, 26, 0.26);
  transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.wa-fab svg { display: block; width: 1.55rem; height: 1.55rem; fill: currentColor; }

.wa-fab:hover,
.wa-fab:focus-visible {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 32, 26, 0.32);
}

.wa-fab:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 700px) {
  .wa-fab {
    width: 3rem;
    height: 3rem;
    bottom: calc(clamp(1.1rem, 3vw, 2.2rem) + env(safe-area-inset-bottom, 0px));
  }
  .wa-fab svg { width: 1.4rem; height: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: background 0.4s ease; }
  .wa-fab:hover, .wa-fab:focus-visible { transform: none; }
}
