/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.05), rgba(124, 58, 237, 0.05));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    animation: float 20s infinite linear;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(1deg); }
    66% { transform: translate(-15px, 15px) rotate(-1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: var(--kinetic-gray);
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--kinetic-border);
}

.hero-image {
    position: relative;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    transform: rotate(-3deg);
}

.hero-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.hero-img:hover {
    transform: translateY(-12px) rotate(0deg);
    box-shadow: var(--shadow-hover);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img:hover img {
    transform: scale(1.1);
}

/* Sección Contacto */
.contact-section {
    background: var(--kinetic-surface);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.02), rgba(124, 58, 237, 0.01));
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.contact-header p {
    color: var(--kinetic-gray);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-form {
    background: var(--kinetic-light);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--kinetic-border);
    box-shadow: var(--shadow-md);
}

/* Atención al Cliente */
.atencion-section {
    background: var(--kinetic-light);
    position: relative;
    padding-top: 140px;
}

.atencion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.atencion-header {
    text-align: center;
    margin-bottom: 60px;
    grid-column: 1 / -1;
}

.atencion-header h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.atencion-header p {
    color: var(--kinetic-gray);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

.separator {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--kinetic-border), transparent);
    margin: 40px 0;
    grid-column: 1 / -1;
}

.politicas-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* IMPORTANTE: Reset para asegurar que NUNCA dos enlaces estén activos */
.nav-links .nav-link:not(.active) {
    color: var(--kinetic-gray) !important;
    font-weight: 500 !important;
}

.nav-links .nav-link:not(.active)::after {
    width: 0 !important;
}

/* Enlace activo mejorado - SIEMPRE VISIBLE */
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.nav-link.active::after {
    width: 100% !important;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light)) !important;
}