/* ==========================================================================
   GABINETE 89 - REGULARIZACIÓN EXTRAORDINARIA 2026 - BRAND COLORS
   ========================================================================== */

/* CSS Variables */
:root {
    /* Colors - Gabinete 89 Brand Colors */
    --primary-color: #1e3a5f;        /* Azul oscuro del fondo */
    --primary-light: #2d4f73;        /* Azul más claro */
    --primary-dark: #142942;         /* Azul más oscuro */
    --primary-gradient: linear-gradient(135deg, #1e3a5f, #142942);
    
    --secondary-color: #c49b3a;      /* Dorado/oro de los elementos destacados */
    --secondary-light: #d4af37;      /* Dorado más claro */
    --secondary-dark: #b8941e;       /* Dorado más oscuro */
    --secondary-gradient: linear-gradient(135deg, #d4af37, #c49b3a);
    
    --accent-color: #059669;         /* Verde para elementos de éxito */
    --warning-color: #d97706;        /* Naranja para advertencias */
    --info-color: #0ea5e9;          /* Azul claro para información */
    --error-color: #dc2626;         /* Rojo para errores */

    --text-primary: #1f2937;        /* Texto principal oscuro */
    --text-secondary: #6b7280;      /* Texto secundario */
    --text-light: #9ca3af;          /* Texto claro */
    --text-white: #ffffff;          /* Texto blanco */
    --text-gold: #c49b3a;           /* Texto dorado */

    --bg-primary: #ffffff;          /* Fondo principal blanco */
    --bg-secondary: #f8fafc;        /* Fondo secundario muy claro */
    --bg-tertiary: #f1f5f9;         /* Fondo terciario */
    --bg-dark: #1e3a5f;             /* Fondo oscuro azul */
    --bg-gold: #c49b3a;             /* Fondo dorado */
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --bg-hero-gradient: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(20, 41, 66, 0.9));

    --border-color: #e2e8f0;        /* Borde estándar */
    --border-gold: #c49b3a;         /* Borde dorado */

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1400px;
    --container-padding: 1.5rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Effects */
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth; 
    font-size: 16px;
    /* Fix for mobile viewport units */
    height: -webkit-fill-available;
}

body { 
    font-family: var(--font-primary); 
    line-height: 1.6; 
    color: var(--text-primary); 
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    padding-top: 0; /* Remove any default padding */
    /* Fix for mobile viewport units */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

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

/* Skip Link */
.skip-link {
    position: absolute; 
    top: -40px; 
    left: 6px;
    background: var(--primary-color); 
    color: white; 
    padding: 8px;
    text-decoration: none; 
    border-radius: 4px; 
    z-index: 1000;
    transition: top var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.skip-link:focus { 
    top: 6px; 
    opacity: 1;
    visibility: visible;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header { margin-bottom: var(--space-4xl); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Secondary button on dark backgrounds (like hero) */
.hero .btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.hero .btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.cta-actions .btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.cta-actions .btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    order: 2; /* Logo en el centro en móvil */
}

.mobile-menu-toggle {
    order: 1; /* Hamburguesa a la izquierda */
}

.navbar-menu {
    order: 3; /* Menú/CTA a la derecha */
}

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

.logo-img {
    width: 48px;
    height: 48px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    transition: all var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Use dynamic viewport height for better mobile support */
    display: flex;
    align-items: center;
    color: var(--text-white);
    overflow: hidden;
    padding: 6rem 0 4rem; /* Add padding to ensure content is visible */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-hero-gradient);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

/* Countdown Section */
.countdown-section {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-4xl) 0;
    text-align: center;
}

.countdown-content h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    justify-items: center;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    min-width: 120px;
    text-align: center;
    transition: all var(--transition-normal);
}

.countdown-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.countdown-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-light);
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: transform 0.2s ease;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
}

.countdown-warning {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    font-size: 1rem;
    margin: 0 auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

/* Timeline Section */
.timeline-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: var(--space-2xl);
}

.timeline-icon {
    position: relative;
    z-index: 2;
    width: 4rem;
    height: 4rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-xl);
    box-shadow: 0 0 0 8px var(--bg-secondary);
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.timeline-content {
    flex: 1;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.timeline-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.timeline-features {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Requirements Section */
.requirements-section {
    padding: var(--space-4xl) 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.requirement-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition-normal);
}

.requirement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.requirement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.requirement-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.requirement-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.requirement-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.requirement-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.note-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.requirement-benefits {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-top: var(--space-2xl);
    text-align: center;
}

.requirement-benefits h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-primary);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.benefit-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Services Section */
.services-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.service-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: var(--space-lg);
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-card.featured .service-title {
    color: var(--text-white);
}

.service-price {
    text-align: right;
}

.price-amount {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.service-card.featured .price-amount {
    color: var(--secondary-light);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-guarantee {
    background: rgba(196, 155, 58, 0.1);
    border: 1px solid rgba(196, 155, 58, 0.2);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.service-card.featured .service-guarantee {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.guarantee-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-card.featured .guarantee-icon {
    color: var(--secondary-light);
}

.guarantee-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-card.featured .guarantee-text {
    color: rgba(255, 255, 255, 0.9);
}

.service-action {
    margin-top: var(--space-xl);
}

.services-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.info-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.info-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
    color: var(--secondary-color);
}

.info-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Enhanced Services Info Cards */
.info-card.enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card.enhanced:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 155, 58, 0.2);
    box-shadow: 0 12px 32px rgba(196, 155, 58, 0.15);
}

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

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*margin-bottom: var(--space-lg);*/
}

.info-icon-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    margin: 0 auto;
}

.info-logo {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.info-card.enhanced:hover .info-logo {
    opacity: 1;
}

.info-card.enhanced .info-icon {
    font-size: 2rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(196, 155, 58, 0.2));
}

.info-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.info-highlight {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(196, 155, 58, 0.1);
    border: 1px solid rgba(196, 155, 58, 0.2);
    border-radius: 20px;
    margin-top: var(--space-sm);
}

.highlight-text {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dates Section */
.dates-section {
    padding: var(--space-4xl) 0;
}

.timeline-dates {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-dates::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom,
        #9ca3af 25%,
        var(--secondary-color) 25% 50%,
        var(--secondary-light) 50% 75%,
        var(--error-color) 75%);
    border-radius: 2px;
}

.date-item {
    position: relative;
    display: flex;
    margin-bottom: var(--space-2xl);
}

.date-marker {
    position: relative;
    z-index: 2;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-xl);
    box-shadow: 0 0 0 8px var(--bg-primary);
    transition: all var(--transition-normal);
}

.date-item.past .date-marker {
    background: #9ca3af;
    border: 3px solid #6b7280;
}

.date-item.current .date-marker {
    background: var(--secondary-color);
    border: 3px solid var(--secondary-dark);
    animation: pulse 2s infinite;
}

.date-item.upcoming .date-marker {
    background: var(--secondary-light);
    border: 3px solid var(--secondary-color);
}

.date-item.critical .date-marker {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    animation: pulseRed 2s infinite;
}

.date-content {
    flex: 1;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.date-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.date-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.status-tag {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.status-tag.completed {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.status-tag.current {
    background: rgba(196, 155, 58, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(196, 155, 58, 0.3);
}

.status-tag.upcoming {
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-tag.deadline {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
    font-weight: 700;
}

.status-tag.process {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.date-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.key-requirements-notice {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(196, 155, 58, 0.02));
    border: 2px solid rgba(196, 155, 58, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    text-align: center;
}

.key-requirements-notice .notice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.key-requirements-notice .notice-icon {
    font-size: 2rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-requirements-notice h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.key-requirements-notice p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-xl);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: var(--space-md);
    font-weight: normal;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
    opacity: 1;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease 0.1s;
}

.faq-answer p {
    margin-bottom: var(--space-md);
}

.faq-answer ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.faq-answer li {
    margin-bottom: var(--space-sm);
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    color: var(--text-white);
    text-align: center;
    padding: var(--space-4xl) 0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.cta-text {
    margin-bottom: var(--space-2xl);
}

.cta-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.important-notice {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.notice-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--bg-primary);
    transition: all var(--transition-normal);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.checkbox-label,
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-input,
.radio-input {
    display: none;
}

.checkbox-mark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-input:checked + .checkbox-mark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.checkbox-input:checked + .checkbox-mark::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

.radio-input:checked + .radio-mark {
    border-color: var(--primary-color);
}

.radio-input:checked + .radio-mark::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-pricing-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.pricing-details h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.price-line.total {
    border-top: 2px solid var(--border-color);
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    font-size: 1.1rem;
}

.price-value {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--primary-color);
}

.total-amount {
    color: var(--secondary-color) !important;
    font-size: 1.2rem;
}

.pricing-note {
    background: rgba(196, 155, 58, 0.1);
    color: var(--secondary-color);
    padding: var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    border: 1px solid rgba(196, 155, 58, 0.2);
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    align-items: start;
}

.footer-info {
    /* First column - takes more space */
}

.footer-nav {
    /* Navigation columns */
}

.footer-section {
    /* Individual sections within nav columns */
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-contact p {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
    color: var(--secondary-light);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--text-white);
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-links button {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    transition: color var(--transition-normal);
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-gradient);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Success Notifications */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    background: var(--accent-color);
    color: white;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 300px;
    max-width: 500px;
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-message {
    flex-grow: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(196, 155, 58, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(196, 155, 58, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(196, 155, 58, 0);
    }
}

@keyframes pulseRed {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 8rem 0 4rem; /* Increase top padding for mobile */
        align-items: flex-start;
        justify-content: center;
    }
    
    .hero-content {
        padding-top: 2rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        padding: var(--space-xl);
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
    }

    .navbar-nav li {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .countdown {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--space-md);
    }
    
    .countdown-item {
        min-width: 100px;
        padding: var(--space-md);
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .timeline-icon,
    .date-marker {
        width: 3rem;
        height: 3rem;
        margin-right: var(--space-lg);
    }
    
    .process-timeline::before,
    .timeline-dates::before {
        left: 1.5rem;
    }
    
    .step-number {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .important-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .date-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .modal-content {
        width: 95%;
        margin: var(--space-md);
        max-height: calc(100vh - 2rem);
    }

    .modal-header {
        padding: var(--space-lg) var(--space-lg) var(--space-md);
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
    }

    .success-notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification-content {
        min-width: unset;
    }
    
    .info-card.enhanced {
        padding: var(--space-lg);
    }
    
    .info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .info-icon-wrapper {
        align-self: center;
    }
    
    .key-requirements-notice .notice-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 3rem;
        min-height: 100vh;
        min-height: 100svh; /* Use small viewport height for better mobile support */
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-cta .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles {
        animation: none;
    }
    
    .countdown-item.current .date-marker {
        animation: none;
    }
}


/* ==========================================================================
   TEAM SECTION STYLES
   ========================================================================== */

.team-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

/* Team Card */
.team-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(196, 155, 58, 0.2);
    border-color: #c49b3a;
}

.team-card.featured {
    border: 3px solid #c49b3a;
    box-shadow: 0 8px 32px rgba(196, 155, 58, 0.2);
}

.team-card.featured::before {
    content: 'Socio Fundador';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37, #c49b3a);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(196, 155, 58, 0.3);
}

/* Team Image */
.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f, #142942);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: center 25%;
}

.team-card:hover .team-image {
    transform: scale(1.08);
}

.team-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
    border: 2px solid rgba(196, 155, 58, 0.3);
}

.team-badge .badge-icon {
    font-size: 1rem;
}

/* Team Content */
.team-content {
    padding: 2rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.team-title {
    font-size: 1rem;
    font-weight: 600;
    color: #c49b3a;
    margin-bottom: 0.3rem;
}

.team-specialty {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Team Stats */
.team-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(196, 155, 58, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(196, 155, 58, 0.15);
}

.stat-item-team {
    flex: 1;
    text-align: center;
}

.stat-number-team {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #c49b3a;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label-team {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Description */
.team-description {
    margin-top: 1.5rem;
}

.team-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

/* Team Guarantee Section */
.team-guarantee-section {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-guarantee-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(196, 155, 58, 0.15);
    transition: all 0.3s ease;
}

.team-guarantee-card:hover {
    border-color: #c49b3a;
    box-shadow: 0 12px 28px rgba(196, 155, 58, 0.15);
    transform: translateY(-5px);
}

.guarantee-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-guarantee-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.team-guarantee-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 4rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-card.featured::before {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
        top: 15px;
        right: 15px;
    }

    .team-image-wrapper {
        height: 320px;
    }

    .team-content {
        padding: 1.5rem;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .team-guarantee-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .team-guarantee-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .team-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        bottom: 15px;
        left: 15px;
    }

    .stat-number-team {
        font-size: 1.5rem;
    }

    .stat-label-team {
        font-size: 0.7rem;
    }
}

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

.team-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.team-card:nth-child(1) {
    animation-delay: 0.1s;
}

.team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Desktop - Reset navbar order */
@media (min-width: 769px) {
    .navbar-brand {
        order: 1 !important;
    }
    
    .mobile-menu-toggle {
        order: 2 !important;
    }
    
    .navbar-menu {
        order: 3 !important;
    }
}
