/* Proxima Nova - Font Faces */
@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/ProximaNova-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/ProximaNova-Reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/ProximaNova-Sbold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/ProximaNova-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/ProximaNova-Extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --ariston-red: #c41230;
    --ariston-dark: #0F172A;
    --ariston-gray: #F8F9FA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    font-size: 20px;
    line-height: 1.4;
}

/* Aumentar tamaño de títulos */
.display-3 {
    font-size: 4.5rem !important;
    line-height: 1 !important;
}

.display-4 {
    font-size: 4rem !important;
}

.display-5 {
    font-size: 3.5rem !important;
    line-height: 1 !important;
}

.display-6 {
    font-size: 3rem !important;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Aumentar tamaño de textos generales */
p {
    font-size: 20px;
}

.fs-5 {
    font-size: 1.5rem !important;
}

.fs-4 {
    font-size: 1.75rem !important;
}

small, .small {
    font-size: 17px;
}

/* Excepto en formularios */
.card h4,
.accordion h5,
form h4,
form h5 {
    font-size: inherit;
}

.form-label {
    font-size: 16px;
}

.bg-ariston-dark { background-color: var(--ariston-dark); }
.bg-ariston-red { background-color: var(--ariston-red); }
.text-ariston-red { color: var(--ariston-red); }

.btn-ariston {
    background-color: var(--ariston-red);
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 2px 8px rgba(196, 18, 48, 0.3);
    transition: all 0.3s ease;
}

.btn-ariston:hover {
    background-color: #CC0010;
    color: white;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.4);
    transform: translateY(-1px);
}

.btn-footer-small {
    font-size: 14px !important;
    padding: 8px 16px !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.92)), url('imagenes/Banner_01_Landing.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0 0;
}

.cashback-badge {
    background-color: var(--ariston-red);
    color: white;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.bottom-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    margin-top: 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Step Cards */
.step-card {
    border: none;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    z-index: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: var(--ariston-red);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-badge-sm {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--ariston-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-cashback-circle {
    position: absolute;
    right: 15px;
    top: 180px;
    background: var(--ariston-red);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1.2;
}

/* Contenedor Scroll Horizontal */
.product-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    margin: 0 auto;
}

/* Estilo personalizado de la barra de scroll */
.product-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.product-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-scroll-container::-webkit-scrollbar-thumb {
    background: var(--ariston-red);
    border-radius: 10px;
}

/* Wrapper de cada tarjeta */
.product-card-wrapper {
    flex: 0 0 100%;
    max-width: 400px;
    scroll-snap-align: start;
}

/* Quitar la flecha estándar del acordeón */
.accordion-button::after {
    background-image: none !important;
    content: '+' !important;
    color: var(--ariston-red);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
}

.accordion-button:not(.collapsed)::after {
    content: '-' !important;
}

.accordion-button:not(.collapsed) {
    color: var(--ariston-red);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hover-white:hover {
    color: white !important;
}

@media (min-width: 768px) {
    .product-card-wrapper {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 992px) {
    .product-card-wrapper {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

.product-cashback-circle {
    position: absolute;
    right: 20px;
    top: 210px;
    background: var(--ariston-red);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1.1;
    z-index: 2;
}

/* Estilos para los pasos del formulario */
.custom-steps .nav-link {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.custom-steps .nav-link.active {
    background-color: var(--ariston-red) !important;
    color: white !important;
    border-color: var(--ariston-red) !important;
}

/* Línea separadora vertical solo en PC ajustada */
@media (min-width: 992px) {
    .divider-vertical {
        position: relative;
    }
    .divider-vertical::after {
        content: '';
        position: absolute;
        right: -3.5rem;
        top: 15%;
        height: 70%;
        width: 1px;
        background-color: #dee2e6;
    }
}
