/* =========================================================
   Verónica Romero Espinoza · Abogada
   Sistema visual: femenino, elegante y sobrio
   Vino profundo + champaña dorado sobre marfil
   ========================================================= */

:root {
  /* Color */
  --wine-900: #3a1022;
  --wine-800: #4a1529;
  --wine-700: #5e1c36;
  --wine-600: #6b2340;
  --wine-500: #84304f;
  --rose-200: #ecd9d6;
  --rose-100: #f4e9e6;
  --rose-50:  #faf3f1;
  --ivory:    #fbf8f4;
  --paper:    #ffffff;
  --gold-600: #765829;   /* texto dorado accesible sobre claro */
  --gold-500: #b08d57;   /* decorativo */
  --gold-300: #d9c19a;
  --gold-100: #f1e6d3;
  --ink:      #2a1e24;
  --ink-soft: #5d4d54;
  --line:     #e7dcd6;
  --line-dark: rgba(241, 230, 211, .18);
  --success:  #2f6b4f;
  --danger:   #a12a2a;

  /* Tipografía */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaciado */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;

  --shadow-sm: 0 1px 2px rgba(58, 16, 34, .06), 0 2px 8px rgba(58, 16, 34, .04);
  --shadow:    0 10px 30px -12px rgba(58, 16, 34, .22);
  --shadow-lg: 0 30px 60px -24px rgba(58, 16, 34, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 240ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; color: var(--wine-800); letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--wine-700); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Tipos utilitarios ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-300); }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 14px; }
.section-title em { font-style: italic; color: var(--wine-500); }
.section-lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-500); margin: 20px auto 0; }
.ornament span { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament .icon { width: 22px; height: 22px; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--wine-700); --btn-fg: #fff; --btn-bd: var(--wine-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font-size: .95rem; font-weight: 500; letter-spacing: .04em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--wine-800); --btn-bd: var(--wine-800); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--wine-700); --btn-bd: rgba(107, 35, 64, .35); }
.btn--ghost:hover { --btn-bg: var(--wine-700); --btn-fg: #fff; --btn-bd: var(--wine-700); }
.btn--gold { --btn-bg: var(--gold-300); --btn-fg: var(--wine-900); --btn-bd: var(--gold-300); }
.btn--gold:hover { --btn-bg: #e6d2b0; --btn-bd: #e6d2b0; }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--wine-800); --btn-bd: #fff; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wine-600); font-weight: 500; text-decoration: none; font-size: .95rem;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--wine-900); color: var(--gold-100); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__list { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; opacity: .92; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-300); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { width: 32px; height: 32px; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* El desenfoque va en un pseudo-elemento para no convertir el header
   en contenedor de los elementos fixed (menú móvil). */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 244, .88);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(58,16,34,.35); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 58px; height: 58px; flex: none; display: grid; place-items: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; color: var(--wine-800); font-weight: 600; }
.brand__role { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  position: relative; text-decoration: none; font-size: .93rem; color: var(--ink); padding: 8px 0;
  transition: color var(--dur) var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--wine-600); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 46px; padding: 10px 22px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center; color: var(--wine-700);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(236, 217, 214, .75), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(241, 230, 211, .6), transparent 60%),
    var(--ivory);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6vw, 4.9rem); line-height: 1.02; margin-top: 22px; color: var(--wine-800); }
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--wine-500); }
.hero__lead { margin-top: 26px; max-width: 540px; font-size: 1.15rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.hero__trust .icon { color: var(--gold-600); width: 18px; height: 18px; }

/* Hero con video de fondo: velo vino para legibilidad y tono de marca */
.hero--video { background: var(--wine-900); color: var(--gold-100); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.3) contrast(1.05) brightness(1.08);
  background: var(--wine-900) url("../video/hero-poster.jpg") center / cover no-repeat;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(42, 10, 24, .88) 0%, rgba(58, 16, 34, .76) 42%, rgba(74, 21, 41, .50) 72%, rgba(58, 16, 34, .60) 100%),
    linear-gradient(180deg, rgba(42, 10, 24, .28) 0%, transparent 30%, transparent 70%, rgba(42, 10, 24, .45) 100%);
}
.hero__veil::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 193, 154, .55), transparent);
}
.hero--video .hero__title { color: #fff; }
.hero--video .hero__title em { color: var(--gold-300); }
.hero--video .hero__lead { color: rgba(251, 248, 244, .86); }
.hero--video .hero__lead strong { color: #fff; font-weight: 500; }
.hero--video .hero__trust { border-top-color: rgba(217, 193, 154, .28); }
.hero--video .hero__trust li { color: rgba(251, 248, 244, .86); }
.hero--video .hero__trust .icon { color: var(--gold-300); }
.hero--video .hero__outline { border-color: rgba(217, 193, 154, .7); }
.hero--video .hero__frame { box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .65); }
.hero--video .btn--gold:hover { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6); }
.hero--video .hero__seal,
.hero--video .hero__badge { box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .55); }


.hero__media { position: relative; isolation: isolate; justify-self: center; width: min(100%, 470px); }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 240px 240px 18px 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--rose-100);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__outline {
  position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--gold-500);
  border-radius: 240px 240px 18px 18px; z-index: -1;
}
.hero__badge {
  position: absolute; left: -36px; bottom: 56px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow);
  max-width: 290px; border: 1px solid var(--line);
}
.hero__badge-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-100); color: var(--wine-600); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--wine-800); line-height: 1.15; font-weight: 600; }
.hero__badge small { font-size: .8rem; color: var(--ink-soft); }
.hero__seal {
  position: absolute; right: -22px; top: 36px; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%; background: var(--wine-700); color: var(--gold-100);
  display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.35;
}
.hero__seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(217,193,154,.55); }
.hero__seal b { display: block; font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0; text-transform: none; font-style: italic; font-weight: 500; color: #fff; }

/* ---------- Franja credenciales ---------- */
.credentials { background: var(--wine-800); color: var(--gold-100); }
.credentials__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential { padding: 36px 28px; display: flex; gap: 16px; align-items: flex-start; border-left: 1px solid var(--line-dark); }
.credential:first-child { border-left: 0; }
.credential .icon { width: 30px; height: 30px; color: var(--gold-300); stroke-width: 1.3; margin-top: 2px; }
.credential strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: #fff; line-height: 1.2; }
.credential span { font-size: .9rem; opacity: .85; }

/* ---------- Sobre mí ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__photo-sm {
  position: absolute; right: -28px; bottom: -40px; width: 46%;
  border-radius: 18px; overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 1;
}
.about__photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.about__deco { position: absolute; left: -24px; top: -24px; width: 120px; height: 120px; border-top: 1px solid var(--gold-500); border-left: 1px solid var(--gold-500); border-top-left-radius: 28px; }

.about__text p + p { margin-top: 18px; }
.about__text p { color: var(--ink-soft); }
.about__quote {
  margin: 30px 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--gold-500);
  font-family: var(--font-display); font-style: italic; font-size: 1.55rem; line-height: 1.35; color: var(--wine-700);
}
.education { margin-top: 32px; display: grid; gap: 12px; }
.education li {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory);
}
.education .icon { color: var(--wine-600); width: 20px; height: 20px; }
.education strong { font-weight: 500; }
.education small { display: block; color: var(--ink-soft); font-size: .82rem; }
.about__sign { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--wine-600); }

/* ---------- Áreas de práctica ---------- */
.areas { background: var(--ivory); }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rose-200); }
.area__icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rose-50); color: var(--wine-600); border: 1px solid var(--rose-200); margin-bottom: 22px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.area:hover .area__icon { background: var(--wine-700); color: var(--gold-100); border-color: var(--wine-700); }
.area__icon .icon { width: 26px; height: 26px; }
.area h3 { font-size: 1.6rem; }
.area p { margin-top: 10px; color: var(--ink-soft); font-size: .98rem; }
.area ul { margin-top: 18px; display: grid; gap: 8px; }
.area li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink); line-height: 1.45; }
.area li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--gold-500); }
.area__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-600); }
.area--feature { background: var(--wine-800); border-color: var(--wine-800); color: var(--gold-100); }
.area--feature h3 { color: #fff; }
.area--feature p, .area--feature li { color: rgba(251, 243, 241, .86); }
.area--feature .area__icon { background: rgba(255,255,255,.06); border-color: rgba(217,193,154,.4); color: var(--gold-300); }
.area--feature:hover .area__icon { background: var(--gold-300); color: var(--wine-900); border-color: var(--gold-300); }
.area--feature:hover { border-color: var(--wine-800); }

/* Acceso directo a WhatsApp por área (sutil, al pie de la tarjeta) */
.area__wa {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  color: var(--wine-600); text-decoration: none;
  min-height: 44px; transition: color var(--dur) var(--ease);
}
.area > ul { margin-bottom: 24px; }
.area__wa .icon { width: 18px; height: 18px; color: #1f7a4d; transition: transform var(--dur) var(--ease); }
.area__wa .area__wa-arrow { width: 15px; height: 15px; margin-left: auto; color: currentColor; opacity: .55; }
.area__wa:hover { color: var(--wine-800); }
.area__wa:hover .area__wa-arrow { transform: translateX(4px); opacity: 1; }
.area__wa:focus-visible { outline-offset: 4px; }
.area--feature .area__wa { color: var(--gold-300); border-top-color: rgba(217, 193, 154, .25); }
.area--feature .area__wa .icon { color: var(--gold-300); }
.area--feature .area__wa:hover { color: #fff; }

/* ---------- Banner acuerdos ---------- */
.agreement {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, var(--wine-900) 0%, var(--wine-700) 55%, var(--wine-600) 100%);
}
.agreement::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 10%, rgba(217,193,154,.25), transparent 70%);
}
.agreement__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.agreement h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-top: 14px; }
.agreement h2 em { color: var(--gold-300); font-style: italic; }
.agreement p { color: rgba(255,255,255,.85); margin-top: 18px; font-size: 1.08rem; max-width: 560px; }
.agreement__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.agreement__list { display: grid; gap: 14px; }
.agreement__list li {
  display: flex; gap: 16px; align-items: center; padding: 18px 22px;
  border: 1px solid rgba(217,193,154,.28); border-radius: 16px; background: rgba(255,255,255,.04);
}
.agreement__list .icon { color: var(--gold-300); width: 24px; height: 24px; }
.agreement__list strong { display: block; font-weight: 500; }
.agreement__list small { color: rgba(255,255,255,.72); font-size: .85rem; }

/* ---------- Por qué elegirme ---------- */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__item { padding: 44px 30px; text-align: center; border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; }
.why__item .icon { width: 34px; height: 34px; color: var(--wine-600); stroke-width: 1.3; margin: 0 auto 18px; }
.why__item h3 { font-size: 1.45rem; }
.why__item p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Proceso ---------- */
.process { background: var(--rose-50); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--gold-300);
  font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--wine-700);
  position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; left: 80px; right: -8px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 1.45rem; margin-top: 22px; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Oficina ---------- */
.office { background: var(--paper); }
.office__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 18px; }
.office__item { border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--rose-100); margin: 0; }
.office__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.office__item:hover img { transform: scale(1.04); }
.office__item--tall { grid-row: span 2; }
.office__item figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: .82rem; color: var(--wine-800);
}
.office__card {
  grid-column: span 2;
  border-radius: var(--radius-lg); padding: 32px; background: var(--wine-800); color: var(--gold-100);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.office__card h3 { color: #fff; font-size: 1.7rem; }
.office__card ul { display: grid; gap: 12px; font-size: .95rem; }
.office__card li { display: flex; gap: 12px; align-items: flex-start; }
.office__card .icon { color: var(--gold-300); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside .btn { margin-top: 30px; }
.faq__list { display: grid; gap: 14px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--rose-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  font-family: var(--font-display); font-size: 1.32rem; color: var(--wine-800); font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-300); position: relative;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--wine-600); transform: translate(-50%, -50%);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur) var(--ease); }
.faq details[open] .plus { background: var(--wine-700); border-color: var(--wine-700); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { padding: 0 26px 24px; color: var(--ink-soft); }
.faq__body p + p, .faq__body p + ul, .faq__body ul + p { margin-top: 12px; }
.faq__body ul { display: grid; gap: 6px; }
.faq__body li { display: flex; gap: 10px; }
.faq__body li::before { content: "—"; color: var(--gold-600); }

/* ---------- Contacto ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; background: var(--ivory);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
a.contact-card:hover { border-color: var(--gold-300); transform: translateX(4px); background: var(--rose-50); }
.contact-card__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-700); color: var(--gold-100); flex: none; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.contact-card strong { font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 240px; flex: 1; background: var(--rose-50); }
.map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; filter: grayscale(.35) sepia(.12); }

.form {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form h3 { font-size: 2rem; }
.form > p { margin-top: 8px; color: var(--ink-soft); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--wine-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid #d9ccc5; background: var(--paper); font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b2340' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine-500); box-shadow: 0 0 0 4px rgba(132, 48, 79, .14); }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.field .error { font-size: .82rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.form__foot { margin-top: 24px; display: grid; gap: 14px; }
.form__note { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.form__note .icon { width: 16px; height: 16px; color: var(--gold-600); margin-top: 3px; }
.form__status { font-size: .9rem; color: var(--success); min-height: 1.4em; }

/* ---------- CTA final ---------- */
.final-cta { background: var(--rose-50); text-align: center; }
.final-cta__box {
  position: relative; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 80px);
  border-radius: 32px; background: var(--paper); border: 1px solid var(--rose-200); overflow: hidden;
}
.final-cta__box::before, .final-cta__box::after {
  content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid var(--gold-300); border-radius: 50%;
}
.final-cta__box::before { left: -110px; top: -110px; }
.final-cta__box::after { right: -110px; bottom: -110px; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; margin: 14px auto 0; }
.final-cta h2 em { font-style: italic; color: var(--wine-500); }
.final-cta p { margin: 18px auto 0; max-width: 600px; color: var(--ink-soft); font-size: 1.1rem; }
.final-cta .hero__actions { justify-content: center; }
.ornament--logo { gap: 20px; margin-top: 0; }
.ornament--logo span { width: 72px; }
.final-cta__logo { display: block; width: clamp(120px, 16vw, 150px); height: auto; filter: drop-shadow(0 6px 14px rgba(40, 20, 10, .14)); }

/* ---------- Footer ---------- */
.footer { background: var(--wine-900); color: rgba(241, 230, 211, .82); padding-top: 80px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer .brand__name { color: #fff; }
.footer .brand__mark { color: var(--gold-300); }
.footer .brand__role { color: var(--gold-300); }
.footer__about { margin-top: 20px; max-width: 340px; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); font-weight: 500; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color var(--dur) var(--ease); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--gold-300); margin-top: 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--wine-900); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__bottom { padding-right: 190px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: .84rem; opacity: .8; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 999px;
  background: #1f7a4d; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem;
  box-shadow: 0 12px 28px -12px rgba(20, 20, 20, .45);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: #19673f; }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list { gap: 20px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .credentials__grid { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(3) { border-left: 0; }
  .credential:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { border-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .topbar__hide-md { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); z-index: 120;
    flex-direction: column; align-items: stretch; gap: 28px; padding: 100px 32px 32px;
    background: var(--ivory); box-shadow: -20px 0 60px -20px rgba(58,16,34,.35);
    opacity: 0; visibility: hidden;
    transition: opacity 260ms var(--ease), visibility 0s linear 260ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 260ms var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; color: var(--wine-800); }
  .nav__list a::after { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(58,16,34,.4); z-index: 95; opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease); }
  .nav-toggle { position: relative; z-index: 130; }

  .hero__grid, .about__grid, .agreement__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(86%, 400px); margin-top: 8px; }
  .hero__badge { left: -12px; bottom: 24px; }
  .hero__seal { right: -10px; width: 96px; height: 96px; }
  .about__media { max-width: 520px; margin-inline: auto 40px; }
  .faq__aside { position: static; }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .office__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .office__item { aspect-ratio: 1; }
  .office__item--tall { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16/10; }
  .office__card { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar .container { justify-content: center; }
  .topbar__social { display: none; }
  .header .container { min-height: 72px; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__name { font-size: 1.22rem; }
  .brand__role { font-size: .62rem; letter-spacing: .22em; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -36px auto 0; max-width: 92%; }
  .hero__seal { top: 18px; right: -6px; width: 84px; height: 84px; font-size: .58rem; }
  .hero__seal b { font-size: 1.45rem; }
  .credentials__grid { grid-template-columns: 1fr; }
  .credential { border-left: 0 !important; border-top: 1px solid var(--line-dark); padding: 24px 4px; }
  .credential:first-child { border-top: 0; }
  .areas__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-left: 0 !important; border-top: 1px solid var(--line); padding: 34px 12px; }
  .why__item:first-child { border-top: 0; }
  .process__grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .about__photo-sm { right: -12px; bottom: -28px; }
  .about__media { margin-inline: 0 16px; }
  .office__grid { grid-template-columns: 1fr; }
  .office__card { grid-column: auto; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; padding: 0; width: 58px; justify-content: center; }
  .wa-float span { display: none; }
  .footer__bottom { padding-right: 0; padding-bottom: 96px; }
}
