/* ==========================================================================
   VIA IURE - CSS MAESTRO OPTIMIZADO (V3.1 - ACCESIBILIDAD TOTAL)
   ========================================================================== */
:root {
    --bg: #0f0f0f;
    --surface: #171717;
    --surface-soft: #1d1d1d;
    --line: #282828;
    --line-soft: rgba(255,255,255,.08);
    --text: #f1f1f1;
    --muted: #aaa;
    --muted-2: #777;
    --gold: #c5a059;
    --gold-soft: rgba(197,160,89,.14);
    --danger: #d45b5b;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow: 0 22px 60px rgba(0,0,0,.42);
    --transition-smooth: 520ms cubic-bezier(.22,1,.36,1);
    --transition-fast: 240ms ease;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding: 0 40px;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 18% 10%, rgba(197,160,89,.05), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,.035), transparent 25%),
        linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
main, header, footer { max-width: 1060px; margin-inline: auto; }

/* HEADER & SUB-HEADER FEDERAL METERED */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #1e1e1e;
    position: relative;
    z-index: 100;
}
.header-logo-link {
    text-decoration: none;
    display: flex;
    cursor: pointer;
}
.logo-federal-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}
.logo-top-row {
    display: flex;
    align-items: center;
    gap: 7px;
}
.argentina-flag-icon {
    width: 20px !important;
    height: 14px !important;
    display: inline-block;
}
.logo-kicker-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    color: #8d8d8d;
    letter-spacing: 1px;
    font-weight: 400;
}
.logo-text-v2 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    line-height: 1.1;
    margin-top: 8px !important; /* Despegar el título del bloque superior */
}

header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
header nav a {
    color: #8d8d8d;
    text-decoration: none;
    margin-left: 24px;
    font-size: .72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-fast);
}
header nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 680ms cubic-bezier(.16,1,.3,1);
}
header nav a:hover { color: #fff; }
header nav a:hover::after { transform: translateX(-50%) scaleX(1); }

/* HERO */
.hero {
    position: relative;
    margin-top: 34px;
    margin-bottom: 32px;
    padding: 44px 58px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background:
        linear-gradient(145deg, rgba(26,26,26,.98), rgba(18,18,18,.96)) padding-box,
        linear-gradient(115deg, rgba(255,255,255,.04), rgba(197,160,89,.56), rgba(255,255,255,.04)) border-box;
    background-size: 220% 100%;
    animation: ledSweep 14s ease-in-out infinite;
    box-shadow: var(--shadow);
}
.hero::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(197,160,89,.08), transparent 36%);
    transform: translate3d(-12%, -8%, 0);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.75px;
    margin-bottom: 16px;
    color: #fff;
}
.hero h1 span { font-weight: 700; color: var(--gold); }
.hero p {
    font-size: .96rem;
    color: #b7b7b7;
    max-width: 610px;
    letter-spacing: .25px;
}
.hero-brand {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 38px;
    align-items: center;
    min-height: 330px;
}
.hero-logo-card {
    background: linear-gradient(145deg, rgba(18,18,18,.95), rgba(28,28,28,.85));
    border: 1px solid rgba(197,160,89,.22);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 48px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.025);
    transform: translateZ(0);
}
.hero-logo-card img {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}
.hero-kicker {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .72rem;
    font-weight: 700;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.btn-primary { background: #fff; color: #111; border: 1px solid #fff; }
.btn-secondary { color: #fff; border: 1px solid rgba(197,160,89,.32); background: rgba(197,160,89,.06); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
@keyframes ledSweep { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* TITLES & CARDS */
.segmentation-title {
    font-size: .96rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 18px 0 16px;
    color: var(--gold);
}
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 34px;
}
.project {
    position: relative;
    min-height: 210px;
    background: var(--surface);
    border: 1px solid #262626;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transform: translate3d(0,0,0);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    z-index: 5;
}

/* LA MEDUSA OJO DE PEZ (EXTRANJERÍA INTEGRAL DE ALTA ESCALA) */
.project.project-round {
    grid-column: span 2 !important;
    width: 280px !important;  /* Incrementado de 210px a 280px para imponer presencia */
    height: 280px !important;
    min-height: 280px !important;
    border-radius: 50% !important;
    margin: 24px auto 0 auto !important;
    aspect-ratio: 1 / 1 !important;
}
.project.project-round .project-content {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 24px !important;
}
.project.project-round .project-content p {
    max-width: 220px !important;
    margin-bottom: 8px !important;
}
.project.project-round::after {
    border-radius: 50% !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.95) 100%) !important;
}

.project::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.20) 38%, rgba(0,0,0,.88) 100%);
    z-index: 1;
    pointer-events: none;
}
.project:hover {
    border-color: rgba(197,160,89,.58);
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 18px 42px rgba(0,0,0,.42);
}
.project img.img-base, .project img.img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 900ms cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.project img.img-base { opacity: .34; transform: scale(1.01); }
.project img.img-hover { opacity: 0; mix-blend-mode: lighten; pointer-events: none; transform: scale(1.06); }
.project:hover img.img-base { opacity: .12; transform: scale(1.06); }
.project:hover img.img-hover { opacity: .30; transform: scale(1.03); }
.project-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}
.project-content h2 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 7px; letter-spacing: -.35px; }
.project-content p { font-size: .84rem; color: #d0d0d0; max-width: 430px; line-height: 1.43; }
.profile-action {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    width: fit-content;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.project:hover .profile-action, .profile-card:hover .profile-action { color: var(--gold); border-bottom-color: #fff; }

/* ESTUDIO */
.studio-intro-section { padding: 34px 0; margin-bottom: 30px; border-top: 1px solid #1e1e1e; }
.studio-grid {
    background: rgba(26,26,26,.92);
    border: 1px solid #252525;
    padding: 34px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 38px rgba(0,0,0,.28);
}
.studio-text h3 { color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.studio-text h2 { font-size: 1.6rem; font-weight: 300; color: #fff; line-height: 1.3; margin-bottom: 12px; max-width: 760px; }
.studio-text p { color: #aaa; font-size: .9rem; max-width: 760px; }

/* FORMULARIOS */
.consultations-section { padding-bottom: 45px; display: flex; justify-content: center; }
.form-container-compact, .expanded-form-container {
    width: 100%;
    background: rgba(26,26,26,.96);
    border-radius: var(--radius-lg);
    border: 1px solid #262626;
    box-shadow: var(--shadow);
}
.form-container-compact { max-width: 380px; padding: 24px; transition: border-color var(--transition-fast), transform var(--transition-fast); }
.form-container-compact:hover { border-color: rgba(197,160,89,.32); transform: translateY(-2px); }
.form-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid #252525; padding-bottom: 10px; }
.form-header h2 { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.badge-free { font-size: .65rem; color: var(--gold); background: rgba(197,160,89,.08); padding: 2px 8px; border-radius: 20px; letter-spacing: .5px; border: 1px solid rgba(197,160,89,.15); }
.form-group { margin-bottom: 13px; display: flex; flex-direction: column; }
.form-group label { font-size: .68rem; color: #8c8c8c; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; font-weight: 700; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group input, .form-group select, .form-group textarea, .input-select-native, .input-fix {
    width: 100%;
    background-color: #111;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    padding: 10px 11px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .84rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .input-select-native:focus, .input-fix:focus {
    border-color: rgba(197,160,89,.58);
    box-shadow: 0 0 0 3px rgba(197,160,89,.05);
    background-color: #131313;
}
::placeholder { color: #4d4d4d; font-size: .8rem; }
.btn-submit {
    width: 100%;
    background-color: #fff;
    color: #121212;
    border: none;
    padding: 12px;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
    margin-top: 3px;
}
.btn-submit:hover { background-color: var(--gold); color: #111; transform: translateY(-1px); }
.form-phone-alternative { display: flex; flex-direction: column; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid #222; text-align: center; }
.alt-action-title { font-size: .65rem; color: #777; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.alt-action-desc { font-size: .76rem; color: var(--gold); font-weight: 300; margin: 2px 0 10px; }
.form-phone-alternative a { width: 38px; height: 38px; background: #121212; border: 1px solid var(--gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; transition: transform var(--transition-fast), background-color var(--transition-fast); }
.form-phone-alternative a svg { width: 16px; height: 16px; fill: var(--gold); transition: fill var(--transition-fast); }
.form-phone-alternative a:hover { transform: scale(1.08); background: var(--gold); }
.form-phone-alternative a:hover svg { fill: #121212; }

/* OVERLAY POPUPS INTERNOS */
.form-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: rgba(10,10,10,.86);
    backdrop-filter: blur(10px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}
.form-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.expanded-form-container {
    max-width: 420px;
    padding: 26px;
    border-color: rgba(197, 160, 89, 0.25);
    position: relative;
    transform: translate3d(0,18px,0) scale(.985);
    opacity: 0;
    transition: transform 360ms cubic-bezier(.22,1,.36,1), opacity 260ms ease;
    max-height: 90vh;
    overflow-y: auto;
}
.form-overlay.active .expanded-form-container { transform: translate3d(0,0,0) scale(1); opacity: 1; }
.close-overlay-btn { position: absolute; top: 14px; right: 18px; background: none; border: none; color: #888; font-size: 1.55rem; cursor: pointer; transition: color var(--transition-fast); }
.close-overlay-btn:hover { color: #fff; }
.dynamic-group { display: none; opacity: 0; }
.dynamic-group.active { display: block; opacity: 1; }

/* BOTÓN FLOTANTE URGENCIAS - ROJO CRIMSON */
.phone-premium-wrapper { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; z-index: 999; }
.phone-float { width: 40px; height: 40px; background: #c93636 !important; border: 1px solid #c93636 !important; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 26px rgba(169, 50, 50, 0.45) !important; position: relative; transition: transform 220ms cubic-bezier(.34,1.56,.64,1); text-decoration: none; }
.phone-float::after { content: ''; position: absolute; inset: -1px; border: 1px solid #c93636 !important; border-radius: 50%; animation: microRadarRed 2.4s cubic-bezier(.24,0,.38,1) infinite; pointer-events: none; }
.phone-float svg { fill: #ffffff !important; width: 16px; height: 16px; }
.phone-float:hover { transform: scale(1.09); }
.phone-badge-text { background: #1a1a1a; border: 1px solid rgba(169, 50, 50, 0.3) !important; color: #fff; font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 8px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.5); pointer-events: none; }
@keyframes microRadarRed { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.45); opacity: 0; } }

/* EDITORIAL DE EXTRANJERÍA */
.editorial-card {
    background: #161616;
    border-left: 3px solid var(--gold);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 24px;
}
.editorial-card h4 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; font-weight: 700; }
.editorial-card p { font-size: 0.88rem; color: var(--muted); }

/* FOOTER */
footer { margin-top: 30px; padding: 25px 0; border-top: 1px solid #1e1e1e; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer p { font-size: .68rem; color: #555; letter-spacing: 1.5px; }
.footer-meta { display: flex; flex-direction: column; gap: 2px; }
.footer-meta .footer-address { color: #888; font-size: .65rem; letter-spacing: .5px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-links a { color: #888; text-decoration: none; font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--gold); }

/* RESPONSIVE (AMORTIGUACIÓN TÁCTIL PROTEGIDA Y FILTRADA) */
@media (max-width: 900px) {
    .hero-brand { grid-template-columns: 1fr; gap: 24px; }
    .hero-logo-card { max-width: 260px; }
    .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    body { padding: 0 20px; }
    header { flex-direction: column; gap: 14px; text-align: center; }
    header nav { justify-content: center; gap: 8px 16px; }
    header nav a { margin-left: 0; }
    .hero { padding: 30px 24px; }
    .gallery { grid-template-columns: 1fr; }
    .project { min-height: 190px; }
    .project.project-round { grid-column: span 1 !important; width: 220px !important; height: 220px !important; min-height: 220px !important; }
    .project-content { padding: 20px; }
    .studio-grid { padding: 26px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .phone-premium-wrapper { bottom: 20px; right: 20px; }
    .phone-badge-text { display: none; }
}
@media (max-width: 420px) {
    body { padding: 0 14px; }
    .hero { padding: 26px 18px; }
    .interactive-stick-selector { grid-template-columns: 1fr; }
    .expanded-form-container { padding: 22px 18px; }
}
/* ==========================================================================
   V3.2 — HERRAMIENTAS DE CONVERSIÓN (stats, strip, FAQ, urgente, contacto)
   Mismo lenguaje visual del sitio: Inter, negro, dorado, tarjetas oscuras.
   ========================================================================== */

/* FILA DE CONFIANZA */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: 26px;
}
.stat { padding: 22px 26px; }
.stat + .stat { border-left: 1px solid #1e1e1e; }
.stat-num {
    display: block;
    font-size: 2.15rem;
    font-weight: 300;
    letter-spacing: -.5px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 7px;
}
.stat-label {
    font-size: .68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 400;
}

/* RED DE CONTENCIÓN */
.services-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(197,160,89,.05);
    border: 1px solid rgba(197,160,89,.18);
    border-radius: var(--radius-md);
    padding: 18px 26px;
    margin-bottom: 34px;
}
.services-strip p { color: #cfcfcf; font-size: .88rem; }
.services-strip a {
    color: var(--gold);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: letter-spacing var(--transition-fast);
}
.services-strip a:hover { letter-spacing: 2px; }

/* FAQ + DATO URGENTE */
.faq-section {
    display: grid;
    grid-template-columns: 1.55fr .95fr;
    gap: 38px;
    align-items: start;
    padding: 30px 0 45px;
    border-top: 1px solid #1e1e1e;
    scroll-margin-top: 24px;
}
.faq-heading { font-size: 1.6rem; font-weight: 300; color: #fff; line-height: 1.3; margin-bottom: 18px; }
.faq-list { border-top: 1px solid #242424; }
.faq-item { border-bottom: 1px solid #242424; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 17px 4px;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 400;
    color: #e6e6e6;
    transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gold);
    transition: transform var(--transition-fast);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 420ms cubic-bezier(.22,1,.36,1); }
.faq-item.open .faq-answer { max-height: 260px; }
.faq-answer p { color: var(--muted); font-size: .85rem; line-height: 1.6; padding: 0 4px 18px; max-width: 620px; }

.urgent-card {
    position: sticky;
    top: 24px;
    background: rgba(26,26,26,.96);
    border: 1px solid rgba(201,54,54,.32);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow);
}
.urgent-tag {
    display: inline-block;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: #c93636;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.urgent-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -.3px; margin-bottom: 8px; }
.urgent-card p { color: var(--muted); font-size: .85rem; line-height: 1.55; margin-bottom: 20px; }
.btn-urgent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .7rem;
    font-weight: 700;
    background: #c93636;
    color: #fff;
    border: 1px solid #c93636;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.btn-urgent:hover { background: #b02e2e; transform: translateY(-2px); }

/* CONTACTO CON DATOS DEL ESTUDIO */
.consultations-section {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 44px;
    align-items: start;
    justify-content: initial;
    border-top: 1px solid #1e1e1e;
    padding-top: 34px;
    scroll-margin-top: 24px;
}
.contact-heading { font-size: 1.6rem; font-weight: 300; color: #fff; line-height: 1.3; margin-bottom: 10px; max-width: 480px; }
.contact-desc { color: var(--muted); font-size: .9rem; margin-bottom: 26px; max-width: 440px; }
.contact-data { border-top: 1px solid #242424; }
.contact-data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 2px;
    border-bottom: 1px solid #242424;
}
.data-label {
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted-2);
    font-weight: 700;
}
.contact-data-item a, .contact-data-item span:not(.data-label) {
    color: #e2e2e2;
    font-size: .88rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.contact-data-item a:hover { color: var(--gold); }

/* RESPONSIVE HERRAMIENTAS */
@media (max-width: 900px) {
    .faq-section { grid-template-columns: 1fr; gap: 26px; }
    .urgent-card { position: static; }
    .consultations-section { grid-template-columns: 1fr; gap: 28px; }
    .form-container-compact { max-width: 480px; }
}
@media (max-width: 768px) {
    .stats-row { grid-template-columns: 1fr; }
    .stat + .stat { border-left: none; border-top: 1px solid #1e1e1e; }
    .services-strip { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   INTRO PREMIUM — cortina de apertura (~3.2s, click para saltear)
   ========================================================================== */
body.intro-lock { overflow: hidden; }
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background:
        radial-gradient(circle at 50% 38%, rgba(197,160,89,.07), transparent 42%),
        #0c0c0c;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 750ms ease, visibility 750ms ease;
}
.intro-overlay.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}
.intro-logo {
    width: 150px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(197,160,89,.3);
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 46px rgba(197,160,89,.1);
    opacity: 0;
    transform: translateY(14px) scale(.96);
    animation: introRise 950ms cubic-bezier(.22,1,.36,1) 150ms forwards;
}
.intro-logo img { width: 100%; display: block; }
.intro-line {
    width: 0;
    height: 1px;
    margin: 26px 0 18px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: introLine 900ms cubic-bezier(.22,1,.36,1) 750ms forwards;
}
.intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 9px;
    text-indent: 9px; /* compensa el letter-spacing del último carácter */
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    animation: introRise 850ms cubic-bezier(.22,1,.36,1) 1050ms forwards;
}
.intro-sub {
    margin-top: 12px;
    font-size: .82rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #b9a678;
    opacity: 0;
    transform: translateY(8px);
    animation: introRise 900ms cubic-bezier(.22,1,.36,1) 1450ms forwards;
}
.intro-sub em { font-style: italic; }
.intro-sub-2 {
    margin-top: 7px;
    font-size: .74rem;
    letter-spacing: 2px;
    color: #8d7f5c;
    animation-delay: 1800ms;
}
.studio-lawyer { margin-top: 12px; font-size: .84rem !important; color: #c9c9c9 !important; }
.studio-lawyer strong { color: var(--gold); font-weight: 700; }
@keyframes introRise { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes introLine { to { width: 240px; } }

/* WHATSAPP FLOTANTE (siempre visible, arriba del botón de urgencias) */
.wa-float {
    width: 46px;
    height: 46px;
    background: #25D366;
    border: 1px solid #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
    transition: transform 220ms cubic-bezier(.34,1.56,.64,1);
}
.wa-float svg { width: 24px; height: 24px; fill: #fff; }
.wa-float:hover { transform: scale(1.09); }

/* ==========================================================================
   PÁGINA FAMILIA — tarjetas de perfil (estilos que faltaban, fix del layout)
   ========================================================================== */
.family-intro { padding: 6px 0 4px; }
.family-intro h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: -.5px;
    margin: 4px 0 10px;
}
.family-desc { color: var(--muted); font-size: .92rem; max-width: 640px; margin-bottom: 26px; }
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-bottom: 44px;
}
.profile-card {
    background: var(--surface);
    border: 1px solid #262626;
    border-radius: var(--radius-md);
    padding: 26px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.profile-card:hover { transform: translateY(-4px); border-color: rgba(197,160,89,.5); }
.profile-card h2 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.profile-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 18px; flex: 1; }
.card-urgency { border-color: rgba(201,54,54,.35); }
.card-urgency:hover { border-color: rgba(201,54,54,.65); }
.urgency-tag {
    display: inline-block;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: #c93636;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ==========================================================================
   ASISTENTE DE CONSULTAS (WIZARD) — botones grandes, un paso a la vez
   ========================================================================== */
.wizard-box { max-width: 440px; }
.wizard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.wizard-area { color: var(--gold); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.wizard-paso { color: var(--muted-2); font-size: .68rem; letter-spacing: .5px; white-space: nowrap; }
.wizard-barra { height: 3px; background: #242424; border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.wizard-barra-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #e8c87e); border-radius: 99px; transition: width 320ms ease; }
.wizard-q { font-size: 1.22rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.wizard-hint { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-bottom: 16px; }
.wizard-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.wizard-opt {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    text-align: left;
    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    padding: 14px 16px;
    color: #eee;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}
.wizard-opt:hover { border-color: var(--gold); background: #161616; transform: translateY(-1px); }
.wizard-opt:active { transform: scale(.99); }
.wizard-emoji { font-size: 1.35rem; line-height: 1; flex-shrink: 0; }
.wizard-volver {
    background: none;
    border: none;
    color: var(--muted-2);
    font-size: .75rem;
    cursor: pointer;
    margin-top: 16px;
    padding: 4px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: .5px;
    transition: color var(--transition-fast);
}
.wizard-volver:hover { color: var(--gold); }
.wizard-enviar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    margin-top: 4px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.wizard-enviar svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.wizard-enviar:hover { background: #1fb457; transform: translateY(-1px); }
.wizard-alt { text-align: center; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.wizard-alt a { color: var(--gold); text-decoration: none; }
.wizard-alt a:hover { text-decoration: underline; }
.wizard-box.urgent-mode { border-color: rgba(201,54,54,.4); }
.wizard-box.urgent-mode .wizard-area { color: #e05252; }
.wizard-box.urgent-mode .wizard-barra-fill { background: #c93636; }

/* ==========================================================================
   PÁGINA EXTRANJERÍA — EDICIÓN PREMIUM COMPACTA (una sola vista)
   ========================================================================== */
.ext-hero {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 42px;
    align-items: center;
    margin: 30px 0 20px;
    padding: 38px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background:
        linear-gradient(145deg, rgba(26,26,26,.98), rgba(16,16,16,.96)) padding-box,
        linear-gradient(115deg, rgba(255,255,255,.05), rgba(197,160,89,.65), rgba(255,255,255,.05)) border-box;
    background-size: 220% 100%;
    animation: ledSweep 12s ease-in-out infinite;
    box-shadow: var(--shadow);
}
.ext-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    font-weight: 300;
    line-height: 1.14;
    letter-spacing: -.5px;
    color: #fff;
    margin-bottom: 14px;
}
.ext-hero h1 span { color: var(--gold); font-weight: 700; }
.ext-lead { color: #b7b7b7; font-size: .9rem; line-height: 1.55; max-width: 540px; }

.ext-perks { display: flex; flex-direction: column; gap: 12px; }
.ext-perk {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(17,17,17,.78);
    border: 1px solid rgba(197,160,89,.22);
    border-radius: 12px;
    padding: 13px 16px;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.ext-perk:hover { border-color: rgba(197,160,89,.55); transform: translateX(3px); }
.ext-perk-icon { font-size: 1.4rem; line-height: 1.2; flex-shrink: 0; }
.ext-perk h4 { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .3px; margin-bottom: 2px; }
.ext-perk p { color: var(--muted); font-size: .76rem; line-height: 1.4; }

.ext-programs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-bottom: 40px;
}
.ext-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(197,160,89,.25);
    border-radius: var(--radius-lg);
    padding: 30px 28px 26px;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.ext-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% -5%, rgba(197,160,89,.16), transparent 55%);
    pointer-events: none;
}
.ext-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197,160,89,.68);
    box-shadow: 0 18px 42px rgba(0,0,0,.45), 0 0 30px rgba(197,160,89,.06);
}
.ext-flag {
    width: 46px;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 16px;
    box-shadow: 0 5px 14px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}
.ext-card h2 { color: #fff; font-size: 1.28rem; font-weight: 700; letter-spacing: -.3px; margin-bottom: 8px; }
.ext-card p { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-bottom: 20px; max-width: 430px; }
.ext-cta {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    transition: letter-spacing var(--transition-fast), color var(--transition-fast);
}
.ext-card:hover .ext-cta { letter-spacing: 2.5px; color: #fff; }

@media (max-width: 900px) {
    .ext-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
    .ext-programs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   EL ESTUDIO — BIO CON FOTO DE LA DRA.
   ========================================================================== */
.studio-grid-bio {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 38px;
    align-items: center;
}
.studio-photo { position: relative; }
.studio-photo img {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(197,160,89,.3);
    box-shadow: 0 22px 50px rgba(0,0,0,.5);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.studio-photo-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    text-align: center;
    background: rgba(12,12,12,.88);
    border: 1px solid rgba(197,160,89,.4);
    color: #f1f1f1;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.studio-grid-bio .studio-text p { margin-bottom: 12px; }
.gold-name { color: var(--gold); font-weight: 700; }
@media (max-width: 900px) {
    .studio-grid-bio { grid-template-columns: 1fr; gap: 26px; }
    .studio-photo { max-width: 300px; margin-inline: auto; }
}

/* ==========================================================================
   CÓMO TRABAJAMOS (3 pasos)
   ========================================================================== */
.steps-section { margin-bottom: 44px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(197,160,89,.45); }
.step-num {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--gold-soft);
    color: var(--gold);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 14px;
}
.step-card h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: .84rem; line-height: 1.5; }

/* ==========================================================================
   MAPA DE CONTACTO + DISCLAIMER LEGAL
   ========================================================================== */
.contact-map {
    margin-top: 18px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
    filter: grayscale(.35) contrast(.92);
}
.footer-disclaimer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #1a1a1a;
    font-size: .62rem !important;
    color: #4a4a4a !important;
    letter-spacing: .5px;
    line-height: 1.5;
    max-width: 720px;
}

/* ==========================================================================
   EXTRAS DE ÁREA (mini-FAQ + tarjeta de dato) y CALCULADORA LABORAL
   ========================================================================== */
.area-extra {
    display: grid;
    grid-template-columns: 1.45fr .95fr;
    gap: 32px;
    align-items: start;
    padding: 6px 0 40px;
}
.mini-faq-section { padding-bottom: 44px; }
.mini-faq details { border-bottom: 1px solid #242424; }
.mini-faq details:first-child { border-top: 1px solid #242424; }
.mini-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 4px;
    color: #e6e6e6;
    font-size: .92rem;
    transition: color var(--transition-fast);
}
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq summary::after {
    content: '+';
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}
.mini-faq details[open] summary::after { transform: rotate(45deg); }
.mini-faq summary:hover { color: var(--gold); }
.mini-faq details p { color: var(--muted); font-size: .85rem; line-height: 1.6; padding: 0 4px 16px; max-width: 640px; }

.calc-card {
    background: linear-gradient(160deg, #1b1b1b, #121212);
    border: 1px solid rgba(197,160,89,.3);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow);
}
.calc-card h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.calc-sub { color: var(--muted); font-size: .82rem; margin-bottom: 18px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-result {
    background: rgba(197,160,89,.07);
    border: 1px dashed rgba(197,160,89,.4);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    text-align: center;
}
.calc-result strong { display: block; color: var(--gold); font-size: 1.55rem; font-weight: 700; letter-spacing: -.5px; margin: 2px 0; }
.calc-result span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; }
.calc-note { color: var(--muted-2); font-size: .68rem; line-height: 1.5; margin-top: 12px; }

@media (max-width: 900px) {
    .steps-row { grid-template-columns: 1fr; }
    .area-extra { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    .calc-fields { grid-template-columns: 1fr; }
}

/* ==========================================================================
   V4 — CAPA PREMIUM: movimiento dirigido + pulido (misma identidad)
   Solo transform/opacity en lo que se mueve. js/fx.js maneja los disparos.
   ========================================================================== */
:root { --ease: cubic-bezier(.22,1,.36,1); --gold-light: #ecd49c; }

/* Base de lectura */
::selection { background: rgba(197,160,89,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
html { scrollbar-color: #3b3222 #0d0d0d; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2f2819; border-radius: 10px; border: 2px solid #0d0d0d; }
::-webkit-scrollbar-thumb:hover { background: #5a4a2c; }

/* Grano de película: estático y DEBAJO del contenido (no cuesta frames) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progreso de lectura */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1200;
    pointer-events: none;
    background: linear-gradient(90deg, #7d6230, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
    box-shadow: 0 0 10px rgba(197,160,89,.5);
}

/* Header de vidrio: queda fijo arriba en escritorio y se "enciende" al bajar */
header { isolation: isolate; }
header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -1;
    background: rgba(11,11,11,.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(197,160,89,.16);
    opacity: 0;
    transition: opacity 400ms ease;
}
header.is-scrolled::before { opacity: 1; }
body { overflow-x: clip; }
@media (min-width: 769px) {
    header { position: sticky; top: 0; padding: 18px 0; }
    [id] { scroll-margin-top: 96px; }
}

/* Transición suave entre páginas (navegadores que la soportan) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }

/* Aparición: oculto hasta que fx.js lo anima (misma lista que REVELAR en fx.js) */
html.fx :is(
    .hero-logo-card, .hero-copy > *, .hero:not(.hero-brand) > *,
    .family-intro > *, .ext-hero-copy > *, .ext-perk, .ext-card,
    .stat, .segmentation-title, .project, .services-strip,
    .step-card, .studio-photo, .studio-text > *,
    .faq-heading, .faq-item, .urgent-card,
    .contact-heading, .contact-desc, .contact-data-item, .contact-map, .form-container-compact,
    .profile-card, .calc-card, .mini-faq details,
    footer .footer-content, .footer-disclaimer, .error-page > *
):not(.fx-in) { opacity: 0; }

/* Títulos de sección con filete dorado que se dibuja */
.segmentation-title { display: flex; align-items: center; gap: 12px; }
.segmentation-title::before {
    content: '';
    width: 34px;
    height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform-origin: 0 50%;
    transition: transform 900ms var(--ease) 250ms;
}
html.fx .segmentation-title:not(.fx-in)::before { transform: scaleX(0); }

/* HERO: luz que respira, logo que flota con destello, dorado con brillo */
.hero::before { animation: orbDrift 18s ease-in-out infinite alternate; }
@keyframes orbDrift {
    from { transform: translate3d(-14%, -10%, 0) scale(1); }
    to { transform: translate3d(12%, 8%, 0) scale(1.12); }
}
.hero-logo-card img, .intro-logo img, .studio-photo img { height: auto; }
.hero-logo-card { position: relative; overflow: hidden; animation: floatY 7s ease-in-out infinite; }
.hero-logo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255,240,205,.22) 50%, transparent 62%);
    transform: translateX(-130%);
    animation: logoShine 7s ease-in-out 1.2s infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes logoShine { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 span, .ext-hero h1 span {
        background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, var(--gold-light) 50%, var(--gold) 62%, var(--gold) 100%);
        background-size: 260% 100%;
        background-position: 100% 0;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: goldSheen 9s ease-in-out 2s infinite;
    }
}
@keyframes goldSheen { 0% { background-position: 100% 0; } 18%, 100% { background-position: 0 0; } }

/* Botones con destello al pasar */
.btn-primary, .btn-secondary, .btn-submit, .btn-urgent, .wizard-enviar { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-secondary::after, .btn-submit::after, .btn-urgent::after, .wizard-enviar::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.42) 50%, transparent 68%);
    transform: translateX(-120%);
    transition: transform 850ms var(--ease);
}
.btn-primary:hover::after, .btn-secondary:hover::after, .btn-submit:hover::after,
.btn-urgent:hover::after, .wizard-enviar:hover::after { transform: translateX(120%); }
.btn-primary:active, .btn-secondary:active, .btn-submit:active, .btn-urgent:active { transform: translateY(0) scale(.98); }

/* Tarjetas: luz dorada que sigue al puntero + inclinación 3D leve */
.project { --rx: 0deg; --ry: 0deg; }
.project:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px) scale(1.012); }
.project::before, .profile-card::before, .step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(197,160,89,.17), transparent 45%);
    opacity: 0;
    transition: opacity 500ms ease;
}
.project::before { z-index: 2; }
.project-content { z-index: 3; }
.project:hover::before, .profile-card:hover::before, .step-card:hover::before { opacity: 1; }
.profile-card, .step-card { position: relative; overflow: hidden; }
.profile-card > *, .step-card > *, .ext-card > * { position: relative; }
.ext-card { --rx: 0deg; --ry: 0deg; }
.ext-card::before { background: radial-gradient(circle at var(--mx, 88%) var(--my, -5%), rgba(197,160,89,.18), transparent 55%); }
.ext-card:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px); }
.step-num { transition: transform 500ms var(--ease), background-color 300ms ease, color 300ms ease; }
.step-card:hover .step-num { transform: scale(1.1); background: var(--gold); color: #111; }

@media (min-width: 769px) { .services-strip p { flex: 1 1 380px; } }
.nowrap { white-space: nowrap; }

/* Números de confianza más presentes */
.stat-num { font-size: 2.6rem; font-variant-numeric: tabular-nums; }

/* Foto de la Dra.: marco dorado desfasado con leve paralaje al pasar */
.studio-photo { isolation: isolate; }
.studio-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(197,160,89,.5);
    border-radius: 16px;
    transform: translate(14px, 14px);
    transition: transform 900ms var(--ease);
}
.studio-photo img { transition: transform 900ms var(--ease); }
.studio-photo:hover img { transform: translate(-4px, -4px); }
.studio-photo:hover::before { transform: translate(18px, 18px); }

/* FAQ: la pregunta abierta se marca y la respuesta aparece suave */
.faq-item { position: relative; }
.faq-item::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 450ms var(--ease);
}
.faq-item.open::before { transform: scaleY(1); }
.faq-item.open .faq-question { color: var(--gold); }
.faq-answer p { opacity: 0; transform: translateY(-6px); transition: opacity 350ms ease, transform 450ms var(--ease); }
.faq-item.open .faq-answer p { opacity: 1; transform: none; transition-delay: 90ms; }
.mini-faq details[open] p { animation: wzIn 450ms var(--ease) both; }

/* Asistente: cada paso entra escalonado */
.wizard-cuerpo > * { animation: wzIn 420ms var(--ease) both; }
.wizard-opt { animation: wzIn 450ms var(--ease) both; }
.wizard-opt:nth-child(2) { animation-delay: 50ms; }
.wizard-opt:nth-child(3) { animation-delay: 100ms; }
.wizard-opt:nth-child(4) { animation-delay: 150ms; }
.wizard-opt:nth-child(5) { animation-delay: 200ms; }
.wizard-opt:nth-child(6) { animation-delay: 250ms; }
@keyframes wzIn { from { opacity: 0; transform: translateY(10px); } }

/* Botones flotantes: entran después de la intro y se corren sobre formularios en celu */
.phone-premium-wrapper { transition: opacity 400ms ease, transform 500ms var(--ease); }
html.fx body:not(.fx-started) .phone-premium-wrapper { opacity: 0; transform: translateY(24px); }
@media (max-width: 900px) {
    body.floats-away .phone-premium-wrapper { opacity: 0; transform: translateY(24px); pointer-events: none; }
}

/* Footer con filete dorado */
footer { position: relative; border-top: none; }
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,160,89,.45), transparent);
}

/* Intro: letras que suben una a una y salida como telón que se levanta */
.intro-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.intro-overlay.done {
    opacity: 1;
    transform: translateY(-100%);
    transition: transform 1000ms cubic-bezier(.76,0,.24,1), visibility 0s linear 1000ms;
}
.intro-content { transition: opacity 500ms ease, transform 700ms var(--ease); }
.intro-overlay.done .intro-content { opacity: 0; transform: translateY(-40px); }
.intro-title.split { opacity: 1; transform: none; animation: none; }
.intro-title.split span {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    animation: introRise 700ms var(--ease) forwards;
    animation-delay: calc(1000ms + var(--i) * 60ms);
}

/* Formulario del inicio: aviso de que se abre WhatsApp */
.form-note { margin-top: 10px; font-size: .7rem; color: var(--muted-2); text-align: center; line-height: 1.45; }

/* Página 404 */
.error-page { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 0; }
.error-code { font-size: clamp(4rem, 12vw, 7.5rem); font-weight: 300; line-height: 1; color: var(--gold); letter-spacing: -2px; }
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; color: #fff; margin: 10px 0 8px; }
.error-page p { color: var(--muted); max-width: 520px; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
