/* Indicador de página activa */
nav li.active a {
    background: rgba(204, 179, 96, 0.3);
    font-weight: 600;
}

/* ==========================================================================
   SECCIÓN: PRODUCTOS DE CAFETERÍA (HEADER)
   ========================================================================== */

/* ==========================================================================
   SECCIÓN: HERO EXPERIENCIA (Redesign)
   ========================================================================== */

.hero-experiencia {
    position: relative;
    height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Carousel Container */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Individual Slides */
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-color: #1a1a1a;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 850px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.mensaje-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mensaje-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
}

.mensaje-hero .resaltado {
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

/* ==========================================================================
   PESTAÑAS DE NAVEGACIÓN (TABS)
   ========================================================================== */

.tabs {
    /* Contenedor de las pestañas */
    display: flex;
    justify-content: center;
    /* Centrar los botones */
    flex-wrap: wrap;
    /* Permite que los botones se envuelvan en pantallas pequeñas */
    gap: 10px;
    /* Espacio entre los botones */
    max-width: 1200px;
    margin: 3rem auto;
    /* Espacio antes y después del menú */
    padding: 0 1.5rem;
}

.tabs button {
    /* Estilo base del botón */
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border: 2px solid var(--cafe-medio);
    /* Borde de color de marca */
    border-radius: 30px;
    /* Bordes redondeados (estilo "píldora") */
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Evita que el texto se rompa */

    /* Colores por defecto (Inactivo) */
    background-color: var(--blanco-puro);
    color: var(--cafe-oscuro);
    box-shadow: 0 4px 6px rgba(44, 24, 16, 0.1);
    /* Sombra sutil de elevación */
}

.tabs button:hover {
    /* Efecto al pasar el mouse */
    background-color: var(--crema);
    /* Fondo cremoso */
    border-color: var(--dorado);
    /* Borde dorado */
    color: var(--tierra);
    /* Texto con un marrón intermedio */
    transform: translateY(-2px);
    /* Ligeramente elevado */
    box-shadow: 0 6px 12px rgba(44, 24, 16, 0.15);
}

/* Estilo para el botón ACTIVO */
.tabs button.active {
    /* Estilo de resaltado fuerte */
    background: linear-gradient(135deg, var(--dorado-oscuro), var(--dorado));
    /* Degradado dorado intenso */
    color: var(--cafe-oscuro);
    /* Texto oscuro sobre el dorado */
    border-color: var(--dorado-oscuro);
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    /* Resplandor dorado */
}

/* ==========================================================================
   PÁGINA — FONDO Y LAYOUT PRINCIPAL
   ========================================================================== */
body {
    background-color: #faf7f2;
    color: #2c1a12;
}

main {
    background-color: #faf7f2;
    padding: 0 0 6rem 0;
}

/* Contenedor de cada sección (Todos, Cafés, etc.) */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    border-bottom: 1px solid rgba(196, 150, 42, 0.15);
}

.section-container:not(.active) {
    display: none;
}

/* ==========================================================================
   TÍTULO DE SECCIÓN
   ========================================================================== */
.section-container h2 {
    color: #2c1a12;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.section-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c4962a, #e0b84a);
    margin: 1rem auto 0;
    border-radius: 3px;
}


/* ==========================================================================
   GRID DE PRODUCTOS (CARDS) — PREMIUM REDESIGN
   ========================================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    padding-top: 0.5rem;
}

/* ── TARJETA ────────────────────────────────────────────────── */
.card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 1px 3px rgba(62, 39, 35, 0.04),
        0 6px 20px rgba(62, 39, 35, 0.07);
    transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid rgba(232, 220, 200, 0.6);
}

.card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 4px 8px rgba(62, 39, 35, 0.06),
        0 20px 48px rgba(62, 39, 35, 0.12);
    border-color: rgba(196, 150, 42, 0.25);
}

/* ── IMAGEN ─────────────────────────────────────────────────── */
.card-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0e8da;
}

.card-img-wrap img,
.card>img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: none;
}

.card:hover .card-img-wrap img,
.card:hover>img {
    transform: scale(1.06);
}

/* ── CUERPO DE LA TARJETA ───────────────────────────────────── */
.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 18px 20px 0;
}

/* ── NOMBRE DEL PRODUCTO ────────────────────────────────────── */
.card h3,
.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c1a12;
    margin: 0 0 8px;
    line-height: 1.3;
    /* For direct-child h3 (no card-body) */
    padding: 0 20px;
}

.card-body h3 {
    padding: 0;
    margin: 0 0 8px;
}

/* ── DESCRIPCIÓN ────────────────────────────────────────────── */
.card p:not(:last-child),
.card-body .card-desc {
    font-size: 0.875rem;
    color: #7a6252;
    line-height: 1.55;
    margin: 0 20px 16px;
    flex-grow: 1;
}

.card-body .card-desc {
    margin: 0 0 16px;
    flex-grow: 1;
}

/* ── BLOQUE DE PRECIO ───────────────────────────────────────── */
.card p:last-of-type,
.card-body .card-price {
    margin-top: auto;
    padding: 12px 20px 16px;
    background: linear-gradient(135deg, #fdfaf5 0%, #f7f0e4 100%);
    border-top: 1px solid rgba(196, 150, 42, 0.18);
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.card-body .card-price {
    margin-left: -20px;
    margin-right: -20px;
    padding: 12px 20px 14px;
    border-radius: 0 0 0 0;
}

.card p strong,
.card-body .card-price strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #b5811a;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

/* Estilos para el modal de ampliación de imagen */
.modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 100;
    /* Asegura que esté encima de todo */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Fondo negro semitransparente */
}

/* Contenido del Modal (La imagen) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 10px;
}

/* El botón de cierre */
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close:hover,
.close:focus {
    color: var(--dorado, #d4af37);
    text-decoration: none;
    cursor: pointer;
}

/* Animación de entrada */
@keyframes zoom {
    from {
        transform: scale(0.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   SECCIÓN: NUESTRA EXPERIENCIA CAFETERA - FONDO CLARO Y AIREADO
   ========================================================================== */

/* ==========================================================================
   SECCIÓN: NUESTRA EXPERIENCIA CAFETERA (Light Theme)
   ========================================================================== */

.experiencia-container {
    background: #fff;
    /* White background */
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
    border-top: none;
    box-shadow: none;
}


/* ==========================================================================
   BIOTIENDA NAVIGATION (Horizontal Professional)
   ========================================================================== */

/* ==========================================================================
   TABS DE NAVEGACIÓN — REDISEÑO PROFESIONAL
   ========================================================================== */

.tabs-container {
    width: 100%;
    margin: 0;
    padding: 3rem 1.5rem 0;
    text-align: center;
    background: #faf7f2;
    position: sticky;
    top: 72px;
    z-index: 50;
    border-bottom: 1px solid rgba(196, 150, 42, 0.15);
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.06);
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 1.2rem;
}

/* ── BOTÓN BASE ─────────────────────────────────────────────── */
.tabs button {
    background: #ffffff;
    color: #5d3e2e;
    border: 1.5px solid #e8ddd0;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.05);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* ── HOVER ──────────────────────────────────────────────────── */
.tabs button:hover {
    background: #fff8ee;
    border-color: #c4962a;
    color: #2c1a12;
    box-shadow: 0 4px 16px rgba(196, 150, 42, 0.18);
    transform: translateY(-2px);
}

/* ── ACTIVO ─────────────────────────────────────────────────── */
.tabs button.active {
    background: #3e2723;
    color: #ffffff;
    border-color: #3e2723;
    box-shadow: 0 6px 20px rgba(62, 39, 35, 0.35);
    font-weight: 700;
    transform: none;
}

/* ==========================================================================
   RESPONSIVE — MOBILE & TABLET
   ========================================================================== */
@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .section-container {
        padding: 2rem 1.2rem 3rem;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        padding: 1rem 0 0;
        top: 64px;
    }

    .tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 12px 14px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tabs button {
        font-size: 0.82rem;
        padding: 8px 18px;
        flex-shrink: 0;
    }

    .cafetera-item {
        max-width: 100%;
    }

    .cafetera-item a {
        height: 220px;
    }

    body,
    html {
        overflow-x: hidden;
    }

    main {
        padding: 0;
    }

    .section-container {
        padding: 1.5rem 0.9rem 2.5rem;
    }

    .card-img-wrap img,
    .card>img {
        height: 175px;
    }

    .card-img-wrap {
        height: 175px;
    }

    .card h3,
    .card-body h3 {
        font-size: 1rem;
    }

    .card p strong,
    .card-body .card-price strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .card {
        border-radius: 14px;
    }

    .card-img-wrap img,
    .card>img {
        height: 150px;
    }

    .card-img-wrap {
        height: 150px;
    }

    .card h3,
    .card-body h3 {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .card-body h3 {
        padding: 0;
    }

    .card p:not(:last-child),
    .card-body .card-desc {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .card p strong,
    .card-body .card-price strong {
        font-size: 1.1rem;
    }

    .section-container h2 {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
    }
}


/* ==========================================================================
   TÍTULO PRINCIPAL: Nuestra Experiencia Cafetera
   ========================================================================== */
.experiencia-container h2 {
    /* Tipografía Elegante y Lujosa */
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;

    /* Color de Alto Contraste */
    color: var(--dorado, #D4AF37);
    text-transform: none;
    /* Mejor elegancia que UPPERCASE */
    letter-spacing: 1px;
    margin-bottom: 0.5rem;

    /* Mantenemos el brillo sutil */
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);

    /* (Resto de propiedades de animación...) */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

/* ==========================================================================
   PÁRRAFO DESCRIPTIVO
   ========================================================================== */
.experiencia-container p {
    max-width: 800px;
    margin: 0 auto 3rem auto;

    /* Color Claro sobre Fondo Oscuro */
    color: var(--crema, #f5e6d3);

    font-size: 1.3rem;
    line-height: 1.7;
    font-style: normal;

    /* (Resto de propiedades de animación...) */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Definición de la animación (usada previamente) */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado inicial oculto para el Scroll Reveal */
.experiencia-container {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(50px);
}

/* Estado visible activado por JS */
.experiencia-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   GALERÍA DE LOCALES (SUCURSALES)
   ========================================================================== */

/* ==========================================================================
   GALERÍA DE LOCALES (SUCURSALES - Light Theme)
   ========================================================================== */

.galeria-cafeteras {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
    max-width: 1300px;
}

.cafetera-item {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cafetera-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.cafetera-item a {
    display: block;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.cafetera-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: none;
}

.cafetera-item:hover img {
    transform: scale(1.1);
}

.cafetera-item figcaption {
    padding: 25px 30px;
    background-color: #ffffff;
    color: var(--color-coffee);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.5;
    font-style: normal;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Icon for address */
.cafetera-item figcaption::before {
    content: '📍';
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ==========================================================================
   MODAL DE GALERÍA (CSS-ONLY)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    /* Fondo negro muy opaco */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 9999;
    /* Máximo z-index para que esté siempre encima */
}

/* Mostrar el modal cuando el hash de la URL coincide con el ID del modal */
.modal-overlay:target {
    visibility: visible;
    opacity: 1;
}

/* Imagen dentro del Modal */
.modal-overlay img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    /* Gran sombra de glow dorado */
    border-radius: 5px;
}

/* Botón de Cierre (X) */
.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--dorado, #D4AF37);
    opacity: 1;
}

/* ==========================================================================
   SECCIÓN DE TEXTO Y BOTÓN (CTA a la Escuela)
   ========================================================================== */

.exp-texto {
    max-width: 700px;
    margin: 3rem auto 2rem auto;
    text-align: center;
    padding: 0 1.5rem;
}

.exp-texto h3 {
    font-size: 2rem;
    color: var(--dorado, #D4AF37);
    margin-bottom: 1rem;
    font-weight: 700;
}

.exp-texto p {
    font-size: 1.1rem;
    color: var(--gris-suave, #ccc);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Botón de Llamada a la Acción (CTA) */
.boton-escuela {
    text-align: center;
    margin-bottom: 5rem;
}

.btn-escuela {
    display: inline-block;
    background: linear-gradient(45deg, var(--dorado-oscuro, #C5A132), var(--dorado, #D4AF37));
    color: var(--cafe-oscuro, #2C1810);
    /* Texto oscuro sobre fondo dorado */
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.btn-escuela:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.8);
    /* Glow más fuerte */
}

/* Contenedor Principal para el Módulo de la Escuela */
.exp-modulo-destacado {
    max-width: 900px;
    /* Más ancho para destacarse */
    margin: 5rem auto;
    /* Separación marcada */
    padding: 3rem 2rem;
    background-color: rgba(30, 15, 5, 0.7);
    /* Fondo café oscuro sutil y transparente */
    border: 2px solid var(--dorado-oscuro, #C5A132);
    /* Borde de contraste fuerte */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    /* Glow suave */
}

/* Contenedor de Texto (Ajustamos los estilos anteriores) */
.exp-texto {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    /* Eliminamos padding/margin extra, ya que el padre lo maneja */
}

.exp-texto h3 {
    font-size: 2.2rem;
    color: var(--dorado, #D4AF37);
    margin-bottom: 1rem;
    font-weight: 700;
}

.exp-texto p {
    font-size: 1.15rem;
    color: var(--gris-suave, #ccc);
    line-height: 1.6;
    margin-bottom: 0;
    /* Espacio manejado por el padre */
}

/* Botón de Llamada a la Acción (CTA) */
.boton-escuela {
    text-align: center;
    margin-top: 2rem;
}


/* =========================================================================
   OPTIMIZACIÓN MÓVIL (Compacto / App-like)
   ========================================================================= */

/* =========================================================================
   OPTIMIZACIÓN MÓVIL PRO (Ecommerce Style)
   ========================================================================= */

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {

    /* Layout: DENSE Ecommerce Grid */
    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        /* Denser grid as requested */
        gap: 10px !important;
        padding: 0 10px;
    }

    /* Scrollable Tabs */
    .tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
    }

    .tabs button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* COMPACT CARD DESIGN */
    .card {
        padding: 8px !important;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 180px;
    }

    .card img {
        height: 100px !important;
        /* Strict 100px limit */
        width: 100%;
        object-fit: cover;
        margin-bottom: 5px;
        border-radius: 6px;
    }

    .card h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card p:first-of-type {
        display: none !important;
        /* Hide description strictly */
    }

    .card p:last-of-type {
        font-size: 0.85rem !important;
        margin-top: auto;
        padding-top: 3px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .card p strong {
        font-size: 0.95rem !important;
        color: var(--dorado);
    }
}

@media (max-width: 480px) {

    /* Mobile Small: 2 Columns */
    .cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .card img {
        height: 90px !important;
        /* Even smaller on small screens */
    }

    .titulo-productos {
        font-size: 1.5rem;
    }

    .experiencia-container h2 {
        font-size: 1.6rem;
    }

    .exp-texto h3 {
        font-size: 1.4rem;
    }
}