/* Estilos compartidos del sitio (estudio jurídico Carolina Izi).
   Extraído del <style> inline de /divorcios para reutilizar en home y subpáginas.
   Es CSS utilitario tipo Tailwind ya purgado: solo las clases que el sitio usa. */

*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: currentColor; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }

:root {
    --gold: #D4AF37;
    --wa-brand: #25D366;
    --wa-text: #000000;
}
/* Fuentes de fallback con métricas ajustadas: ocupan casi el mismo espacio que
   las web fonts, así el texto no "salta" cuando Inter/Playfair terminan de cargar
   (baja el CLS / Core Web Vitals). */
@font-face {
    font-family: 'Inter-fallback';
    src: local('Arial');
    ascent-override: 90.20%;
    descent-override: 22.48%;
    line-gap-override: 0.00%;
    size-adjust: 107.40%;
}
@font-face {
    font-family: 'Playfair-fallback';
    src: local('Georgia');
    ascent-override: 96.50%;
    descent-override: 23.00%;
    line-gap-override: 0.00%;
    size-adjust: 112.00%;
}

body { font-family: 'Inter', 'Inter-fallback', sans-serif; min-height: 100vh; }
.font-serif { font-family: 'Playfair Display', 'Playfair-fallback', Georgia, serif; }

.gold-text { color: var(--gold); }
.gold-border { border-color: var(--gold); }
.bg-gold { background-color: var(--gold); }

.whatsapp-pulse { box-shadow: 0 18px 45px rgba(37, 211, 102, 0.12); }

.premium-card {
    background: linear-gradient(145deg, #111111, #000000);
    border: 1px solid #27272a;
}

.cta-primary {
    background: var(--wa-brand);
    color: var(--wa-text);
    box-shadow: 0 22px 48px rgba(37, 211, 102, 0.2), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.cta-primary:hover { background: #1ebd5b; transform: translateY(-1px); }
.cta-primary:active { transform: translateY(0) scale(0.98); }

/* Señales de confianza: fila sutil de ítems con un punto dorado, sin "caja".
   Antes eran pastillas con borde dorado y metían demasiado ruido visual. */
.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.5rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #a1a1aa;
    font-size: 0.8rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.trust-dot {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 999px;
    background: var(--gold);
    opacity: 0.9;
    flex-shrink: 0;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4d4d8;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: color 150ms ease, border-color 150ms ease;
}

.maps-link:hover { color: #fff; border-color: rgba(212, 175, 55, 0.8); }

.section-kicker {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.step-card, .faq-item {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(0, 0, 0, 0.95));
    border: 1px solid #27272a;
    border-radius: 0.9rem;
    padding: 2rem;
}

.process-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.25rem; }
.faq-list { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 0.85rem; }
.calm-panel {
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 1rem;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 32%), #18181b;
    padding: 3rem 2rem;
}

.step-number {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    line-height: 1;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--gold);
    float: right;
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 1rem;
}

.faq-item[open] summary::after { content: '–'; }

/* Menú "Áreas de práctica" del header. Usa <details> nativo: funciona en mobile
   y desktop sin JS, y escala a cualquier cantidad de páginas de servicio. */
.nav-areas { position: relative; }
.nav-areas > summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #d4d4d8;
    transition: color 150ms ease;
}
.nav-areas > summary::-webkit-details-marker { display: none; }
.nav-areas > summary::after { content: '▾'; font-size: 0.7em; opacity: 0.8; }
.nav-areas[open] > summary::after { content: '▴'; }
.nav-areas > summary:hover { color: #fff; }

.nav-areas-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.85rem);
    min-width: 15rem;
    background: rgba(0, 0, 0, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.6rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.nav-areas-menu a {
    padding: 0.6rem 0.85rem;
    border-radius: 0.4rem;
    color: #d4d4d8;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease;
}

.nav-areas-menu a:hover { background: rgba(212, 175, 55, 0.1); color: #fff; }
.nav-areas-menu a[aria-current="page"] { color: var(--gold); }

.mobile-sticky-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
    z-index: 60;
    min-height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mobile-sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-sticky-cta:active { transform: scale(0.98); }

.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.right-6 { right: 1.5rem; }
.bottom-6 { bottom: 1.5rem; }
.-inset-2 { inset: -0.5rem; }
.z-50 { z-index: 50; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-3 { margin-left: 0.75rem; margin-right: 0.75rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[815\/755\] { aspect-ratio: 815 / 755; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.min-h-\[700px\] { min-height: 700px; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-24 { width: 6rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.flex-shrink-0 { flex-shrink: 0; }
.transform { transform: translateZ(0); }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.overflow-hidden { overflow: hidden; }
.scroll-mt-20 { scroll-margin-top: 5rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-t { border-top-width: 1px; }
.border-\[\#D4AF37\] { border-color: #D4AF37; }
.border-\[\#D4AF37\]\/30 { border-color: rgba(212, 175, 55, 0.3); }
.border-zinc-900 { border-color: #18181b; }
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-\[\#D4AF37\] { background-color: #D4AF37; }
.bg-black { background-color: #000; }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9); }
.bg-zinc-800 { background-color: #27272a; }
.bg-zinc-900 { background-color: #18181b; }
.bg-zinc-900\/50 { background-color: rgba(24, 24, 27, 0.5); }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-top { object-position: top; }
.p-4 { padding: 1rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-\[8px\] { font-size: 8px; }
.text-\[9px\] { font-size: 9px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-none { line-height: 1; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-relaxed { line-height: 1.625; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-\[\#D4AF37\] { color: #D4AF37; }
.text-black { color: #000; }
.text-white { color: #fff; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-balance { text-wrap: balance; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.opacity-20 { opacity: 0.2; }
.opacity-40 { opacity: 0.4; }
.opacity-80 { opacity: 0.8; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.hover\:bg-\[\#1ebd5b\]:hover { background-color: #1ebd5b; }
.hover\:border-\[\#D4AF37\]\/50:hover { border-color: rgba(212, 175, 55, 0.5); }
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:scale-95:active { transform: scale(0.95); }

/* Utilidades sumadas para el mini-sitio (nav, footer, breadcrumb, tarjetas). */
.flex-wrap { flex-wrap: wrap; }
.scroll-smooth { scroll-behavior: smooth; }
.not-italic { font-style: normal; }
.underline { text-decoration: underline; }
.max-w-md { max-width: 28rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.opacity-50 { opacity: 0.5; }
.text-zinc-200 { color: #e4e4e7; }
.border-\[\#D4AF37\]\/40 { border-color: rgba(212, 175, 55, 0.4); }
.hover\:text-white:hover { color: #fff; }
.group:hover .group-hover\:border-\[\#D4AF37\] { border-color: #D4AF37; }

@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:inline { display: inline; }
    .sm\:gap-6 { gap: 1.5rem; }
    .sm\:mx-5 { margin-left: 1.25rem; margin-right: 1.25rem; }
    .sm\:w-auto { width: auto; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-\[10px\] { font-size: 10px; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:mt-0 { margin-top: 0; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:max-w-none { max-width: none; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .lg\:pt-8 { padding-top: 2rem; }
    .lg\:pb-28 { padding-bottom: 7rem; }
    .lg\:text-left { text-align: left; }
    .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (max-width: 639px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .mobile-sticky-cta { display: inline-flex; }
    .desktop-floating-cta { display: none; }
    .mobile-hero-section { min-height: auto; padding-top: 2.25rem; padding-bottom: 3.5rem; }
    .mobile-hero-title { font-size: 2.45rem; }
    .trust-list { justify-content: flex-start; }
    .step-card, .faq-item { padding: 1.35rem; }
    .calm-panel { padding: 2rem 1.25rem; }
}

/* ============================================================
   Fase 5 — Motion, acento por familia y sección única por página
   ============================================================ */

/* Acento por familia de práctica. El oro es el color base; cada familia lo
   reemplaza. Sumamos --accent-rgb (mismos colores en componentes R,G,B) para
   poder armar degradados con alpha en el fondo del hero. */
:root { --accent: #D4AF37; --accent-rgb: 212, 175, 55; }
body.accent-previsional { --accent: #aeb7bf; --accent-rgb: 174, 183, 191; } /* platino (jubilaciones IPS) */
body.accent-civil { --accent: #c4895d; --accent-rgb: 196, 137, 93; }         /* cobre (accidentes, alquileres) */

.badge-accent {
    display: inline-block;
    padding: 0.25rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Header: se vuelve más sólido y con sombra al bajar. */
header { transition: background-color 0.3s ease, box-shadow 0.3s ease; }
header.is-scrolled { background: rgba(0, 0, 0, 0.96); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55); }

/* Hover refinado de tarjetas (lift + glow dorado tenue). */
.premium-card { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s ease, box-shadow 0.35s ease; }
@media (hover: hover) {
    .premium-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.18); }
}

/* Sección única por página: checklist, pasos numerados y explainer. */
.feature-list { display: grid; gap: 0.85rem; max-width: 46rem; margin: 0 auto; text-align: left; }
.feature-item { display: flex; gap: 0.75rem; align-items: flex-start; color: #d4d4d8; font-weight: 300; line-height: 1.6; }
.feature-item svg { width: 1.4rem; height: 1.4rem; color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; }
.feature-item strong { color: #fff; font-weight: 600; }

.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; text-align: left; }
.explain-card { border: 1px solid #27272a; border-radius: 0.9rem; padding: 1.75rem; background: linear-gradient(145deg, rgba(17,17,17,0.9), rgba(0,0,0,0.9)); }
.explain-card h3 { color: var(--accent); font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: 0.6rem; }
.explain-card p { color: #a1a1aa; font-weight: 300; line-height: 1.6; }

.num-steps { counter-reset: step; display: grid; gap: 1.1rem; max-width: 46rem; margin: 0 auto; text-align: left; }
.num-step { display: flex; gap: 1rem; align-items: flex-start; }
.num-step .num { color: var(--accent); font-family: 'Playfair Display', serif; font-size: 1.6rem; line-height: 1; flex-shrink: 0; min-width: 1.6rem; }
.num-step h3 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 0.25rem; }
.num-step p { color: #a1a1aa; font-weight: 300; line-height: 1.6; }

/* Reveal on scroll. El estado inicial oculto SOLO existe cuando el JS agregó
   .js-reveal (y el usuario no pidió reducir movimiento). */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal [data-reveal] {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
    }
    .js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

    /* Stagger: los hijos de grillas/listas entran escalonados. */
    .js-reveal .grid > [data-reveal]:nth-child(2),
    .js-reveal .process-grid > [data-reveal]:nth-child(2),
    .js-reveal .feature-list > [data-reveal]:nth-child(2),
    .js-reveal .num-steps > [data-reveal]:nth-child(2),
    .js-reveal .explain-grid > [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
    .js-reveal .grid > [data-reveal]:nth-child(3),
    .js-reveal .process-grid > [data-reveal]:nth-child(3),
    .js-reveal .feature-list > [data-reveal]:nth-child(3),
    .js-reveal .num-steps > [data-reveal]:nth-child(3),
    .js-reveal .explain-grid > [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
    .js-reveal .grid > [data-reveal]:nth-child(4),
    .js-reveal .feature-list > [data-reveal]:nth-child(4),
    .js-reveal .num-steps > [data-reveal]:nth-child(4) { transition-delay: 0.21s; }
    .js-reveal .grid > [data-reveal]:nth-child(5),
    .js-reveal .feature-list > [data-reveal]:nth-child(5) { transition-delay: 0.28s; }
    .js-reveal .grid > [data-reveal]:nth-child(6),
    .js-reveal .feature-list > [data-reveal]:nth-child(6) { transition-delay: 0.35s; }
    .js-reveal .grid > [data-reveal]:nth-child(7) { transition-delay: 0.42s; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-card, header { transition: none; }
    .premium-card:hover { transform: none; }
}

/* Hero a la medida de la pantalla: que entre completo apenas se carga, sin
   scrollear. Reemplaza el min-height fijo de 700px por el alto del viewport
   menos el header. Solo en tablet/desktop; en mobile el hero sigue apilado. */
@media (min-width: 640px) {
    .mobile-hero-section {
        min-height: calc(100vh - 5rem);
        min-height: calc(100svh - 5rem);
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* ============================================================
   Fase 6 — Hero más lindo + acento fuerte + fotos del estudio
   ============================================================ */

/* Fondo del hero teñido por familia: un halo del color de acento arriba a la
   derecha (detrás de la foto) sobre un negro apenas más cálido que el zinc.
   Pisa el bg-zinc-900 del HTML porque esta regla va más abajo en el archivo. */
.mobile-hero-section {
    background:
        radial-gradient(120% 90% at 82% 0%, rgba(var(--accent-rgb), 0.14), transparent 58%),
        radial-gradient(90% 120% at 0% 100%, rgba(var(--accent-rgb), 0.06), transparent 55%),
        linear-gradient(180deg, #17171a 0%, #0c0c0d 100%);
}

/* En sub-páginas el acento (platino/cobre) también tiñe el borde de la foto y
   la palabra destacada del H1, sin tocar el HTML. En el home (familia) siguen
   dorados. */
body.accent-previsional .mobile-hero-section .border-\[\#D4AF37\],
body.accent-civil .mobile-hero-section .border-\[\#D4AF37\] { border-color: var(--accent); }
body.accent-previsional .mobile-hero-title .text-\[\#D4AF37\],
body.accent-civil .mobile-hero-title .text-\[\#D4AF37\] { color: var(--accent); }

/* Tira de credibilidad: reemplaza la línea redundante + los 4 chips flojos del
   pie del hero. Tres señales con ícono de acento y texto de más contraste. */
.cred-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    justify-content: center;
    margin-top: 1.9rem;
}
.cred-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #e4e4e7;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.cred-item svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex-shrink: 0; }
@media (min-width: 1024px) { .cred-strip { justify-content: flex-start; } }

/* Galería "El estudio": tres fotos verticales del espacio, parejas. */
.studio-gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.studio-gallery figure { margin: 0; border-radius: 0.9rem; overflow: hidden; border: 1px solid #27272a; background: #18181b; aspect-ratio: 3 / 4; }
.studio-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) { .studio-gallery { grid-template-columns: repeat(3, 1fr); } }

/* Bloque "Visitá el estudio": foto de fachada + datos de ubicación. */
.visit-block { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.visit-block .visit-photo { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(var(--accent-rgb), 0.3); aspect-ratio: 4024 / 3586; }
.visit-block .visit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .visit-block { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }

/* Mapa de ubicación (Google embed, sin API key). Mismo marco dorado que la foto. */
.visit-map { margin-top: 2.5rem; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(var(--accent-rgb), 0.3); aspect-ratio: 21 / 9; }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .visit-map { aspect-ratio: 4 / 3; } }

/* Entrada animada del hero. Reusa el sistema data-reveal (IntersectionObserver):
   como el hero está en pantalla al cargar, entra solo. Acá sumamos el escalonado
   propio del hero y un scale-in suave de la foto. */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal .hero-reveal > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
    .js-reveal .hero-reveal > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
    .js-reveal .hero-reveal > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
    .js-reveal .hero-reveal > [data-reveal]:nth-child(5) { transition-delay: 0.32s; }

    .js-reveal .hero-media[data-reveal] { opacity: 0; transform: scale(0.97); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); transition-delay: 0.1s; }
    .js-reveal .hero-media[data-reveal].is-revealed { opacity: 1; transform: none; }
}

/* ============================================================
   Fase 7 — Hero image-less de las sub-páginas
   Cada sub-página abre con un titular humano propio + un panel temático,
   en vez del retrato. El SEO vive en el <h1> de apoyo. Acento por familia.
   ============================================================ */

/* Titular humano: el mensaje protagonista. No es el <h1> (eso lo lleva la línea
   de apoyo, con el keyword local), pero visualmente manda. */
.hero-lead {
    font-family: 'Playfair Display', 'Playfair-fallback', Georgia, serif;
    font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
    margin-bottom: 1rem;
}

/* <h1> de apoyo: conserva "Abogada de [tema] en Mar del Plata" para el SEO local,
   pero en tamaño secundario. La palabra del tema toma el color de acento. */
.hero-h1 {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #a1a1aa;
    margin-bottom: 1.25rem;
}
.hero-h1 .accent-word { color: var(--accent); font-weight: 600; }

/* Panel temático (reemplaza la foto). Un único panel, no tarjetas anidadas. */
.hero-aside {
    order: 2;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    border-radius: 1rem;
    background:
        radial-gradient(130% 100% at 100% 0%, rgba(var(--accent-rgb), 0.12), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.25));
    padding: 1.9rem 1.75rem;
    text-align: left;
    max-width: 30rem;
    width: 100%;
    margin: 0 auto;
}
.hero-aside .aside-q,
.hero-aside .aside-title {
    font-family: 'Playfair Display', 'Playfair-fallback', Georgia, serif;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--accent);
    margin-bottom: 0.85rem;
}
.hero-aside .aside-a { color: #d4d4d8; font-weight: 300; line-height: 1.6; }
.hero-aside .aside-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.hero-aside .aside-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: #d4d4d8;
    font-weight: 300;
    line-height: 1.5;
    font-size: 0.95rem;
}
.hero-aside .aside-list svg { width: 1.15rem; height: 1.15rem; color: var(--accent); flex-shrink: 0; margin-top: 0.12rem; }
.hero-aside .aside-list .aside-dot { width: 0.42rem; height: 0.42rem; border-radius: 999px; background: var(--accent); flex-shrink: 0; margin-top: 0.5rem; }
.hero-aside .aside-list strong { color: #fff; font-weight: 600; }

@media (min-width: 1024px) {
    .hero-aside { margin: 0; padding: 2.25rem 2rem; }
}

/* Entrada del panel temático: sube apenas, después del texto. */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal .hero-aside[data-reveal] { transition-delay: 0.22s; }
}
