@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #030a16;
    --bg-card: rgba(11, 26, 48, 0.45);
    --bg-card-hover: rgba(16, 38, 70, 0.7);
    --primary: #00d2ff;
    --primary-rgb: 0, 210, 255;
    --secondary: #ff007f;
    --secondary-rgb: 255, 0, 127;
    --text-main: #f8fafd;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.08);
    --font: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Base Layout & Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0077b6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #b5005b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 10, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.08), transparent 45%),
                radial-gradient(circle at bottom left, rgba(255, 0, 127, 0.05), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

/* Image Slider inside Hero */
.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(3, 10, 22, 0.95) 0%, rgba(3, 10, 22, 0.4) 60%, transparent 100%);
}

.slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Sections Base */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Fotomaton Section */
.fotomaton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hostess-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hostess-wrapper img {
    border-radius: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.interactive-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.card-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Plataforma 360 Section */
.plataforma-section {
    background: linear-gradient(180deg, #030a16 0%, #06152b 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.platform-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.platform-info p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.alert-badge {
    display: inline-block;
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(11, 26, 48, 0.8) 0%, rgba(3, 10, 22, 0.95) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
}

.badge-featured {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 30px;
    text-align: center;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--secondary);
}

.pricing-action {
    margin-top: auto;
}

.pricing-action .btn {
    width: 100%;
}

/* Contact Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(3, 10, 22, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 4px;
}

.form-checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary);
    width: 40px;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Modals / Popups System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999; /* Z-index altísimo para asegurar que quede por encima de todo */
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #06142a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 100000;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Solo aplica al botón de aspa de cierre (x) superior, no a botones de acción */
.modal-close:not(.btn) {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-smooth);
}

.modal-close:not(.btn):hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-body h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Modal Galleries */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* Footer simple */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background: #020711;
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Form Success & Error Messages */
.form-msg {
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    display: none;
}
.form-msg.success {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25d366;
    color: #25d366;
    display: block;
}
.form-msg.error {
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-actions {
        margin: 0 auto;
    }
    .slider-container {
        height: 380px;
    }
    .fotomaton-grid, .platform-grid, .pricing-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .interactive-cards {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
        border-radius: 15px;
    }
    .modal-body {
        padding: 25px;
    }
}

/* Ocultar la insignia flotante de reCAPTCHA para evitar solapamientos con WhatsApp, 
   mostrando el texto legal obligatorio en el pie del formulario de contacto */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* --- ESTILOS BANNER FOTOVIVA EN FOTOVITÓN --- */
.fv-promo-section {
    padding: 5rem 2rem;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.fv-promo-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.fv-promo-card {
    background: rgba(20, 20, 20, 0.65);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 20px;
    padding: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
/* Efecto hover en la tarjeta */
.fv-promo-card:hover {
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(197, 160, 89, 0.06), 0 20px 40px rgba(0, 0, 0, 0.6);
}
/* Decoración ambiental de fondo */
.fv-promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.fv-promo-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(197, 160, 89, 0.15);
    color: #c5a059;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}
.fv-promo-content {
    flex: 1 1 500px;
    z-index: 1;
}
.fv-promo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #ffffff;
    margin: 1rem 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fv-promo-title span {
    color: #c5a059;
    font-style: italic;
    font-weight: 400;
}
.fv-promo-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.fv-promo-description strong {
    color: #ffffff;
}
/* Botón interactivo */
.fv-promo-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #c5a059;
    color: #030303;
    border: 1px solid #c5a059;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}
.fv-promo-btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #030303;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}
.fv-arrow-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.fv-promo-btn-primary:hover .fv-arrow-icon {
    transform: translateX(5px);
}
/* Sección visual del logo */
.fv-promo-visual {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 2rem;
}
.fv-brand-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(197, 160, 89, 0.15));
    transition: transform 0.5s ease;
}
.fv-promo-card:hover .fv-brand-logo {
    transform: scale(1.05);
}
.fv-visual-tagline {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    color: #c5a059;
    font-size: 1.15rem;
    margin-top: 1rem;
    letter-spacing: 1px;
}
/* Responsividad para tabletas y móviles */
@media (max-width: 992px) {
    .fv-promo-card {
        padding: 3rem 2rem 2.5rem;
    }
    .fv-promo-title {
        font-size: 2rem;
    }
    .fv-promo-visual {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 2rem;
        width: 100%;
    }
}


