/* ========== LOGO CON ANIMACIÓN ========== */
.logo-link {
    text-decoration: none;           /* Elimina el subrayado */
    display: inline-block;
}

.logo {
    display: inline-block;
    transition: all 0.3s ease;       /* Transición suave para hover */
}

/* Efecto flotante al pasar el mouse (sin animación continua) */
.logo-link:hover .logo {
    transform: translateY(-3px);
}

/* Si prefieres una animación flotante continua (siempre activa), descomenta esto y comenta el hover anterior */
/*
.logo {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.logo-link:hover .logo {
    animation-play-state: paused;
}
*/

















/* ========== RESET + GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e1e2a;
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.orange-text {
    color: #f15a24;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e1e2a;
}

.logo-orange {
    color: #f15a24;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2c2c38;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #f15a24;
}

.nav-cta .btn-small {
    background: #f15a24;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    font-size: 0.9rem;
}

.nav-cta .btn-small:hover {
    background: #d14614;
    transform: scale(0.97);
}

.menu-toggle {
    display: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #f15a24;
}

/* ========== HERO CARRUSEL ========== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    width: 90%;
    max-width: 950px;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta-button, .btn-primary {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #f15a24;
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.25s;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(241, 90, 36, 0.3);
}

.cta-button:hover, .btn-primary:hover {
    background: #d14614;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(241, 90, 36, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    border: none;
    color: white;
    font-size: 1.6rem;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    z-index: 25;
    border-radius: 60px;
    transition: 0.2s;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn:hover {
    background: #f15a24;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 25;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #f15a24;
    width: 28px;
    border-radius: 12px;
}

/* ========== SECCIONES GENERALES ========== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(241, 90, 36, 0.12);
    color: #f15a24;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #5a5a6e;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== SERVICIOS CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.service-card {
    background: white;
    border-radius: 32px;
    padding: 2rem 1.8rem;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #f15a2420;
    box-shadow: 0 30px 40px -15px rgba(241, 90, 36, 0.15);
}

.card-icon {
    background: #fff0e8;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: #f15a24;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #2c2c38;
    font-weight: 500;
}

.service-list li i {
    color: #f15a24;
    font-size: 0.8rem;
    width: 20px;
}

.services-footnote {
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    background: #fef7f2;
    padding: 1rem;
    border-radius: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== NOSOTROS ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.about-text p {
    color: #3a3a4a;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.mission-vision {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.mv-item i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.mv-item h4 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.about-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

/* ========== CLIENTES CARRUSEL ========== */
.clients-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 2rem;
}

.clients-track {
    display: flex;
    width: calc(200%);
    animation: scrollClients 30s linear infinite;
}

.clients-track img {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    object-fit: contain;
    margin: 0 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.clients-track img:hover {
    opacity: 1;
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* ========== GALERÍA DE EVENTOS ========== */
.event-sections {
    padding: 4rem 0 0;
}

.event-block {
    padding: 5rem 0;
    transition: background-color 0.3s ease;
}

.event-block--gray {
    background-color: #f5f5f7;
    color: #1a1a2e;
}

.event-block--orange {
    background-color: #f15a24;
    color: #ffffff;
}

.event-block--orange .event-legend h3,
.event-block--orange .event-legend p,
.event-block--orange .event-date {
    color: #ffffff;
}

.event-block--orange .event-date {
    background: rgba(255,255,255,0.2);
}

.event-block--orange .legend-divider span {
    background: #ffffff;
}

.event-block--orange .legend-divider i {
    color: #ffffff;
}

.event-legend {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.legend-icon {
    width: 70px;
    height: 70px;
    background: #f15a24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    animation: floatIcon 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(241, 90, 36, 0.3);
}

.event-block--orange .legend-icon {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.event-block--orange .legend-icon i {
    color: #f15a24;
}

.legend-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.event-date {
    display: inline-block;
    background: rgba(241, 90, 36, 0.12);
    color: #f15a24;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.event-legend h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.event-block--gray .event-legend h3 {
    color: #1a1a2e;
}

.legend-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto;
    width: 100px;
}

.legend-divider span {
    width: 30px;
    height: 2px;
    background: #f15a24;
    border-radius: 2px;
}

.legend-divider i {
    color: #f15a24;
    font-size: 0.8rem;
}

.event-legend p {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1rem;
    line-height: 1.6;
}

.event-block--gray .event-legend p {
    color: #4a4a5a;
}

.reels-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.photos-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reel-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.15);
    aspect-ratio: 9 / 16;
    background: #000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(241, 90, 36, 0.3);
}

.reel-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.play-overlay i {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.reel-box:hover .play-overlay {
    opacity: 1;
}

.audio-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 30px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s;
}

.audio-btn:hover {
    background: #f15a24;
    transform: scale(1.05);
}

.photo-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-box:hover {
    transform: scale(1.02);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 0.6rem;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-box:hover .photo-caption {
    opacity: 1;
}

/* ========== CONTACTO ========== */
.contact-section {
    background: #fafafc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    margin: 2rem 0;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.contact-details i {
    color: #f15a24;
    width: 28px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-icons a {
    background: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    color: #f15a24;
    font-size: 1.3rem;
    transition: 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-icons a:hover {
    background: #f15a24;
    color: white;
    transform: scale(1.05);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 32px;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.05);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e2e2e8;
    border-radius: 28px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #f15a24;
    box-shadow: 0 0 0 3px rgba(241,90,36,0.1);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
    background: #0f0f14;
    color: #cdcddf;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #cdcddf;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f15a24;
}

/* ========== ANIMACIONES SCROLL ========== */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
}

.fade-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== LIGHTBOX ========== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    z-index: 2001;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 2002;
}

/* ========== MENSAJES DEL FORMULARIO ========== */
#formMessage {
    font-weight: 500;
    text-align: center;
    animation: fadeInMessage 0.3s ease;
}

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

.alert-success-form {
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

.alert-error-form {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
}

.alert-info-form {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
    border: 1px solid #bee5eb !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .reels-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .photos-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .navbar.responsive .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        background: white;
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        gap: 1rem;
    }
    .navbar.responsive .nav-cta {
        display: block;
        position: absolute;
        top: 70px;
        right: 20px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .carousel-btn {
        display: none;
    }
    .clients-track img {
        width: 120px;
        margin: 0 12px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .clients-track img {
        width: 100px;
        margin: 0 10px;
    }
    .reels-row {
        grid-template-columns: 1fr;
    }
    .photos-row {
        grid-template-columns: 1fr;
    }
    .event-legend h3 {
        font-size: 1.5rem;
    }
    .legend-icon {
        width: 50px;
        height: 50px;
    }
    .legend-icon i {
        font-size: 1.3rem;
    }
}





.alert-warning-form {
    background: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeeba !important;
}

/* Mensaje de éxito personalizado */
.alert-success-form {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
    color: #155724 !important;
    border: 1px solid #f15a24 !important;
    border-left: 6px solid #f15a24 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* Efecto de brillo naranja alrededor de cada card de video */
.reel-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.reel-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px 8px rgba(241, 90, 36, 0.6);
}

.audio-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.audio-btn:hover {
    background: #f15a24;
    transform: scale(1.05);
}















/* ========== BANDA NARANJA CON ESTADÍSTICAS (UNIFICADA) ========== */
.cta-modern.stats-integrated {
    position: relative;
    padding: 5rem 0;
    margin: 2rem 0 0;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Efecto de degradado en movimiento */
.cta-modern.stats-integrated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #f15a24 0%, 
        #ff7b3a 25%, 
        #ff9e5e 50%, 
        #ff7b3a 75%, 
        #f15a24 100%);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    z-index: -2;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Capa de brillo adicional */
.cta-modern.stats-integrated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Elementos flotantes (partículas) */
.cta-modern.stats-integrated .cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.cta-modern.stats-integrated .cta-particles::before,
.cta-modern.stats-integrated .cta-particles::after {
    content: '✦';
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.4);
    animation: floatParticle 12s linear infinite;
}

.cta-modern.stats-integrated .cta-particles::before {
    top: 15%;
    left: 10%;
    animation-duration: 14s;
    animation-delay: -2s;
}

.cta-modern.stats-integrated .cta-particles::after {
    content: '●';
    top: 70%;
    right: 12%;
    font-size: 1rem;
    animation-duration: 18s;
    animation-delay: -5s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}

/* Contenido principal */
.cta-modern.stats-integrated .cta-modern-container {
    position: relative;
    z-index: 5;
}

.cta-modern-content {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-modern-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: white;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.cta-modern-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-modern-title .orange-text {
    color: #fff3e0;
    text-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Grid de estadísticas (adaptado a fondo naranja) */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 1rem;
    position: relative;
}

/* Separador vertical entre cada stat (línea blanca semitransparente) */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.4);
}

/* Números grandes y con presencia */
.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.counter {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.stat-suffix {
    font-size: 2.2rem;
    font-weight: 700;
    margin-left: 2px;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* Texto final */
.stats-footer {
    text-align: center;
    max-width: 700px;
    margin: 2rem auto 0;
}

.stats-quote {
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    font-style: italic;
    border-left: 3px solid rgba(255,255,255,0.8);
    padding-left: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 3rem;
    }
    .stat-suffix {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .cta-modern.stats-integrated {
        padding: 3rem 0;
    }
    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding-bottom: 1.5rem;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .stat-number {
        font-size: 2.8rem;
    }
    .cta-modern-title {
        font-size: 1.8rem;
    }
    .stats-quote {
        font-size: 0.9rem;
        padding-left: 1rem;
    }
}



/* ========== CABECERA PRE-GALERÍA (FRANJA NARANJA) ========== */
.gallery-prelude {
    position: relative;
    padding: 3rem 0;
    margin: 2rem 0 0;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Degradado animado (mismo efecto que la franja original) */
.gallery-prelude::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #f15a24 0%, 
        #ff7b3a 25%, 
        #ff9e5e 50%, 
        #ff7b3a 75%, 
        #f15a24 100%);
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
    z-index: -2;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Capa de brillo (glow) */
.gallery-prelude::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Partículas flotantes */
.prelude-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.prelude-particles::before,
.prelude-particles::after {
    content: '✦';
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
    animation: floatParticle 14s linear infinite;
}

.prelude-particles::before {
    top: 20%;
    left: 10%;
    animation-duration: 16s;
    animation-delay: -2s;
}

.prelude-particles::after {
    content: '●';
    top: 70%;
    right: 15%;
    font-size: 0.9rem;
    animation-duration: 20s;
    animation-delay: -5s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}

/* Contenedor del contenido */
.prelude-container {
    position: relative;
    z-index: 5;
}

.prelude-content {
    max-width: 800px;
    margin: 0 auto;
}

.prelude-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: white;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.prelude-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.prelude-title .orange-text {
    color: #fff3e0;
    text-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.prelude-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Separador decorativo */
.prelude-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100px;
    margin: 1rem auto 0;
}

.prelude-divider span {
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
}

.prelude-divider i {
    color: rgba(255,255,255,0.8);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-prelude {
        padding: 2rem 0;
    }
    .prelude-title {
        font-size: 1.5rem;
    }
    .prelude-text {
        font-size: 0.9rem;
    }
}

.gallery-prelude {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.gallery-prelude.prelude-visible {
    opacity: 1;
    transform: translateY(0);
}
















/* ========== PRO MARKETING FORM - ACTIVATODO ========== */

.pro-marketing-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pro-marketing-form .form-group {
    text-align: left;
}

.pro-marketing-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #f15a24;
}

/* Contenedor del Campo */
.field-wrapper {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e1e1e1;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    overflow: hidden;
}

.field-wrapper:focus-within {
    border-color: #f15a24;
    box-shadow: 0 5px 15px rgba(241, 90, 36, 0.1);
    transform: translateY(-1px);
}

/* Inputs y Textarea */
.field-wrapper input,
.field-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background: transparent;
}

/* Ajuste específico para Teléfono */
.phone-input-container {
    align-items: center;
}

.prefix {
    background: #f8f9fa;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    color: #2d3436;
    border-right: 1.5px solid #e1e1e1;
    font-size: 0.95rem;
    user-select: none;
}

/* Botón Pro */
.submit-button-pro {
    background: #f15a24;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.2);
    transition: all 0.3s ease;
}

.submit-button-pro:hover {
    background: #ff6a3a;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(241, 90, 36, 0.3);
}

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

/* Form Footer / Trust Badge */
.form-footer {
    text-align: center;
    margin-top: 0.5rem;
}

.form-footer p {
    font-size: 0.8rem;
    color: #777;
}

.form-footer i {
    color: #2ecc71;
    margin-right: 4px;
}

/* Mensajes de Estado */
.status-message {
    display: none;
    margin-top: 1rem;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

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

/* ========== CORRECCIÓN PREFIJO TELEFÓNICO ========== */

.phone-input-container {
    display: flex;
    align-items: stretch; /* Estira ambos elementos para que tengan la misma altura */
    height: 52px; /* Altura fija para control total */
}

.prefix {
    background: #f8f9fa;
    padding: 0 15px;
    color: #2d3436;
    font-weight: 800;
    font-size: 0.95rem;
    border-right: 1.5px solid #e1e1e1;
    
    /* ESTAS TRES LÍNEAS SON LA SOLUCIÓN AL SALTO DE LÍNEA */
    display: flex;
    align-items: center;
    white-space: nowrap; /* Evita que el "9" se baje */
    flex-shrink: 0;      /* Evita que el contenedor se comprima */
    
    user-select: none;
}

.phone-input-container input {
    flex: 1; /* El input toma todo el espacio restante */
    padding: 0 15px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
}   