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

/* --------ROOT VARIABLES ------ */
:root {
    --color-primary: #7380ec;
    --color-danger: #ff7782;
    --color-success: #41f1b6;
    --color-warning: #ffbb55;
    --color-white: #fff;
    --color-info-dark: #7d8da1;
    --color-info-light: #dce1eb;
    --color-dark: #363649;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-primary-variant: #111e88;
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-padding: 1.8rem;
    --paadding-1: 1.2rem;

    --box-shadow: 0 2rem 3rem var(--color-light);
}

/* --------- DARK THEME VARIABLES ------- */
.dark-theme-variables {
    --color-background: #181a1e;
    --color-white: #202528;
    --color-dark: #edeffd;
    --color-dar-variant: #a3bdcc;
    --color-light: rgba(0, 0, 0, 0.4);
    --box-shadow: 02rem 3rem var(--color-light);
}

/* --------- TENET CORPORATE THEME ------- */
.tenet-theme-variables {
    --color-background: #1a2a42;
    --color-white: #243552;
    --color-dark: #e8f0ff;
    --color-dar-variant: #8bafd4;
    --color-light: rgba(0, 0, 0, 0.3);
    --color-primary: #7ba3d4;
    --color-info-dark: #6b9bc7;
    --color-info-light: #3a5578;
    --box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.25);
}



html {font-size: 14px;}



img{width:100%;}


* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    width: 100vw;
    min-height: 100vh;
    /* font-family: poppins, sans-serif; */
    font-family: 'Lufga', poppins, sans-serif;
    font-size: 0.88rem;
    background: var(--color-background);
    user-select: none;
    overflow-x: hidden;
    color: var(--color-dark);
}

/* ── Barra superior (top-bar negro) ── */
.top-bar {
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 42px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-left a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    transition: color 0.2s, background 0.2s;
}

.top-bar-left a:hover,
.top-bar-left a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.top-bar-right .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.top-bar-right .logo img {
    height: 28px;
    width: auto;
}


.top-bar .theme-toggler {
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.5rem;
    width: 5.7rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);
}

.top-bar .theme-toggler span {
    font-size: 0.95rem;
    width: 33.33%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, color 0.2s;
}

.top-bar .theme-toggler span.active {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--border-radius-1);
}

.top-bar .search-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.top-bar .search-btn:hover { color: #fff; }

.top-bar .search-btn .material-symbols-outlined { font-size: 1.2rem; }

/* ── Search overlay ── */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-overlay.open { display: flex; }

.search-box {
    background: var(--color-white);
    border-radius: var(--border-radius-2);
    padding: 1.2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 8px;
    background: transparent;
    color: var(--color-dark);
    font-family: inherit;
}

.search-box .close-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-info-dark);
    display: flex;
    align-items: center;
}

.search-box .close-search:hover { color: var(--color-danger); }

/* ── Barra de navegación principal (segundo nivel) ── */
nav {
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    position: relative;
    display: flex;
    align-items: center;
}

nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
}

/* ── Ítems de primer nivel ── */
nav > ul > li { position: relative; }

nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 22px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: background 0.2s, color 0.2s;
}

nav > ul > li > a:hover,
nav > ul > li:hover > a {
    background-color: rgba(255,255,255,0.08);
    color: #fff;
}

/* Indicador de submenú */
nav > ul > li > a .arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

nav > ul > li:hover > a .arrow { transform: rotate(180deg); }

/* ── Submenú escritorio ── */
nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background-color: #16213e;
    min-width: 200px;
    border-top: 2px solid #e94560;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    z-index: 100;
    flex-direction: column;
}

nav ul li ul li a {
    display: block;
    padding: 12px 20px;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

nav ul li ul li:last-child a { border-bottom: none; }

nav ul li ul li a:hover {
    background-color: rgba(233,69,96,0.15);
    color: #fff;
    padding-left: 26px;
}

nav ul li:hover > ul { display: flex; }


/* -----------main ----------*/
main {margin-top: 1.4rem;}

main .date {
    display: inline-block;
    background: var(--color-light);
    border-radius: var(--border-radius-1);
    margin-top: 1rem;
    padding: 0.5rem 1.6rem;
}

main .date input[type="date"] {
    background: transparent;
    color: var(--color-dark);
}


.main article{
	width:100%;	
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:1px solid #000;
	font-size:1.5em;
    color: var(--color-info-light);
}

.main article:nth-last-child(1){
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom:none;
}
 


.main article hr{
	margin-bottom: .5em;
	height: 2px;
	background: #4357ad;
	margin-top: .5em;
	border:3px solid #3b5998;
	border-radius:200px /8px;
}

.main .imgmain{width:20%; float:left; margin-right:20px;}
.main .imgmainder{width:42%; float:right; margin-top:3%; padding-top:5%; padding-right:10%;}

/* -- Contenedor -- */

.contenedor {
    display: grid;
    width: 96%;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 14rem auto 23rem;
    background: var(--color-dark);
}


a {color: var(--color-dark);}

img {
    display: block;
    width: 100%;
}

h1 {font-weight: 800; font-size: 1.8rem;}
h2 {font-size: 1.4rem;}
h3 {font-size: 0.87rem;}
h4 {font-size: 0.8rem;}
h5 {font-size: 0.77rem;}
small {font-size: 0.75rem;}
.text-muted {color: var(--color-info-dark);}
p {color: var(--color-dark-variant);}
b {color: var(--color-dark);}
.primary {color: var(--color-primary);}
.danger {color: var(--color-danger);}
.success {color: var(--color-success);}
.warning {color: var(--color-warning);}


/* ======== RIGHT ========= */
.right {
    margin-top: 1.4rem;
}

.right .top {
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.right .top button {
    display: none;
}

.right .theme-toggler {
    background: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.6rem;
    width: 4.2rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);
}

.right .theme-toggler span {
    font-size: 1.2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .theme-toggler span.active {
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-1);
}

.right .top .profile {
    display: flex;
    gap: 2rem;
    text-align: right;
}


/*---------------- formas y texto------------------------*/

.rectangule {
	margin:auto;
	margin-bottom:20px;
	padding:10px 1px;
	text-align:center;
	top:0;
	height:auto;
	box-shadow:3px 3px 3px 3px *#FEFEFE;
	box-sizing:border-box;
	word-wrap:break-word;
    background:yellow;
}

.cuadrado {
	margin:3%;
	padding:10px 1px;
	text-align:left;
	top:0;
	height:auto;
	box-sizing:border-box;
	word-wrap:break-word;
}

.cuadrado img{
	width:25%;
	height:25%;
    fill: white;
    padding-left: 5%;	
}

.rectcuadrado{
	/*max-width:100%;
	width:100%;*/
	margin-top:25px;
	margin-bottom:25px;
	height:auto;
	box-sizing:border-box;
	word-wrap:break-word;
	justify-content:center;
	display:table;
}

/*Cajas Flex */

.cajaflex{
	/*Flex*/ 
	display:flex; 
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:space-around;
    border-radius: 15px;
    padding: 15px;
    margin: 10px;
}

.cajaflex img{
	width: 55%;
    height: 55%;
    fill: white;
    padding-left: 5%;
}

.cajaflexmarco{
    /*display:flex;*/
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-around;
    display: inline-block; /* Para que se ponga al lado, no debajo */
    border-radius: 15px; /* Bordes redondeados */
    padding: 15px; /* Espacio interno entre contenido y borde */
    margin: 10px; /* Espacio externo entre esta caja y otras */
    border: 2px solid #3c556d; /* Borde: grosor, estilo, color */

    /*text-align: center;*/ /* Centrar texto dentro de la caja */
   /* font-family: sans-serif;*/
    overflow:hidden;

}

.cajaflexmarco img{
	width: 15%;
    height: 15%;
    fill: white;
    padding-left: 5%;
}

.cajaflexnomarco{
    /*display:flex;*/
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-around;
    display: inline-block; /* Para que se ponga al lado, no debajo */
    /*width:7%;  /*Ancho de la caja */
    /*height:150px; /* Alto de la caja */
    padding: 15px; /* Espacio interno entre contenido y borde */
    margin: 2px; /* Espacio externo entre esta caja y otras */

    /*text-align: center; /* Centrar texto dentro de la caja */
    overflow:hidden;
}

.cajaflexnomarco svg{
	width: 195%;
    height: 180%;
    fill: white;
    padding-left: 5%;
}

.cajaflexnomarco img{
	width: 15%;
    height: 15%;
    fill: white;
    padding-left: 5%;
}

.cajaflexnomarcoflechas{
    /*display:flex;*/
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-around;
    display: inline-block; /* Para que se ponga al lado, no debajo */
    /*width:7%;  /*Ancho de la caja */
    /*height:150px; /* Alto de la caja */
    padding: 15px; /* Espacio interno entre contenido y borde */
    margin: 2px; /* Espacio externo entre esta caja y otras */

    text-align: center; /* Centrar texto dentro de la caja */
    overflow:hidden;
}

.cajaflexnomarcoflechas svg{
	width: 60%;
    height: 80%;
    fill: white;
    padding-left: 5%;
}
	
.cajaflex2{
	position:relative;
	justify-content: center;
	align-items: center;
	min-height:45vh;
	/*background: #222;*/
}


/*Tamaños*/

.mini {width:3%;}
.chico {width:18%;}
.mediano {width:48%;}
.trescuartos{width:80%;}
.largo {width:98%;}


/* ── Theme toggler en nav (legacy — ahora en top-bar) ── */
nav .theme-toggler { display: none; }

/* ── Botón hamburguesa (oculto en escritorio) ── */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    padding: 14px 18px;
    cursor: pointer;
}

/* ── Logo en nav (legacy — ahora en top-bar) ── */
.nav-right { display: none; }

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

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

/* ── Responsive móvil ── */
@media (max-width: 768px) {

    .hamburger { display: block; }

    .top-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 6px 0.5rem;
    }

    .top-bar-left a { padding: 8px 12px; font-size: 12px; }

    nav {
        flex-wrap: wrap;
    }

    nav > ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
    }

    nav > ul.open { display: flex; }

    nav > ul > li > a {
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    /* Submenú móvil: flujo normal, sin posición absoluta */
    nav ul li ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        border-left: 3px solid #e94560;
        min-width: 100%;
        background-color: rgba(0,0,0,0.2);
    }

    nav ul li ul.open { display: flex; }

    /* En móvil el hover no aplica, solo .open */
    nav ul li:hover > ul { display: none; }
    nav ul li ul.open { display: flex; }

    nav ul li ul li a { padding-left: 32px; }
}


/* ══════════════════════════════════════════
   PÁGINA DE INICIO (Index.html)
   ══════════════════════════════════════════ */

/* ── Layout general ── */
.pagina-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center; 
}

.seccion-titulo {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

/* ── Hero ── */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0 2.5rem;
}

.hero-texto h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.hero-texto h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-texto p {
    font-size: 0.95rem;
    color: var(--color-dark-variant);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-hero {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-2);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-hero:hover { opacity: 0.85; }

.hero-slider {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-container .slide.active {
    opacity: 1;
}

/* ── Beneficios ── */
.beneficios-section {
    padding: 3rem 0;
    border-top: 1px solid var(--color-info-light);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.beneficio-card {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    padding: 1.8rem 1.4rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.2s;
}

.beneficio-card:hover { transform: translateY(-4px); }

.beneficio-card .material-symbols-outlined {
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.beneficio-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.beneficio-card p {
    font-size: 0.85rem;
    color: var(--color-dark-variant);
    line-height: 1.6;
}

/* ── Cómo contratar ── */
.contratar-section {
    padding: 3rem 0;
    border-top: 1px solid var(--color-info-light);
}

.pasos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.paso-card {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    padding: 1.6rem 1.2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    position: relative;
}

.paso-numero {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.paso-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.paso-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
}

.paso-card p {
    font-size: 0.8rem;
    color: var(--color-dark-variant);
    line-height: 1.5;
}

.paso-flecha {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.link-tutorial {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.link-tutorial:hover { text-decoration: underline; }

/* ── Descarga APP ── */
.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0;
    border-top: 1px solid var(--color-info-light);
}

.app-texto h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.app-texto p {
    color: var(--color-dark-variant);
    margin-bottom: 1rem;
}

.app-lista {
    list-style: none;
    margin-bottom: 1.5rem;
}

.app-lista li {
    font-size: 0.9rem;
    color: var(--color-dark-variant);
    padding: 0.3rem 0;
}

.app-botones {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-dark);
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: var(--border-radius-2);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-store:hover { opacity: 0.8; }

.app-imagen {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ── Footer ── */
.pagina-footer {
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    color: #c0c0c0;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 2rem;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-logo p {
    font-size: 0.85rem;
    color: #a0a0b0;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-links ul li a {
    color: #a0a0b0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links ul li a:hover { color: #fff; }

.footer-derechos {
    max-width: 1200px;
    margin: 1.2rem auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: #707080;
}


/* ── Responsive ── */
@media (max-width: 900px) {
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-contenido { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-section,
    .app-section { grid-template-columns: 1fr; }

    .hero-texto { order: 1; }
    .hero-slider { order: 2; }

    .beneficios-grid { grid-template-columns: 1fr; }

    .pasos-grid { flex-direction: column; align-items: stretch; }
    .paso-flecha { transform: rotate(90deg); align-self: center; }
    .paso-card { max-width: 100%; }

    .footer-contenido { grid-template-columns: 1fr; }
}


/* ── Contenido legal/texto ── */
.contenido-legal {
    padding: 2rem 0;
}

.contenido-texto {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    line-height: 1.8;
    font-size: 0.9rem;
    color: var(--color-dark-variant);
}

.contenido-texto h2 {
    color: var(--color-dark);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
}

.contenido-texto strong {
    color: var(--color-dark);
}

.contenido-texto hr {
    border: none;
    border-top: 1px solid var(--color-info-light);
    margin: 1rem 0;
}

.btn-vincula {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-2);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.btn-vincula:hover { opacity: 0.85; }

/* ── Search highlight ── */
.search-highlight {
    background: #ffeb3b;
    color: #000;
    padding: 1px 2px;
    border-radius: 2px;
}

/* ── Pricing Cards (Planes y Recargas) ── */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover { transform: translateY(-6px); }

.plan-card.destacado {
    border: 2px solid var(--color-primary);
    position: relative;
}

.plan-card.destacado::before {
    content: 'Mas Vendido';
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
}

.plan-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-variant));
    color: #fff;
    padding: 1.5rem 1rem;
}

.plan-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}

.plan-header .plan-datos {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.plan-precio {
    padding: 1.2rem 1rem 0.5rem;
}

.plan-precio .precio-mensual {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.plan-precio .precio-periodo {
    font-size: 0.8rem;
    color: var(--color-info-dark);
}

.plan-features {
    padding: 0.5rem 1.5rem 1rem;
    flex: 1;
}

.plan-features ul {
    list-style: none;
    text-align: left;
}

.plan-features ul li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--color-dark-variant);
    border-bottom: 1px solid var(--color-info-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.plan-features ul li .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--color-success);
}

.plan-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-actions .btn-plan {
    display: block;
    padding: 10px;
    border-radius: var(--border-radius-2);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
}

.plan-actions .btn-plan:hover { opacity: 0.85; }

.plan-actions .btn-plan-primary {
    background: var(--color-primary);
    color: #fff;
}

.plan-actions .btn-plan-outline {
    background: transparent;
    border: 1.5px solid var(--color-info-light);
    color: var(--color-dark-variant);
}

.plan-actions .btn-plan-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ── FAQ Accordion ── */
.faq-section {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius-2);
    box-shadow: var(--box-shadow);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    font-family: inherit;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--color-light);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.4rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.4rem 1.2rem;
}

.faq-answer p,
.faq-answer li {
    font-size: 0.88rem;
    color: var(--color-dark-variant);
    line-height: 1.7;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
}

.faq-answer ul li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.faq-answer ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* ── Contacto Form ── */
.contacto-form-container {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}

.contacto-field input,
.contacto-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-info-light);
    border-radius: var(--border-radius-2);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: var(--color-background);
    color: var(--color-dark);
    transition: border 0.2s;
}

.contacto-field input:focus,
.contacto-field textarea:focus {
    border-color: var(--color-primary);
}

.contacto-error {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--color-danger);
}

.contacto-exito {
    text-align: center;
    padding: 2rem 1rem;
}

.contacto-exito h3 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin: 0.75rem 0 0.5rem;
}

.contacto-exito p {
    color: var(--color-dark-variant);
    font-size: 0.9rem;
}


/* ── Responsive ── */
@media (max-width: 768px) {
    .confirm-grid {
        grid-template-columns: 1fr;
    }

    .bonos-grid {
        grid-template-columns: 1fr;
    }

    .resumen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
