/* ==========================================================================
   MARÍA CELESTE ORTIZ — Sistema de diseño (mockup v1)
   Un solo archivo de tokens + componentes. Nada de 7 temas de plantilla.
   ========================================================================== */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Neutros (no cambian entre paletas) */
  --ink:        #0E1A24;
  --ink-2:      #1C2B37;
  --muted:      #56626E;   /* 6.24:1 sobre blanco — AA para cuerpo */
  --muted-soft: #6B7783;
  --line:       #E3E7EC;
  --line-dark:  #2A3947;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F7F9;
  --bg-dark:    #0E1A24;

  /* Acento: se sobreescribe con [data-theme] */
  --accent:      #B3175A;
  --accent-soft: #FAEDF2;

  /* Tipografía */
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head:  "Poppins", var(--font-sans);
  --font-quote: "Fraunces", Georgia, serif;

  /* Escala fluida */
  --fs-h1: clamp(2.05rem, 3.9vw, 3.15rem);
  --fs-h2: clamp(1.65rem, 2.6vw, 2.35rem);
  --fs-h3: 1.18rem;
  --fs-body: 1.125rem;
  --fs-small: .875rem;
  --fs-eyebrow: .72rem;

  /* Espaciado */
  --gap: 2rem;
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --container: 1200px;
  --radius: 4px;
  --radius-btn: 6px;

  /* Sombras (solo en hover/foco) */
  --shadow-sm: 0 2px 6px rgba(14,26,36,.06);
  --shadow-md: 0 14px 34px -12px rgba(14,26,36,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;
}

/* Paleta 2 — petróleo (más institucional) */
[data-theme="petroleo"] { --accent: #0F4C5C; --accent-soft: #EAF2F4; }
/* Paleta 3 — bordó (estudio jurídico) */
[data-theme="bordo"]   { --accent: #7A1F2B; --accent-soft: #F7EDEE; }

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: .75rem 1.25rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 3. LAYOUT ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: currentColor;
}
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: .85rem; }
.section-head p { color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- 4. TOPBAR ---------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  letter-spacing: .01em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 42px;
}
.topbar__claim { letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; }
.topbar__links { display: flex; gap: 1.6rem; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color var(--dur) var(--ease); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .65; flex: none; }
.topbar__access { display: flex; align-items: center; gap: 1.4rem; }
.topbar__access a { font-weight: 500; letter-spacing: .02em; }
.topbar__access a + a { position: relative; }
.topbar__access a + a::before {
  content: ""; position: absolute; left: -.8rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: rgba(255,255,255,.22);
}

/* ---------- 5. HEADER + NAV --------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(14,26,36,.45); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 86px;
  transition: min-height var(--dur) var(--ease);
}
.header.is-scrolled .header__inner { min-height: 70px; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 1.05rem; font-weight: 500; color: var(--ink-2);
  padding-block: .35rem; position: relative;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent);
  transition: right var(--dur) var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: .4rem; }
.nav-item .caret {
  width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease);
}
.nav-item:hover .caret { transform: rotate(45deg) translateY(0); }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -1rem;
  min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a { display: block; padding: .6rem .75rem; border-radius: 3px; font-size: .9rem; }
.submenu a:hover { background: var(--bg-soft); color: var(--accent); }

.header__cta { flex: none; }

/* Botón hamburguesa */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: #fff;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 1.8px; background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 24px; border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: #fff; font-size: 1.3rem; line-height: 1; color: var(--ink);
}
.drawer nav { padding: 1.25rem 24px 2rem; }
.drawer nav a {
  display: block; padding: 1rem 0; font-family: var(--font-head);
  font-size: 1.45rem; font-weight: 500; border-bottom: 1px solid var(--line);
}
.drawer nav a:last-child { border-bottom: 0; }
.drawer__foot { margin-top: auto; padding: 1.5rem 24px 2.5rem; display: grid; gap: .75rem; }

/* ---------- 6. BOTONES --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-btn); border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255,255,255,.88); }
.btn--ghost-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn svg { width: 17px; height: 17px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem; color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 7. HERO ------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: flex; align-items: center;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../image/celeste-hero-a.jpg");
  background-size: cover;
  background-position: 62% 45%;
  transition: opacity .35s var(--ease);
}
[data-hero="b"] .hero__bg {
  background-image: url("../hero-b-interior.jpg");
  background-position: 50% 55%;
}
/* Scrim: lo que faltaba. Oscurece la zona del texto y deja respirar el retrato. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8,15,21,.94) 0%, rgba(8,15,21,.82) 34%, rgba(8,15,21,.42) 62%, rgba(8,15,21,.12) 100%),
    linear-gradient(to top, rgba(8,15,21,.55) 0%, rgba(8,15,21,0) 42%);
}
.hero__inner { padding-block: clamp(4.5rem, 9vw, 7rem); max-width: 820px; }
.hero__eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.78); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--accent); }
.hero h1 {
  font-size: clamp(1.95rem, 3.35vw, 2.72rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.35rem;
}
.hero h1 em { font-style: normal; color: #fff; background-image: linear-gradient(transparent 68%, rgba(179,23,90,.55) 68%); background-size: 100% 100%; }
.hero p {
  font-size: 1.1rem; line-height: 1.6;
  color: rgba(255,255,255,.84);
  max-width: 46ch; margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0 2rem;
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__trust li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .84rem; color: rgba(255,255,255,.8);
  letter-spacing: .02em;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- 8. TARJETAS DE SERVICIO ------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D3D9E0; }
.service__icon {
  width: 52px; height: 52px; margin: 1.75rem 1.5rem 0;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 3px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service__icon svg { width: 25px; height: 25px; }
.service:hover .service__icon { background: var(--accent); color: #fff; }
.service__body { padding: 1.15rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.service__body h3 { font-size: var(--fs-h3); }
.service__body p { color: var(--muted); font-size: .95rem; line-height: 1.62; flex: 1; }

/* ---------- 8 bis. HERRAMIENTAS ----------------------------------------- */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tool {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3D9E0; }
.tool__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 3px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tool__icon svg { width: 22px; height: 22px; }
.tool:hover .tool__icon { background: var(--accent); color: #fff; }
.tool__body { flex: 1; }
.tool__body h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.tool__body p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.tool__arrow { flex: none; align-self: center; color: var(--accent); }
.tool__arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.tool:hover .tool__arrow svg { transform: translateX(4px); }

/* ---------- 8 ter. NOTICIAS --------------------------------------------- */
.news { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.news__intro h2 { font-size: var(--fs-h2); margin-bottom: .9rem; }
.news__intro p { color: var(--muted); margin-bottom: 1.6rem; max-width: 36ch; }
.news__list { display: grid; }
.news__item {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
  transition: color var(--dur) var(--ease);
}
.news__item:last-child { border-bottom: 1px solid var(--line); }
.news__date {
  flex: none; width: 104px; white-space: nowrap;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-soft);
  padding-top: .18rem;
}
.news__title {
  flex: 1;
  font-family: var(--font-head); font-size: 1.04rem; font-weight: 500; line-height: 1.35;
  transition: color var(--dur) var(--ease);
}
.news__item:hover .news__title { color: var(--accent); }
.news__item svg { width: 16px; height: 16px; flex: none; color: var(--muted-soft); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.news__item:hover svg { transform: translateX(4px); color: var(--accent); }

/* ---------- 9. PROPIEDADES ---------------------------------------------- */
.properties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.property {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.property:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.property__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.property__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property:hover .property__media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.96); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .38rem .6rem; border-radius: 2px;
}
.badge--accent { background: var(--accent); color: #fff; }
.property__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.property__price { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.property__title { font-size: .98rem; font-weight: 500; color: var(--ink-2); }
.property__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .84rem; color: var(--muted);
}
.property__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.property__meta span + span::before {
  content: "·"; margin-right: .5rem; color: #B9C1CA;
}
.property__body .link-arrow { margin-top: auto; padding-top: .9rem; }

.section-foot { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- 10. SOBRE NOSOTROS ------------------------------------------ */
.about { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: center 20%;
  border-radius: var(--radius);
}
.about__body h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }
.about__body > p { color: var(--muted); margin-bottom: 1rem; }
.about__list { display: grid; gap: .7rem; margin: 1.6rem 0 2rem; }
.about__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.about__list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .18rem; }

/* ---------- 11. CITA ---------------------------------------------------- */
.quote { text-align: center; padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.quote__mark { width: 34px; height: 2px; background: var(--accent); margin: 0 auto 2.1rem; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote__item { display: none; }
.quote__item--1 { display: block; }
[data-quote="2"] .quote__item--1,
[data-quote="3"] .quote__item--1 { display: none; }
[data-quote="2"] .quote__item--2,
[data-quote="3"] .quote__item--3 { display: block; }
.quote p {
  font-family: var(--font-quote);
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.45; font-weight: 400; letter-spacing: -.005em;
  color: #fff;
  text-wrap: balance;
}
.quote cite {
  display: block; margin-top: 2rem;
  font-family: var(--font-sans); font-style: normal;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ---------- 12. CTA FINAL ----------------------------------------------- */
.cta { text-align: center; }
.cta h2 { font-size: var(--fs-h2); margin-bottom: .9rem; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ---------- 13. FOOTER --------------------------------------------------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.68); padding-block: 4.5rem 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr .8fr .7fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
}
.footer img.footer__logo { height: 40px; margin-bottom: 1.2rem; }
.footer__blurb { font-size: .95rem; line-height: 1.7; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  margin-bottom: 1.2rem;
}
.footer li + li { margin-top: .65rem; }
.footer a { font-size: .97rem; transition: color var(--dur) var(--ease); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { width: 15px; height: 15px; opacity: .55; flex: none; margin-top: .3rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.5rem 4.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.5);
}

/* ---------- 14. WHATSAPP FLOTANTE --------------------------------------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1EA65C; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(30,166,92,.7);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.wa:hover { transform: scale(1.06); background: #178A4B; }
.wa svg { width: 27px; height: 27px; }

/* ---------- 15. PANEL DE DEMO ------------------------------------------- */
.demo-panel {
  position: fixed; left: 18px; bottom: 18px; z-index: 300;
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line); border-radius: 100px;
  padding: .4rem .5rem .4rem .85rem;
  box-shadow: var(--shadow-md);
  font-size: .74rem; color: var(--muted);
}
.demo-panel strong { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.swatches { display: flex; gap: .3rem; }
.swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid transparent; padding: 0;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }

.hero-switch, .quote-switch { display: flex; gap: .2rem; margin-left: .35rem; padding-left: .55rem; border-left: 1px solid var(--line); }
.hero-switch button, .quote-switch button {
  min-width: 26px; height: 22px; padding: 0 .4rem;
  border: 1px solid var(--line); border-radius: 3px;
  background: #fff; color: var(--muted);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em;
}
.hero-switch button[aria-pressed="true"], .quote-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 16. REVEAL --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. RESPONSIVE ---------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services, .properties { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
}

@media (max-width: 860px) {
  .br-desk { display: none; }
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .topbar__links a:not(:last-child) { display: none; }
  .topbar .container { justify-content: center; }
  .topbar__claim { display: none; }
  .topbar__access { display: none; }
}

@media (max-width: 720px) {
  :root { --fs-body: 1rem; }
  .hero { min-height: 0; }
  .hero__inner { padding-block: 4.5rem 3.5rem; }
  .hero__bg { background-position: 62% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(8,15,21,.72) 0%, rgba(8,15,21,.86) 55%, rgba(8,15,21,.94) 100%);
  }
  .hero__trust { gap: .85rem 1.5rem; }
  .services, .properties { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__bottom { justify-content: flex-start; }
  .demo-panel { left: 12px; bottom: 12px; }
  .wa { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

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