/* ===========================================================
   César Tovar de Jesús · Marca personal, one page
   V4 — 2026: evolución editorial del manual de identidad v1.0

   Dirección: mismo lienzo navy continuo y la misma paleta
   navy/dorado/marfil del manual, pero con escala tipográfica
   mucho más grande y segura (titulares editoriales tipo
   revista), ritmo de índice numerado por sección, fotografía
   a mayor protagonismo (retrato + fondo editorial en
   Trayectoria) y micro-interacciones de nivel 2026: barra de
   progreso de lectura, grano cinematográfico sutil, tarjetas
   bento, acordeón de preguntas frecuentes. Todo construido
   sobre los mismos tokens de marca, sin desviarse del manual.
   =========================================================== */

:root {
  --navy: #14213D;
  --navy-deep: #0d1830;
  --navy-tint: #1b2c4d;
  --gold: #B08D57;
  --gold-hover: #c4a06c;
  --gold-soft: rgba(176, 141, 87, 0.35);
  --ivory: #F7F3EA;
  --white: #FFFFFF;

  /* Texto sobre el lienzo navy único */
  --heading: var(--white);
  --text: #d3dae8;
  --text-soft: #98a4c2;
  --text-mute: #7c88a8;
  --line: rgba(247, 243, 234, 0.14);
  --line-soft: rgba(247, 243, 234, 0.08);
  --surface: rgba(247, 243, 234, 0.045);
  --surface-hover: rgba(247, 243, 234, 0.08);
  --surface-border: rgba(247, 243, 234, 0.14);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --measure: 900px;
  --wide: 920px;
  --radius: 3px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.hero, .section, .contact { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--navy); }

/* Grano cinematográfico sutil, fijo sobre todo el sitio: capa
   de textura de una sola vez, sin peso adicional de imagen,
   generada con una turbulencia SVG en línea. Da la sensación
   "editorial impresa" de las referencias sin tocar la lectura. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 72px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.italic { font-style: italic; }

/* ---- Barra de progreso de lectura ---- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hover));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---- Revelado al hacer scroll ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Eyebrow: índice numerado tipo editorial ----
   Todo el sitio es navy, así que el dorado en texto pequeño
   siempre está sobre navy (contraste 5.2:1, ya verificado).
   El índice "01 / 02 / 03..." reproduce el lenguaje de revista
   que aparece en varias de las referencias de dirección visual. */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow__index {
  color: rgba(176, 141, 87, 0.8);
}

/* ---- Navegación ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 24, 48, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(13, 24, 48, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-bottom-color: var(--gold-soft);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px clamp(24px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__signature { height: 32px; width: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav__menu a:not(.nav__cta) {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
  padding-bottom: 3px;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { right: 0; }
.nav__cta {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.nav__cta:hover::after { left: 130%; }
.nav__cta:hover { background: var(--gold-hover); }

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ivory);
  width: 24px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ----
   Sin fondo propio: hereda el navy continuo del body. Titular
   a escala editorial grande (hasta ~92px), con la palabra clave
   en cursiva dorada, siguiendo el lenguaje tipográfico audaz de
   las referencias sin perder la elegancia serif de la marca. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.16), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__name,
.hero__title,
.hero__subtitle,
.hero__credibility,
.hero__credentials,
.hero__actions,
.hero__photo {
  animation: heroIn 0.85s var(--ease) both;
}
.hero__name { animation-delay: 0.05s; }
.hero__title { animation-delay: 0.15s; }
.hero__subtitle { animation-delay: 0.28s; }
.hero__credibility { animation-delay: 0.38s; }
.hero__credentials { animation-delay: 0.46s; }
.hero__actions { animation-delay: 0.56s; }
.hero__photo { animation-delay: 0.3s; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.hero__text { text-align: left; }
.hero__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
  color: var(--white);
  font-weight: 700;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.hero__subtitle {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ivory);
  max-width: 560px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.hero__credibility {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero__credentials {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero__photo {
  position: relative;
  isolation: isolate;
}
.hero__photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.06) brightness(0.98);
  transform: scale(1.02);
}
.hero__photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  mix-blend-mode: color;
  opacity: 0.86;
}
.hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(176, 141, 87, 0.22), transparent 55%);
  mix-blend-mode: soft-light;
}
.hero__badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(13, 24, 48, 0.82);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55);
}
.hero__badge-year {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.hero__badge-caption {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 3px;
}
.hero__badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.hero__badge-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory);
  line-height: 1.35;
}

.scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue span {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  display: block;
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---- Botones ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active, .nav__cta:active { transform: translateY(0) !important; }
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover {
  background: var(--gold-hover);
  box-shadow: 0 10px 24px rgba(176, 141, 87, 0.32);
}
.btn--secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 243, 234, 0.4);
}
.btn--secondary:hover {
  background: var(--surface);
  border-color: var(--ivory);
  transform: translateY(-2px);
}
.btn--block { width: 100%; justify-content: center; border-radius: var(--radius); }
.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---- Secciones generales ---- */
.section { padding: 96px 0 64px; position: relative; }
.section h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin-bottom: 30px;
  max-width: var(--wide);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.section__intro { font-size: 18px; max-width: var(--measure); color: var(--text); margin-bottom: 44px; }
.section__note {
  color: var(--text-mute);
  font-size: 15.5px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  max-width: var(--measure);
}
.section__lede p { font-size: 17.5px; max-width: var(--measure); color: var(--text); }

.quote {
  position: relative;
  margin: 52px 0;
  padding: 8px 0 8px 40px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.4;
  color: var(--white);
  max-width: var(--wide);
}
.quote::before {
  content: "\201C";
  position: absolute;
  left: 24px;
  top: -18px;
  font-size: 80px;
  font-style: normal;
  color: rgba(176, 141, 87, 0.28);
  font-family: var(--font-display);
  line-height: 1;
  z-index: -1;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 52px 0 60px;
  max-width: var(--wide);
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease, border-top-color 0.25s ease;
}
.card:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
  border-top-color: var(--gold-hover);
}
.card__icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.card p { margin: 0; color: var(--text); font-size: 17px; }

/* ---- Atributos: grid bento con icono ---- */
.attrs-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 24px; font-family: var(--font-body); }
.attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: var(--wide);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.attrs__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: rgba(13, 24, 48, 0.4);
  transition: background 0.2s ease;
}
.attrs__item:hover { background: var(--surface-hover); }
.attrs__item:hover .attrs__icon { color: var(--gold); border-color: var(--gold); }
.attrs__icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--text-soft);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.attrs__item strong { font-family: var(--font-display); font-weight: 700; color: var(--heading); display: block; margin-bottom: 6px; font-size: 18px; }
.attrs__item p { margin: 0; font-size: 15.5px; color: var(--text); }

/* ---- Cómo trabajo: pasos con numeral editorial ---- */
.steps {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: 16px;
  max-width: var(--wide);
}
.steps li {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: none; padding-bottom: 0; }
.steps__head {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 10px;
}
.steps__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy-tint);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
li:hover .steps__marker {
  border-color: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.55);
}
.steps__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
}
.steps h3 { font-size: 20px; margin: 0; color: var(--heading); }
.steps p { margin: 0 0 0 102px; color: var(--text-soft); max-width: 560px; font-size: 16.5px; }

/* ---- Para quién: momentos, tarjetas bento ---- */
.moments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 8px;
  max-width: var(--wide);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.moments li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 28px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text);
  background: rgba(13, 24, 48, 0.4);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.moments li:hover { background: var(--surface-hover); padding-left: 34px; }
.moments li:hover .moments__icon { color: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.moments__icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--text-soft);
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: -2px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* ---- Trayectoria: relato editorial con fondo atmosférico ---- */
.story { isolation: isolate; overflow: hidden; }
.story__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, var(--navy) 0%, rgba(20, 33, 61, 0.88) 14%, rgba(20, 33, 61, 0.94) 78%, var(--navy) 100%),
    url("../img/cdmx-skyline.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.9;
}
.story__body {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin-top: 12px;
}
.story__body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
}
.year-mark {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ---- Trayectoria: formación ---- */
.creds-block {
  position: relative;
  z-index: 1;
  background: rgba(13, 24, 48, 0.55);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(8px);
  max-width: var(--wide);
  transition: background 0.25s ease, border-top-color 0.25s ease;
}
.creds-block:hover {
  background: rgba(13, 24, 48, 0.7);
  border-top-color: var(--gold-hover);
}
.creds-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-family: var(--font-body); }
.creds-lead { color: var(--text-soft); max-width: var(--measure); margin-bottom: 28px; }
.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.creds li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.5;
  padding: 8px;
  margin: -8px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.creds li:hover { background: var(--surface-hover); }
.creds li:hover .creds__icon { color: var(--gold); border-color: var(--gold); }
.creds__icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--text-soft);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* ---- Preguntas frecuentes ---- */
.faq {
  max-width: var(--wide);
  border-top: 1px solid var(--line-soft);
}
.faq__item {
  border-bottom: 1px solid var(--line-soft);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--heading);
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transition: transform 0.3s ease;
}
.faq__toggle::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__toggle::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq__item[open] summary { color: var(--gold); }
.faq__item p {
  margin: 0 0 26px;
  padding-right: 50px;
  color: var(--text);
  font-size: 16.5px;
  max-width: var(--measure);
  animation: faqIn 0.3s var(--ease) both;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Contacto ---- */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 64px;
}
.contact__title { color: var(--white); max-width: var(--wide); }
.contact__intro { color: var(--text-soft); max-width: 560px; font-size: 17px; margin-bottom: 24px; }
@media (min-width: 640px) {
  .contact__intro { max-width: none; white-space: nowrap; }
}
.contact__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}
.contact__trust li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 9px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15.5px;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.field--honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__status {
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
}
.form__status.is-ok { color: #9fd6a8; }
.form__status.is-error { color: #e79e9e; }

.contact__info { padding-top: 4px; }
.contact__info p:not(.contact__closing) {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 16px;
  row-gap: 5px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 16.5px;
}
.contact__label, .contact__info p:not(.contact__closing) a { grid-column: 2; }
.contact__icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__info a { position: relative; width: fit-content; color: var(--ivory); }
.contact__info a:hover { color: var(--gold); }

.contact__signature {
  height: 50px;
  width: auto;
  margin-top: 40px;
  margin-bottom: 14px;
}
.contact__closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--gold);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__signature { height: 26px; width: auto; opacity: 0.85; }
.footer__inner p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.footer__top {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.footer__top:hover { color: var(--gold); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .attrs { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { order: -1; max-width: 340px; margin: 0 auto 28px; }
  .hero__title { max-width: none; }
}

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 8% 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    white-space: normal;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__menu a:not(.nav__cta) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; display: block; width: 100%; }
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 40px; }
  .section { padding: 64px 0 40px; }
  .contact { padding: 56px 0 40px; }
  .hero__credentials { text-align: left; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .steps p { margin-left: 0; margin-top: 8px; }
  .faq__item p { padding-right: 0; }
  .creds-block { padding: 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 7%; }
  .nav__inner { padding: 16px 7%; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ---- Movimiento reducido ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .card, .moments li, .nav__cta, .attrs__item { transition: none; }
  .hero__name, .hero__title, .hero__subtitle, .hero__credibility,
  .hero__credentials, .hero__actions, .hero__photo {
    animation: none;
  }
  .hero__photo-frame { animation: none; transition: none; }
  .eyebrow::before { transition: none; transform: scaleX(1); }
  .scroll-cue span { animation: none; }
  body::before { display: none; }
}
