/* ============================================================
   TACOS ARAGON - Estilos principales
   tacosaragon.com.mx
   ============================================================ */

/* Variables de color */
:root {
    --color-primary: #D4380D;       /* Rojo taquero intenso */
    --color-primary-dark: #A8200A;
    --color-primary-light: #FF6B3D;
    --color-secondary: #F5A623;     /* Amarillo dorado */
    --color-secondary-dark: #D4900A;
    --color-accent: #2D8C3C;        /* Verde mexicano */
    --color-accent-light: #3DAF4E;
    --color-dark: #1A1A2E;          /* Fondo oscuro elegante */
    --color-dark-mid: #16213E;
    --color-dark-light: #0F3460;
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-whatsapp: #25D366;
    --color-online: #F5A623;
    --color-factura: #D4380D;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(212, 56, 13, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-dark);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================================
   FONDO Y EFECTOS
   ============================================================ */

.bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 56, 13, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(45, 140, 60, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-mid) 50%, var(--color-dark) 100%);
    z-index: 0;
}

.bg-pattern {
    position: fixed;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 36px);
    z-index: 0;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 6s infinite;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* ============================================================
   LANDING CONTAINER
   ============================================================ */

.landing-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    gap: 2.5rem;
}

/* ============================================================
   HEADER / LOGO
   ============================================================ */

.landing-header {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 1rem;
}

.logo-img {
    max-width: 280px;
    max-height: 160px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(212, 56, 13, 0.4));
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 30px rgba(212, 56, 13, 0.6));
}

.logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 4rem;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: none;
}

.slogan {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================================
   BOTONES PRINCIPALES
   ============================================================ */

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.05));
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp::before {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.1));
}

.btn-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp .btn-icon {
    color: var(--color-whatsapp);
}

/* Ordenar en Linea */
.btn-online {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.1);
}

.btn-online::before {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.25), rgba(245, 166, 35, 0.1));
}

.btn-online:hover {
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.25);
}

.btn-online .btn-icon {
    color: var(--color-online);
}

/* Facturar */
.btn-facturar {
    background: linear-gradient(135deg, rgba(212, 56, 13, 0.2), rgba(212, 56, 13, 0.08));
    box-shadow: 0 4px 15px rgba(212, 56, 13, 0.15);
    border: 1px solid rgba(212, 56, 13, 0.2);
}

.btn-facturar::before {
    background: linear-gradient(135deg, rgba(212, 56, 13, 0.35), rgba(212, 56, 13, 0.15));
}

.btn-facturar:hover {
    box-shadow: 0 8px 30px rgba(212, 56, 13, 0.3);
    border-color: rgba(212, 56, 13, 0.4);
}

.btn-facturar .btn-icon {
    color: var(--color-factura);
}

/* Partes del boton */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    transition: var(--transition);
}

.btn:hover .btn-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
}

.btn-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.btn-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.btn-arrow {
    font-size: 1.5rem;
    opacity: 0.4;
    transition: var(--transition);
}

.btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* ============================================================
   BOTON PEDIR POR APPS (accordion)
   ============================================================ */

/* Reset para que <button> se vea igual que <a> con clase .btn */
button.btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.btn-apps-wrapper {
    display: flex;
    flex-direction: column;
}

.btn-apps {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.05));
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.btn-apps::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.1));
}

.btn-apps:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}

.btn-apps .btn-icon {
    color: #667eea;
}

.apps-chevron {
    font-size: 0.9rem;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s;
    flex-shrink: 0;
}

.btn-apps.open .apps-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.btn-apps:hover .apps-chevron {
    opacity: 1;
}

/* Contenedor expandible */
.apps-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0 0.4rem;
}

.apps-submenu.open {
    max-height: 500px;
    opacity: 1;
    padding: 0.7rem 0.4rem 0.15rem;
}

/* Sub-botones */
.btn-app-item {
    padding: 0.9rem 1.2rem;
}

.btn-app-item .btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

/* Logo de marca: el SVG tiene su propio fondo */
.app-logo {
    background: transparent !important;
    padding: 0;
    overflow: hidden;
}

/* DiDi Food */
.btn-didi {
    background: linear-gradient(135deg, rgba(255, 80, 0, 0.15), rgba(255, 80, 0, 0.05));
    box-shadow: 0 3px 12px rgba(255, 80, 0, 0.1);
    border-color: rgba(255, 80, 0, 0.15);
}
.btn-didi::before {
    background: linear-gradient(135deg, rgba(255, 80, 0, 0.25), rgba(255, 80, 0, 0.1));
}
.btn-didi:hover {
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.25);
    border-color: rgba(255, 80, 0, 0.35);
}
.btn-didi .btn-icon { color: #FF5000; }

/* Uber Eats */
.btn-uber {
    background: linear-gradient(135deg, rgba(6, 193, 103, 0.15), rgba(6, 193, 103, 0.05));
    box-shadow: 0 3px 12px rgba(6, 193, 103, 0.1);
    border-color: rgba(6, 193, 103, 0.15);
}
.btn-uber::before {
    background: linear-gradient(135deg, rgba(6, 193, 103, 0.25), rgba(6, 193, 103, 0.1));
}
.btn-uber:hover {
    box-shadow: 0 6px 20px rgba(6, 193, 103, 0.25);
    border-color: rgba(6, 193, 103, 0.35);
}
.btn-uber .btn-icon { color: #06C167; }

/* Rappi */
.btn-rappi {
    background: linear-gradient(135deg, rgba(255, 68, 26, 0.15), rgba(255, 68, 26, 0.05));
    box-shadow: 0 3px 12px rgba(255, 68, 26, 0.1);
    border-color: rgba(255, 68, 26, 0.15);
}
.btn-rappi::before {
    background: linear-gradient(135deg, rgba(255, 68, 26, 0.25), rgba(255, 68, 26, 0.1));
}
.btn-rappi:hover {
    box-shadow: 0 6px 20px rgba(255, 68, 26, 0.25);
    border-color: rgba(255, 68, 26, 0.35);
}
.btn-rappi .btn-icon { color: #FF441A; }

/* ============================================================
   FOOTER
   ============================================================ */

.landing-footer {
    text-align: center;
    opacity: 0.5;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.landing-footer p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-small {
    font-size: 0.7rem !important;
    margin-top: 0.3rem;
}

/* ============================================================
   PAGINA DE FACTURACION
   ============================================================ */

.factura-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.factura-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.factura-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.factura-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 56, 13, 0.15);
}

.form-group select option {
    background: var(--color-dark);
    color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 56, 13, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de estado */
.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.alert-success {
    background: rgba(45, 140, 60, 0.15);
    border: 1px solid rgba(45, 140, 60, 0.3);
    color: #6FE087;
}

.alert-error {
    background: rgba(212, 56, 13, 0.15);
    border: 1px solid rgba(212, 56, 13, 0.3);
    color: #FF8A6A;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   DEMO BANNER
   ============================================================ */

.demo-banner {
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--color-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

/* ============================================================
   INDICADOR DE PASOS
   ============================================================ */

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.step.active {
    color: var(--color-secondary);
}

.step.active span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 12px rgba(212, 56, 13, 0.4);
}

.step-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.3rem;
    flex-shrink: 0;
}

/* ============================================================
   FORM HINT
   ============================================================ */

.form-hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

/* ============================================================
   MODAL CLIENTE ENCONTRADO
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: var(--color-dark-mid);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    animation: fadeInUp 0.4s ease-out;
}

.modal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.modal-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.datos-preview {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.datos-preview p {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.datos-preview p:last-child {
    margin-bottom: 0;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ============================================================
   BOTON SECUNDARIO
   ============================================================ */

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   TICKET DETALLE
   ============================================================ */

.ticket-detalle {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeInUp 0.4s ease-out;
}

.ticket-detalle h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 0.3rem;
}

.ticket-fecha {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.ticket-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9rem;
}

.ticket-item-name {
    color: var(--color-text);
}

.ticket-item-price {
    color: var(--color-secondary);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.ticket-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: right;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.ticket-total strong {
    color: var(--color-secondary);
    font-size: 1.3rem;
}

/* ============================================================
   MONTO READONLY
   ============================================================ */

.monto-readonly {
    opacity: 0.7;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03) !important;
}

/* ============================================================
   CONFIRMACION (PASO 4)
   ============================================================ */

.confirmacion-content {
    text-align: center;
    padding: 1rem 0;
}

.confirmacion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(45, 140, 60, 0.15);
    border: 2px solid rgba(45, 140, 60, 0.4);
    color: #6FE087;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.confirmacion-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #6FE087;
    margin-bottom: 0.6rem;
}

.confirmacion-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.confirmacion-resumen {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.confirmacion-resumen p {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.confirmacion-resumen p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   BOTONES DE DESCARGA (PDF/XML)
   ============================================================ */

.descargas-container {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.descargas-titulo {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
    text-align: center;
}

.descargas-botones {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.btn-descarga {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-descarga-pdf {
    background: rgba(212, 56, 13, 0.15);
    border: 1px solid rgba(212, 56, 13, 0.3);
    color: var(--color-primary-light);
}

.btn-descarga-pdf:hover {
    background: rgba(212, 56, 13, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 56, 13, 0.2);
}

.btn-descarga-xml {
    background: rgba(45, 140, 60, 0.15);
    border: 1px solid rgba(45, 140, 60, 0.3);
    color: #6FE087;
}

.btn-descarga-xml:hover {
    background: rgba(45, 140, 60, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 140, 60, 0.2);
}

.descargas-nota {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 0 !important;
}

/* ============================================================
   POWERED BY
   ============================================================ */

.powered-by {
    font-size: 0.75rem !important;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-top: 0.5rem;
}

/* ============================================================
   SECCION NOSOTROS
   ============================================================ */

.nosotros-section {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.nosotros-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.6rem;
    backdrop-filter: blur(10px);
}

/* Layout dos columnas: imagen | texto */
.nosotros-columns {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.nosotros-col-img {
    flex: 0 0 42%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosotros-col-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
    filter: brightness(0.9);
    transition: var(--transition);
}

.nosotros-col-img img:hover {
    filter: brightness(1);
    transform: scale(1.03);
}

/* Placeholder si no carga la imagen */
.nosotros-col-img img[src=""],
.nosotros-col-img img:not([src]) {
    display: none;
}

.nosotros-col-img:not(:has(img[src]))::after,
.nosotros-col-img:has(img[src=""])::after {
    content: '📷';
    font-size: 2rem;
    opacity: 0.25;
}

.nosotros-col-text {
    flex: 1;
}

/* Texto de nosotros */
.nosotros-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.nosotros-subtitulo {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 1.1rem 0 0.6rem;
}

.nosotros-parrafo {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 0.6rem;
}

.nosotros-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0.8rem 0;
}

.nosotros-lista li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.lista-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(212, 56, 13, 0.18);
    color: var(--color-primary-light);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
}

.nosotros-lista li div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nosotros-lista li strong {
    font-size: 0.88rem;
    color: var(--color-text);
    font-weight: 600;
}

.nosotros-lista li span {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* FAQ dentro de nosotros */
.faq-seccion {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
}

.faq-pregunta {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.faq-pregunta::before {
    content: 'P: ';
    color: var(--color-primary-light);
    font-weight: 700;
}

.faq-respuesta {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-respuesta::before {
    content: 'R: ';
    color: var(--color-secondary);
    font-weight: 600;
}

/* ============================================================
   SECCION UBICACION / MAPA
   ============================================================ */

.ubicacion-section {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.55s both;
}

.ubicacion-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.4rem;
    backdrop-filter: blur(10px);
}

.ubicacion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.ubicacion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 56, 13, 0.15);
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.ubicacion-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.ubicacion-direccion {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.mapa-wrapper {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mapa-wrapper iframe {
    display: block;
    filter: grayscale(20%) brightness(0.85);
}

.btn-como-llegar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(212, 56, 13, 0.12);
    border: 1px solid rgba(212, 56, 13, 0.25);
    border-radius: var(--radius-sm);
    color: var(--color-primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-como-llegar:hover {
    background: rgba(212, 56, 13, 0.22);
    border-color: rgba(212, 56, 13, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 56, 13, 0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
    .landing-container {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }

    .logo-text {
        font-size: 2rem;
    }

    .slogan {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .btn {
        padding: 1rem 1.2rem;
    }

    .btn-title {
        font-size: 1rem;
    }

    .btn-icon {
        width: 44px;
        height: 44px;
    }

    .factura-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .factura-header h1 {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .logo-img {
        max-width: 350px;
        max-height: 200px;
    }

    .action-buttons {
        max-width: 520px;
    }

    .ubicacion-section {
        max-width: 520px;
    }

    .nosotros-section {
        max-width: 520px;
    }
}
