/* ========================================
   LANDING PAGE - DISEÑO MODERNO 2026
   HOMENET TEMA v1.3
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ========================================
   VARIABLES CSS MODERNAS
======================================== */

:root {
    --color-primary: #fff908;
    --color-primary-dark: #e6df07;
    --color-dark: #0a0a0a;
    --color-dark-light: #1a1a1a;
    --color-gray: #888;
    --color-gray-light: #f5f5f5;
    --color-white: #ffffff;

    --gradient-primary: linear-gradient(135deg, #fff908 0%, #ffd700 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.24);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
======================================== */

a {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ========================================
   SLIDER HERO - DISEÑO MODERNO
======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    max-height: 700px;
    overflow: hidden;
    background: var(--color-dark);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.45, 0, 0.15, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Imagen con efecto parallax */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transition: transform 8s ease-out, filter var(--transition-normal);
}

.slide.active img {
    animation: slowZoom 8s ease-out forwards;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.slide:hover img {
    filter: brightness(0.85);
}

/* Overlay gradient moderno */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 1;
}

/* Contenido del slide - Diseño moderno */
.slide-content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    z-index: 2;
    max-width: 600px;
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.slide-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #fff908 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.slide-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 32px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    animation: slideInLeft 0.8s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Botón moderno con efectos glassmorphism */
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: var(--color-dark);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 249, 8, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.slide-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.slide-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(255, 249, 8, 0.4);
}

.slide-btn:hover::before {
    opacity: 1;
}

.slide-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* ========================================
   CONTROLES DEL SLIDER - REDISEÑADOS
======================================== */

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 3;
}

.slider-arrow {
    width: 56px;
    height: 56px;
    font-size: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 249, 8, 0.4);
}

.slider-arrow:active {
    transform: scale(0.95);
}

/* ========================================
   DOTS MODERNOS
======================================== */

.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 60px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.slider-dots button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slider-dots .active-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
    width: 32px;
    border-radius: 8px;
}

/* ========================================
   BANNER DE ATENCIÓN - DISEÑO MODERNO
======================================== */

.att-banner {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
    background: linear-gradient(135deg, rgba(255,249,8,0.05) 0%, rgba(255,249,8,0.02) 100%);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 249, 8, 0.1);
}

.att-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,249,8,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.att-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

.att-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.att-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.att-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    z-index: -1;
}

.att-btn:hover {
    color: var(--color-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 249, 8, 0.3);
}

.att-btn:hover::before {
    transform: scaleX(1);
}

/* ========================================
   SECTION FEATURES - DISEÑO MODERNO
======================================== */

.att-diferencia {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.att-titles {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 60px;
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.att-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Imagen con efecto moderno */
.att-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.att-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
    mix-blend-mode: overlay;
}

.att-image-wrapper:hover::before {
    opacity: 0.2;
}

.att-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
    display: block;
}

.att-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Items modernos con glassmorphism */
.att-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.att-item {
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.att-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.att-item:hover {
    border-color: rgba(255, 249, 8, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.att-item:hover::before {
    transform: scaleY(1);
}

.att-item.active {
    background: linear-gradient(135deg, rgba(255,249,8,0.1) 0%, rgba(255,249,8,0.05) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(255, 249, 8, 0.2);
}

.att-item.active::before {
    transform: scaleY(1);
}

/* Icono moderno */
.att-icon {
    font-size: 32px;
    background: var(--gradient-dark);
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 249, 8, 0.2);
    transition: all var(--transition-normal);
}

.att-item:hover .att-icon,
.att-item.active .att-icon {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    transform: scale(1.1) rotate(5deg);
}

.att-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.att-text p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.att-arrow {
    font-size: 24px;
    color: var(--color-primary);
    align-self: center;
    transition: all var(--transition-normal);
    opacity: 0.6;
}

.att-item:hover .att-arrow,
.att-item.active .att-arrow {
    transform: translateX(8px);
    opacity: 1;
}

/* ========================================
   FAQ SECTION - DISEÑO MODERNO
======================================== */

.faq-section {
    width: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(26,26,26,0.8) 100%),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920') no-repeat center/cover;
    background-attachment: fixed;
    padding: 80px 40px;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,249,8,0.1) 0%, transparent 50%);
}

.faq-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Columna izquierda - Info */
.faq-info {
    width: 40%;
    color: var(--color-white);
    position: sticky;
    top: 100px;
}

.faq-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.faq-info p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--color-dark);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 24px rgba(255, 249, 8, 0.3);
}

.faq-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 249, 8, 0.4);
}

/* Columna derecha - Lista FAQ */
.faq-list {
    width: 60%;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 20px;
}

/* Scrollbar moderno */
.faq-list::-webkit-scrollbar {
    width: 6px;
}

.faq-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.faq-list::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(255, 249, 8, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 24px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question span {
    font-size: 28px;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.faq-item:hover .faq-question span {
    transform: scale(1.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    transition: all var(--transition-normal);
}

.faq-answer.active {
    padding: 0 28px 24px 28px;
    max-height: 300px;
}

/* ========================================
   TAMBIÉN TE PUEDE INTERESAR - MODERNO
======================================== */

.interesar-section {
    max-width: 1400px;
    margin: 80px auto 100px;
    padding: 0 40px;
}

.interesar-title {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.interesar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card moderno con efectos avanzados */
.interesar-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: var(--color-white);
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.interesar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
    mix-blend-mode: overlay;
}

.interesar-card:hover::before {
    opacity: 0.3;
}

.interesar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform var(--transition-slow);
}

.interesar-card:hover img {
    transform: scale(1.08);
}

/* Gradient overlay mejorado */
.interesar-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 70%,
        rgba(0,0,0,0.9) 100%
    );
    z-index: 2;
}

/* Contenido moderno */
.interesar-content {
    position: absolute;
    bottom: 0;
    padding: 32px;
    color: var(--color-white);
    z-index: 3;
    width: 100%;
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

.interesar-card:hover .interesar-content {
    transform: translateY(-8px);
}

.interesar-content h3 {
    margin: 0 0 12px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.interesar-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin: 0 0 20px 0;
    opacity: 0.95;
    line-height: 1.6;
}

/* Link con efecto */
.interesar-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    padding: 12px 24px;
    background: rgba(255, 249, 8, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 249, 8, 0.3);
    transition: all var(--transition-normal);
}

.interesar-card:hover .interesar-link {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.interesar-link i {
    font-style: normal;
    transition: transform var(--transition-normal);
}

.interesar-card:hover .interesar-link i {
    transform: translateX(6px);
}

/* Hover effects */
.interesar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    border-color: rgba(255, 249, 8, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */

@media (max-width: 1200px) {
    .att-container {
        gap: 40px;
    }

    .faq-container {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero-slider {
        height: 70vh;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .slide-content {
        left: 6%;
        max-width: 500px;
    }

    .att-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .att-image-wrapper {
        order: -1;
    }

    .faq-container {
        flex-direction: column;
        gap: 50px;
    }

    .faq-info,
    .faq-list {
        width: 100%;
    }

    .faq-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .slider-controls {
        bottom: 30px;
        gap: 12px;
    }

    .slider-arrow {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .slider-dots {
        bottom: 30px;
        right: 20px;
    }

    .att-banner {
        padding: 40px 24px;
        margin: 40px 20px;
    }

    .att-diferencia {
        padding: 0 20px;
        margin: 60px auto;
    }

    .att-item {
        grid-template-columns: 60px 1fr 30px;
        gap: 16px;
        padding: 20px;
    }

    .att-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .faq-section {
        padding: 60px 20px;
    }

    .faq-list {
        padding-right: 10px;
    }

    .interesar-section {
        padding: 0 20px;
        margin: 60px auto 80px;
    }

    .interesar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .interesar-card {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .att-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .att-icon {
        margin: 0 auto;
    }

    .att-arrow {
        display: none;
    }

    .interesar-card {
        height: 320px;
    }
}
