/* ============================================
   ABOGADO DE DIVORCIOS MÁLAGA - ESTILOS v3
   Mezcla: Moderno minimalista + Paleta azul/dorado
   ============================================ */

:root {
    /* PALETA - Azul corporativo + dorado elegante */
    --primary: #1a3a5c;
    --primary-dark: #0f2540;
    --primary-light: #2c5282;
    --accent: #c9a85a;
    --accent-dark: #a8893e;
    --accent-light: #e0c587;
    --dark: #0a1929;
    --gray-50: #f9fafb;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-500: #718096;
    --gray-700: #4a5568;
    --gray-900: #1a202c;
    --white: #ffffff;
    --success: #2f855a;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 8px 24px rgba(201, 168, 90, 0.25);

    /* Transiciones */
    --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Tipografía - Inter sans-serif moderna */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 160px; /* header (95px) + quick-nav (~50px) + margen */
}

body {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--t); }

/* Enlaces distinguibles en contenido */
.content-block a, .info-box a, .page-header__content a, .note a, .legal-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}
.content-block a:hover, .info-box a:hover, .legal-content a:hover {
    color: var(--primary);
}
.page-header__content a { color: var(--accent); }
.page-header__content a:hover { color: var(--white); }
button { font-family: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    font-weight: 500;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover { color: var(--accent); }

.top-bar__contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar__location {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar__location i { color: var(--accent); }

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
}

.header.scrolled { box-shadow: var(--shadow-md); padding: 0; }
.header.scrolled .header__inner { padding: 10px 24px; }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 24px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo__mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    letter-spacing: -0.2px;
}

.logo__subtitle {
    font-size: 0.72rem;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* MEGA MENU - Moderno, siempre visible */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item { position: relative; }

.nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    transition: var(--t);
    cursor: pointer;
}

.nav-link i.fa-chevron-down {
    font-size: 0.65rem;
    transition: transform var(--t);
    opacity: 0.5;
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
    color: var(--primary);
    background: rgba(201, 168, 90, 0.08);
}

.nav-item.active > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--accent-dark);
    opacity: 1;
}

/* Mega Dropdown - Click to open */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--white);
    min-width: 580px;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(201, 168, 90, 0.1);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-top: 1px solid rgba(201, 168, 90, 0.15);
    border-left: 1px solid rgba(201, 168, 90, 0.15);
}

.nav-item.active > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    transition: var(--t);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown__item:hover {
    background: linear-gradient(135deg, rgba(201, 168, 90, 0.08) 0%, rgba(201, 168, 90, 0.15) 100%);
    border-color: rgba(201, 168, 90, 0.2);
}

@media (min-width: 769px) {
    .nav-dropdown__item:hover {
        transform: translateX(3px);
    }
}

.nav-dropdown__icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--t);
}

.nav-dropdown__item:hover .nav-dropdown__icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.nav-dropdown__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-dropdown__text strong {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-dropdown__text span {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-top: 2px;
}

.nav__cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    box-shadow: var(--shadow-gold);
    font-size: 0.88rem !important;
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(201, 168, 90, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--t);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO - Azul con imagen de fondo
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=90&fit=crop');
    background-size: cover;
    background-position: center 25%;
    opacity: 0.60;
    z-index: 1;
    filter: contrast(1.15) saturate(1.05);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 37, 64, 0.75) 0%, rgba(26, 58, 92, 0.50) 50%, rgba(15, 37, 64, 0.65) 100%);
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--white) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 40px 48px 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .hero__content {
        padding: 24px 20px 32px;
        border-radius: 16px;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__eyebrow {
    display: inline-block;
    background: rgba(201, 168, 90, 0.15);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 168, 90, 0.3);
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__highlight {
    color: var(--accent);
    font-style: italic;
    font-weight: 700;
}

.hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--t);
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.1px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 168, 90, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--blue {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn--blue:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO STATS
   ============================================ */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat { text-align: center; }

.stat__num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--accent);
    line-height: 1;
}

.stat__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat__plus {
    font-family: var(--font-serif);
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat__label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================
   MEGA MENÚ STICKY - Barra de navegación moderna
   siempre visible bajo el header
   ============================================ */
.quick-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 68px; /* debajo del header principal (header ~64px + 4px margen) */
    z-index: 90;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.quick-nav__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.quick-nav__label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-nav__label i {
    color: var(--accent);
}

.quick-nav__scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.quick-nav__scroll::-webkit-scrollbar {
    height: 4px;
}

.quick-nav__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.quick-nav__scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.quick-nav__list {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    list-style: none;
}

.quick-nav__item { flex-shrink: 0; }

.quick-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--t);
    white-space: nowrap;
    text-decoration: none;
}

.quick-nav__link i {
    color: var(--accent);
    font-size: 0.8rem;
    transition: var(--t);
}

.quick-nav__link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 58, 92, 0.25);
}

.quick-nav__link:hover i {
    color: var(--accent);
    transform: rotate(-8deg) scale(1.15);
}

.quick-nav__link--cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border-color: var(--accent);
}

.quick-nav__link--cta i { color: var(--white); }
.quick-nav__link--cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(201, 168, 90, 0.4);
}

@media (max-width: 768px) {
    .quick-nav { top: 60px; }
    .quick-nav__inner { gap: 8px; padding: 10px 0; }
    .quick-nav__label {
        font-size: 0.7rem;
        padding-right: 8px;
        border-right-width: 1.5px;
    }
    .quick-nav__link {
        padding: 12px 16px;
        font-size: 0.84rem;
        gap: 6px;
        min-height: 44px;
    }
}

/* ============================================
   SIDE NAV - Mini índice de secciones (solo index)
   ============================================ */
.side-nav {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--gray-200);
    max-width: 60px;
}

.side-nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--t);
    position: relative;
    text-decoration: none;
}

.side-nav__link:hover,
.side-nav__link.active {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.side-nav__link.active i { color: var(--accent); }

.side-nav__link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--t);
    pointer-events: none;
}

.side-nav__link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1100px) {
    .side-nav { display: none; }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    padding: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 5;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--t);
    position: relative;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--gray-200);
}

.trust-item i {
    font-size: 1.6rem;
    color: var(--accent);
    width: 52px;
    height: 52px;
    background: rgba(201, 168, 90, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}

.trust-item:hover {
    background: rgba(201, 168, 90, 0.04);
}

.trust-item:hover i {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section--alt { background: var(--gray-100); }

/* Section divider between sections */
.section + .section:not(.section--alt):not(.section--dark)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.section--dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.section__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section__eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section--dark .section__eyebrow { color: var(--accent-light); }

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section--dark .section__title { color: var(--white); }

.section__lead {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    font-weight: 400;
}

.section--dark .section__lead { color: rgba(255, 255, 255, 0.9); }

.accent { color: var(--accent); }
.section--dark .accent { color: var(--accent-light); }

.subtitle {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 48px 0 24px;
}

/* ============================================
   AREAS GRID
   ============================================ */
.areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.area-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    transition: height var(--t);
}

.area-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(201, 168, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(26, 58, 92, 0.15);
    border-color: var(--accent);
}

.area-card:hover::before { height: 100%; }

.area-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--t);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.15);
}

.area-card:hover .area-card__icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(201, 168, 90, 0.3);
}

.area-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.area-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.6;
}

.area-card--highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
}

.area-card--highlight h3 { color: var(--white); }
.area-card--highlight p { color: rgba(255, 255, 255, 0.9); }
.area-card--highlight .area-card__icon {
    background: rgba(201, 168, 90, 0.2);
    color: var(--accent);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.content-block h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.content-block p {
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.75;
}

.content-block strong { color: var(--primary); font-weight: 600; }

.info-box {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 24px 0;
}

.info-box h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h4 i { color: var(--accent); }

.info-box ul { list-style: none; padding: 0; }
.info-box ul li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.info-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent);
    font-size: 0.85rem;
}

.info-box--large { padding: 32px; margin: 32px 0; }

.numbered-list {
    counter-reset: list;
    list-style: none;
    padding: 0;
}

.numbered-list li {
    counter-increment: list;
    padding: 12px 0 12px 48px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.numbered-list li::before {
    content: counter(list);
    position: absolute;
    left: 0;
    top: 8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}
.check-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--success);
    font-size: 0.85rem;
}

.section--dark .content-block p,
.section--dark .info-box p,
.section--dark .info-box ul li,
.section--dark .check-list li,
.section--dark .numbered-list li { color: rgba(255, 255, 255, 0.9); }

.section--dark .content-block h3 { color: var(--white); }
.section--dark .check-list li i { color: var(--accent); }

.section--dark .info-box {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent);
    backdrop-filter: blur(10px);
}

.section--dark .info-box h4 { color: var(--white); }
.section--dark .info-box h4 i { color: var(--accent); }

/* ============================================
   DOCS GRID
   ============================================ */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.doc-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--t);
}

.doc-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.doc-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.doc-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.doc-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 90, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner__text {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 280px;
}

.cta-banner__text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-banner__text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.cta-banner .btn { position: relative; z-index: 1; }

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.nosotros-image { position: relative; }

.nosotros-image__placeholder {
    background:
        linear-gradient(135deg, rgba(201, 168, 90, 0.15) 0%, rgba(26, 58, 92, 0.3) 100%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%);
    background-size: 100%, 30px 30px, 30px 30px;
    border: 2px solid var(--accent);
    border-radius: 16px;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--accent);
    text-align: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.nosotros-image__placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 90, 0.15) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

.nosotros-image__placeholder::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(201, 168, 90, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.nosotros-image__placeholder i {
    font-size: 5rem;
    opacity: 0.85;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(201, 168, 90, 0.4));
}

.nosotros-image__placeholder span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 1;
    line-height: 1.3;
}

.nosotros-image__placeholder small {
    color: var(--accent);
    font-size: 0.85rem;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: -8px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nosotros-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    min-width: 110px;
}

.nosotros-badge__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.nosotros-badge__text {
    display: block;
    font-size: 0.72rem;
    margin-top: 4px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nosotros-content .lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.nosotros-content .lead strong { color: var(--accent); }

.nosotros-content > p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.feature {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 90, 0.3);
    padding: 24px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.feature h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Coverage */
.coverage {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 90, 0.2);
    border-radius: 14px;
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.coverage__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

.coverage__lead {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.coverage__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.coverage__cities span {
    background: var(--accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--t);
}

.coverage__cities span:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ============================================
   QUOTE
   ============================================ */
.quote {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    border-radius: 8px;
    font-style: italic;
    color: var(--gray-700);
    margin: 20px 0;
    line-height: 1.7;
    box-shadow: var(--shadow-sm);
}

.quote-source {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.comparison__col {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent);
    transition: var(--t);
}

.comparison__col:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.comparison__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.comparison__header i { font-size: 1.8rem; color: var(--accent); }

.comparison__header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.comparison__col p {
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ============================================
   OPTIONS GRID
   ============================================ */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.option {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    position: relative;
    padding-left: 60px;
    transition: var(--t);
}

.option:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.option__num {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.option p {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============================================
   CRITERIA LIST
   ============================================ */
.criteria-list { list-style: none; padding: 0; }

.criteria-list li {
    padding: 12px 0 12px 48px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
    border-bottom: 1px solid var(--gray-200);
}

.criteria-list li:last-child { border-bottom: none; }

.criteria-list__letter {
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 16px;
}

.criteria-list strong { color: var(--primary); font-weight: 700; }

.note {
    background: rgba(201, 168, 90, 0.08);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 8px;
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.note i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }

/* ============================================
   REFORMA GRID
   ============================================ */
.reforma-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.reforma-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent);
    transition: var(--t);
}

.reforma-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.reforma-card--wide { grid-column: 1 / -1; }

.reforma-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.reforma-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.reforma-card h4 {
    color: var(--accent-dark);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.reforma-card p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
}

.reforma-card ul {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.reforma-card ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.reforma-card ul li::before {
    content: '\f0a4';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--accent);
    font-size: 0.85rem;
}

.highlight-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-box i { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.highlight-box p {
    color: var(--white) !important;
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial {
    background: var(--white);
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--t);
    border: 1px solid var(--gray-200);
}

.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 58, 92, 0.1);
    border-color: var(--accent);
}

.testimonial::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.08;
}

.testimonial__stars {
    color: var(--accent);
    margin-bottom: 16px;
}

.testimonial p {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial__author strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.testimonial__author span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 90, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-final__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-final h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin-bottom: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.cta-final p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-final__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.logo--footer .logo__title { color: var(--white); }

.footer__col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer__col ul { list-style: none; padding: 0; }
.footer__col ul li { padding: 6px 0; }

.footer__col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: var(--t);
    display: inline-block;
    font-weight: 500;
}

.footer__col ul a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    padding: 8px 0 !important;
}

.footer__contact i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: var(--t);
    transform: translateY(20px);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent);
    color: var(--white);
}
@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 90px;
        left: 20px;
    }
}

/* ============================================
   CATEGORIA DE CARDS
   ============================================ */
.category-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin: 56px 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}
.category-title:first-of-type {
    margin-top: 0;
}
.category-title i {
    color: var(--accent);
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    background: rgba(201, 168, 90, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 16px 24px;
    z-index: 99999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
}
.cookie-banner.show {
    display: block;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    flex: 1;
    min-width: 260px;
    line-height: 1.5;
}
.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}
.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-banner__btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--t);
}
.cookie-banner__btn--accept {
    background: var(--accent);
    color: var(--white);
}
.cookie-banner__btn--accept:hover {
    background: var(--accent-dark);
}
.cookie-banner__btn--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-banner__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CAPTCHA PROPIO
   ============================================ */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--t);
}
.captcha-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 90, 0.15);
}
.captcha-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    white-space: nowrap;
    font-family: var(--font-serif);
    min-width: 140px;
}
.captcha-box input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font);
    background: var(--white);
    min-width: 80px;
    max-width: 120px;
    transition: var(--t);
    text-align: center;
}
.captcha-box input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 90, 0.15);
}
.captcha-reload {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--t);
    flex-shrink: 0;
}
.captcha-reload:hover {
    background: var(--accent);
    transform: rotate(180deg);
}
.captcha-reload:active {
    transform: rotate(360deg);
}
@media (max-width: 480px) {
    .captcha-question {
        font-size: 0.95rem;
        min-width: 100px;
    }
    .captcha-box input[type="text"] {
        max-width: 80px;
    }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--t);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 90, 0.2) 0%, transparent 60%);
}

.page-header__content { position: relative; z-index: 1; }

.page-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
    line-height: 1.1;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--accent-light);
    font-size: 0.9rem;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 48px 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 90, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-item:last-of-type { border-bottom: none; }

.contact-item__icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 168, 90, 0.2);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-item p, .contact-item a {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.contact-item a:hover { color: var(--accent); }

.contact-form-wrapper {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.contact-form-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form-wrapper > p {
    color: var(--gray-700);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    color: var(--gray-900);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label .required { color: #c0392b; }

.form-group .input-icon {
    position: relative;
}

.form-group .input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--t);
    z-index: 1;
}

.form-group .input-icon:focus-within i {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: var(--t);
}

.form-group textarea {
    padding-left: 16px;
}

.form-group select {
    padding: 14px 16px 14px 44px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 168, 90, 0.15);
}

/* Inline validation */
.form-group .error-message {
    display: none;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.form-group.has-error .error-message {
    display: block;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
    flex-wrap: wrap;
}

.form-check.has-error label {
    color: #c0392b;
}

.form-check .error-message {
    display: none;
    width: 100%;
}

.form-check.has-error .error-message {
    display: block;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-check label {
    color: var(--gray-700);
    font-size: 0.88rem;
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
}

.form-check label a { color: var(--accent); text-decoration: underline; }

.btn--submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--t);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.3px;
}

.btn--submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(201, 168, 90, 0.45);
}

.btn--submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.map-section { padding: 0; margin-top: 80px; }

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-link { padding: 9px 12px; font-size: 0.85rem; }
    .nav__cta { padding: 9px 16px !important; font-size: 0.82rem !important; }
    .nosotros-grid { gap: 40px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Overlay oscuro cuando el men&uacute; est&aacute; abierto */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
        pointer-events: none;
    }
    body.menu-open { overflow: hidden; }

    .top-bar__inner { justify-content: center; text-align: center; }
    .top-bar__contact { gap: 14px; justify-content: center; font-size: 0.8rem; }
    .top-bar__location { display: none; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 32px;
        gap: 0;
        box-sizing: border-box;
        box-shadow: var(--shadow-xl);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }
    .nav.active {
        transform: translateX(0);
    }
    .nav-item {
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        position: relative;
    }
    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 18px 24px;
        justify-content: space-between;
        border-radius: 0;
        color: var(--gray-900);
        cursor: pointer;
    }
    .nav-item.active > .nav-link {
        background: var(--primary);
        color: var(--white);
    }
    .nav-item.active > .nav-link i.fa-chevron-down {
        color: var(--accent);
        transform: rotate(180deg);
    }
    .nav-dropdown {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        box-shadow: none !important;
        background: var(--gray-100);
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown::before { display: none; }
    .nav-item.active > .nav-dropdown { max-height: 3000px; }
    .nav-dropdown__grid {
        display: block !important;
        grid-template-columns: none !important;
        width: 100%;
        box-sizing: border-box;
        padding: 4px 0;
    }
    .nav-dropdown__item {
        display: flex !important;
        align-items: center;
        gap: 14px;
        padding: 12px 20px !important;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        border: none;
        text-decoration: none;
    }
    .nav-dropdown__item:hover {
        transform: none !important;
        background: rgba(201, 168, 90, 0.15);
    }
    .nav-dropdown__icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .nav-dropdown__text {
        flex: 1 1 auto;
        line-height: 1.2;
        min-width: 0;
    }
    .nav-dropdown__text strong {
        display: block;
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 2px;
    }
    .nav-dropdown__text span {
        display: block;
        font-size: 0.75rem;
        color: var(--gray-500);
    }
    .nav__cta {
        width: calc(100% - 48px);
        justify-content: center;
        margin: 20px 24px 0;
    }

    .hamburger { display: flex; }
    .hero { min-height: auto; padding: 60px 0 80px; }
    .hero__stats { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .section { padding: 60px 0; }
    .content-grid { grid-template-columns: 1fr; gap: 32px; }
    .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
    .nosotros-image { max-width: 400px; margin: 0 auto; }
    .nosotros-badge { right: 0; }
    .comparison { grid-template-columns: 1fr; }
    .reforma-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
    .cta-final { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info, .contact-form-wrapper { padding: 32px 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .coverage { padding: 32px 20px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header__inner { padding: 14px 16px; gap: 12px; }
    .logo__title { font-size: 0.95rem; }
    .logo__mark { width: 40px; height: 40px; font-size: 0.85rem; }
    .hero__title { font-size: 2rem; }
    .btn { padding: 14px 24px; font-size: 0.92rem; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; }
    .areas__grid,
    .docs-grid,
    .testimonials-grid,
    .options-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
