/* ============================================================
   NOTARÍA 47 CDMX — Tokens base compartidos
   Marca: azul marino profundo + acento dorado/ocre
   ============================================================ */

:root {
  /* Azul marino (de la marca N47) */
  --navy-950: #0c1526;
  --navy-900: #0f1c33;
  --navy-800: #14213d;
  --navy-700: #1c2e52;
  --navy-600: #25406f;
  --navy-500: #335089;

  /* Dorado / ocre notarial */
  --gold-600: #9c7c39;
  --gold-500: #b8964f;
  --gold-400: #c9a86a;
  --gold-300: #ddc796;
  --gold-100: #f3ead7;

  /* Neutros cálidos (piedra / marfil) */
  --ivory:   #faf8f3;
  --stone-50:#f4f1ea;
  --stone-100:#ebe7dd;
  --stone-200:#ddd7c9;
  --stone-300:#c4bdac;
  --ink:     #1a1f29;
  --ink-soft:#3b4252;
  --muted:   #6f7585;
  --line:    rgba(20,33,61,0.12);
  --white:   #ffffff;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Mulish", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

/* Etiqueta superior dorada con línea (eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Mulish", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-500);
}
.eyebrow.centered::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-500);
}

/* Botón flotante WhatsApp (más visible) */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #1faf54;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 34px rgba(31,175,84,0.42);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; fill: #fff; flex: none; }
.wa-float .wa-label { white-space: nowrap; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(31,175,84,0.5); }

@media (max-width: 560px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 15px; }
}

/* Botón flotante de Llamada */
.call-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 34px rgba(184,150,79,0.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.call-float svg { width: 22px; height: 22px; flex: none; }
.call-float .wa-label { white-space: nowrap; }
.call-float:hover { transform: translateY(-2px); background: var(--gold-400); box-shadow: 0 18px 40px rgba(184,150,79,0.55); }

@media (max-width: 560px) {
  .call-float .wa-label { display: none; }
  .call-float { padding: 16px; }
}

/* Animación de entrada al hacer scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .reveal.in { opacity: 1; transform: none; }
}
