/* --- Configuración General --- */
:root {
    --rojo-max: #FF2A2A;
    --negro-texto: #333333;
    --gris-texto: #555555;
    --gris-borde: #E5E5E5;
    --blanco: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito Sans', Arial, sans-serif;
    background-color: #FFFFFF;
}

/* Animación global de entrada de página */
@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/* --- Barra Superior (Top Bar) --- */
.top-bar {
    border-bottom: 1px solid var(--gris-borde);
    background-color: var(--blanco);
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    height: 40px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
}

.top-link {
    text-decoration: none;
    color: var(--gris-texto);
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.top-link:hover {
    color: var(--negro-texto);
}

/* Preparamos la línea inferior para TODOS los links de esta barra */
.top-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    /* Respeta el padding para que la línea mida lo mismo que el texto */
    right: 16px;
    height: 3px;
    background-color: transparent;
    /* Transparente por defecto */
    transition: background-color 0.2s ease;
}

/* Al pasar el mouse (hover), la línea se vuelve roja */
.top-link:hover::after {
    background-color: var(--rojo-max);
}

/* El link de la página actual (active) se queda con texto negrita y la línea roja fija */
.top-link.active {
    color: var(--negro-texto);
    font-weight: 600;
}

.top-link.active::after {
    background-color: var(--rojo-max);
}

/* El estilo del botón activo (Hogar o Empresas) */
.top-link.active {
    color: var(--negro-texto);
    font-weight: 600;
}

.top-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--rojo-max);
    /* Usamos tu rojo en vez del azul de AT&T */
}

/* --- Header Principal --- */
.main-header {
    background-color: var(--blanco);
    border-bottom: 1px solid var(--gris-borde);
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    /* Esta es la clave: le da 30px de aire a los costados para que nada toque el borde */
}

.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Botón Menú Hamburguesa (Oculto por defecto) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--negro-texto);
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn svg {
    display: block;
}

/* Logo */
.logo-img {
    height: 35px;
    /* Ajustá esto según cómo se vea tu PNG */
    width: auto;
    display: block;
}

/* Menú de enlaces principal */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin-left: 10px;
}

.main-nav a {
    text-decoration: none;
    color: var(--negro-texto);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--rojo-max);
}

/* --- Barra de Búsqueda (Search Box) --- */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--gris-texto);
    border-radius: 20px;
    /* Bordes redondeados como en la imagen */
    padding: 4px 12px;
    width: 250px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding: 4px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gris-texto);
    display: flex;
    align-items: center;
}

/* Enlaces de la derecha */
.action-link {
    text-decoration: none;
    color: var(--negro-texto);
    font-size: 15px;
    font-weight: 400;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-link:hover {
    color: var(--rojo-max);
}

/* --- Botón Portal MAX --- */
.portal-btn {
    background-color: var(--rojo-max);
    color: white;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: 2px solid transparent;
}

.portal-btn:hover {
    background-color: white;
    color: var(--rojo-max);
    border-color: var(--rojo-max);
    transform: translateY(-2px);
    box-shadow: none;
}

.portal-btn svg {
    transition: transform 0.3s ease;
}

.portal-btn:hover svg {
    transform: scale(1.1);
}

/* --- HERO SECTION ESTILO CURVA AT&T --- */
.hero-max {
    padding: 40px 0 10px 0;
    background-color: #fff;
}

.hero-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

.hero-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #f0f0f0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 90px rgba(0, 0, 0, 0.1);
}

.hero-top-section {
    display: flex;
    width: 100%;
    min-height: 500px;
}

.hero-content {
    flex: 1.1;
    background: linear-gradient(135deg, #ff0000 0%, #8f0000 100%);
    color: white;
    padding: 60px 80px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
    clip-path: ellipse(95% 150% at 0% 50%);
}

.hero-image {
    flex: 1;
    margin-left: -10%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-badge {
    background: rgb(255, 255, 255);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #000000;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 750px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-blanco {
    background: white;
    border: solid;
    border-color: #FFFFFF;
    color: #e60000;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-borde {
    background: none;
    border: solid;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-blanco:hover {
    background-color: #ffe9e9;
}

.btn-borde:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #e60000;
}

/* --- Banda Inferior Integrada (Ex Sub-Hero) --- */
.sub-hero-bar {
    background-color: #ffe1e1;
    /* El celeste claro */
    padding: 18px 20px;
    width: 100%;
    z-index: 1;
}

.sub-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sub-hero-bar p {
    font-size: 14px;
    color: #000000;
    margin: 0;
}

.sub-hero-bar p a {
    color: #000000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sub-hero-bar p a:hover {
    color: var(--rojo-max);
}

/* --- EFECTO HOVER PÍLDORA -> IMAGEN --- */
.hero-badge {
    cursor: default;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-top-section:has(.hero-badge:hover) .hero-image img {
    transform: scale(1.08);
}

.hero-card:hover .hero-image img {
    transform: scale(1.06);
    /* Un zoom sutil del 6% para que sea elegante */
}

/* --- SECCIÓN COBERTURA (PÍLDORA) --- */
.coverage-section {
    padding: 90px 0 60px 0;
    /* Da espacio para que respire separándose del hero */
    background-color: var(--blanco);
}

.coverage-container {
    max-width: 1600px;
    /* Un poco más angosto que el hero para darle foco */
    width: 95%;
    margin: 0 auto;
}

.coverage-card {
    background-color: #F3F4F6;
    border-radius: 32px;
    /* La forma de píldora */
    box-shadow: none;
    /* Sombra eliminada */
    padding: 70px 60px;
    border: none;
}

.coverage-header {
    text-align: center;
    margin-bottom: 60px;
}

.coverage-header h2 {
    font-size: 40px;
    color: var(--negro-texto);
    margin-bottom: 15px;
    font-weight: 800;
}

.coverage-header p {
    color: var(--gris-texto);
    font-size: 16px;
}

/* Estructura del formulario en grilla flexible */
.coverage-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row.full-width {
    align-items: flex-end;
    /* Alinea el botón de abajo con la caja de texto */
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--negro-texto);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid #CCCCCC;
    border-radius: 12px;
    /* Input moderno */
    font-size: 15px;
    font-family: inherit;
    color: var(--negro-texto);
    transition: all 0.3s ease;
    outline: none;
}

/* Efecto cuando el cliente hace clic para escribir */
.form-group input:focus,
.form-group select:focus {
    border-color: var(--rojo-max);
    box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.15);
    /* Aureola roja suave */
}

/* Botón de acción */
.btn-rojo {
    background-color: var(--rojo-max);
    color: var(--blanco);
    border: none;
    padding: 0 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 52px;
    /* Misma altura que la caja de texto de al lado */
    white-space: nowrap;
}

.btn-rojo:hover {
    background-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 42, 42, 0.3);
}

/* --- SECCIÓN DE PLANES (EN PÍLDORA) --- */
.planes-section {
    padding: 20px 0 80px 0;
    background-color: var(--blanco);
}

.planes-container {
    max-width: 1600px;
    /* Mismo ancho que el Hero y la Cobertura */
    width: 95%;
    margin: 0 auto;
}

/* La nueva gran píldora que envuelve la sección */
.planes-main-pill {
    background-color: #F3F4F6;
    border-radius: 32px;
    box-shadow: none;
    padding: 70px 60px;
    border: none;
}

.planes-header {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 50px auto;
}

.planes-header h2 {
    font-size: 40px;
    color: rgb(32, 32, 32);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.planes-header p {
    font-size: 18px;
    color: var(--gris-texto);
    line-height: 1.6;
}

/* Grilla de tarjetas */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

/* Grilla de tarjetas estilo AT&T (Más angostas y limpias) */
.planes-grid.compacta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Ancho máximo más chico */
    gap: 20px;
    align-items: start;
    justify-content: center;
    /* Centra las tarjetas si sobran espacios */
    padding: 0 20px;
    /* Un poco de margen interno */
    margin-top: 60px;
}

/* Tarjeta Base estilo AT&T */
.plan-card-att {
    background-color: var(--blanco);
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    /* Borde gris muy suave */
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.plan-card-att:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08); /* Sombra más suave y expandida */
    transform: translateY(-5px) scale(1.02); /* Zoom suave y expansión */
}

/* Tarjeta Destacada (Gamer) */
.plan-card-att.destacado {
    border: 2px solid var(--rojo-max);
    transform: scale(1.02);
    /* Apenitas más grande de base */
}

.plan-card-att.destacado:hover {
    transform: scale(1.04) translateY(-5px); /* Más expansión al hacer hover sobre el destacado */
}

/* Listón del destacado */
.plan-ribbon-att {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--rojo-max);
    color: var(--blanco);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-att-speed {
    font-size: 28px;
    /* Título grande pero no gigante */
    font-weight: 800;
    color: var(--negro-texto);
    margin-bottom: 12px;
    line-height: 1.1;
}

/* Rating de Estrellas */
.plan-att-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.plan-att-rating span {
    font-size: 13px;
    color: #555;
    margin-left: 6px;
    font-weight: 600;
}

/* Texto verde de seguridad/precio */
.plan-att-secure {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}

.plan-att-secure svg {
    flex-shrink: 0;
    /* Evita que el escudo se aplaste */
}

.plan-att-secure p {
    font-size: 14px;
    color: #1a8636;
    /* Verde oscuro de seguridad */
    margin: 0;
    line-height: 1.4;
}

/* Botón Azul Oscuro (Estilo AT&T) */
.btn-plan-att {
    display: block;
    background-color: var(--rojo-max);
    /* Azul marino oscuro */
    color: var(--blanco);
    text-align: center;
    padding: 12px;
    border-radius: 24px;
    /* Muy redondeado */
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-bottom: 24px;
    margin-top: 24px;
}

.btn-plan-att:hover {
    background-color: #660000;
    /* Azul aún más oscuro al pasar el mouse */
}

/* Lista de Beneficios (Abajo) */
.plan-att-features {
    margin-top: 10px;
}

.plan-att-features h4 {
    font-size: 16px;
    color: var(--rojo-max);
    margin-bottom: 16px;
    font-weight: 700;
}

.plan-att-features ul {
    list-style-type: disc;
    /* Vuelve el clásico punto (viñeta) */
    padding-left: 20px;
    /* Da espacio para que el punto se vea bien */
    margin: 0;
}

.plan-att-features li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* --- PÍLDORA ADICIONAL OPCIONAL (MAX-Fi Mesh) --- */

/* Línea separadora con texto */
.addon-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0 15px 0;
    color: #666666;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.addon-separator::before,
.addon-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gris-borde);
}

.addon-separator::before {
    margin-right: 12px;
}

.addon-separator::after {
    margin-left: 12px;
}

/* Contenedor de la píldora interna */
.addon-pill {
    background-color: #fbf4f4;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mesh-selection {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mesh-selection:hover {
    transform: translateX(3px);
}

.mesh-checkbox {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.addon-title {
    font-weight: 700;
    color: var(--negro-texto);
    font-size: 15px;
    grid-column: 2;
}

.addon-price {
    font-size: 13px;
    color: var(--gris-texto);
    grid-column: 2;
    text-align: left;
    line-height: 1.4;
    margin-top: 2px;
}

.addon-price strong {
    font-size: 15px;
    color: var(--rojo-max);
}

/* Descripción del servicio */
.addon-desc {
    font-size: 13px;
    color: var(--gris-texto);
    line-height: 1.5;
    margin: 0;
}

/* --- SECCIÓN POR QUÉ ELEGIRNOS (Alineada) --- */
.why-us-section {
    padding: 40px 0;
    /* Un poco más de aire arriba y abajo */
    background-color: var(--blanco);
}

/* Nuevo contenedor ancho para alinear con las otras píldoras */
.why-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

/* La píldora contenedora con el fondo gris del "resto" */
.why-us-pill {
    background-color: #F3F4F6;
    border-radius: 32px;
    box-shadow: none;
    padding: 70px 60px;
    border: none;
}

.why-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-header h2 {
    font-size: 40px;
    color: var(--negro-texto);
    font-weight: 800;
    margin-bottom: 15px;
}

.why-header p {
    font-size: 16px;
    color: var(--gris-texto);
}

/* Grilla de las ventajas */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--blanco);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 42, 42, 0.05);
    color: var(--rojo-max);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--negro-texto);
}

.why-card p {
    font-size: 15px;
    color: var(--gris-texto);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* (Estilos consolidados arriba) */

/* --- FOOTER PRINCIPAL --- */
.main-footer {
    background-color: #ffe9e9;
    /* Azul noche elegante (mismo tono oscuro premium) */
    color: var(--negro-texto);
    /* Gris muy clarito para el texto */
    padding: 70px 0 0 0;
    font-size: 14px;
}

/* Contenedor alineado a 1600px */
.footer-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    /* La columna de la marca es más ancha */
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: black;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo-text {
    color: var(--negro-texto);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.footer-desc {
    line-height: 1.7;
    padding-right: 20px;
    margin: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    color: var(--negro-texto);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--rojo-max);
    text-decoration: underline;
}

.footer-col img {
    width: 200px;
}

/* Íconos sociales SVG */
.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--negro-texto);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--rojo-max);
    transform: translateY(-4px);
    /* Saltito al pasar el mouse */
}

/* Franja inferior legal */
.footer-bottom {
    background-color: black;
    /* Un tono un poquito más oscuro para el final */
    padding: 24px 0;
    font-size: 12px;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-inner p {
    margin: 0;
    color: var(--blanco);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #d1d9e0;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--blanco);
    text-decoration: underline;
}

/* --- BOTÓN STICKY LATERAL (Versión Minimalista) --- */
.sticky-contact-btn {
    position: fixed;
    /* Cambiamos el top: 50% por bottom: 150px para bajarlo */
    bottom: 150px;
    right: 0;
    /* Quitamos el transform de centrado ya que ahora usamos bottom */
    transform: none;
    background-color: var(--rojo-max);
    color: var(--blanco);
    display: flex;
    align-items: center;
    padding: 10px 15px 10px 12px;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

.sticky-contact-btn:hover {
    background-color: #e60000;
    /* Un pequeño salto hacia la izquierda en vez de estirarse */
    transform: translateX(-5px);
}

.sticky-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

/* Reducimos el tamaño del icono SVG */
.sticky-icon svg {
    width: 22px;
    height: 22px;
}

.sticky-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sticky-title {
    font-size: 11px;
    /* Más pequeño y discreto */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3px;
    letter-spacing: 0.8px;
}

.sticky-phone {
    font-size: 16px;
    /* Bajamos de 20px a 16px */
    font-weight: 400;
    line-height: 1;
}


/* ------------------- */
/* --- PAGINA MESH --- */
/* ------------------- */

/* --- HERO EXTENSOR (DISEÑO INMERSIVO SOBRE IMAGEN) --- */
.hero-extensor-section {
    padding: 40px 0;
    background-color: var(--blanco);
}

.hero-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

/* La Píldora Contenedora */
.hero-pill {
    position: relative;
    background-color: #f8f9fa;
    border-radius: 50px;
    /* Misma curva que en el index */
    overflow: hidden;
    min-height: 600px;
    /* Altura generosa para la foto */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    /* Para alinear el texto internamente */
}

/* 1. Imagen de Fondo (OCUPA TODO EL ESPACIO) */
.hero-pill-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Capa inferior */
}

.hero-pill-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* AJUSTE PARA ENCUADRAR PERSONAS ( Rostros a 20% de arriba) */
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-pill:hover .hero-pill-bg img {
    transform: scale(1.06);
    /* Zoom sutil del 6% */
}

/* 2. Capa de Texto (FLOTA SOBRE LA IMAGEN) */
.hero-pill-text {
    position: relative;
    /* Fundamental para z-index */
    z-index: 2;
    /* Capa superior a la imagen */
    height: 100%;
    min-height: 600px;
    width: 55%;
    /* Ocupa poco más de la mitad izquierda */
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* TRUCO DE LEGIBILIDAD: Degradado blanco suave detrás del texto */
    background: linear-gradient(to right, #F4F5F7 20%, transparent 100%);
}

.hero-badge-mesh {
    font-size: 13px;
    font-weight: 800;
    color: var(--rojo-max);
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero-pill-text h1 {
    font-size: 48px;
    color: var(--negro-texto);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-pill-text p {
    font-size: 18px;
    color: var(--gris-texto);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Botones con tus estilos de marca */
.hero-pill-actions {
    display: flex;
    gap: 15px;
}

.btn-rojo-max {
    background-color: var(--rojo-max);
    color: white;
    padding: 16px 32px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s;
}

.btn-rojo-max:hover {
    background-color: #e60000;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 2px solid var(--negro-texto);
    color: var(--negro-texto);
    padding: 14px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background-color: var(--negro-texto);
    color: white;
}

/* 3. Tarjeta flotante (FLOTA SOBRE LA IMAGEN) */
.floating-mesh-card {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    z-index: 3;
    /* Capa más superior */
    text-align: center;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--negro-texto);
}

.card-content p {
    font-size: 14px;
    color: var(--gris-texto);
    line-height: 1.5;
    margin-bottom: 25px;
}

.mesh-visual {
    color: var(--rojo-max);
    margin-bottom: 25px;
}

/* Controles del carrusel de la tarjetita */
.mesh-card-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid #eee;
    padding: 7px 18px;
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
}

.ctrl-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

.mesh-dots {
    display: flex;
    gap: 7px;
}

.m-dot {
    width: 7px;
    height: 7px;
    background: #ddd;
    border-radius: 50%;
}

.m-dot.active {
    background: var(--rojo-max);
}

.mini-slide {
    display: none;
    /* Ocultamos todos por defecto */
    animation: fadeEffect 0.5s ease;
}

.mini-slide.active {
    display: block;
    /* Solo el activo se muestra */
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PAGINA COBERTURA --- */
.coverage-page-main {
    padding: 60px 0;
    background-color: #F9FAFB;
    min-height: 80vh;
}

.coverage-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}



/* --- SECCIÓN SELECCIÓN MESH PRICING --- */
.mesh-pricing-section {
    padding: 60px 0;
    background-color: var(--blanco);
}

.mesh-options-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Selector de Modo (Comodato vs Compra) */
.mode-selector {
    position: relative;
    display: flex;
    background: #E5E7EB;
    border-radius: 50px;
    padding: 6px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mode-selector input[type="radio"] {
    display: none;
}

.mode-selector label {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gris-texto);
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    border-radius: 40px;
}

.mode-selector label span {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.mode-selector input[type="radio"]:checked+label {
    color: var(--blanco);
}

.mode-glider {
    position: absolute;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background-color: var(--rojo-max);
    border-radius: 40px;
    left: 6px;
    top: 6px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(255, 42, 42, 0.25);
}

#mode-compra:checked~.mode-glider {
    transform: translateX(100%);
}

/* Grilla de Selección */
.mesh-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .mesh-selection-grid {
        grid-template-columns: 1fr;
    }
}

.quantity-card,
.checkout-card {
    background: var(--blanco);
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quantity-card h3 {
    font-size: 20px;
    color: var(--negro-texto);
    margin-bottom: 8px;
    font-weight: 800;
}

.quantity-card .subtitle {
    font-size: 14px;
    color: var(--gris-texto);
    margin-bottom: 25px;
}

/* Selector Numérico */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--rojo-max);
    background: transparent;
    color: var(--rojo-max);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover:not(:disabled) {
    background-color: var(--rojo-max);
    color: var(--blanco);
}

.qty-btn:disabled {
    border-color: #E5E5E5;
    color: #E5E5E5;
    cursor: not-allowed;
}

.qty-display {
    font-size: 32px;
    font-weight: 800;
    color: var(--negro-texto);
    min-width: 40px;
    text-align: center;
}

.quantity-info {
    text-align: center;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 12px;
    font-size: 14px;
    color: var(--gris-texto);
}

/* Checkout Card Styles */
.checkout-card {
    border-color: var(--rojo-max);
    box-shadow: 0 10px 30px rgba(255, 42, 42, 0.05);
}

.badge-total {
    background: rgba(255, 42, 42, 0.1);
    color: var(--rojo-max);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 12px;
}

#summary-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--negro-texto);
}

.checkout-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--gris-texto);
    margin-bottom: 15px;
}

.detail-divider {
    border-bottom: 1px dashed #E5E5E5;
    margin-bottom: 15px;
}

.detail-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.detail-total span:first-child {
    font-size: 14px;
    color: var(--gris-texto);
}

.price-big {
    font-size: 42px;
    font-weight: 800;
    color: var(--negro-texto);
    line-height: 1;
    margin: 5px 0;
}

.period-text {
    font-size: 14px;
    color: var(--gris-texto);
}

.btn-att-blue {
    display: block;
    background-color: var(--rojo-max);
    color: var(--blanco);
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-att-blue:hover {
    background-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 42, 42, 0.3);
}

.legal-small {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
    text-align: center;
}

.legal-small a {
    color: #666;
}

/* --- Legal Pages --- */
.legal-page-content {
    padding: 60px 0;
    line-height: 1.8;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
}

.legal-container h1 {
    font-size: 36px;
    color: var(--negro-texto);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--rojo-max);
    display: inline-block;
    padding-bottom: 10px;
}

.legal-container h2 {
    font-size: 22px;
    color: var(--negro-texto);
    margin: 35px 0 15px 0;
    font-weight: 700;
}

.legal-container p {
    color: var(--gris-texto);
    margin-bottom: 20px;
    font-size: 16px;
}

.update-date {
    font-style: italic;
    color: #888;
    margin-bottom: 40px;
}

/* Estilos de Mesh adicionales eliminados para evitar conflictos con la sección consolidada (línea 792) */

/* --- ESTILOS DE PRECIOS Y DESCUENTOS --- */
.plan-price-container {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.price-new-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-new {
    font-size: 36px;
    font-weight: 800;
    color: var(--negro-texto);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--gris-texto);
    font-weight: 600;
}

.price-badge-discount {
    background-color: #27AE60;
    /* Verde éxito para el ahorro */
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-top: 5px;
    text-transform: uppercase;
}

.plan-type-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--rojo-max);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-limited-offer {
    font-size: 11px;
    color: #e67e22;
    /* Naranja para urgencia */
    font-weight: 700;
    margin-top: 4px;
}

/* --- SECCIÓN TRABAJÁ CON NOSOTROS --- */
.jobs-page-main {
    background-color: #F9FAFB;
    padding-bottom: 80px;
}

.jobs-hero {
    padding: 60px 0 30px 0;
}

.jobs-hero-card {
    background: url('img/hero-family.jpg') center/cover no-repeat;
    border-radius: 32px;
    padding: 120px 40px;
    color: var(--blanco);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jobs-hero-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Black overlay for readability */
    z-index: 1;
}

.jobs-hero-card h1, 
.jobs-hero-card p, 
.jobs-hero-card .hero-badge, 
.jobs-hero-card .hero-actions {
    position: relative;
    z-index: 2;
}

.jobs-hero-card h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.jobs-hero-card p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.jobs-hero-card .hero-badge {
    margin: 0 auto 25px auto;
}

/* Removal of the old ::before as we use better direct background and after overlay */
.jobs-hero-card::before {
    display: none;
}

/* --- HELPERS PARA PÁGINAS SECUNDARIAS --- */
/* (Estilos movidos a jobs-hero-card para mejor legibilidad) */

/* Beneficios y Vacantes */
.jobs-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.benefit-card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 42, 42, 0.05);
    color: var(--rojo-max);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--negro-texto);
}

.benefit-card p {
    font-size: 14px;
    color: var(--gris-texto);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.job-card {
    background: var(--blanco);
    border: 1px solid #EEE;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.job-card:hover {
    border-color: var(--rojo-max);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 32px rgba(255, 42, 42, 0.08);
}

.job-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--rojo-max);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.job-card h3 {
    font-size: 20px;
    color: var(--negro-texto);
    margin-bottom: 12px;
}

.job-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gris-texto);
    margin-bottom: 20px;
}

.job-desc {
    font-size: 14px;
    color: var(--gris-texto);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-job {
    display: inline-block;
    background-color: var(--negro-texto);
    color: var(--blanco);
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-job:hover {
    background-color: var(--rojo-max);
}

@media (max-width: 768px) {
    .jobs-benefits {
        grid-template-columns: 1fr;
    }

    .hero-content-centered h1 {
        font-size: 36px;
    }
}

/* --- ANIMATIONS & REVEALS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- APPLICATION FORM --- */
.apply-section {
    padding: 40px 0 80px 0;
    background-color: var(--blanco);
}

.apply-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

.apply-main-pill {
    background-color: #F3F4F6;
    border-radius: 32px;
    padding: 70px 60px;
    box-shadow: none;
    border: none;
    display: flex;
    justify-content: center;
}

.apply-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: none;
    width: 100%;
    max-width: 900px;
}

.apply-header {
    text-align: center;
    margin-bottom: 40px;
}

.apply-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--negro-texto);
}

.apply-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.apply-form .full-row {
    grid-column: span 2;
}

.apply-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--negro-texto);
    margin-bottom: 8px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    border-color: var(--rojo-max);
    box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.1);
    outline: none;
}

.apply-form textarea {
    height: 120px;
    resize: none;
}

.form-actions {
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    background-color: var(--rojo-max);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #e60000;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Success State */
.form-success {
    text-align: center;
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--gris-texto);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .apply-form {
        grid-template-columns: 1fr;
    }
    .apply-form .full-row {
        grid-column: span 1;
    }
    .apply-card {
        padding: 30px 20px;
    }
    .apply-main-pill {
        padding: 40px 20px;
    }
}

/* --- DARK THEME PARA EMPRESAS --- */
body.dark-theme {
    background-color: #000;
    color: #fff;
}

body.dark-theme .top-bar {
    background-color: #050505;
    border-bottom: 1px solid #222;
}

body.dark-theme .top-link {
    color: #888;
}
body.dark-theme .top-link:hover {
    color: #ccc;
}
body.dark-theme .top-link.active {
    color: #fff;
}

body.dark-theme .main-header {
    background-color: #0a0a0a;
    border-bottom: 1px solid #222;
}

body.dark-theme .main-nav a {
    color: #ccc;
}
body.dark-theme .main-nav a:hover {
    color: var(--rojo-max);
}

body.dark-theme .portal-btn {
    background-color: transparent;
    border: 2px solid var(--rojo-max);
    color: var(--rojo-max);
}
body.dark-theme .portal-btn:hover {
    background-color: var(--rojo-max);
    color: #fff;
}

body.dark-theme .main-footer {
    background-color: #050505;
    border-top: 1px solid #222;
    color: #aaa;
}

body.dark-theme .main-footer h4 {
    color: #fff;
}

body.dark-theme .main-footer a {
    color: #888;
}
body.dark-theme .main-footer a:hover {
    color: var(--rojo-max);
}

body.dark-theme .main-footer .footer-desc {
    color: #888;
}

body.dark-theme .footer-bottom {
    background-color: #000;
    border-top: 1px solid #222;
}
body.dark-theme .footer-bottom a {
    color: #888;
}
body.dark-theme .footer-bottom a:hover {
    color: var(--rojo-max);
}

/* --- MEDIA QUERIES RESPONSIVAS (Móvil y Tablet) --- */

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* Top Bar - Hide links to prevent overflow, user can use menu */
    .top-bar {
        display: none !important;
    }

    /* Navegación Móvil */
    .main-header-inner {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative;
    }

    .nav-left {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .nav-right, .main-nav:not(.active) {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        padding: 10px;
        z-index: 1002;
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--blanco);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 90px 40px;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
        margin-left: 0;
    }

    .main-nav a {
        font-size: 19px;
        font-weight: 700;
        display: block;
        padding: 5px 0;
    }

    .nav-right .portal-btn {
        display: none;
    }
    
    .main-nav .portal-btn-mobile {
        display: flex;
        margin-top: 30px;
        justify-content: center;
        background-color: var(--rojo-max);
        color: white;
        text-decoration: none;
        padding: 14px 22px;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 700;
        align-items: center;
        gap: 10px;
        box-shadow: 0 4px 15px rgba(255, 42, 42, 0.2);
    }

    /* Hero Section */
    .hero-top-section {
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        padding: 50px 25px;
        clip-path: none !important;
        border-radius: 0;
        text-align: center;
        align-items: center;
    }

    .hero-image {
        margin-left: 0;
        width: 100%;
        height: 300px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 25px;
    }

    .hero-content p {
        font-size: 17px;
        margin-bottom: 35px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 400px;
    }

    .btn-blanco, .btn-borde {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
    }

    /* Mesh Page Hero Pill */
    .hero-pill {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-pill-text {
        width: 100%;
        padding: 60px 30px;
        background: rgba(255, 255, 255, 0.9);
        text-align: center;
        align-items: center;
        min-height: auto;
    }
    
    .floating-mesh-card {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 340px;
        margin: -40px auto 40px auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .hero-pill-bg {
        height: 300px;
        position: relative;
    }
    
    .hero-pill-actions {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Padding Global Section */
    .coverage-card, .planes-main-pill, .why-us-pill, .apply-main-pill, .hero-pill {
        padding: 50px 20px;
        border-radius: 24px;
    }

    .coverage-header h2, .planes-header h2, .why-header h2, .apply-header h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    /* Grillas */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-row.full-width {
        align-items: stretch;
    }

    .why-grid, .jobs-benefits {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Carrusel de Planes (Manual) */
    .planes-carousel-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-top: 30px;
    }

    .planes-grid.compacta {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 20px !important;
        padding: 40px 40px 20px 40px !important; /* Increased horizontal padding to 40px */
        width: 100% !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        grid-template-columns: none !important; /* Desactivar grilla */
        justify-content: flex-start !important; /* Ensure it starts at the beginning */
    }

    .planes-grid.compacta::-webkit-scrollbar {
        display: none;
    }

    .plan-card-att {
        flex: 0 0 calc(85% - 20px) !important; /* Ancho de tarjeta para mostrar adelanto de la siguiente */
        scroll-snap-align: center !important;
        margin: 0 !important;
    }

    .planes-carousel-arrow {
        display: flex !important; /* Mostrar flechas */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100; /* Asegurar que estén sobre las tarjetas */
        background: var(--rojo-max); /* Fondo rojo para visibilidad */
        color: white; /* Flecha blanca */
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0.8;
    }

    .planes-carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .planes-carousel-arrow.prev { left: 5px; }
    .planes-carousel-arrow.next { right: 5px; }

    /* Sticky Contact Button */
    .sticky-contact-btn {
        bottom: 20px;
        right: 15px;
        left: 15px;
        border-radius: 50px;
        justify-content: center;
        padding: 12px 20px;
        box-shadow: 0 10px 25px rgba(255, 42, 42, 0.3);
    }
    
    .sticky-title {
        display: none;
    }
    
    .sticky-phone {
        font-weight: 700;
        font-size: 15px;
    }
    
    .sticky-icon {
        margin-right: 8px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col.brand-col {
        align-items: center;
    }
    
    .footer-desc {
        padding-right: 0;
    }

    .bottom-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
        gap: 15px;
    }

    /* Empresas Page Hero Fix */
    .hero-empresas-full {
        height: auto !important;
        padding: 80px 0 !important;
    }
    
    .hero-empresas-full h1 {
        font-size: 36px !important;
        white-space: normal !important;
    }

    /* Trabajá con nosotros - Apply Form */
    .apply-form {
        grid-template-columns: 1fr;
    }
    
    .apply-form .full-row {
        grid-column: span 1;
    }
    
    .apply-card {
        padding: 30px 15px;
    }
}
