/* ─── Verónica Popescu · Abogada Penalista ─── */
:root {
  --bg: #f7f4ed;
  --bg-alt: #f0ebe0;
  --panel: #fdfbf6;
  --line: rgba(158, 122, 58, .28);
  --text: #26241e;
  --muted: #635e52;
  --gold: #9a7830;
  --gold-hi: #7e5f22;
  --gold-soft: #c9a86a;
  --star: #d9a733;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Accesibilidad */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-soft); color: #221a09; font-weight: 700;
  padding: 12px 20px; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* ─── Cabecera ─── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 237, .92); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--text); }
.brand-logo { display: block; height: 48px; width: auto; }
.brand-mono {
  width: 42px; height: 42px; border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--gold);
  letter-spacing: .04em;
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: .02em; }
.brand-name em {
  display: block; font-family: var(--sans); font-style: normal; font-weight: 500;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: .04em; transition: color .25s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--gold) !important; border: 1px solid var(--line);
  padding: 9px 16px; white-space: nowrap;
}
.nav-cta:hover { border-color: var(--gold); }

/* Desplegable del menu */
.nav-drop { position: relative; }
.nav-drop summary {
  list-style: none; cursor: pointer; color: var(--muted);
  font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: color .25s;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ' ▾'; font-size: 10px; color: var(--gold); }
.nav-drop summary:hover, .nav-drop[open] summary { color: var(--text); }
.nav-sub {
  position: absolute; top: calc(100% + 14px); left: -18px; z-index: 70;
  min-width: 250px; background: var(--panel); border: 1px solid var(--line);
  padding: 10px 0; box-shadow: 0 14px 34px rgba(74, 58, 26, .18);
}
.nav-sub a { display: block; padding: 9px 20px; font-size: 14px; }
.nav-sub-div { display: block; height: 1px; background: var(--line); margin: 8px 0; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(720px 460px at 82% 10%, rgba(201, 168, 106, .10), transparent 65%),
    radial-gradient(560px 420px at 8% 88%, rgba(201, 168, 106, .05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 84px;
}

.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: '— '; }

h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6vw, 68px);
  line-height: 1.04; letter-spacing: -.01em; margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--gold-hi); }

.hero-lead { font-size: 19px; color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero-lead strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-center { justify-content: center; margin-top: 44px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; font-family: var(--sans); font-size: 15px; font-weight: 700;
  letter-spacing: .02em; text-decoration: none; transition: all .25s;
}
.btn-gold { background: var(--gold-soft); color: #221a09; }
.btn-gold:hover { background: #d8ba7e; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.hero-proof { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.hero-proof .stars { font-size: 15px; letter-spacing: 0; }
.hero-proof strong { color: var(--text); }
.hero-proof a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .25s; }
.hero-proof a:hover { color: var(--gold-hi); }
.hero-langs { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-langs strong { color: var(--gold-hi); font-weight: 600; }

.hero-photo { position: relative; justify-self: end; width: min(470px, 100%); }
.hero-photo::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line); z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; box-shadow: 0 26px 60px rgba(74, 58, 26, .22); }
.hero-photo figcaption {
  position: relative; z-index: 1; margin-top: 16px; text-align: center;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-photo figcaption strong { color: var(--gold-hi); font-weight: 800; }

/* ─── Páginas de especialidad ─── */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span { color: var(--text); }
.byline {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px !important; color: var(--muted);
}
.byline a { color: var(--gold-hi); text-decoration: none; font-weight: 600; }
.subhero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.subhero h1 { font-size: clamp(38px, 5vw, 56px); }
.subhero .cta-row { margin-top: 6px; }
.prose { max-width: 800px; }
.prose h2 { margin: 34px 0 14px; font-size: clamp(26px, 3.4vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 15px; }
.prose ul { padding-left: 24px; margin: 4px 0 15px; }
.prose li { color: var(--muted); margin-bottom: 9px; }
.rel-links { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; }
.rel-label {
  display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.rel-links a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.rel-links a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ─── Franja de datos ─── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 34px; padding-bottom: 34px;
}
.stat { display: flex; align-items: center; gap: 16px; }
.stat-big {
  font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--gold-hi);
  line-height: 1;
}
.stat-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ─── Secciones ─── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 640px; margin-bottom: 56px; }
h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.1; margin-bottom: 18px;
}
.sec-sub { color: var(--muted); font-size: 17px; }

/* ─── Tarjetas de áreas ─── */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 34px 32px 30px; transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(206, 174, 112, .45); transform: translateY(-3px); }
.card-wide { grid-column: 1 / -1; border-left: 3px solid var(--gold); }
.card-num {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold);
  letter-spacing: .1em;
}
.card h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin: 10px 0 12px; }
.card p { color: var(--muted); font-size: 15px; }

.cards-note { margin-top: 28px; color: var(--muted); font-size: 15.5px; }
.cards-note strong { color: var(--text); }
.cards-note a {
  color: var(--gold-hi); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .25s;
}
.cards-note a:hover { color: var(--gold); }

/* Desplegable con todas las fichas */
.all-fichas { margin-top: 22px; border: 1px solid var(--line); background: var(--panel); }
.all-fichas summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 19px 56px 19px 24px;
  font-family: var(--serif); font-size: 20px; font-weight: 600;
}
.all-fichas summary::-webkit-details-marker { display: none; }
.all-fichas summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 22px; color: var(--gold);
}
.all-fichas[open] summary::after { content: '−'; }
.all-fichas[open] summary { color: var(--gold-hi); }
.fichas-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; padding: 0 24px 24px; }
.fichas-cols h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 10px 0 8px; font-family: var(--sans);
}
.fichas-cols a {
  display: block; padding: 7px 0; color: var(--muted); text-decoration: none;
  font-size: 15px; border-bottom: 1px solid rgba(0, 0, 0, .05); transition: color .25s;
}
.fichas-cols a:hover { color: var(--gold-hi); }
.fichas-txt { display: block; padding: 10px 0 0; font-size: 14px; color: var(--muted); }
.fichas-txt a { display: inline; padding: 0; border: 0; color: var(--gold-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.card-link {
  display: inline-block; margin-top: 14px;
  color: var(--gold-hi); font-weight: 700; font-size: 14px;
  text-decoration: none; letter-spacing: .03em;
}
.card-link:hover { color: var(--gold); }
.step p a { color: var(--gold-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.step p a:hover { color: var(--gold); }

/* ─── El proceso, de principio a fin (eje temporal) ─── */
.steps { position: relative; max-width: 780px; }
.steps::before {
  content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px;
  width: 1px; background: var(--line);
}
.step { position: relative; display: flex; gap: 26px; padding-bottom: 38px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--panel);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--gold-hi);
}
.step h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 60em; }

/* ─── Quién soy ─── */
.who-solo { max-width: 780px; }
.who-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.who-photo { position: relative; }
.who-photo::before {
  content: ''; position: absolute; inset: -16px 16px 16px -16px;
  border: 1px solid var(--line);
}
.who-photo img { position: relative; box-shadow: 0 22px 52px rgba(74, 58, 26, .18); }
.who-copy p { color: var(--muted); margin-bottom: 16px; }
.who-copy h2 { margin-bottom: 22px; }
.who-note {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px !important;
}
.who-firma { width: 250px; height: auto; margin-top: 26px; }
.who-copy blockquote {
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45;
  color: var(--gold-hi); border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px; margin: 26px 0;
}

/* ─── Contacto ─── */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); padding: 26px 24px;
  text-decoration: none; transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: rgba(206, 174, 112, .5); transform: translateY(-3px); }
.contact-k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.contact-v { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ─── FAQ ─── */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line); background: var(--panel);
  margin-bottom: 12px; transition: border-color .3s;
}
.faq details:hover, .faq details[open] { border-color: rgba(206, 174, 112, .45); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 56px 20px 24px;
  font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans); font-size: 22px; font-weight: 400; color: var(--gold);
  transition: transform .25s;
}
.faq details[open] summary { color: var(--gold-hi); }
.faq details[open] summary::after { content: '−'; }
.faq .faq-a { padding: 0 24px 22px; }
.faq .faq-a p { color: var(--muted); font-size: 15.5px; }

/* ─── Reseñas de Google ─── */
.stars { color: var(--star); letter-spacing: 3px; font-size: 17px; }
.rev-score { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.rev-num { font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--gold-hi); line-height: 1; }
.rev-score .stars { font-size: 20px; }
.rev-count { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rev-slider { position: relative; }
.rev-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px 4px 10px;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 min(400px, 86%); scroll-snap-align: start; margin: 0;
  background: var(--panel); border: 1px solid var(--line);
  padding: 26px 26px 22px; transition: border-color .3s;
}
.rev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel); color: var(--gold);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(74, 58, 26, .18);
  transition: border-color .25s, color .25s;
}
.rev-arrow:hover { border-color: var(--gold); color: var(--gold-hi); }
#rev-prev { left: -14px; }
#rev-next { right: -14px; }
.g-big { flex: none; }
.rev-card:hover { border-color: rgba(206, 174, 112, .45); }
.rev-card blockquote { border: 0; margin: 0; }
.rev-card blockquote p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.rev-card figcaption {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
.rev-card .g { flex: none; }

/* ─── En los medios ─── */
.press { list-style: none; max-width: 860px; }
.press li { border-top: 1px solid var(--line); }
.press li:last-child { border-bottom: 1px solid var(--line); }
.press a { display: block; padding: 22px 8px; text-decoration: none; transition: background .25s; }
.press a:hover { background: var(--panel); }
.press-src {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.press-title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); line-height: 1.35; }
.press a:hover .press-title { color: var(--gold-hi); }

/* ─── Mapa ─── */
.map-box { margin-top: 28px; border: 1px solid var(--line); background: var(--panel); }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(.96); }
.map-box iframe:hover { filter: none; }

/* ─── Botones flotantes de contacto ─── */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.fab-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 8px 24px rgba(74, 58, 26, .3);
  transition: transform .2s, box-shadow .2s;
}
.fab-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 30px rgba(74, 58, 26, .38); }
.fab-wa { background: #25d366; color: #fff; }
.fab-tel { background: var(--gold-soft); color: #221a09; }

/* ─── Pie ─── */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-logo { flex: 0 0 100%; max-width: 200px; height: auto; margin-bottom: 8px; }
.footer p { font-size: 13px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--gold-hi); }

.footer-legal { width: 100%; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Páginas interiores (legal, 404) ─── */
.page { max-width: 780px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-size: clamp(34px, 4.5vw, 46px); margin-bottom: 30px; }
.page h2 { font-size: 24px; margin: 38px 0 12px; }
.page p, .page li { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.page ul { padding-left: 22px; }
.page a { color: var(--gold-hi); }
.page .pend { color: var(--gold); font-style: italic; }

.err { min-height: 62vh; display: grid; place-content: center; text-align: center; padding: 60px 24px; }
.err h1 { font-size: clamp(38px, 5vw, 54px); margin: 18px 0 14px; }
.err p { color: var(--muted); margin-bottom: 32px; }
.err .eyebrow::before { content: ''; }

/* ─── Animación de entrada ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 60px; }
  .hero-photo { justify-self: start; }
  .who-grid { grid-template-columns: 1fr; gap: 44px; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .rev-arrow { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(247, 244, 237, .98); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .nav-cta { border: 0; padding: 14px 0; }
  .nav-drop summary { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .nav-sub { position: static; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 6px 16px; }
  .nav-sub a { border-bottom: 0; padding: 10px 0; font-size: 15px; }
  .fichas-cols { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 17px; }
  .brand-logo { height: 38px; }
}
