/**
 * OHANNA SPORTS & GYM — Inicio CSS (Rediseño Visual Oficial)
 * Paleta: Negro Carbón (#201E1E), Rosa Fucsia (#EC268F), Amarillo Vibrante (#FFF212) y Blanco (#FFFFFF)
 */

/* ========================================================
   1. HERO PRINCIPAL Y CARRUSEL CON IDENTIDAD OHANNA
   ======================================================== */
.section-hero-centered {
    background-color: var(--color-background);
    background-image:
        radial-gradient(circle at 88% 12%, rgba(236, 38, 143, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 12% 24%, rgba(255, 242, 18, 0.12) 0%, transparent 38%);
    padding: 2.5rem 0 4.5rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.hero-centered-intro {
    max-width: 920px;
    margin: 0 auto 3rem;
    text-align: center;
}

.hero-centered-title {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4.4vw, 3.65rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--color-primary);
    margin: 0.75rem 0 1.25rem;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-centered-lead {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--color-text-muted);
    line-height: 1.68;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.hero-centered-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

/* Indicadores de Confianza Estilo Deportivo Técnico */
.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
}

.trust-item svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* ========================================================
   CARRUSEL DE PORTADA CON DETALLES GEOMÉTRICOS
   ======================================================== */
.hero-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    aspect-ratio: 16 / 9;
}

/* Barra superior doble estilo logo en el marco del carrusel */
.hero-slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary) 65%, var(--color-accent) 65%, var(--color-accent) 100%);
    z-index: 12;
}

.hero-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide picture {
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(32, 30, 30, 0.92) 0%,
        rgba(32, 30, 30, 0.45) 48%,
        rgba(32, 30, 30, 0.08) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 3rem 5.5rem;
    z-index: 3;
    text-align: left;
}

.slide-caption-box {
    max-width: 650px;
    color: #FFFFFF;
}

.slide-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--color-primary);
    color: var(--color-accent);
    border-left: 4px solid var(--color-secondary);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.slide-headline {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.slide-subheadline {
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.35rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Flechas del Carrusel */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(32, 30, 30, 0.85);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev {
    left: 1.5rem;
}

.slider-arrow-next {
    right: 1.5rem;
}

/* Indicadores / Dots */
.slider-pagination {
    position: absolute;
    bottom: 1.75rem;
    right: 3rem;
    display: flex;
    gap: 0.55rem;
    z-index: 10;
}

.slider-dot {
    position: relative;
    width: 12px;
    height: 6px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transform: skewX(-20deg);
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Área táctil accesible mínima de 24x24px (WCAG 2.2 AA) */
.slider-dot::after {
    content: '';
    position: absolute;
    inset: -10px -6px;
}

.slider-dot.active {
    width: 34px;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(255, 242, 18, 0.6);
}

/* ========================================================
   2. VITRINA DE PRODUCTOS «LO MÁS BUSCADO»
   ======================================================== */
.section-showcase {
    background-color: var(--color-background);
    padding: 5.5rem 0 6rem;
    border-bottom: 1px solid var(--color-border);
}

.showcase-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3.5rem;
}

.product-card {
    background: var(--color-background);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 60%, var(--color-accent) 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 4;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.product-card:hover::before {
    opacity: 1;
}

.product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--color-surface);
}

.product-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.product-gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.product-media picture {
    width: 100%;
    height: 100%;
    display: block;
}

.product-gallery-arrow {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(32, 30, 30, 0.8);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-arrow:hover {
    background: var(--color-secondary);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.08);
}

.product-gallery-prev {
    left: 0.65rem;
}

.product-gallery-next {
    right: 0.65rem;
}

.product-gallery-thumbs {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 4;
}

.product-thumb-btn {
    width: 42px;
    height: 52px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumb-btn.active,
.product-thumb-btn:hover {
    border-color: var(--color-accent);
    transform: scale(1.06);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-left: 3px solid var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.75rem;
    border-radius: 4px;
    z-index: 2;
}

.product-quick-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.15rem 1rem;
    background: linear-gradient(to top, rgba(32, 30, 30, 0.88) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.product-card:hover .product-quick-overlay,
.product-card:focus-within .product-quick-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-add {
    background: var(--color-secondary);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
    width: 92%;
}

.btn-quick-add:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.02);
}

.product-meta {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-color-dots {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(32, 30, 30, 0.25);
    display: inline-block;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 0.45rem;
}

.product-desc {
    font-size: 0.84375rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.product-price::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
}

/* ========================================================
   3. CATEGORÍAS & LÍNEAS DE CONFECCIÓN
   ======================================================== */
.section-categories {
    background-color: var(--color-surface);
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.categories-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.category-card {
    background: var(--color-background);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.category-media {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    background-color: var(--color-primary);
}

.category-media picture {
    width: 100%;
    height: 100%;
}

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

.category-card:hover .category-image {
    transform: scale(1.04);
}

.category-content {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-sub {
    font-family: var(--font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.category-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-link {
    font-family: var(--font-display);
    font-size: 0.84375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--color-secondary);
    transition: gap 0.2s ease, color 0.2s ease;
}

.category-link:hover {
    color: var(--color-secondary);
    gap: 0.65rem;
}

/* ========================================================
   4. SOLUCIONES B2B Y PROYECTOS DE CONFECCIÓN
   ======================================================== */
.section-b2b-projects {
    background-color: var(--color-background);
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.b2b-intro-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.b2b-intro-copy .editorial-section-title::after {
    margin-left: 0;
}

.b2b-lead-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.68;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.b2b-lead-text strong {
    color: var(--color-primary);
}

.b2b-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.85rem;
}

.b2b-subtitle {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    margin-bottom: 2.5rem;
}

.b2b-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.b2b-project-card {
    background: var(--color-surface);
    padding: 2.35rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.b2b-project-card:nth-child(2) {
    border-top-color: var(--color-secondary);
}

.b2b-project-card:hover {
    background: var(--color-background);
    transform: translateY(-5px);
    border-top-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.b2b-card-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--color-primary);
    color: var(--color-accent);
    padding: 0.28rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.9rem;
}

.b2b-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.b2b-card-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.62;
}

/* ========================================================
   5. PILARES & LA VENTAJA OHANNA
   ======================================================== */
.section-pillars {
    background-color: var(--color-surface);
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.pilar-card {
    background: var(--color-background);
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pilar-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.pilar-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-accent);
    background-color: var(--color-primary);
    border-right: 4px solid var(--color-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.15rem;
}

.pilar-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pilar-desc {
    font-size: 0.885rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================================
   6. TALLER & CONFECCIÓN TÉCNICA
   ======================================================== */
.section-atelier {
    background-color: var(--color-background);
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.atelier-editorial-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.atelier-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0.5rem 0 1.25rem;
}

.atelier-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.68;
    margin-bottom: 1.75rem;
}

.atelier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.atelier-features li {
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    padding: 0.85rem 1.15rem 0.85rem 2.25rem;
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-secondary);
    position: relative;
}

.atelier-features li strong {
    color: var(--color-primary);
}

.atelier-features li::before {
    content: '▸';
    position: absolute;
    left: 0.85rem;
    color: var(--color-secondary);
    font-weight: 800;
}

.atelier-image-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--color-primary);
    box-shadow: 12px 12px 0 var(--color-secondary);
    background-color: var(--color-surface);
}

.atelier-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================================
   7. PREGUNTAS FRECUENTES (FAQ ACORDEÓN ACCESIBLE)
   ======================================================== */
.section-faq {
    background-color: var(--color-surface);
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-accordion-list {
    max-width: 880px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--color-secondary);
    border-left: 5px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 1.35rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin: 0;
}

.faq-icon {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: var(--color-surface);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background-color: var(--color-secondary);
    color: #FFFFFF;
}

.faq-answer {
    padding: 0 1.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.68;
    border-top: 1px solid var(--color-border);
    padding-top: 1.1rem;
}

.faq-answer strong {
    color: var(--color-primary);
}

/* ========================================================
   8. RESPONSIVE BREAKPOINTS (MOBILE-FIRST HASTA 320PX)
   ======================================================== */
@media (max-width: 1024px) {
    .showcase-product-grid,
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .categories-editorial-grid,
    .b2b-cards-grid {
        grid-template-columns: 1fr;
    }

    .atelier-editorial-layout,
    .b2b-intro-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section,
    .section-showcase,
    .section-categories,
    .section-b2b-projects,
    .section-pillars,
    .section-atelier,
    .section-faq {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .hero-slider-wrapper {
        aspect-ratio: 4 / 3;
        min-height: 390px;
    }

    .hero-slide-overlay {
        padding: 3.5rem 1.5rem 2.75rem;
    }

    /* En tabletas y móviles, ubicar las flechas en la esquina superior derecha para no cubrir el texto */
    .slider-arrow {
        top: 1rem;
        transform: none;
        width: 38px;
        height: 38px;
    }

    .slider-arrow:hover {
        transform: scale(1.06);
    }

    .slider-arrow-prev {
        left: auto;
        right: 3.65rem;
    }

    .slider-arrow-next {
        right: 0.85rem;
    }

    .slider-pagination {
        right: 1.25rem;
        bottom: 1rem;
    }

    .category-card {
        grid-template-columns: 1fr;
    }

    .category-media {
        min-height: 240px;
    }

    .category-content {
        padding: 1.75rem 1.5rem;
    }

    .product-quick-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .product-gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .atelier-image-frame {
        box-shadow: 6px 6px 0 var(--color-secondary);
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .section-hero-centered {
        padding: 1.75rem 0 3rem;
    }

    .hero-centered-intro {
        margin-bottom: 2rem;
    }

    .hero-centered-title {
        font-size: clamp(1.6rem, 6.4vw, 2.1rem);
    }

    .trust-item {
        width: 100%;
        justify-content: center;
        font-size: 0.78rem;
    }

    .hero-slider-wrapper {
        aspect-ratio: auto;
        min-height: 430px;
    }

    .hero-slide-overlay {
        background: linear-gradient(
            to top,
            rgba(32, 30, 30, 0.96) 0%,
            rgba(32, 30, 30, 0.72) 60%,
            rgba(32, 30, 30, 0.2) 100%
        );
        padding: 3.5rem 1.15rem 2.75rem;
    }

    .slide-badge-pill {
        font-size: 0.68rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.6rem;
    }

    .slide-headline {
        font-size: clamp(1.15rem, 5vw, 1.4rem);
        margin-bottom: 0.5rem;
    }

    .slide-subheadline {
        font-size: 0.84375rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .slide-caption-box .btn {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
    }

    .showcase-product-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .hero-centered-actions,
    .cta-boutique-actions,
    .b2b-intro-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-centered-actions .btn,
    .cta-boutique-actions .btn,
    .b2b-intro-actions .btn {
        width: 100%;
    }

    .b2b-project-card,
    .pilar-card {
        padding: 1.65rem 1.35rem;
    }

    .faq-summary {
        padding: 1.1rem 1.15rem;
    }

    .faq-question {
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 0.9rem 1.15rem 1.2rem;
    }
}
