/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

/* ===== SECTION SPACING ===== */
/* Each section gets consistent vertical padding */
.section { padding: 5rem 0; }
.section--dark { background-color: var(--color-dark); color: var(--color-white); }
.section--gold { background-color: var(--color-primary); color: var(--color-black); }

/* Section titles */
.section__label {
    font-family: var(--font-semibold); font-size: 14px; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: 0.75rem;
}
.section--dark .section__label { color: var(--color-primary); }
.section__title {
    font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.section--dark .section__title { color: var(--color-white); }

/* ===== 1. HERO ===== */
.hero {
    position: relative;
    min-height: calc(100dvh - 80px);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero__slider {
    position: absolute; inset: 0; z-index: 0;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__slide {
    min-width: 100%; height: 100%;
}
.hero__slide img {
    width: 100%; height: 100%; object-fit: cover;
}
/* Dark gradient overlay on the left side for text */
.hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 600px;
    padding: 0 var(--space-lg);
    color: var(--color-white);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.hero__title span { color: var(--color-primary); }
.hero__text {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero__actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
}
/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: var(--font-semibold);
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: var(--color-primary); color: var(--color-black);
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
}
.btn--primary:hover { box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4); }
.btn--outline {
    background: transparent; color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }
.btn--dark {
    background: var(--color-black); color: var(--color-white);
}
.btn--outline-dark {
    background: transparent; color: var(--color-black);
    border: 1.5px solid var(--color-black);
}
.btn--outline-dark:hover { background: var(--color-black); color: var(--color-white); }

/* Hero dots */
.hero__dots {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; gap: 8px;
}
.hero__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero__dot.hero__dot--active {
    background: var(--color-primary); transform: scale(1.2);
}

/* ===== 2. STATS BAR ===== */
.stats {
    background: var(--color-gray-700);
    padding: 3rem 0;
}
.stats__grid {
    display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
}
.stat {
    text-align: center;
}
.stat__number {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat__label {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== 3. PRODUCTS GRID ===== */
.products { background: var(--color-white); }
.products__header {
    text-align: center; margin-bottom: 3rem;
}
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.products__grid--secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Product card */
.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-black);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--color-gray-200);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}
.product-card__image {
    width: 100%; aspect-ratio: 4/3; overflow: hidden;
}
.product-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card__image img {
    transform: scale(1.04);
}
.product-card__body {
    padding: 1.25rem 1.5rem;
}
.product-card__name {
    font-family: var(--font-semibold);
    font-size: 17px;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.product-card__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.5;
}
.product-card__arrow {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
    color: var(--color-primary);
    font-size: 18px;
}
.product-card:hover .product-card__arrow { transform: translateX(3px); }

.products__footer { text-align: center; }
.products__link {
    font-family: var(--font-semibold);
    color: var(--color-black);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}
.products__link:hover { color: var(--color-gray-600); }

/* ===== 4. VALUE PROPOSITION ===== */
.value__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
}
.value__text { max-width: 520px; }
.value__list {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.value__list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}
.value__list li::before {
    content: '';
    position: absolute; left: 0; top: 1.1rem;
    width: 8px; height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
}
.value__image {
    border-radius: 16px; overflow: hidden;
}
.value__image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    aspect-ratio: 4/3;
}

/* ===== 5. CLIENTS ===== */
.clients__header { text-align: center; margin-bottom: 2rem; }
.clients__subtitle {
    font-family: var(--font-body); font-size: 16px; color: var(--color-gray-600);
    max-width: 600px; margin: 0 auto; line-height: 1.6;
}
.clients__logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 2rem 3rem;
}
.clients__logos img {
    height: 45px; width: auto; object-fit: contain;
    filter: grayscale(100%); opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.clients__logos img:hover {
    filter: grayscale(0); opacity: 1;
}

/* ===== 6. ABOUT PREVIEW ===== */
.about__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
}
.about__text p {
    font-family: var(--font-body); font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,0.85); margin-bottom: 2rem;
}
.about__slider-wrap {
    border-radius: 16px; overflow: hidden;
    position: relative;
}
.about__slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about__slide {
    min-width: 100%;
}
.about__slide img {
    width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.about__dots {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.about__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: background 0.3s ease;
}
.about__dot.about__dot--active { background: var(--color-primary); }
.about__nav {
    position: absolute; top: 50%; width: 100%;
    display: flex; justify-content: space-between;
    transform: translateY(-50%); padding: 0 0.5rem;
    pointer-events: none;
}
.about__nav button {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.5); border: none; cursor: pointer;
    color: white; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: auto;
    transition: background 0.2s ease;
}
.about__nav button:hover { background: rgba(0,0,0,0.7); }

/* ===== 7. TESTIMONIALS ===== */
.testimonials__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.testimonial-card__quote {
    font-family: var(--font-body);
    font-size: 15px; line-height: 1.7;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-card__quote::before { content: '\201C'; }
.testimonial-card__quote::after { content: '\201D'; }
.testimonial-card__author {
    font-family: var(--font-semibold);
    font-size: 15px; color: var(--color-black);
}
.testimonial-card__role {
    font-family: var(--font-body);
    font-size: 13px; color: var(--color-gray-400);
    margin-top: 0.15rem;
}

/* ===== 8. FAQ ===== */
.faq { background: var(--color-light); }
.faq__header { text-align: center; margin-bottom: 2.5rem; }
.faq__list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.pregunta {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    transition: border-color 0.2s ease;
}
.pregunta.open { border-color: var(--color-primary); }
.btn_pregunta {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-semibold);
    font-size: 16px;
    color: var(--color-black);
    text-align: left;
}
.btn_pregunta svg {
    width: 20px; height: 20px; flex-shrink: 0;
    stroke: var(--color-gray-400);
    transition: transform 0.3s ease, stroke 0.3s ease;
}
.pregunta.open .btn_pregunta svg {
    transform: rotate(180deg);
    stroke: var(--color-primary);
}
.respuesta {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pregunta.open .respuesta { max-height: 500px; }
.respuesta p {
    padding: 0 1.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 15px; line-height: 1.7;
    color: var(--color-gray-600);
}

/* ===== 9. CTA BANNER ===== */
.cta-banner {
    background: var(--color-primary);
    padding: 4rem 0;
    text-align: center;
}
.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--color-black);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.cta-banner__actions {
    display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 960px) {
    .hero__content { padding: 0 var(--space-md); }
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .products__grid--secondary { grid-template-columns: 1fr; max-width: 400px; }
    .value__grid { grid-template-columns: 1fr; gap: 2rem; }
    .value__image { max-width: 500px; }
    .about__grid { grid-template-columns: 1fr; gap: 2rem; }
    .about__slider-wrap { max-width: 500px; }
    .testimonials__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .stats__grid { gap: 2rem; }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 600px) {
    .section { padding: 3.5rem 0; }
    .hero__content { max-width: 100%; }
    .hero__title { font-size: 28px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .products__grid { grid-template-columns: 1fr; }
    .stats__grid {
        display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
        text-align: center;
    }
    .clients__logos { gap: 1.5rem 2rem; }
    .clients__logos img { height: 35px; }
    .btn_pregunta { font-size: 15px; padding: 1rem 1.25rem; }
    .cta-banner { padding: 3rem 0; }
    .cta-banner__actions { flex-direction: column; align-items: center; }
    .cta-banner__actions .btn { width: 80%; }
}
