/* ===========================================================
   ProHomes — Landing
   Sistema visual: cálido, cercano, confiable.
   3 temas intercambiables vía [data-theme] + 2 tipografías vía [data-font].
   Color definido en oklch para armonía.
   =========================================================== */

/* ---------- TEMA: Tierra (default — terracota cálido) ---------- */
:root {
  --bg:        oklch(0.972 0.013 76);
  --bg-2:      oklch(0.937 0.026 70);
  --surface:   oklch(0.995 0.006 80);
  --ink:       oklch(0.285 0.022 56);
  --ink-soft:  oklch(0.43 0.022 56);
  --muted:     oklch(0.55 0.020 58);
  --line:      oklch(0.90 0.016 72);
  --line-soft: oklch(0.93 0.012 72);

  --primary:      oklch(0.675 0.172 50);   /* naranja de marca */
  --primary-deep: oklch(0.585 0.170 47);
  --primary-soft: oklch(0.935 0.055 62);
  --on-primary:   oklch(0.99 0.01 80);

  --accent:      oklch(0.50 0.012 255);    /* gris de marca */
  --accent-soft: oklch(0.92 0.006 255);

  --shadow-color: 32 28% 30%;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-sm: 10px;
}

/* ---------- TEMA: Sereno (verde profundo, confianza) ---------- */
[data-theme="sereno"] {
  --bg:        oklch(0.968 0.012 150);
  --bg-2:      oklch(0.932 0.024 152);
  --surface:   oklch(0.995 0.005 150);
  --ink:       oklch(0.275 0.020 175);
  --ink-soft:  oklch(0.42 0.020 175);
  --muted:     oklch(0.53 0.018 175);
  --line:      oklch(0.90 0.014 160);
  --line-soft: oklch(0.93 0.010 160);

  --primary:      oklch(0.52 0.082 184);
  --primary-deep: oklch(0.44 0.080 186);
  --primary-soft: oklch(0.93 0.030 184);
  --on-primary:   oklch(0.99 0.008 180);

  --accent:      oklch(0.62 0.110 52);    /* terracota como acento */
  --accent-soft: oklch(0.93 0.035 52);

  --shadow-color: 185 30% 22%;
}

/* ---------- TEMA: Moderno (blanco cálido + carbón + ámbar) ---------- */
[data-theme="moderno"] {
  --bg:        oklch(0.982 0.005 82);
  --bg-2:      oklch(0.945 0.016 80);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.235 0.006 64);
  --ink-soft:  oklch(0.40 0.008 64);
  --muted:     oklch(0.52 0.010 64);
  --line:      oklch(0.905 0.006 70);
  --line-soft: oklch(0.94 0.004 70);

  --primary:      oklch(0.685 0.142 64);
  --primary-deep: oklch(0.595 0.140 58);
  --primary-soft: oklch(0.945 0.045 75);
  --on-primary:   oklch(0.20 0.02 60);

  --accent:      oklch(0.50 0.040 250);
  --accent-soft: oklch(0.93 0.020 250);

  --shadow-color: 40 10% 25%;
}

/* ---------- Tipografía ---------- */
:root {
  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 500;
  --head-tracking: -0.01em;
}
[data-font="geometrico"] {
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 600;
  --head-tracking: -0.02em;
}

/* ===========================================================
   Base
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  line-height: 1.08;
  letter-spacing: var(--head-tracking);
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 28px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--primary);
  display: inline-block;
}

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 124px); }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 0.92em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 2px hsl(var(--shadow-color) / .25), 0 10px 22px -10px var(--primary);
}
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--primary); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #06351b; box-shadow: 0 10px 22px -12px #25D366; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.06rem; }

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in oklab, var(--bg) 92%, transparent); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand image-slot { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; }
.brand .brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 6px 16px -8px var(--primary);
}
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand-name b { color: var(--primary-deep); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.97rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.5em 0.85em; border-radius: 9px; transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in oklab, var(--primary-soft) 60%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 26px 28px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-close { background: none; border: none; color: var(--ink); padding: 8px; }
.mobile-menu .mm-close svg { width: 30px; height: 30px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 500;
  padding: 0.45em 0; border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.mobile-menu .mm-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mm-cta .btn { justify-content: center; }

/* ===========================================================
   Hero
   =========================================================== */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 64px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.45rem);
  margin-top: 22px;
}
.hero h1 .accent { color: var(--primary-deep); font-style: italic; }
.hero-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  color: var(--ink-soft); max-width: 33ch; margin-top: 22px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero-meta .hm {
  display: flex; align-items: center; gap: 11px; font-size: 0.95rem; color: var(--ink-soft);
}
.hero-meta .hm svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }

.hero-art { position: relative; }
.hero-art image-slot, .hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 70px -34px hsl(var(--shadow-color) / .55);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: 0 24px 44px -22px hsl(var(--shadow-color) / .5);
  display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-badge .hb-num { font-family: var(--font-head); font-size: 2.4rem; color: var(--primary-deep); line-height: 1; }
.hero-badge .hb-txt { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; }

/* ===========================================================
   Trust strip
   =========================================================== */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding-block: 30px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ti-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center;
}
.trust-item .ti-ic svg { width: 24px; height: 24px; }
.trust-item .ti-t { font-weight: 700; font-size: 1.02rem; }
.trust-item .ti-s { font-size: 0.85rem; color: var(--muted); }

/* ===========================================================
   Generic section heading
   =========================================================== */
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 16px; }
.sec-head p { font-size: 1.12rem; color: var(--ink-soft); margin-top: 18px; }

/* ===========================================================
   Nosotros
   =========================================================== */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-media image-slot, .about-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; display: block; border-radius: 22px; box-shadow: 0 36px 60px -32px hsl(var(--shadow-color) / .5); }
.about-media .am-tag {
  position: absolute; right: -16px; top: 28px;
  background: var(--accent); color: var(--surface);
  font-weight: 600; font-size: 0.9rem; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 16px 30px -16px var(--accent);
}
.about-copy h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.about-copy p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.value {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.value .v-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 12px; }
.value .v-ic svg { width: 22px; height: 22px; }
.value h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.04rem; }
.value p { font-size: 0.92rem; margin-top: 6px; color: var(--muted); }

/* ===========================================================
   Proceso
   =========================================================== */
.proceso { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px;
}
.step .s-num {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; }
.step p { font-size: 0.94rem; color: var(--muted); margin-top: 8px; }

/* ===========================================================
   Áreas / rubros (chips)
   =========================================================== */
.areas-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px,4vw,60px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.7em 1.15em; font-size: 0.97rem; font-weight: 500;
  transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; color: var(--primary); }

/* ===========================================================
   Proyectos / Carruseles
   =========================================================== */
.proy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proy-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 56px -36px hsl(var(--shadow-color) / .45);
}
.proy-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.proy-head h3 { font-size: 1.2rem; }
.proy-count { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.carousel { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.carousel-track {
  display: flex; height: 100%; touch-action: pan-y;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }

.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 999px; border: none; padding: 0;
  background: color-mix(in oklab, var(--ink) 45%, transparent);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background .2s, transform .2s;
}
.car-arrow:hover { background: color-mix(in oklab, var(--ink) 65%, transparent); }
.car-arrow svg { width: 20px; height: 20px; }
.car-prev { left: 14px; }
.car-next { right: 14px; }

.car-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.car-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background .2s, transform .2s;
}
.car-dot.active { background: #fff; transform: scale(1.25); }

/* ===========================================================
   Testimonios
   =========================================================== */
.testi { background: var(--bg-2); border-block: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column;
}
.tcard .stars { display: flex; gap: 3px; color: var(--primary); margin-bottom: 16px; }
.tcard .stars svg { width: 19px; height: 19px; }
.tcard blockquote { font-size: 1.08rem; color: var(--ink); line-height: 1.55; font-family: var(--font-head); font-weight: 400; }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.tcard .who image-slot, .tcard .who .av {
  width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center; font-weight: 700; overflow: hidden;
}
.tcard .who .w-name { font-weight: 700; font-size: 0.98rem; }
.tcard .who .w-loc { font-size: 0.84rem; color: var(--muted); }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px,5vw,70px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; font-size: 1.1rem; font-weight: 600; color: var(--ink);
  font-family: var(--font-body);
}
.faq-q .fq-ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: transform .3s ease, background .25s, border-color .25s, color .25s;
}
.faq-q .fq-ic svg { width: 16px; height: 16px; }
.faq-item.open .fq-ic { transform: rotate(45deg); background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 24px; color: var(--ink-soft); font-size: 1.03rem; }

.faq-aside { position: sticky; top: 100px; }
.faq-card {
  background: var(--primary); color: var(--on-primary);
  border-radius: var(--radius-lg); padding: 34px 32px;
  box-shadow: 0 30px 56px -28px var(--primary);
}
.faq-card h3 { color: var(--on-primary); font-size: 1.7rem; }
.faq-card p { margin-top: 12px; opacity: .9; font-size: 1.02rem; }
.faq-card .btn { margin-top: 24px; width: 100%; justify-content: center; }
.faq-card .btn-wa { background: var(--surface); color: var(--primary-deep); }

/* ===========================================================
   Contacto / Cotización
   =========================================================== */
.contacto { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.contact-info > p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 18px; max-width: 42ch; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.contact-line { display: flex; align-items: center; gap: 16px; }
.contact-line .cl-v { white-space: nowrap; }
.contact-line .cl-ic {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--primary-deep);
}
.contact-line .cl-ic svg { width: 23px; height: 23px; }
.contact-line .cl-k { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-line .cl-v { font-weight: 700; font-size: 1.08rem; }
.contact-line a.cl-v:hover { color: var(--primary-deep); }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 56px -32px hsl(var(--shadow-color) / .5);
}
.form-card h3 { font-size: 1.5rem; }
.form-card .fc-sub { color: var(--muted); font-size: 0.98rem; margin-top: 6px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.78em 0.95em;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.83rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--ink); color: oklch(0.9 0.01 80); padding-block: 56px 30px; }
[data-theme="moderno"] .site-footer { background: oklch(0.22 0.006 64); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 340px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name b { color: var(--primary-soft); }
.footer-brand p { color: oklch(0.78 0.01 80); margin-top: 16px; font-size: 0.97rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: oklch(0.7 0.02 60); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: oklch(0.86 0.01 80); font-size: 0.97rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid oklch(0.4 0.02 60 / .4);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 0.86rem; color: oklch(0.7 0.01 80);
}

/* ===========================================================
   Scroll reveal
   =========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
}

/* ===========================================================
   Toast
   =========================================================== */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120%);
  background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; z-index: 80; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.2,.8,.3,1); max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; }
  .hero-lead, .hero h1 { max-width: none; }
  .about-grid, .areas-wrap, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .faq-aside { position: static; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .proy-grid { gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 20px; }
  .nav { height: 68px; }
  .field-row { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .proy-grid { grid-template-columns: 1fr; }
  .carousel { aspect-ratio: 4/3; }
  .hero-badge { left: 0; }
  .footer-cols { gap: 32px; }
}
