/* ========================================================================
   ESTILOS CSS — Dominic's y Asociados (styles.css)
   CSS3 puro sin frameworks externos, organizado y con variables responsivas
   para la animación orbital 3D unificada en PC y dispositivos móviles.
   ======================================================================== */

/* 1. VARIABLES CSS (Paleta Pastel, Tipografía y Geometría Orbital 3D) */
:root {
    --color-primary: #ffd1dc;    /* Rosa Pastel */
    --color-secondary: #b2f0e8;  /* Menta Pastel */
    --color-accent: #ffdab9;     /* Durazno Pastel */
    --color-background: #fffaf7; /* Blanco Cálido */
    --color-surface: #ffffff;    /* Superficie clara */
    --color-text-dark: #5d4037;  /* Marrón chocolate para contraste */
    --color-text-muted: #7a5c52;
    --color-text-light: #ffffff;
    --color-price-ok: #27ae60;
    --font-heading: "Georgia", "Times New Roman", serif;
    --font-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --section-padding: 5rem 2rem;
    --container-width: 1200px;
    --border-radius: 20px;
    --box-shadow: 0 10px 30px rgba(93, 64, 55, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(93, 64, 55, 0.15);
    --transition: all 0.3s ease-in-out;

    /* Variables de la Órbita 3D Unificada (Referencia de Escritorio) */
    --orbit-perspective: 1200px;
    --orbit-stage-height: 390px;
    --orbit-card-width: 315px;
    --orbit-card-paused-width: 315px;
    --orbit-radius-x: 320px;
    --orbit-radius-z: 165px;
    --orbit-bob-y: 12px;
    --orbit-spread-x: 345px;
    --orbit-scale-min: 0.84;
    --orbit-scale-max: 1.04;
    --orbit-rot-y: 14deg;
}

/* 2. RESETEO BÁSICO Y SUPERFICIES GENERALES */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: linear-gradient(180deg, #fff9f6 0%, #fff2f6 50%, #fff8f2 100%);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
section[id] { scroll-margin-top: 84px; }

/* 3. CLASES UTILITARIAS Y BOTONES */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.section-surface {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #fff7fa 0%, #fffaf5 50%, #fdf1f5 100%);
}
.section-subtitle { text-align: center; margin-bottom: 2.5rem; color: var(--color-text-muted); }

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.2rem;
    color: var(--color-text-dark);
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 209, 220, 0.5);
}
.btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 218, 185, 0.6);
}
.btn-secondary { background-color: var(--color-secondary); }
.btn-accent { background-color: var(--color-accent); }
.btn-full { width: 100%; }

.btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-text-dark);
    border-radius: 50px;
    font-weight: bold;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover { background-color: var(--color-primary); color: var(--color-text-dark); }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover { background-color: #1ebe57; transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 4. HEADER, NAVEGACIÓN Y PUNTOS */
header {
    background-color: rgba(255, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(93, 64, 55, 0.05);
    transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.header-brand-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 50px; width: 50px; object-fit: cover; border-radius: 50%; background-color: var(--color-primary); }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: bold; color: var(--color-text-dark); }

.puntos-container {
    background-color: var(--color-accent);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.puntos-container:hover { transform: scale(1.05); }

.indicador-toca {
    font-size: 0.7rem;
    color: #d35400;
    font-weight: bold;
    margin-top: 2px;
    white-space: nowrap;
    animation: parpadeoIndicador 1.5s infinite ease-in-out;
    transition: opacity 0.3s ease;
}
@keyframes parpadeoIndicador {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.4; transform: translateY(-2px); }
}

.nav-menu { display: flex; gap: 2rem; }
.nav-link { font-weight: 600; font-size: 1rem; position: relative; padding: 0.5rem 0; transition: var(--transition); }
.nav-link::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background-color: var(--color-primary); transition: var(--transition);
}
.nav-link:hover { color: var(--color-text-muted); }
.nav-link:hover::after { width: 100%; }

.hamburger { display: none; cursor: pointer; border: none; background: none; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--color-text-dark); transition: var(--transition); }

/* 5. HERO SECTION */
#hero {
    padding: 120px 2rem 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff9f5 0%, #ffe6ee 55%, #ffd1dc 100%);
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--color-text-dark); }
.hero-text p { font-size: 1.2rem; margin-bottom: 2rem; color: var(--color-text-muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrapper {
    position: relative; border-radius: var(--border-radius); overflow: hidden;
    box-shadow: var(--box-shadow); transform: rotate(-3deg); transition: var(--transition);
}
.hero-img-wrapper:hover { transform: rotate(0) scale(1.02); box-shadow: var(--box-shadow-hover); }

/* 6. SECCIÓN «NOSOTROS» — SISTEMA ORBITAL 3D UNIFICADO (ESCRITORIO Y MÓVILES) */
#nosotros {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #fceef3 0%, #fff8f4 50%, #fdf1f6 100%);
    position: relative;
    overflow: hidden;
}

.nosotros-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 1.1rem;
    color: var(--color-text-muted);
    font-size: 1.02rem;
    padding: 0 0.5rem;
}

.nosotros-controls-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 250;
}

.nosotros-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fffaf7 0%, #fff0f4 100%);
    border: 2px solid var(--color-primary);
    color: var(--color-text-dark);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.06);
}

.nosotros-orbit-btn {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    border: 2px solid rgba(93, 64, 55, 0.12);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(178, 240, 232, 0.55);
    touch-action: manipulation;
}
.nosotros-orbit-btn:hover,
.nosotros-orbit-btn:focus-visible {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    outline: 2px solid var(--color-text-dark);
    outline-offset: 2px;
}

.nosotros-orbit-stage {
    position: relative;
    width: 100%;
    min-height: var(--orbit-stage-height);
    perspective: var(--orbit-perspective);
    -webkit-perspective: var(--orbit-perspective);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    overflow: visible;
}

.nosotros-orbit-track {
    position: relative;
    width: 100%;
    height: var(--orbit-stage-height);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    display: block;
    transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    touch-action: pan-y;
}

#nosotros .nosotros-orbit-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--orbit-card-width);
    max-width: calc(100vw - 24px);
    background: linear-gradient(165deg, #fffdfb 0%, #fff4f7 60%, #ffefe5 100%);
    padding: 1.85rem 1.6rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 12px 28px rgba(93, 64, 55, 0.12);
    border: 2px solid rgba(255, 209, 220, 0.78);
    border-bottom: 5px solid var(--color-primary);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
    touch-action: pan-y;
    transition: width 0.36s ease, padding 0.36s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#nosotros .nosotros-orbit-stage[data-orbit-state="paused"] .nosotros-orbit-card {
    width: var(--orbit-card-paused-width);
    border-color: var(--color-secondary);
    border-bottom-color: var(--color-accent);
    box-shadow: 0 14px 32px rgba(93, 64, 55, 0.15);
}

#nosotros .nosotros-orbit-card:hover {
    border-color: var(--color-secondary);
    border-bottom-color: var(--color-accent);
}

.nosotros-orbit-card .nosotros-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(178, 240, 232, 0.45);
}
.nosotros-orbit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 0.7rem;
    color: var(--color-text-dark);
}
.nosotros-orbit-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Grid clásico conservado para la sección #como-pedir */
.nosotros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.nosotros-card {
    background: linear-gradient(165deg, #fffdfb 0%, #fff5f8 65%, #fff0e6 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 209, 220, 0.55);
    border-bottom: 5px solid var(--color-primary);
}
.nosotros-card:hover { transform: translateY(-10px); border-bottom-color: var(--color-accent); }
.nosotros-card .nosotros-icon {
    width: 60px; height: 60px; background-color: var(--color-secondary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.8rem;
}
.nosotros-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.85rem; }

/* 7. MENÚ DE PRODUCTOS */
#menu {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #fdf1f6 0%, #fff9f5 50%, #fceef2 100%);
}
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.2rem; }
.producto-card {
    background: linear-gradient(180deg, #fffefd 0%, #fff6f9 100%);
    border: 1px solid rgba(255, 209, 220, 0.55);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.producto-card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-hover); }
.producto-img { width: 100%; height: 240px; object-fit: cover; transition: var(--transition); background-color: #fceef3; }
.producto-card:hover .producto-img { transform: scale(1.04); }
.producto-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.producto-info h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 0.5rem; }
.producto-info p { color: var(--color-text-muted); margin-bottom: 1rem; flex-grow: 1; }
.producto-precio {
    font-size: 1.12rem; font-weight: bold; color: var(--color-text-dark);
    background-color: var(--color-primary); display: inline-block; align-self: flex-start;
    padding: 0.25rem 0.85rem; border-radius: 12px; margin-bottom: 1rem;
}

/* 8. GALERÍA */
#galeria { padding: var(--section-padding); background-color: var(--color-surface); }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; grid-auto-rows: 250px; grid-auto-flow: dense; }
.galeria-item { border-radius: 15px; overflow: hidden; position: relative; box-shadow: var(--box-shadow); }
.galeria-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.galeria-item:nth-child(5) { grid-column: span 2; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.galeria-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 209, 220, 0.7); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.galeria-overlay span {
    color: var(--color-text-dark); font-family: var(--font-heading); font-size: 1.5rem;
    font-weight: bold; transform: translateY(20px); transition: var(--transition);
}
.galeria-item:hover img { transform: scale(1.1); }
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-item:hover .galeria-overlay span { transform: translateY(0); }

/* 9. OFERTAS ESPECIALES */
#ofertas {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #cef7f1 0%, var(--color-secondary) 50%, #dff9f5 100%);
}
.oferta-card {
    background: linear-gradient(165deg, #fffefb 0%, #fff5f8 65%, #ffefe5 100%);
    border: 2px solid rgba(255, 209, 220, 0.65);
    padding: 3rem 2rem; border-radius: var(--border-radius);
    text-align: center; box-shadow: var(--box-shadow); position: relative; overflow: hidden; max-width: 800px; margin: 0 auto;
}
.oferta-badge {
    position: absolute; top: 20px; right: -35px; background-color: var(--color-accent);
    color: var(--color-text-dark); padding: 5px 40px; transform: rotate(45deg); font-weight: bold; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.oferta-card h3 { font-family: var(--font-heading); font-size: 2.1rem; margin-bottom: 1rem; }
.oferta-desc { font-size: 1.15rem; margin-bottom: 2rem; }

/* 10. MINIJUEGOS, FAQ Y GUÍA DE PUNTOS */
#minijuego {
    background: linear-gradient(180deg, #eefaf8 0%, #fff5f8 55%, #fdf2f6 100%);
}
.juegos-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.faq-section {
    padding: 0.5rem 2rem 2.5rem;
    background: linear-gradient(180deg, #fdf2f6 0%, #fff8f3 100%);
}
.faq-card {
    background: linear-gradient(165deg, #fffefd 0%, #fff5f8 100%);
    border: 1.5px solid rgba(255, 209, 220, 0.6);
    border-radius: var(--border-radius); box-shadow: var(--box-shadow);
    margin: 2rem auto; max-width: 800px; overflow: hidden; text-align: left;
}
.faq-header {
    padding: 1.4rem 1.8rem; background: var(--color-accent); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: bold; color: var(--color-text-dark); transition: var(--transition);
}
.faq-header:hover { background: var(--color-primary); }
.faq-body {
    padding: 0 1.8rem; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.6;
}
.faq-body.active { padding: 1.4rem 1.8rem; max-height: 450px; }
.faq-body p + p { margin-top: 10px; }

#como-pedir {
    background: linear-gradient(180deg, #fff8f3 0%, #fceef3 55%, #fff5ee 100%);
}

/* 11. MODALES (PREMIOS, PEDIDOS CON QR Y CONSULTAS) */
.modal-recompensas, .modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 2500; justify-content: center; align-items: center;
    padding: 1rem; overflow-y: auto;
}
.modal-content {
    background: var(--color-surface); padding: 2.2rem; border-radius: var(--border-radius);
    text-align: center; max-width: 420px; width: 92%; box-shadow: var(--box-shadow);
}
.modal-title { font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 5px; }
.modal-subtitle { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 15px; }
.premios-acceso-juegos {
    background: var(--color-background); padding: 10px; border-radius: 12px;
    margin-bottom: 15px; border: 2px dashed var(--color-primary);
}
.premios-acceso-juegos p { font-size: 0.85rem; font-weight: bold; margin-bottom: 8px; color: var(--color-text-dark); }
.premios-acceso-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-mini { padding: 6px 12px; font-size: 0.8rem; }
.premios-lista { max-height: 220px; overflow-y: auto; padding-right: 5px; }
.premio-item {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    margin: 10px 0; padding: 10px 14px; background: var(--color-background); border-radius: 10px; font-weight: bold; font-size: 0.92rem;
}
.premio-item button {
    background: var(--color-primary); border: none; padding: 8px 14px; border-radius: 20px;
    cursor: pointer; font-weight: bold; color: var(--color-text-dark); transition: var(--transition);
}
.premio-item button:hover { background: var(--color-secondary); }

.modal-box {
    background: var(--color-surface); padding: 2rem; border-radius: var(--border-radius);
    max-width: 450px; width: 100%; box-shadow: var(--box-shadow); position: relative;
    max-height: 90vh; overflow-y: auto; text-align: left;
}
.modal-box h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-text-dark); }
.modal-close {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--color-text-muted);
}
.pedido-resumen-producto { text-align: center; margin-bottom: 15px; }
.pedido-resumen-producto img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; }
.pedido-resumen-producto h4 { font-family: var(--font-heading); font-size: 1.2rem; }
.pedido-qr-box { background: var(--color-background); padding: 10px; border-radius: 10px; text-align: center; margin-bottom: 15px; }
.pedido-qr-box p { font-size: 0.85rem; font-weight: bold; margin-bottom: 5px; color: var(--color-text-dark); }
.pedido-qr-box img { width: 140px; height: 140px; object-fit: cover; margin: 0 auto; border-radius: 8px; }
.pedido-cantidad-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.pedido-cantidad-controles { display: flex; align-items: center; gap: 10px; }
.btn-qty { padding: 5px 15px; font-size: 1rem; }
.pedido-cantidad-valor { font-size: 1.2rem; font-weight: bold; }
.pedido-total-row { font-size: 1.1rem; font-weight: bold; margin-bottom: 20px; text-align: right; color: var(--color-text-dark); }
.pedido-total-monto { color: var(--color-price-ok); }

.form-control {
    width: 100%; padding: 1rem; border: 2px solid #e0d6d0; background-color: var(--color-background);
    border-radius: 10px; font-family: var(--font-body); transition: var(--transition);
    resize: vertical; min-height: 120px; margin-bottom: 15px;
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(255, 209, 220, 0.3); }

/* 12. FOOTER */
footer { background-color: var(--color-text-dark); color: var(--color-text-light); padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 1rem; color: var(--color-primary); }
.footer-desc { margin-bottom: 1.5rem; color: #cccccc; }
.footer-col h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--color-accent); }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--color-primary); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; color: #cccccc; word-break: break-word; }
.social-icons { display: flex; gap: 15px; }
.social-icon {
    width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-icon:hover { background-color: var(--color-primary); color: var(--color-text-dark); transform: translateY(-3px); }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; color: #aaaaaa; }

/* ========================================================================
   13. MEDIA QUERIES — ADAPTACIÓN RESPONSIVA UNIFICADA (1100px a 320px)
   Conserva exactamente el mismo movimiento orbital horizontal 3D de PC,
   ajustando únicamente las variables de radio, escala y ancho de tarjeta.
   ======================================================================== */
@media (max-width: 1150px) {
    :root {
        --orbit-card-width: 270px;
        --orbit-card-paused-width: 270px;
        --orbit-radius-x: 280px;
        --orbit-radius-z: 145px;
        --orbit-bob-y: 11px;
        --orbit-spread-x: 292px;
    }
    #nosotros .nosotros-orbit-card {
        padding: 1.55rem 1.3rem;
    }
}

@media (max-width: 992px) {
    :root {
        --orbit-card-width: 235px;
        --orbit-card-paused-width: 235px;
        --orbit-radius-x: 235px;
        --orbit-radius-z: 125px;
        --orbit-bob-y: 10px;
        --orbit-spread-x: 248px;
    }
    .hero-container { grid-template-columns: 1fr; }
    .hero-text { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-img-wrapper { margin: 0 auto; max-width: 500px; }
    .galeria-item:nth-child(2), .galeria-item:nth-child(5) { grid-column: span 1; }
    #nosotros .nosotros-orbit-card {
        padding: 1.35rem 1.1rem;
    }
    .nosotros-orbit-card h3 { font-size: 1.28rem; }
    .nosotros-orbit-card p { font-size: 0.89rem; }
}

@media (max-width: 768px) {
    :root {
        --orbit-perspective: 980px;
        --orbit-stage-height: 325px;
        --orbit-card-width: 206px;
        --orbit-card-paused-width: min(90vw, 345px);
        --orbit-radius-x: 86px;
        --orbit-radius-z: 120px;
        --orbit-bob-y: 9px;
        --orbit-spread-x: 0px;
        --orbit-scale-min: 0.78;
        --orbit-scale-max: 1.04;
    }

    .hamburger { display: block; }
    .nav-menu {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: linear-gradient(180deg, #fffaf7 0%, #fceef3 100%);
        flex-direction: column; align-items: center; justify-content: center;
        transition: var(--transition); box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.5rem; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    #hero { padding: 100px 1rem 3rem; min-height: auto; }
    .hero-container { display: flex; flex-direction: column-reverse; gap: 2rem; }
    .hero-text h1 { font-size: 2.05rem; margin-bottom: 1rem; line-height: 1.2; }
    .hero-text p { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-img-wrapper { width: 100%; max-width: 360px; height: 230px; margin: 0 auto; transform: rotate(0deg); }
    .hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

    .header-brand-wrapper { flex-wrap: nowrap; max-width: 82%; gap: 4px; }
    .indicador-toca { font-size: 0.62rem; }
    .header-brand-wrapper .logo-text { font-size: clamp(1rem, 3.5vw, 1.3rem); white-space: nowrap; }
    .header-brand-wrapper .puntos-container { padding: 4px 8px; font-size: 0.75rem; margin-left: 2px; flex-shrink: 0; }

    #nosotros { padding: 3.2rem 0.5rem; }
    #nosotros .nosotros-orbit-card {
        padding: 1.05rem 0.9rem;
        box-shadow: 0 10px 24px rgba(93, 64, 55, 0.12);
    }
    .nosotros-orbit-card .nosotros-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.5rem;
    }
    .nosotros-orbit-card h3 {
        font-size: 1.08rem;
        margin-bottom: 0.4rem;
    }
    .nosotros-orbit-card p {
        font-size: 0.79rem;
        line-height: 1.42;
    }

    /* Al pausar en móvil para leer en columna vertical, ampliar tipografía y relleno */
    #nosotros .nosotros-orbit-stage[data-orbit-state="paused"] .nosotros-orbit-card {
        padding: 1.35rem 1.2rem;
    }
    #nosotros .nosotros-orbit-stage[data-orbit-state="paused"] .nosotros-orbit-card .nosotros-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.65rem;
    }
    #nosotros .nosotros-orbit-stage[data-orbit-state="paused"] .nosotros-orbit-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    #nosotros .nosotros-orbit-stage[data-orbit-state="paused"] .nosotros-orbit-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 430px) {
    :root {
        --section-padding: 3rem 1rem;
        --orbit-card-width: 202px;
        --orbit-radius-x: 84px;
        --orbit-radius-z: 115px;
    }
    .section-title { font-size: 1.95rem; }
}

@media (max-width: 380px) {
    :root {
        --orbit-stage-height: 315px;
        --orbit-card-width: 186px;
        --orbit-radius-x: 74px;
        --orbit-radius-z: 105px;
    }
    #nosotros .nosotros-orbit-card {
        padding: 0.95rem 0.8rem;
    }
    .nosotros-orbit-card h3 { font-size: 1.02rem; }
    .nosotros-orbit-card p { font-size: 0.76rem; line-height: 1.38; }
}

@media (max-width: 340px) {
    :root {
        --orbit-stage-height: 305px;
        --orbit-card-width: 168px;
        --orbit-radius-x: 64px;
        --orbit-radius-z: 95px;
    }
    #nosotros .nosotros-orbit-card {
        padding: 0.85rem 0.7rem;
    }
    .nosotros-orbit-card h3 { font-size: 0.96rem; }
    .nosotros-orbit-card p { font-size: 0.73rem; line-height: 1.35; }
    .nosotros-status-pill, .nosotros-orbit-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
