/* ===== VARIABLES Y RESET ===== */
:root {
    --azul-oscuro: #014b77;
    --azul-celeste: #79a6d2;
    --verde-plan: #9dc2ae;
    --gris-fondo: #f4f7f9;
    --green-bg: #a6c5b4;
    --blue-bg: #7fb4d7;
    --darkblue-bg: #5c8db0;
    --text-gray: #555;
    --text-dark: #333;
    --blue-icon: #7fb4d7;
    --green-icon: #9dc2ae;
    --darkblue-icon: #5c8db0;
    --primary-color: #76a5bc;
    --secondary-color: #273181;
    --white: #ffffff;
}

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

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* Clase para bloquear scroll cuando el modal está abierto */
.body-no-scroll {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== HEADER ===== */
header {
    background-color: #f4f4f4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
}

header .logo img {
    width: 250px;
    height: auto;
}

/* ===== SECCIÓN "BOEDO SALUD ES PARA VOS" ===== */
.boedo-para-vos-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--gris-fondo) 72%, var(--azul-oscuro) 72%);
    margin-top: 80px !important;
    padding: 60px 0 40px 0;
}

.main-container {
    width: 100%;
    max-width: 1150px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
    align-items: end;
}

.text-side { 
    height: auto;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
}

.headline h1 { 
    color: #003d66; 
    font-size: 3rem; 
    margin: 0; 
    line-height: 1.1; 
}

/* ESTILO ESPECÍFICO DE LA IMAGEN SOLICITADA */
.brand-card {
    border-left: 3px solid var(--azul-celeste);
    padding-left: 15px;
    margin-bottom: 25px;
    background: none !important;
}

.brand-card h2 {
    font-size: 2.1rem;
    color: var(--azul-celeste);
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

.brand-card h2 strong {
    color: #003d66;
    font-weight: 800;
}

.brand-card p {
    font-size: 1.1rem;
    color: #555;
    margin: 12px 0 0 0;
    line-height: 1.5;
}

.bullets { 
    list-style: none; 
    padding: 0; 
    margin: 25px 0; 
}

.bullets li { 
    margin: 10px 0; 
    font-weight: 600; 
    color: #003d66; 
    display: flex; 
    align-items: center; 
}

.bullets li::before { 
    content: "✚"; 
    margin-right: 12px; 
    color: var(--azul-celeste); 
}

.image-side { 
    position: relative; 
    height: 550px; 
}

.img-top { 
    width: 90%; 
    height: 400px; 
    background: #ccc url('imagenes/thumb-tratamientos.png') center/cover; 
    border-radius: 80px 0 0 80px; 
    position: absolute; 
    right: -20px; 
    top: 0; 
}

.img-float { 
    width: 300px; 
    height: 300px; 
    background: #bbb url('imagenes/thumb-analisis-1.png') center/cover; 
    border-radius: 40px; 
    position: absolute; 
    left: 0; 
    top: 50%; 
    transform: translateY(-20%);  
    z-index: 2; 
}

.blue-card { 
    background-color: var(--azul-celeste); 
    color: white; 
    padding: 40px 30px; 
    border-radius: 50px 50px 0 50px; 
    width: 260px; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    z-index: 3; 
}

/* ===== SECCIÓN PLANES ===== */
.plans-section {
    background-color: var(--azul-oscuro);
    padding: 0 20px 80px;
    text-align: center;
    margin-top: 0 !important;
}

.plans-header {
    max-width: 1150px;
    margin: -150px auto 40px auto;
    text-align: left;
    position: relative;
    z-index: 10;
}

.plans-header h2 {
    font-size: 3.5rem;
    color: white;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

.arrow-down {
    width: 40px;
    height: 40px;
    fill: white;
    margin-top: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(8px);}
    60% {transform: translateY(4px);}
}

.plans-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.plan-modal-card {
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: white;
    border-radius: 60px 0 60px 0; 
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-modal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.plan-modal-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.8;
}

.plan-modal-card .plan-name {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1;
}

.joven { background-color: var(--verde-plan); }
.p301 { background-color: var(--azul-celeste); }
.p401 { background-color: #003657; border: 1px solid rgba(255,255,255,0.1); }

/* ===== SECCIÓN APP - IMAGEN PEGADA AL BORDE IZQUIERDO ===== */
.app-download-section {
    background: #79a6d2;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
}

/* Contenedor externo para controlar el ancho completo */
.app-section-wrapper {
    position: relative;
    width: 100%;
}

/* IMAGEN ABSOLUTA PEGADA AL BORDE IZQUIERDO - DESKTOP */
.app-image-container {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 750px;
    z-index: 1;
    width: auto;
}

/* IMAGEN EN SÍ */
.hand-image {
    height: 100%;
    width: auto;
    max-height: 750px;
    display: block;
    object-fit: contain;
    object-position: left center; /* Asegura que la imagen esté alineada a la izquierda */
}

/* CONTENEDOR CENTRADO PARA EL CONTENIDO */
.app-download-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-left: 600px; /* Espacio para la imagen */
    padding-right: 20px;
}

/* CONTENIDO */
.app-content {
    color: white;
}

.app-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.app-title {
    font-size: 2.8rem;
    margin: 0 0 25px 0;
    line-height: 1.2;
    font-weight: 700;
}

.app-title span {
    color: #014b77;
    font-weight: 800;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.app-features li i {
    color: #ffffff;
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
}

/* BOTÓN GOOGLE PLAY */
.gp-button {
    display: inline-flex;
    align-items: center;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 7px;
    border: 1px solid #a5a5a5;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: background-color 0.2s ease;
    min-width: 160px;
}

.gp-button:hover {
    background-color: #2b2b2b;
}

.gp-logo {
    width: 32px;
    height: auto;
    margin-right: 12px;
    display: block;
}

.gp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.gp-text-top {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}

.gp-text-bottom {
    font-size: 18px;
    font-weight: 500;
}

/* ===== RESPONSIVE PARA LA APP ===== */
@media (max-width: 1024px) {
    .app-download-section {
        padding: 60px 0;
    }
    
    /* Cambiar layout para que la imagen esté debajo del botón */
    .app-section-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    /* IMAGEN EN MÓVIL - ABAJO Y MÁS GRANDE */
    .app-image-container {
        position: relative;
        transform: none;
        top: 0;

        height: 700px;
        width: 120%; /* Hacer más ancha que el contenedor */
        margin: -40px 0 -20px 0; /* Espacio después del botón */
        order: 3; /* Colocar después del contenido */
        overflow: visible;
    }
    
    .app-download-container {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        max-width: 100%;
        order: 2; /* Primero va el contenido */
    }
    
    .hand-image {
        height: 100%;
        width: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center left; /* Enfocar la parte izquierda de la imagen */
        transform: scale(1.1); /* Hacerla un poco más grande */
    }
    
    .app-content {
        padding: 0 15px;
    }
    
    .app-description {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    .app-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .app-download-section {
        padding: 50px 0;
    }
    
    /* IMAGEN MÁS GRANDE EN CELULAR */
    .app-image-container {
        height: 700px;
        left: -10%;
        width: 130%; /* Aún más ancha */
        margin-top: -30px; /* Más espacio después del botón */
    }
    
    .app-title {
        font-size: 2.2rem;
    }
    
    .hand-image {
        height: 100%;
        object-fit: cover;
        object-position: 10% center; /* Mostrar más la parte izquierda */
    }
    
    /* Asegurar que el botón sea claramente visible antes de la imagen */
    .gp-button {
        margin-bottom: 20px;
        z-index: 3;
        position: relative;
    }
}

@media (max-width: 600px) {
    /* IMAGEN MÁS GRANDE Y VISIBLE EN CELULARES PEQUEÑOS */
    .app-image-container {
        height: 320px;
        left: -20%;
        width: 140%;
        margin-top: 60px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .hand-image {
        height: 100%;
        max-height: none;
        transform: scale(1.15);
        object-position: 25% center; /* Mostrar la parte central-izquierda */
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    /* Hacer el botón un poco más prominente */
    .gp-button {
        min-width: 180px;
        padding: 12px 20px;
        margin: 30px auto 40px auto; /* Más espacio alrededor */
        width: fit-content;
    }
}

@media (max-width: 480px) {
    /* IMAGEN MÁXIMA GRANDE PARA CELULARES PEQUEÑOS */
    .app-image-container {
        height: 600px;
        left: -60%;
        width: 150%;
        margin-top: -70px;
    }
    

    .hand-image {
        left: 10px !important;
        max-width: 200% !important;
    }

    
    .app-download-section {
        padding: 40px 0 60px 0; /* Más padding abajo para la imagen */
    }
    
    .app-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .app-features li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    /* Asegurar que el contenido sea legible */
    .app-content {
        padding: 0 10px;
    }
}

/* Para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 375px) {
    .app-image-container {
        height: 600px;
        left: -70%;
        width: 150%;
        margin-top: -70px;
    }
    
    .hand-image {
        object-position: 35% center; /* Centrar más para pantallas muy pequeñas */
        transform: scale(1.25);
    }
    
    .app-title {
        font-size: 1.4rem;
    }
    
    .gp-button {
        margin-bottom: 20px;
        z-index: 3;
        position: relative;
    }
}

/* ===== MODALES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-plan-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 40px;
    padding: 50px;
    position: relative;
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
    transition: all 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-overlay.active .modal-plan-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.plan-header-badge {
    position: absolute;
    top: 0;
    left: 330px;
    color: white;
    padding: 20px 35px;
    border-radius: 0 0 40px 40px;
    z-index: 10;
}

.plan-joven .plan-header-badge { background-color: var(--green-bg); }
.plan-301 .plan-header-badge { background-color: var(--blue-bg); }
.plan-401 .plan-header-badge { background-color: var(--darkblue-bg); }

.plan-header-badge h1 {
    margin: 0;
    font-weight: 300;
    font-size: 45px;
    line-height: 0.8;
}

.plan-header-badge h1 span {
    font-weight: 700;
    display: block;
    font-size: 55px;
}

.plan-top-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.plan-image-container div {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 0 100px 40px 100px;
}

.plan-joven-img {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                url('imagenes/joven.avif');
    background-size: cover;
    background-position: center;
}

.plan-301-img {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                url('imagenes/thumb-tratamientos.png');
    background-size: cover;
    background-position: center;
}

.plan-401-img {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                url('imagenes/thumb-consultas-\(1\).png');
    background-size: cover;
    background-position: center;
}

.plan-intro-text {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.4;
    padding-top: 80px;
}

.plan-intro-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.plan-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    row-gap: 15px;
    margin-top: 10px;
}

.plan-benefit-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.plan-icon {
    font-size: 24px;
    margin-right: 15px;
    font-weight: 900;
    width: 30px;
    text-align: center;
}

.plan-joven .plan-icon { color: var(--green-icon); }
.plan-301 .plan-icon { color: var(--blue-icon); }
.plan-401 .plan-icon { color: var(--darkblue-icon); }

.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f9ff;
}

.plan-401 .feature-icon { color: var(--darkblue-icon); }

.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.plan-close-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2.2rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.1s ease;
    z-index: 1001;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.plan-close-btn:hover {
    background-color: white;
    color: #000;
    transform: scale(1.05);
}

/* ===== SECCIÓN BENEFICIOS ===== */
.main-wrapper {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #f9f8ec, #f9faea);
    padding: 40px 0;
    margin-bottom: 0 !important;
}

.benefits-title {
    font-size: 3.3rem;
    color: #5c686a;
    margin-bottom: -10px;
    width: 10%;
    position: absolute;
    top: 20%;
    left: 1%;
}

.benefits-title-2 {
    font-size: 3.3rem;
    color: #5c686a;
    margin-bottom: -10px;
    width: 10%;
    position: absolute;
    top: 10%;
    left: 1%;
}

.benefits-title-3 {
    font-size: 3.3rem;
    color: #5c686a;
    margin-bottom: -10px;
    width: 10%;
    position: absolute;
    top: -1%;
    left: 0%;
}

.container {
    position: relative;
    text-align: center;
    width: 80%;
    margin-top: 15%;
}

.grid {
    position: relative;
    width: 100%;
    height: 400px;
}

.block {
    position: absolute;
    background-color: #76a5bc;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}

.block i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.block-1 {
    width: 50%;
    height: 25%;
    top: -20%;
    left: 45%;
}

.block-2 {
    width: 24%;
    height: 25%;
    top: 10%;
    left: 45%;
}

.block-3 {
    width: 24%;
    height: 25%;
    top: 10%;
    left: 71%;
}

.block-4 {
    width: 69%;
    height: 25%;
    top: 38%;
}

.block-5 {
    width: 24%;
    height: 25%;
    top: 38%;
    left: 71%;
}

.block-6 {
    width: 43%;
    height: 38%;
    top: 66%;
    left: 52%;
}

.block-7 {
    width: 24%;
    height: 38%;
    top: 66%;
    left: 26%;
}

.block-8 {
    width: 24%;
    height: 38%;
    top: 66%;
}

.clinic-logo {
    width: 60px;
    height: auto;
    margin-bottom: -15px;
}

/* ===== SECCIÓN ZONA SUR ===== */
.banner-container {
    display: flex;
    align-items: center;
    background: url('https://i.postimg.cc/nrkSx9yy/img-center-boedo-salud-white.jpg') no-repeat center center/cover;
    height: 75vh;
    padding: 20px;
    color: #273181;
    position: relative;
    margin-top: 0 !important;
}

.banner-left {
    flex: 1;
    margin-right: 20px;
}

.banner-left h1 {
    font-size: 40px;
    margin: 0;
    color: #5c686a;
}

.banner-left .separator {
    width: 50%;
    height: 2px;
    background-color: #5c686a;
    margin: 10px 0;
}

.banner-left p {
    font-size: 25px;
    margin: 0;
    color: #5c686a;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: auto;
    margin-top: 20px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #5c686a;
}

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

.form-group input {
    padding: 10px;
    background-color: #76a5bc;
    border: 1px solid #76a5bc;
    border-radius: 5px;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus {
    background-color: #76a5bc;
    border-color: #5c686a;
    outline: none;
    color: #273181;
}

.form-group .captcha {
    font-size: 1rem;
    font-weight: bold;
    color: #5c686a;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.form-group input::placeholder {
    color: white;
}

#error-message {
    color: red;
    display: none;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: #5c686a;
    border: 2px solid #76a5bc;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container button:hover,
.form-container button:focus {
    background-color: #76a5bc;
    color: white;
    border-color: #76a5bc;
}

.form-container button:active {
    background-color: #1c245f;
    color: white;
    border-color: #1c245f;
}

/* ===== SECCIÓN PLANES DE SALUD ===== */
.container-3 {
    width: 100%;
    margin: auto;
    padding: 0 15px;
    background-color: #8ac4b0;
    margin-top: 0 !important;
}

.titulo-carrousel {
    text-align: center;
    padding: 50px 15px 0 15px; 
    color: white;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 20px 0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

.carrusel-bloque {
    background-color: white;
    color: #273181;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin: 0 10px;
    flex: 0 0 calc(100% / 3 - 20px);
    box-sizing: border-box;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carrusel-bloque img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.carrusel-bloque p {
    margin: 10px 0 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

/* ===== SECCIÓN UBICACIÓN ===== */
.location-section {
    background: #f4f4f4;
    padding: 60px 20px;
    margin: 60px 0;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-header h2 {
    font-size: 2.8rem;
    color: #014b77;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.location-header h2 i {
    color: #76a5bc;
    font-size: 2.5rem;
}

.location-header .subtitle {
    font-size: 1.2rem;
    color: #5c686a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.location-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.map-btn {
    background: linear-gradient(135deg, #014b77 0%, #76a5bc 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(1, 75, 119, 0.3);
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 75, 119, 0.4);
    background: linear-gradient(135deg, #76a5bc 0%, #014b77 100%);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 0 60px 0 60px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    background: linear-gradient(135deg, #76a5bc 0%, #014b77 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: #014b77;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.address {
    color: #5c686a;
    line-height: 1.6;
    font-size: 1.1rem;
}

.address i {
    color: #76a5bc;
    margin-right: 8px;
    width: 16px;
}

.barrio {
    color: #888;
    font-size: 0.95rem;
    display: block;
    margin-top: 5px;
}

.info-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #76a5bc, transparent);
    margin: 20px 0;
}

.contact-details {
    background: white;
    border-radius: 0 60px 0 60px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #76a5bc;
    font-size: 1.5rem;
    margin-top: 5px;
    width: 24px;
}

.contact-item h4 {
    color: #014b77;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item p {
    color: #5c686a;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== SECCIÓN MÁS INFORMACIÓN ===== */
.bloque-contenedor {
    width: 100%;
    background-color: #8bc4af;
    color: white;
    padding: 20px 10px;
    text-align: center;
}

.bloque-contenedor h1 {
    margin-bottom: 20px;
    font-size: 24px;
}

.boton-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.boton-boedo {
    width: 200px;
    height: 200px;
    margin: 20px;
    border: none;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boton-boedo:nth-child(1) {
    background-color: #e46d95;
}

.boton-boedo:nth-child(2) {
    background-color: #ffffff; 
}

.boton-boedo:nth-child(3) {
    background-color: #ff6e5c; 
}

.boton-boedo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.boton-boedo:hover {
    transform: scale(1.2);
}

/* ===== FOOTER ===== */
footer {
    font-family: Arial, sans-serif;
}

.footer-white {
    background-color: #76a5bc;
    color: white;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
    margin-top: 50px;
}

.footer-white .bold {
    font-weight: bold;
}

.footer-white .p {
    margin: 5px 0;
}

.footer-white .small-text {
    font-size: 12px;
}

.footer-dark {
    background-color: #222222;
    color: #b6b5b3;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

.footer-dark a {
    color: #dfdfdf;
    text-decoration: none;
}

.footer-dark a:hover {
    text-decoration: underline;
}

/* ===== MEDIA QUERIES ===== */

/* MEDIA QUERIES GENERALES PARA TODAS LAS SECCIONES */
@media (max-width: 1024px) {
    /* SECCIÓN HERO */
    .main-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-side {
        height: 400px;
        order: -1;
    }
    
    .img-top {
        width: 100%;
        height: 300px;
        right: 0;
        border-radius: 40px 0 0 40px;
    }
    
    .img-float {
        width: 200px;
        height: 200px;
        left: 20px;
    }
    
    .blue-card {
        width: 200px;
        padding: 20px;
    }
    
    .brand-card h2 {
        font-size: 1.8rem;
    }
    
    .brand-card p {
        font-size: 1rem;
    }
    
    /* SECCIÓN PLANES */
    .plans-header {
        margin: 0 auto 40px auto;
        padding-top: 20px;
        text-align: center;
    }
    
    .plans-header h2 {
        font-size: 2.5rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 90%;
    }
    
    /* MODALES EN TABLET */
    .modal-plan-content {
        padding: 40px;
        max-width: 90%;
    }
    
    .plan-header-badge {
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
    
    .plan-top-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .plan-intro-text {
        padding-top: 0;
    }
    
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MEDIA QUERIES MÓVIL (768px) */
@media (max-width: 768px) {
    /* HEADER */
    header {
        height: 70px;
        padding: 0 15px;
    }
    
    header .logo img {
        width: 180px;
    }
    
    /* SECCIÓN HERO */
    .boedo-para-vos-section {
        margin-top: 70px !important;
        padding: 40px 0 20px 0;
    }
    
    /* SECCIÓN PLANES */
    .plan-modal-card {
        height: 110px;
    }
    
    /* SECCIÓN BENEFICIOS */
    .main-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .container {
        width: 90%;
        margin-top: 80px;
    }

    .benefits-title,
    .benefits-title-2,
    .benefits-title-3 {
        font-size: 2.5rem;
        color: #202a6b;
        width: 100%;
        position: relative;
        margin-bottom: 10px;
        top: 0;
        left: 0;
    }
    
    .benefits-title-3 {
        top: -25%;
        margin-bottom: 20px;
    }

    .grid {
        height: auto;
        position: relative;
        margin-top: 20px;
    }

    .block {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 120px;
        margin-bottom: 15px;
        left: 0 !important;
        top: 0 !important;
    }

    .block-1, .block-2, .block-3, .block-4, 
    .block-5, .block-6, .block-7, .block-8 {
        width: 100% !important;
        height: auto !important;
        min-height: 120px;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-bottom: 15px;
    }

    .block i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    /* ZONA SUR */
    .banner-container {
        flex-direction: column;
        height: auto;
        min-height: 80vh;
    }
    
    .banner-left {
        margin-bottom: 20px;
        text-align: center;
        margin-right: 0;
    }
    
    .banner-left h1 {
        font-size: 28px;
    }
    
    .banner-left p {
        font-size: 20px;
    }
    
    .banner-left .separator {
        width: 50%;
        margin: 10px auto;
    }
    
    .form-container {
        max-width: 100%;
        margin-top: 20px;
    }
    
    /* PLANES DE SALUD */
    .container-3 {
        padding: 0 10px;
    }
    
    .titulo-carrousel {
        padding: 30px 10px 0 10px;
        font-size: 1.8rem;
    }
    
    .carrusel-bloque {
        flex: 0 0 90%;
        margin: 0 5%;
        min-height: 160px;
    }
    
    /* UBICACIÓN */
    .location-section {
        padding: 40px 15px;
        margin: 40px 0;
    }
    
    .location-header h2 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }
    
    /* MÁS INFORMACIÓN */
    .boton-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .boton-boedo {
        width: 220px;
        height: auto;
        margin: 10px 0;
        aspect-ratio: 1;
    }
    
    /* MODALES EN MÓVIL */
    .modal-overlay {
        align-items: flex-end;
        padding-bottom: 0;
        transition: opacity 0.1s ease, visibility 0.1s ease;
    }
    
    .modal-plan-content {
        width: 100%;
        max-width: 100%;
        border-radius: 30px 30px 0 0;
        padding: 40px 25px 30px;
        transform: translateY(100%);
        animation: slideUp 0.2s ease forwards;
        max-height: 85vh;
        margin: 0;
        position: relative;
        transition: transform 0.2s ease;
    }
    
    .modal-overlay.active .modal-plan-content {
        transform: translateY(0);
        animation: slideIn 0.2s ease forwards;
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(0);
        }
        to {
            transform: translateY(100%);
        }
    }
    
    .plan-header-badge {
        left: 0;
        transform: none;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        border-radius: 30px 30px 0 0;
        position: relative;
        top: 0;
    }
    
    .plan-header-badge h1 {
        font-size: 35px;
    }
    
    .plan-header-badge h1 span {
        font-size: 45px;
    }
    
    .plan-benefits-grid {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }
    
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-close-btn {
        position: fixed;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

/* MEDIA QUERIES PEQUEÑAS (480px) */
@media (max-width: 480px) {
    .brand-card h2 {
        font-size: 1.6rem;
    }
    
    .image-side {
        height: 350px;
    }
    
    .img-top {
        height: 250px;
    }
    
    .img-float {
        width: 150px;
        height: 150px;
    }
    
    .blue-card {
        width: 180px;
        padding: 15px;
    }
    
    .modal-plan-content {
        padding: 35px 20px 25px;
        border-radius: 25px 25px 0 0;
    }
    
    .plan-header-badge h1 {
        font-size: 28px;
    }
    
    .plan-header-badge h1 span {
        font-size: 38px;
    }
    
    .plan-close-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .features-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    .location-header h2 {
        font-size: 1.8rem;
    }
    
    .map-wrapper {
        height: 300px;
    }
}

/* ELIMINAR ESPACIOS ENTRE SECCIONES */
.boedo-para-vos-section + .plans-section,
.plans-section + .app-download-section,
.app-download-section + .main-wrapper,
.main-wrapper + .banner-container,
.banner-container + .container-3,
.container-3 + .location-section,
.location-section + .bloque-contenedor {
    margin-top: 0 !important;
}

section, .main-wrapper, .banner-container, .container-3, .location-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}