/**
 * EuVi Seguros - Estilos Premium
 * Diseño moderno, elegante y profesional
 * Paleta: Azul marino, Dorado champagne, Blanco hueso
 */

/* ============================================
   IMPORTS & VARIABLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
    /* Colores principales - Paleta premium */
    --navy-900: #0a1628;
    --navy-800: #0f1f38;
    --navy-700: #162a4a;
    --navy-600: #1e3a5f;
    --navy-500: #2a4a73;
    
    /* Dorados elegantes */
    --gold-500: #c9a227;
    --gold-400: #d4b43a;
    --gold-300: #e0c85c;
    --gold-200: #ebdb8a;
    --gold-100: #f5edbe;
    
    /* Neutros sofisticados */
    --cream: #faf9f6;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Estados */
    --success: #2d6a4f;
    --error: #c92a2a;
    --warning: #e67700;
    
    /* Tipografía */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Tamaños */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    --text-6xl: clamp(3.75rem, 2.5rem + 6.25vw, 6.5rem);
    
    /* Espaciado */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;
    
    /* Bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Sombras premium */
    --shadow-sm: 0 1px 2px 0 rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.08), 0 2px 4px -2px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.1), 0 4px 6px -4px rgba(10, 22, 40, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.12), 0 8px 10px -6px rgba(10, 22, 40, 0.04);
    --shadow-gold: 0 4px 20px -2px rgba(201, 162, 39, 0.3);
    --shadow-gold-lg: 0 8px 30px -4px rgba(201, 162, 39, 0.4);
    
    /* Transiciones */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Selección de texto */
::selection {
    background: var(--gold-200);
    color: var(--navy-900);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-600);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy-500);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 980px;
}

.section {
    padding: var(--space-32) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-500);
    margin-bottom: var(--space-4);
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold-500);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--navy-900);
    margin-bottom: var(--space-5);
    line-height: 1.15;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
    background: var(--navy-900);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border: 2px solid var(--navy-900);
}

.btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-base);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-3) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: var(--text-xl);
    transition: all 0.4s var(--ease-out);
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: var(--shadow-gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--navy-900);
}

.logo-text span {
    color: var(--gold-500);
}

/* Navegación */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-10);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy-900);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
}

/* ============================================
   HERO SECTION - Premium
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--gold-300);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--gold-400);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 600;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: var(--space-6);
}

.hero-title .highlight {
    color: var(--gold-400);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    opacity: 0.3;
    border-radius: var(--radius-full);
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.hero-image-main {
    width: 100%;
    border-radius: var(--radius-3xl);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.hero-image-ring {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-3xl);
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    z-index: 3;
}

.hero-floating-card.card-1 {
    top: 5%;
    left: -30px;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-2 {
    bottom: 10%;
    right: -20px;
    animation: float 4s ease-in-out infinite 2s;
}

.floating-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.floating-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.floating-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--navy-900);
}

.floating-text {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   SEGUROS SECTION
   ============================================ */
.seguros {
    background: var(--cream);
}

.seguros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.seguro-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    border: 1px solid var(--gray-200);
}

.seguro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out);
}

.seguro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.seguro-card:hover::before {
    transform: scaleX(1);
}

.seguro-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--gold-400);
    font-size: var(--text-3xl);
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.seguro-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--gold-200);
    border-radius: var(--radius-2xl);
    opacity: 0;
    transition: all 0.5s var(--ease-out);
}

.seguro-card:hover .seguro-icon {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--navy-900);
    transform: scale(1.05);
}

.seguro-card:hover .seguro-icon::after {
    opacity: 1;
    transform: scale(1.1);
}

.seguro-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--navy-900);
}

.seguro-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.seguro-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold-500);
    transition: all 0.3s var(--ease-out);
}

.seguro-link i {
    transition: transform 0.3s var(--ease-out);
}

.seguro-link:hover {
    color: var(--gold-400);
    gap: var(--space-3);
}

.seguro-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   CÓMO FUNCIONA
   ============================================ */
.como-funciona {
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed var(--gold-300);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}

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

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--navy-700);
    font-size: var(--text-xl);
    transition: all 0.4s var(--ease-out);
}

.step-item:hover .step-icon {
    background: var(--navy-900);
    color: var(--gold-400);
    transform: scale(1.1);
}

.step-item h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--navy-900);
}

.step-item p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ============================================
   BENEFICIOS
   ============================================ */
.beneficios {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.beneficios::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.beneficios .section-label {
    color: var(--gold-400);
}

.beneficios .section-label::before {
    background: var(--gold-400);
}

.beneficios .section-title {
    color: var(--white);
}

.beneficios .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.beneficio-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all 0.5s var(--ease-out);
    backdrop-filter: blur(10px);
}

.beneficio-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold-500);
    transform: translateX(8px);
}

.beneficio-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: var(--text-xl);
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}

.beneficio-card:hover .beneficio-icon {
    transform: scale(1.1) rotate(5deg);
}

.beneficio-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.beneficio-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
    background: var(--cream);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    transition: all 0.5s var(--ease-out);
    border: 1px solid var(--gray-200);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.testimonio-quote {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--text-4xl);
    color: var(--gold-200);
    opacity: 0.5;
}

.testimonio-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-5);
}

.testimonio-rating i {
    color: var(--gold-500);
    font-size: var(--text-sm);
}

.testimonio-text {
    color: var(--gray-700);
    font-size: var(--text-base);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: var(--space-6);
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid var(--gray-200);
}

.testimonio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-200);
}

.testimonio-info h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--navy-900);
    margin-bottom: var(--space-1);
}

.testimonio-info span {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    background: var(--white);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-16);
    align-items: start;
}

.contacto-info-wrapper {
    position: sticky;
    top: 120px;
}

.contacto-info-wrapper h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    color: var(--navy-900);
}

.contacto-info-wrapper > p {
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contacto-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: var(--text-lg);
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}

.contacto-item:hover .contacto-item-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.contacto-item-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--navy-900);
    margin-bottom: var(--space-1);
}

.contacto-item-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.contacto-horario {
    background: var(--cream);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    border-left: 4px solid var(--gold-500);
}

.contacto-horario h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--navy-900);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.contacto-horario h4 i {
    color: var(--gold-500);
}

.contacto-horario p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
}

/* Formulario */
.contacto-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-10);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

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

.form-select {
    cursor: pointer;
    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='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: var(--space-10);
}

.form-submit {
    width: 100%;
    padding: var(--space-5);
    font-size: var(--text-base);
}

/* Mensajes */
.form-message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
    font-size: var(--text-sm);
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(45, 106, 79, 0.08);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(201, 42, 42, 0.08);
    border: 1px solid var(--error);
    color: var(--error);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    color: var(--white);
    padding-top: var(--space-24);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: var(--space-5);
}

.footer-brand .logo-icon {
    background: var(--gold-500);
    color: var(--navy-900);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-base);
    transition: all 0.4s var(--ease-out);
}

.social-link:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    transform: translateY(-4px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-500);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s var(--ease-out);
}

.footer-link::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--gold-500);
    transition: all 0.3s var(--ease-out);
    opacity: 0;
}

.footer-link:hover {
    color: var(--gold-400);
    padding-left: var(--space-2);
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-contact-item i {
    color: var(--gold-500);
    font-size: var(--text-base);
    margin-top: var(--space-1);
    flex-shrink: 0;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-bottom {
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    transition: color 0.3s var(--ease-out);
}

.footer-legal a:hover {
    color: var(--gold-400);
}

/* ============================================
   ANIMACIONES
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s var(--ease-out);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s var(--ease-out);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-out);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .seguros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container::before {
        display: none;
    }
    
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-info-wrapper {
        position: static;
        order: 1;
    }
    
    .contacto-form-wrapper {
        order: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: var(--space-6);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s var(--ease-out);
        gap: var(--space-4);
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: var(--space-4);
    }
    
    .nav-cta {
        display: flex;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .seguros-grid,
    .steps-container,
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .section {
        padding: var(--space-20) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
    
    .contacto-form-wrapper {
        padding: var(--space-6);
    }
}

/* ============================================
   UTILIDADES ADICIONALES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
