/* ========================================
   ASESORIA INTEGRAL DE RETIRO
   Estilos institucionales - 2025
   ======================================== */

/* Forzar modo claro siempre */
:root {
    color-scheme: light only;
}

html {
    color-scheme: light;
}

/* Variables CSS - Paleta moderna */
:root {
    --color-primary: #0f172a;        /* Azul oscuro moderno */
    --color-primary-light: #1e293b;
    --color-primary-dark: #020617;
    --color-secondary: #10b981;      /* Verde vibrante */
    --color-accent: #06b6d4;         /* Cyan moderno */
    --color-accent-purple: #8b5cf6;  /* Púrpura acento */
    --color-text: #0f172a;           /* Gris muy oscuro */
    --color-text-light: #64748b;     /* Gris azulado */
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-gray: #f1f5f9;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 6px 8px 0 rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
    --radius: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --max-width: 1280px;
    --header-height: 90px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--color-text);
    background: var(--color-bg-light);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 95px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    display: none; /* Ocultar en móvil, mostrar en desktop */
}

/* Navegación */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-light);
}

.nav-menu li a.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Botón header */
.btn-header {
    background: var(--color-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: none;
    border-bottom: 3px solid #059669;
}

.btn-header:hover {
    transform: none;
    box-shadow: none;
    color: white;
    background: #047857;
    border-bottom-color: #065f46;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 0;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    margin-top: var(--header-height);
    min-height: 650px;
    background: url('fondo.png') center center / cover no-repeat, var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 950px;
    background: transparent;
    padding: 80px 60px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 4px solid var(--color-secondary);
    border-bottom: 4px solid var(--color-secondary);
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
    font-size: 3.2rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
    box-shadow: none;
    border-bottom: 4px solid #059669;
}

.btn-primary:hover {
    transform: none;
    box-shadow: none;
    color: white;
    background: #047857;
    border-bottom-color: #065f46;
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.15rem;
    border-radius: 0;
}

/* ========================================
   SECCIÓN AFORES
   ======================================== */
.afore-section {
    padding: 100px 20px;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.afore-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: transparent;
    border-radius: 50%;
}

.afore-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.afore-image {
    position: relative;
    width: 100%;
}

.rendi-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 4px solid var(--color-primary);
    display: block;
}

.rendi-image:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.afore-text {
    padding: 20px 0;
}

.afore-badge {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 10px 24px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: none;
    border-left: 4px solid #0891b2;
    letter-spacing: 0.5px;
}

.afore-text h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.afore-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.afore-intro strong {
    color: var(--color-text);
    font-weight: 700;
}

.afore-simple-text {
    padding: 30px 0;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-accent);
    padding-left: 30px;
}

.afore-simple-text h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.afore-simple-text p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.afore-cta-text {
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-left: 5px solid var(--color-accent);
    padding: 24px;
    border-radius: 0;
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.afore-cta-text strong {
    color: var(--color-text);
}

/* Responsive AFORE Section */
@media (max-width: 1024px) {
    .afore-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .afore-image {
        order: -1;
        max-width: 100%;
    }
    
    .rendi-image {
        width: 100%;
        max-width: 100%;
    }
    
    .afore-text h2 {
        font-size: 2rem;
    }
    
    .afore-section {
        padding: 60px 20px;
    }
    
    .afore-simple-text {
        padding-left: 20px;
        border-left-width: 3px;
    }
    
    .afore-simple-text h3 {
        font-size: 1.3rem;
    }
    
    .afore-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
}

/* ========================================
   SECCIONES
   ======================================== */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-bg {
    background-color: var(--color-bg-light);
}

/* ========================================
   SERVICIOS - CARDS
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--color-bg);
    padding: 50px 40px;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.2s ease;
    border: 2px solid var(--color-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    border-width: 3px;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: var(--color-primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: none;
    border: 3px solid var(--color-accent);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   POR QUÉ ELEGIRNOS
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 22px;
    background: var(--color-primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: none;
    transition: all 0.2s ease;
    border: 3px solid var(--color-secondary);
}

.feature-item:hover .feature-icon {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.feature-item h3 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ========================================
   PROCESO - TIMELINE
   ======================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    background: var(--color-bg);
    padding: 45px 35px;
    border-radius: 0;
    border: 3px solid var(--color-border);
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.08), transparent);
    border-radius: 0;
    transition: all 0.2s ease;
}

.process-step:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: none;
}

.process-step:hover::after {
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.12), transparent);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 22px;
    box-shadow: none;
    position: relative;
    z-index: 1;
    border: 3px solid var(--color-accent);
}

.process-step h3 {
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.process-step p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ========================================
   PREGUNTAS FRECUENTES - ACORDEÓN
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 0;
    margin-bottom: 2px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: var(--color-bg);
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--color-bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========================================
   UBICACIÓN / CÓMO LLEGAR
   ======================================== */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-card {
    background: var(--color-bg);
    padding: 35px;
    border-radius: 0;
    border: 3px solid var(--color-border);
    transition: all 0.2s ease;
}

.location-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: none;
}

.location-icon {
    width: 65px;
    height: 65px;
    background: var(--color-primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    border: 3px solid var(--color-accent);
}

.location-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.location-card p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

.location-card p strong {
    color: var(--color-text);
}

.location-map {
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--color-primary);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
}

/* ========================================
   CENTROS DE ATENCIÓN - DISEÑO MODERNO
   ======================================== */

/* Header de la sección */
.locations-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.locations-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--color-accent);
}

.locations-badge svg {
    flex-shrink: 0;
}

.locations-header .section-subtitle strong {
    color: var(--color-primary);
}

/* Estadísticas */
.locations-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--color-bg);
    border: 3px solid var(--color-border);
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid de ubicaciones */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Tarjetas de ubicación */
.location-item {
    background: var(--color-bg);
    border: 3px solid var(--color-border);
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.location-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.location-item:hover::before {
    transform: scaleX(1);
}

/* Ubicación destacada (Querétaro) */
.location-item-featured {
    border-color: var(--color-accent);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.location-item-featured::before {
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-secondary);
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid #047857;
}

/* Icono de ubicación */
.location-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 30px 20px;
    border-radius: 0;
    border: 3px solid var(--color-accent);
    position: relative;
    flex-shrink: 0;
}

.location-icon-wrapper svg {
    color: white;
    stroke-width: 2.5;
}

/* Contenido de la ubicación */
.location-content {
    padding: 0 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-title {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin: 0 0 8px 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.location-region {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

.location-address {
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.location-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--color-bg-light);
}

.location-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.3px;
}

/* CTA de acción */
.locations-cta {
    margin-top: 70px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.locations-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.locations-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.locations-cta h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.locations-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.locations-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.locations-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.05rem;
}

.locations-cta-buttons .btn svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .locations-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .location-item {
        border-width: 2px;
    }
    
    .location-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 25px 25px 15px;
    }
    
    .location-content {
        padding: 0 25px 25px;
    }
    
    .location-title {
        font-size: 1.2rem;
    }
    
    .featured-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .locations-cta {
        padding: 40px 25px;
        margin-top: 50px;
    }
    
    .locations-cta h3 {
        font-size: 1.5rem;
    }
    
    .locations-cta p {
        font-size: 1rem;
    }
    
    .locations-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .locations-cta-buttons .btn {
        width: 100%;
    }
    
    .locations-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

/* ========================================
   AVISO IMPORTANTE
   ======================================== */
.notice-box {
    background: #fef3c7;
    border-left: 6px solid #f59e0b;
    padding: 30px 35px;
    border-radius: 0;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: none;
    border-right: 1px solid #f59e0b;
    border-top: 1px solid #f59e0b;
    border-bottom: 1px solid #f59e0b;
}

.notice-box h3 {
    color: #92400e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-box h3::before {
    content: '⚠️';
    font-size: 1.5rem;
}

.notice-box p {
    color: #78350f;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-section {
    background: var(--color-primary);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    animation: none;
}

.cta-header {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

.cta-lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* Beneficios del CTA */
.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.cta-benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 22px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: all 0.2s ease;
}

.cta-benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: var(--color-secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: none;
    border: 2px solid white;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    color: white;
    font-size: 1rem;
    margin-bottom: 3px;
}

.benefit-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Acciones del CTA */
.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Trust badge */
.cta-trust {
    position: relative;
    z-index: 1;
}

.cta-trust p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 70px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ========================================
   FORMULARIO
   ======================================== */
.form-container {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-bg);
    padding: 60px 50px;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-primary);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--color-border);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: var(--color-bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
    background-color: var(--color-bg);
    border-width: 3px;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.form-submit {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Mensajes */
.message-box {
    padding: 22px 28px;
    border-radius: 0;
    margin-bottom: 25px;
    border-left: 5px solid;
    border-top: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.message-success {
    background-color: #d1fae5;
    border-color: var(--color-secondary);
    color: #065f46;
}

.message-error {
    background-color: #fee2e2;
    border-color: #dc2626;
    color: #991b1b;
}

.message-info {
    background-color: #dbeafe;
    border-color: var(--color-accent);
    color: #1e40af;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-notice {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 22px;
    border-radius: 0;
    margin-top: 30px;
    border-left: 4px solid var(--color-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-notice p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Móviles */
@media (max-width: 768px) {
    /* Header */
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-bg);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 500px;
        padding: 20px 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 20px;
    }
    
    .btn-header {
        margin: 10px 20px;
        display: block;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .hero-content {
        padding: 40px 25px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Secciones */
    .section {
        padding: 50px 20px;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.25rem; }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Iconos en móvil */
    .service-icon,
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    /* Grids */
    .services-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .process-step {
        padding: 35px 25px;
    }
    
    /* Formulario */
    .form-container {
        padding: 30px 20px;
        border-width: 2px;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
    
    /* CTA Benefits - ya declarado arriba pero aseguramos */
    .cta-benefits {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 16px 35px;
        font-size: 1.05rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .afore-text h2 {
        font-size: 1.6rem;
    }
    
    .service-card,
    .location-card,
    .process-step {
        padding: 25px 20px;
    }
    
    .form-container {
        padding: 25px 15px;
    }
}

@media (min-width: 769px) {
    .logo-text {
        display: block;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
