/* ============================================================
   MM Promotora de Seguros
   Color: dusty teal #7AAAB4 + white. Discipline over decoration.
   ============================================================ */

:root {
  --mist:      #7AAAB4;   /* exact brand teal */
  --mist-600:  #5C949F;   /* deeper teal for links/edges */
  --deep:      #16323A;   /* teal-navy: structure, trust */
  --deep-700:  #1F424B;
  --ink:       #16191B;   /* near-black wordmark */
  --paper:     #FFFFFF;
  --haze:      #E7EFF1;   /* mist tint: quiet fills */
  --haze-line: #D2E0E3;
  --muted:     #5A6A6E;   /* secondary text on light */

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 76px;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ───────────── Reset ───────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--deep);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ───────────── Brand mark ───────────── */
.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.8;
  font-feature-settings: "ss01";
  display: inline-block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { font-size: 1.9rem; }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--deep);
  padding-left: 0.7rem;
  border-left: 1.5px solid var(--haze-line);
}

/* ───────────── Buttons ───────────── */
.btn {
  --pad-y: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: var(--pad-y) 1.5rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--deep); color: #fff; }
.btn--solid:hover { background: var(--deep-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--haze-line); }
.btn--ghost:hover { border-color: var(--deep); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ───────────── Header ───────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--haze-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}
.nav {
  display: flex;
  gap: 2rem;
  margin-inline: auto;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--deep);
  position: relative;
  padding: 0.25rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--mist);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta { --pad-y: 0.6rem; }

/* ───────────── Hamburger toggle ───────────── */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--haze-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--deep); }
.nav-toggle__box { position: relative; width: 22px; height: 14px; }
.nav-toggle__inner,
.nav-toggle__inner::before,
.nav-toggle__inner::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--deep);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__inner { top: 6px; }
.nav-toggle__inner::before { content: ""; top: -6px; }
.nav-toggle__inner::after { content: ""; top: 6px; }
.nav-toggle.is-open .nav-toggle__inner { background: transparent; }
.nav-toggle.is-open .nav-toggle__inner::before { top: 0; transform: rotate(45deg); background: var(--deep); }
.nav-toggle.is-open .nav-toggle__inner::after { top: 0; transform: rotate(-45deg); background: var(--deep); }

/* ───────────── Mobile nav panel ───────────── */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 6vw, 3rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  color: var(--deep);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1.5px solid var(--haze-line);
}
.mobile-nav__links a:hover { color: var(--mist-600); }
.mobile-nav__links a.mobile-nav__cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #fff;
  border: none;
  margin-top: 1.6rem;
  padding: 0.95rem 1.6rem;
  align-self: flex-start;
}
.mobile-nav__links a.mobile-nav__cta:hover { color: #fff; }
.mobile-nav__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mist-600);
  margin-top: 2rem;
}
body.nav-open { overflow: hidden; }

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(122,170,180,0.30), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--haze) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 36rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mist-600);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  color: var(--deep);
}
.hero-title .line { display: block; }
.hero-title .line--accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mist-600);
}

.hero-lede {
  max-width: 46ch;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--muted);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero-domains {
  list-style: none;
  padding: 0;
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.6rem;
}
.hero-domains li {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--deep);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--haze-line);
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
}

/* Hero visual — framed photograph + floating chip */
.hero-visual { position: relative; }
.hero-visual__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 32px 70px -34px rgba(22, 50, 58, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-visual__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 45%, rgba(22, 50, 58, 0.28) 100%);
  mix-blend-mode: multiply;
}
.hero-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-chip {
  position: absolute;
  left: clamp(-0.5rem, -1vw, -1.5rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 19rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--haze-line);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 18px 40px -26px rgba(22, 50, 58, 0.6);
}
.hero-chip__mark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.6rem;
  color: var(--mist-600);
  line-height: 1;
}
.hero-chip figcaption {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep);
}

/* faint structural canopy in the corner — a quiet protective field */
.hero-canopy {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--haze-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--haze-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: right -2px top -2px;
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 55%);
          mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 55%);
  opacity: 0.5;
}

/* ───────────── Section primitives ───────────── */
section { scroll-margin-top: 90px; }

.section-kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mist-600);
  margin-bottom: 1.2rem;
}
.section-kicker--light { color: var(--mist); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--deep);
}
.section-title--light { color: #fff; }

.section-note {
  color: var(--muted);
  max-width: 44ch;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ───────────── Enfoque / manifiesto ───────────── */
.enfoque { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.manifesto {
  border: none;
  padding: 0;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  max-width: none;
}
.manifesto p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4.4vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.manifesto em { font-style: italic; color: var(--mist-600); }
.manifesto .strike {
  font-style: normal;
  text-decoration: line-through;
  text-decoration-color: var(--mist);
  text-decoration-thickness: 3px;
  color: var(--muted);
}

.enfoque-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
  border-top: 1.5px solid var(--haze-line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.enfoque-cell h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--deep);
}
.enfoque-cell--body p { color: var(--muted); font-size: 1.1rem; }
.enfoque-cell--body p + p { margin-top: 1.1rem; }

/* ───────────── Ledger (signature) ───────────── */
.proteccion { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 9vw, 8rem); }
.proteccion-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.ledger { list-style: none; padding: 0; margin: 0; }
.ledger-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(140px, 0.42fr) 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1rem, 2.2vw, 1.6rem) 0.5rem;
  border-top: 1.5px solid var(--haze-line);
  cursor: pointer;
  isolation: isolate;
  transition: color 0.4s var(--ease), padding-inline 0.4s var(--ease);
}

.ledger-thumb {
  display: block;
  width: clamp(78px, 9vw, 116px);
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  overflow: hidden;
  background: var(--haze);
}
.ledger-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
.ledger-row:hover .ledger-thumb img,
.ledger-row:focus-visible .ledger-thumb img { transform: scale(1.06); filter: saturate(1.1); }
.ledger-row:last-child { border-bottom: 1.5px solid var(--haze-line); }

/* the teal field that slides in to "cover" the row */
.ledger-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mist);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.ledger-row:hover::before,
.ledger-row:focus-visible::before { transform: scaleX(1); }
.ledger-row:hover,
.ledger-row:focus-visible {
  color: var(--deep);
  padding-inline: clamp(1rem, 3vw, 2.2rem);
  outline: none;
}

.ledger-domain {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--deep);
  transition: color 0.4s var(--ease);
}
.ledger-row:hover .ledger-domain,
.ledger-row:focus-visible .ledger-domain { color: var(--ink); }

.ledger-q {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  transition: color 0.4s var(--ease);
}
.ledger-row:hover .ledger-q,
.ledger-row:focus-visible .ledger-q { color: var(--deep-700); }

.ledger-arrow {
  font-size: 1.5rem;
  color: var(--mist-600);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.4s var(--ease);
}
.ledger-row:hover .ledger-arrow,
.ledger-row:focus-visible .ledger-arrow {
  opacity: 1; transform: translate(0,0); color: var(--deep);
}

/* ───────────── Acompañamos (proceso) ───────────── */
.acompanamos {
  background: var(--deep);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.acompanamos-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 30ch; }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.step { padding-top: 1.5rem; border-top: 1.5px solid rgba(255,255,255,0.18); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--mist);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  margin: 1rem 0 0.6rem;
}
.step p { color: rgba(255,255,255,0.74); font-size: 1.02rem; }

/* ───────────── Recursos ───────────── */
.recursos { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.recursos-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.card {
  border: 1.5px solid var(--haze-line);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--paper);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--mist);
  box-shadow: 0 18px 40px -24px rgba(22,50,58,0.45);
}
.card-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mist-600);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.32rem;
  line-height: 1.18;
  color: var(--deep);
}
.card-text { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.card-link {
  font-weight: 600;
  color: var(--deep);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* ───────────── Contacto ───────────── */
.contacto { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--haze); }
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contacto-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  color: var(--deep);
}
.contacto-lede { color: var(--muted); margin-top: 1.2rem; max-width: 40ch; font-size: 1.1rem; }

.contacto-meta { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.contacto-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--haze-line);
  font-size: 0.98rem;
}
.contacto-meta span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; align-self: center; }
.contacto-meta a { color: var(--deep); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--mist); }
.contacto-meta a:hover { color: var(--mist-600); }

.contacto-form {
  background: var(--paper);
  border: 1.5px solid var(--haze-line);
  border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: 0 24px 60px -40px rgba(22,50,58,0.55);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 0.45rem;
}
.field input, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--haze-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--mist-600);
  box-shadow: 0 0 0 3px rgba(122,170,180,0.28);
}
.form-fine { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ───────────── Footer ───────────── */
.site-footer { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 1.1rem; }
.brand-mark--footer { font-size: 2.4rem; color: var(--mist); }
.footer-tag { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,0.82); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 0.95rem; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; color: rgba(255,255,255,0.5); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem; }

/* ───────────── Floating WhatsApp button ───────────── */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem 0.7rem 0.85rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6),
              0 6px 14px -6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.wa-float:hover {
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -10px rgba(37, 211, 102, 0.7),
              0 8px 18px -6px rgba(0, 0, 0, 0.35);
}
.wa-float:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.wa-float__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}
.wa-float__icon svg { width: 100%; height: 100%; }

/* gentle attention pulse on the icon */
.wa-float__icon::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 420px) {
  .wa-float { padding: 0.7rem; }
  .wa-float__label { display: none; }
}

/* ───────────── Reveal animation ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ───────────── Responsive ───────────── */
@media (max-width: 940px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { order: -1; max-width: 26rem; margin-inline: auto; width: 100%; }
  .hero-visual__frame { aspect-ratio: 16 / 12; }
}
@media (min-width: 941px) {
  .mobile-nav { display: none; }
}
@media (max-width: 900px) {
  .enfoque-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: auto 1fr auto; gap: 0.35rem 1.1rem; }
  .ledger-thumb { grid-row: 1; align-self: center; }
  .ledger-domain { grid-row: 1; align-self: center; }
  .ledger-q { grid-column: 1 / -1; grid-row: 2; }
  .ledger-arrow { grid-row: 1; align-self: center; }
}
@media (max-width: 620px) {
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-domains li { font-size: 0.76rem; }
  .ledger-thumb { width: 64px; }
}

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


/* ───────────── Logo de imagen ───────────── */
.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.footer-logo {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
}
@media (max-width: 620px) {
  .brand-logo { width: 46px; height: 46px; }
}

/* ───────────── Imágenes en tarjetas + campo oculto ───────────── */
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 0.5rem; }
.hidden-field { display: none; }
