/* Variables CSS para colores y espaciado */

:root {
    --primary-color: #DB1039;
    --primary-hover: rgb(190, 14, 55);
    --secondary-color: #64748b;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --spacing-unit: 1rem;
}


/* Reset y estilos base */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Header Styles */

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--spacing-unit) 0;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand p {
    opacity: 0.9;
    font-size: 0.95rem;
    font-weight: 400;
}


/* Botones */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}


/* Contenido principal */

.main-content {
    flex: 1;
    padding: 0;
    width: 100%;
    display: flex;
}

.brochure-container {
    background: var(--surface-color);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* Iframe del brochure */

.fp-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 1px solid lightgray;
}


/* Footer */

.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-unit);
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.contact-link:hover {
    text-decoration: underline;
    transform: translateY(-1px);
}

.contact-link .fab.fa-whatsapp {
    color: #25D366;
    font-size: 1.1em;
}


/* Responsive Design */

@media (max-width: 1024px) {
    .header-content {
        padding: 0 calc(var(--spacing-unit) * 0.75);
    }
}

@media (max-width: 768px) {
    .brand h1 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand h1 {
        font-size: 1.25rem;
    }
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}


/* Animaciones suaves */

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

.brochure-container {
    animation: fadeIn 0.3s ease;
}


/* Estilos para impresión */

@media print {
    .header,
    .footer {
        display: none !important;
    }
    .brochure-container {
        height: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}