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

:root {
    /* Colores principales del nuevo diseño */
    --primary-cyan: #007eaa;
    --dark-cyan: #006089;
    --light-cyan: #0099cc;
    --primary-orange: #ff7800;
    --dark-orange: #ff7800;
    --light-orange: #ff7800;
    
    /* Colores base */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-gray: #F1F5F9;
    --medium-gray: #CBD5E1;
    --text-gray: #475569;
    --dark-text: #1E293B;
    --black: #0F172A;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Clases de fuente Poppins */
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}
.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}
.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}
.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}
.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--light-gray);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-cyan);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--dark-cyan);
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-cyan);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
    background: var(--dark-cyan);
}

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

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Estilos para menú móvil activo */
@media (max-width: 768px) {
    .nav-center.active,
    .nav-buttons.active {
        background: transparent !important;
    }
    
    .nav-center.active {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .nav-buttons.active {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white) !important;
        flex-direction: column;
        padding: 1rem;
        gap: 0.8rem;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-buttons.active .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1400px;
    padding: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--light-gray);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.2);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary-cyan);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Flip Cards - NUEVO DISEÑO: 75-80% IMAGEN + 20-25% BLANCO CON TEXTO AZUL */
.flip-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.flip-card {
    background-color: transparent;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FRENTE: 70% imagen + 30% texto blanco */
.flip-card-front {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    border: 2px dashed #CBD5E1;
}

.flip-card-front > img:first-child {
    width: 100%;
    height: 70%;
    max-height: 70%;
    object-fit: cover;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 30px 30px 0 0;
    display: block;
    z-index: 1;
    position: relative;
}

/* OVERLAY: sección inferior blanca con texto azul compacto */
.flip-card-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    height: 30%;
    min-height: 30%;
    max-height: 30%;
    background: var(--white);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.6rem;
    flex-shrink: 0;
    flex-grow: 0;
    z-index: 10;
}

.flip-card-overlay img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.flip-card-overlay h3 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: var(--primary-cyan);
    flex: 1;
    display: block;
    overflow: visible;
}

/* REVERSO: mantiene el diseño actual */
.flip-card-back {
    background: linear-gradient(135deg, var(--primary-cyan), var(--dark-cyan));
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
}

.flip-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
}

/* Blue Info Cards */
.info-card {
    background: var(--primary-cyan);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.info-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.info-card p, .info-card ul {
    color: var(--white);
}

/* Pricing Cards */
.pricing-card {
    background: var(--black);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--medium-gray);
    transition: all 0.4s ease;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-cyan);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(8, 145, 178, 0.3);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.3);
}

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

.pricing-badge {
    background: var(--primary-cyan);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.pricing-badge.orange {
    background: var(--primary-orange);
}

.pricing-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light-cyan);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-cyan);
    font-weight: 900;
    margin-right: 1rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    border-top: 3px solid var(--primary-cyan);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-cyan);
}

.footer-section p,
.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-cyan);
    transform: translateX(5px);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white);
}

.social-links a:hover {
    background: var(--light-cyan);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
}

.footer-bottom a {
    color: var(--light-cyan);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

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

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 1.7rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .nav-center {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: left 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-center.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 1.5rem;
    }

    .nav-buttons {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: right 0.4s ease;
        z-index: 998;
        border-top: 1px solid var(--light-gray);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-buttons.active {
        right: 0;
    }

    .nav-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .flip-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column !important;
        text-align: center;
    }
    
    .hero-content > div {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    
    .flip-card {
        height: 380px;
    }
    
    .flip-cards-container {
        grid-template-columns: 1fr;
    }
}

/* Special elements for orange text */
.orange-text {
    color: var(--primary-orange);
}

.cyan-text {
    color: var(--primary-cyan);
}

/* Check marks and icons */
.check-icon {
    color: var(--primary-cyan);
    font-weight: bold;
}

.orange-check {
    color: var(--primary-orange);
}
/* =======================
   BENEFICIOS - LAYOUT TIPO MAQUETA
   ======================= */

.benefit-row {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Tarjeta de texto (lado izquierdo) */
.benefit-text-card {
    flex: 1 1 0;
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.benefit-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.benefit-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-cyan);
}

/* Bloque con línea azul a la izquierda */
.benefit-text-body {
    margin-top: 0.5rem;
    padding-left: 1.8rem;
    border-left: 5px solid var(--primary-cyan);
}

.benefit-text-body p {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
}

.benefit-text-body h4 {
    margin: 1.3rem 0 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
}

.benefit-text-body ul {
    list-style: none;
    padding-left: 0;
}

.benefit-text-body li {
    color: var(--primary-cyan);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.benefit-text-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

/* Tarjeta de imagen (lado derecho) */
.benefit-image-card {
    flex: 1 1 0;
    border-radius: 35px;
    border: 6px solid var(--primary-cyan);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.benefit-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive: apilar en móvil */
@media (max-width: 992px) {
    .benefit-row {
        flex-direction: column;
    }

    .benefit-image-card,
    .benefit-text-card {
        flex: 1 1 100%;
    }
}


/* Forzar todos los textos del formulario a negro */
.right-panel label,
.right-panel p,
.right-panel small,
.right-panel h1,
.right-panel input::placeholder,
.right-panel select,
.right-panel input,
.fancy-separator span {
    color: #000 !important;
}

/* Fondo del input claro */
.right-panel input,
.right-panel select {
    background: #fff !important;
    border-color: #ccc !important;
}

/* Placeholder negro suave */
.right-panel input::placeholder {
    color: #333 !important;
}
/* Forzar textos del panel izquierdo a negro */
.left-panel h2 {
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
}

.left-panel p,
.left-panel li,
.left-panel span {
    color: #000 !important;
}

/* Quitar el fondo oscuro en los <li> */
.left-panel li {
    background: #eaeaea !important;
    border: 1px solid #d5d5d5 !important;
}

/* Botón ¡Y MÁS! */
.left-panel span {
    background: #fff !important;
    border: 1px solid #d5d5d5 !important;
}

/* Forzar "Precios y planes" resaltado como en la referencia */
.nav-links a[href="/#precios"] {
    color: var(--primary-cyan) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}
/* ==== HERO – LAYOUT COMO LA MAQUETA ==== */

.hero-content.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Columna izquierda */
.hero-left {
    flex: 1 1 460px;
    max-width: 540px;
    text-align: left;
}

.hero-left-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-left-title span:nth-child(1) {
    color: var(--primary-cyan);
}

.hero-left-title span:nth-child(2) {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 2.8rem;
}

/* Panel naranja con texto cambiante */
.hero-carousel-panel {
    background: var(--primary-orange);
    padding: 1.6rem 2.3rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    min-height: 95px;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.hero-carousel-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hero-carousel-icon {
    font-size: 2.4rem;
}

.hero-carousel-text {
    overflow: hidden;
    position: relative;
    flex: 1;
}

.hero-carousel-text h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
}

/* Textos bajo el panel */
.hero-left-subtitle {
    font-size: 1rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-left-note {
    color: var(--primary-orange);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Columna derecha (imagen) */
.hero-right {
    flex: 1 1 420px;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-right-inner {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.hero-right-inner img {
    width: 100%;
    height: auto;
}

/* Fila de botones */
.hero-cta-row {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

/* Fila de beneficios */
.hero-benefits-row {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-benefits-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-cyan);
    font-size: 0.95rem;
}

.hero-benefit-badge {
    background: #FFA500;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive: apilar en móvil como en la maqueta */
@media (max-width: 768px) {
    .hero-content.hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-cta-row {
        flex-direction: column;
    }
}
/* Forzar tamaño fijo en tarjetas de beneficios */
.benefit-image-card {
    width: 450px;      /* AJÚSTALO */
    height: 320px;     /* AJÚSTALO */
}

.benefit-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen sin deformarla */
}
/* Forzar tamaño fijo en todas las flip-cards */
.flip-card {
    width: 280px;     /* AJÚSTALO */
    height: 380px;    /* AJÚSTALO */
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorte asegurado */
}
.benefit-image-card {
    width: 450px;      /* ajusta a tu gusto */
    height: 320px;     /* ajusta a tu gusto */
    overflow: hidden;  /* evita que la imagen se "salga" */
    border-radius: 35px;
}

.benefit-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* llena sin deformarse */
    object-position: center;   /* centra para evitar zonas vacías */
}
.flip-card {
    width: 280px;     /* ajusta */
    height: 380px;    /* ajusta */
}

.flip-card-front {
    overflow: hidden;        /* evita que se salga */
    border-radius: 20px;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* siempre llena */
    object-position: center; /* centra perfecto */
    display: block;
}
.benefit-image-card img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center top; /* ← ¡este es el truco! */
}
.benefit-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%; /* centrado leve hacia arriba */
}

.benefit-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE MÓVIL - MEDIA QUERIES
   ============================================ */

/* Tablets y dispositivos medianos */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar-container {
        padding: 0 1.5rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .flip-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Móviles - Principal */
@media (max-width: 768px) {
    /* Hero section responsive - evitar solapamiento */
    .hero {
        padding-top: 100px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Forzar que la imagen no tenga margin negativo ni width excesivo */
    .hero-content > div:nth-child(2) {
        order: 2;
        margin-top: 1.5rem !important;
    }
    
    .hero-content > div:nth-child(2) > div {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content > div:nth-child(2) img {
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    /* Navbar responsive */
    .nav-center {
        display: none;
    }
    
    .nav-center.active {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(2px);
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        background: var(--white);
        margin: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: fit-content;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        margin: 0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        text-align: left;
        font-size: 1rem;
        color: var(--dark-text);
        font-weight: 600;
    }
    
    .nav-links a:hover {
        background: var(--off-white);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-buttons {
        display: none;
    }
    
    .nav-buttons.active {
        display: flex;
        position: fixed;
        top: calc(80px + 180px);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        font-weight: 700;
    }
    
    /* Hero Section móvil */
    .hero {
        padding: 100px 1rem 3rem;
        min-height: auto;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    /* Ajustar títulos del hero */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
    }
    
    h1 span {
        font-size: 2.2rem !important;
    }
    
    h1 span:nth-child(2),
    h1 span[style*="4.6rem"] {
        font-size: 2.8rem !important;
    }
    
    /* Panel naranja responsive - DIMENSIONES FIJAS */
    .carrusel-panel {
        min-height: 90px !important;
        height: 90px !important;
        padding: 0.6rem 1.5rem !important;
        border-radius: 20px !important;
        margin-bottom: 1rem !important;
    }
    
    .carrusel-content {
        width: 100%;
        justify-content: center !important;
        height: 100%;
    }
    
    #carrusel-icono {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0 !important;
    }
    
    #carrusel-texto {
        font-size: 2rem !important;
        min-width: 160px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    /* Textos del hero */
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    @media (max-width: 768px) {
        /* Imagen del hero – móvil, sin empalmar */
        .hero-content > div > div[style*="min-width: 300px"] img {
            margin-top: 0 !important;
            max-width: 100% !important;
        }
    }

    
    /* Botones del hero */
    .buttons-row {
        flex-direction: column !important;
        margin-top: 1rem !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .buttons-row a {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 1.4rem !important;
        padding: 1rem 1.5rem !important;
    }
    
    /* Beneficios del hero */
    .hero-content > div:last-child > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Secciones generales */
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    /* Cards responsive */
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
    
    /* Benefit rows móvil */
    .benefit-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefit-text-card {
        padding: 1.5rem 1.8rem;
    }
    
    .benefit-header h3 {
        font-size: 1.3rem;
    }
    
    .benefit-text-body {
        padding-left: 1.2rem;
        border-left: 3px solid var(--primary-cyan);
    }
    
    .benefit-text-body p {
        font-size: 0.95rem;
    }
    
    /* Imágenes de beneficios responsive */
    .benefit-image-card {
        width: 100% !important;
        height: 250px !important;
        max-width: 100% !important;
    }
    
    /* Flip cards móvil - UNA TARJETA A LA VEZ CON AUTO-FLIP AL DESLIZAR */
    .flip-cards-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 1rem 0 2rem;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        position: relative;
    }
    
    .flip-cards-container::-webkit-scrollbar {
        display: none;
    }
    
    /* OCULTAR INDICADOR DE DESLIZAR - YA NO SE USA */
    .flip-cards-container::after {
        display: none !important;
    }
    
    /* CADA TARJETA OCUPA CASI TODO EL ANCHO */
    .flip-card {
        flex: 0 0 90vw !important;
        width: 90vw !important;
        max-width: 380px !important;
        height: auto !important; /* Cambiado para acomodar el botón */
        min-height: 420px !important;
        margin: 0 5vw 0 0 !important;
        scroll-snap-align: center;
        background-color: transparent !important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Primera tarjeta con padding izquierdo para centrar */
    .flip-card:first-child {
        margin-left: 5vw !important;
    }
    
    /* Última tarjeta con padding derecho */
    .flip-card:last-child {
        margin-right: 5vw !important;
    }
    
    /* Transición suave para el flip manual */
    .flip-card .flip-card-inner {
        transition: transform 0.6s ease-in-out !important;
        flex: 1;
    }
    
    /* Desactivar hover en móvil completamente */
    .flip-card:hover .flip-card-inner {
        transform: none !important;
    }
    
    /* Las tarjetas volteadas por botón tendrán la clase .flipped */
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg) !important;
    }
    
    /* Asegurar que el frente sea visible por defecto */
    .flip-card-front {
        transform: rotateY(0deg);
        z-index: 2;
    }
    
    /* Asegurar que el reverso esté oculto por defecto */
    .flip-card-back {
        transform: rotateY(180deg);
        z-index: 1;
    }
    
    /* Pricing cards móvil */
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .pricing-title {
        font-size: 1.5rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    /* Video section móvil */
    .video-section-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .video-text-side,
    .video-media-side {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
    
    /* CTA final móvil */
    .section h2 {
        font-size: 2rem !important;
    }
    
    .section p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .navbar-container {
        padding: 0 1rem;
    }
    
    .nav-buttons .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }
    
    /* Hero ajustes para pantallas pequeñas */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h1 span[style*="4.6rem"] {
        font-size: 2.2rem !important;
    }
    
    #carrusel-icono {
        font-size: 1.5rem !important;
    }
    
    #carrusel-texto {
        font-size: 1.6rem !important;
    }
    
    .carrusel-panel {
        padding: 0.5rem 1rem !important;
        border-radius: 20px !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .buttons-row a {
        font-size: 1.2rem !important;
        padding: 0.9rem 1.2rem !important;
    }
    
    /* Secciones */
    .section {
        padding: 2rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .card {
        padding: 1.2rem;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
    
    /* Benefit text */
    .benefit-text-card {
        padding: 1.2rem 1.5rem;
    }
    
    .benefit-header h3 {
        font-size: 1.2rem;
    }
    
    .benefit-text-body p,
    .benefit-text-body li {
        font-size: 0.9rem;
    }
    
    .benefit-image-card {
        height: 220px !important;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-title {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
    
    /* Stats */
    .card h3[style*="3.5rem"] {
        font-size: 2.5rem !important;
    }
    
    .card p[style*="1.2rem"] {
        font-size: 1rem !important;
    }
}

/* Landscape móvil */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 1rem 2rem;
    }
    
    /* Imagen del hero – móvil, sin empalmar */
    .hero-content > div > div[style*="max-width: 800px"] img {
        margin-top: 0 !important;
        max-width: 100% !important;
    }

    /* Asegurar que la imagen del hero no se solape en móvil */
    .hero-content > div:nth-child(2) {
        margin-top: 2rem !important;
    }
    
    .hero-content > div:nth-child(2) > div {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content > div:nth-child(2) img {
        margin-top: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    
    .buttons-row {
        flex-direction: row !important;
    }
    
    .buttons-row a {
        max-width: 48% !important;
    }
}
/* =========================================
   CONFIGS EDITABLES (AJUSTA A TU GUSTO)
   ========================================= */
:root {
    /* Ajusta cuánto sube/baja el texto del overlay */
    --flip-text-offset-y: -20px;

    /* Ajusta cuánto sube/baja el icono del overlay */
    --flip-icon-offset-y: 70px;
}

/* =========================================
   TARJETAS FLIP — CONFIGURACIÓN FINAL
   ========================================= */

.flip-card {
    width: 280px;
    height: 380px;
    perspective: 1000px;
}

/* FRONT: sin borde lineado y estructura limpia */
.flip-card-front {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    border: none !important; /* ← ADIÓS BORDE LINEADO */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Imagen superior: ocupa 70% y no rompe el overlay */
.flip-card-front > img:first-child {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Overlay inferior – icono izquierda + texto centrado */
.flip-card-overlay {
    height: 30%;
    background: var(--white);
    padding: 0.8rem 1.2rem;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 0.8rem;
    border: none !important;
    position: relative;
}

/* ICONO – editable con variable */
.flip-card-overlay img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;

    /* mover icono arriba/abajo */
    transform: translateY(var(--flip-icon-offset-y));
}

/* TEXTO – centrado real */
.flip-card-overlay h3 {
    flex: 1;                         /* ocupa espacio */
    text-align: center;              /* centra */
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--black);

    /* mover texto arriba/abajo */
    transform: translateY(var(--flip-text-offset-y));
}

/* =========================================
   BOTÓN SCROLL TO TOP
   ========================================= */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-cyan);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 126, 170, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark-cyan);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 126, 170, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive para el botón scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Ocultar imagen desktop del hero en móvil */
    .hero-image-desktop {
        display: none !important;
    }
    
    /* Mostrar imagen móvil del hero */
    .hero-image-mobile {
        display: block !important;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Wrapper para las tarjetas flip con navegación */
    .flip-cards-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0;
        margin: 2rem 0;
    }
    
    /* Botones de navegación para flip cards - CÍRCULO AZUL CON FLECHA BLANCA */
    .flip-nav-btn {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        min-width: 50px;
        background: var(--primary-cyan);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 126, 170, 0.4);
    }
    
    .flip-nav-btn.flip-nav-prev {
        left: 10px;
    }
    
    .flip-nav-btn.flip-nav-next {
        right: 10px;
    }
    
    .flip-nav-btn:hover {
        background: var(--dark-cyan);
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 126, 170, 0.5);
    }
    
    .flip-nav-btn:active {
        transform: scale(0.95);
    }
    
    .flip-nav-btn svg {
        width: 24px;
        height: 24px;
        stroke-width: 3;
    }
    
    /* Botón de volteo individual para cada tarjeta */
    .flip-toggle-btn {
        display: block;
        width: 90%;
        max-width: 320px;
        margin: 1rem auto 0;
        padding: 0.8rem 1.5rem;
        background: var(--primary-cyan);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 126, 170, 0.3);
    }
    
    .flip-toggle-btn:hover {
        background: var(--dark-cyan);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 126, 170, 0.4);
    }
    
    .flip-toggle-btn:active {
        transform: translateY(0);
    }
}

/* Desktop - ocultar botones de navegación y volteo */
@media (min-width: 769px) {
    .flip-nav-btn,
    .flip-toggle-btn {
        display: none !important;
    }
    
    /* Mostrar solo imagen desktop */
    .hero-image-mobile {
        display: none !important;
    }
    
    .hero-image-desktop {
        display: flex !important;
    }
    
    .flip-cards-wrapper {
        display: block;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}