/*Colocar le Código HTMl Aquí*/
@font-face{
    font-family: 'Quicksand';
    src: url("Font/Quicksand/Quicksand-VariableFont_wght.ttf");
}
@font-face{
    font-family: 'Lato';
    src: url("Font/Lato/Lato-Regular.ttf");
}
html, body{
    margin: 0px;
    padding: 0px;
    font-family: "Quicksand", Arial;
}
body{
    display: flex;
    flex-flow: row wrap;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    margin: 0;
    flex-wrap: nowrap;
    width: 100%;
    font-family: 'Quicksand';
    
}
#logo{
    flex: 1 1;
    
}

#logo img {
    max-height: 60px;
    width: 70%; 
}
header > nav{
    flex: 1  ;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
    font-weight: bold;
    font-family: 'Quicksand';
    padding: 15px;
    border-radius: 50px;
}

nav ul li:first-child {
    background-color: #4CB6C6;
}
nav ul li a{
    text-decoration: none;
    color: black;
}
nav li:hover{
    background-color: #A5C420;
    color: #fff; 
}
nav li:hover a{
    color: #fff; 
}

#llamar {
    display: flex;
    align-items: center;
    gap: 10px;
    
}
#llamar img{
    width: 30px;
    filter: invert(56%) sepia(55%) saturate(474%) hue-rotate(142deg) brightness(93%) contrast(88%);
    display: block; /* Asegura buen renderizado */
}
#llamar p{
    font-weight: bold;
    color: #4cb6c6;
    margin: 0px;
}

#agendar-turno {
    margin-left: 20px; /* Espacio entre teléfono y botón */
}
#agendar-turno img{
    width: 30px;
    
}
.boton-turno {
    background-color: #A5C420;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex; /* Usamos flexbox */
    align-items: center; /* Centra verticalmente */
    gap: 10px; 
    font-weight: bold
}

/* Estilos para la imagen dentro del botón */
.boton-turno img {
    width: 24px; /* Ajusta según necesites */
    height: auto;
    filter: brightness(0) invert(1); /* Opcional: hace blanca la imagen */
}

/* Efecto hover */
.boton-turno:hover {
    background-color: #25D366; /* Color WhatsApp */
}

#Banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh; /* Ajusta la altura del banner al 100% de la ventana */
    padding: 20px;
    background-image: url('PROYECTO_ODONTO/Banner-principal.webp');
    background-size: cover; /* Esto hace que la imagen cubra toda el área disponible */
    background-position: center; /* Esto asegura que la imagen se centre */
    
}

#Banner > div {
    width: 48%; /* Asegura que ambos contenedores tengan el mismo tamaño */
}

#Banner > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    color: white;
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    text-align: left; /* Alineación hacia la izquierda */
    align-self: flex-end; /* Alinea el texto hacia abajo */
}

#banner p {
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
}

#agendar-cita, #nuestros-servicios {
    display: inline-block;
    width: 48%;
    margin-right:2rem; /* Espacio entre los botones */
}

.boton-cita {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 600; /* Peso semi negrita */
    padding: 20px 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
    background-color: #4cb6c6; /* Color de fondo del primer botón */
}

.boton-cita:hover {
    transform: scale(1.1); 
}

#Nuestros.servicios .boton- {
    border: 2px solid white;
    background-color: transparent;
    padding: 30px;
}

#Banner > div:first-child {
    flex: 1;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

#Banner > div:last-child {
    flex: 1;
    position: relative;
}

#Banner h1 {
    color: white;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 1px;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

#Banner p {
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 600px;
}

#agendar-cita {
    width: 100%;
    margin-bottom: 20px;
}

#nuestros-servicios {
    width: 100%;
}

.boton-cita {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#agendar-cita .boton-cita {
    background-color: #A5C420;
    color: white;
    width: 100%;
}
#agendar-cita .boton-cita:hover{
    background-color: #25D366;
}
#nuestros-servicios .boton-cita {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 100%;
}

#nuestros-servicios .boton-cita:hover{
    background-color: #25D366
}

.boton-cita:hover {
    animation: grow 0.5s ease;
    transform: scale(1.05);
    
}


.text-container {
    flex: 1;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-top: 5.6rem;
}
#estadisticas {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #4cb6c6;
    width: 100%;
    border-radius: 0 0 100px 100px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    min-height: 0px;
}

.counter-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.counter-item:last-child {
    border-right: none;
}

.counter-content {
    text-align: center;
}

.counter {
    color: white;
    font-size: 60px;
    font-weight: 700;
    display: inline-block;
    margin-right: 3px;
}

.counter-prefix {
    color: white;
    font-size: 40px;
    font-weight: 500;
}

.counter-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 1px;
}
.counter[data-target="4.7"] {
    font-size: 60px;
    letter-spacing: -3px;
}

.counter[data-target="4.7"]::after {
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-left: 2px;
    vertical-align: super;
}
/* Sección principal */
.empresa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.empresa-imagenes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    max-width: 450px;
}

.empresa-imagenes img {
    width: 100%;
    border-radius: 10px;
}

.empresa-texto {
    max-width: 600px;
}

.empresa-texto h2 {
    color: #004d4d;
    font-size: 28px;
    font-weight: bold;
}

.empresa-texto p {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

.empresa-info {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007b7b;
}

.info-item i {
    font-size: 24px;
    color: #007b7b;
}

/* Botón principal */
.boton-cita {
    display: inline-block;
    background-color: #79c441;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.boton-cita:hover {
    transform: scale(1.05);
}

/* Estilo del contador */
.contador {
    position: absolute;
    top: 50px;
    left: 50px;
    background-color: #4cb6c6;
    color: white;
    padding: 15px 25px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
}



#sobre-empresa {
    padding: 40px 20px;
    width: 100%;
    margin-top: 5px;

}

.contenedor-principal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* Contenedor de imágenes */
.contenedor-imagenes {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid de imágenes */
.contenedor-grid {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Imagen principal */
.imagen-principal {
    width: 300px;
    height: 500px;
    border-radius: 20px;
}

.imagen-principal img {
    width: 100%;
}

/* Imágenes secundarias */
.imagenes-secundarias {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.imagenes-secundarias img {
    width: 200px;
    height: 250px;
    border-radius: 20px;
}

/* Contador de experiencia CENTRADO entre las 3 imágenes */
.contador-experiencia {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 119, 204, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    z-index: 10;
}

.numero {
    font-size: 3rem;
}

.contador-experiencia h3 {
    font-size: 1rem;
    margin: 0;
}

/* Texto */
.contenedor-texto {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.titulo-secundario {
    color: #4cb6c6;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.titulo-principal {
    color: #646464;
    font-size: 34px;
    font-weight: 600;
    margin: 0;
}

.descripcion {
    font-size: 18px;
    color: #646464;
}

.grid-caracteristicas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border: solid #7a7a7a;
    border-width: 1px 0 1px 0;
    
    
}
.grid-caracteristicas img{
    filter: invert(56%) sepia(55%) saturate(474%) hue-rotate(142deg) brightness(93%) contrast(88%);
}

.item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.item h3{
    color: #4cb6c6;
}
.item p{
    color: #646464;
}

.icono {
    width: 35px;
    height: 35px;
    
}

/* Botones */
.botones {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.btn-agendar, .llamar {
    background-color: #a5c420;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 200px; /* Ambos botones tendrán el mismo tamaño */
    text-align: center; /* Centra el texto del botón */
}

.btn-agendar:hover {
    background-color: #25d366;
}

/* Llamar button */
.llamar {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: 1px solid #4cb6c6;
    padding: 5px;
    border-radius: 20px;
    width: 50%;
}

.llamar img {
    width: 35px;
    margin-right: 10px;
    filter: invert(56%) sepia(55%) saturate(474%) hue-rotate(142deg) brightness(93%) contrast(88%);
}

.llamar div {
    color: #4cb6c6;
}

.llamar p {
    margin: 0;
}

.llamar p:first-child {
    font-weight: 600;
    font-size: 14px;
}

.llamar p:last-child {
    font-size: 12px;
}
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 8px 1px 1px;
    background: url('PROYECTO_ODONTO/Banner-2-1.webp') center fixed no-repeat;
    background-size: cover;
    position: relative;
    height: 90vh;
    width: 100%;
}

/* Capa de fondo */
.video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 130, 143, 0.6); /* Color con transparencia */
    z-index: 1;
}

/* Contenedor de contenido */
.contenido-video {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Espaciado entre elementos */
    max-width: 80%;
    color: white;
}

/* Estilos del botón de Play */
.play-button {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #4cb6c6;
    transition: transform 0.3s ease-in-out;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Icono Play */
.play-button span {
    font-size: 65px;
    color: white;
    line-height: 76px;
}

/* Estilos del título */
.contenido-video h1 {
    font-size: 68px; /* Tamaño aumentado */
    font-weight: bold;
    text-align: center;
    margin: 0;
    font-family: 'Quicksand';
}

/* Estilos del párrafo */
.contenido-video p {
    font-size: 22px;
    text-align: center;
    margin: 0;
}

.btn-llamar {
    background-color: #A5C420;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex; /* Usamos flexbox */
    align-items: center; /* Centra verticalmente */
    gap: 10px;
    font-weight: bold;
    margin-top: 50px;
}

.btn-llamar:hover {
    background-color: #25D366; /* Color WhatsApp */
}

/* Contenedor principal */
.servicios-container {
    display: flex;
    padding: 5% 1%;
    justify-content: space-between;
    align-items: stretch
}

/* Contenedor de imagen */
.servicios-imagen {
    width: 50%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicios-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Contenedor de texto */
.servicios-texto {
    width: 50%;
    background-color: #F7FEFF;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: left; /* Asegura la alineación del texto */
}

/* Alineación de los textos al inicio */
.servicios-texto h2,h1,p{
    text-align: left;
    align-self: flex-start; /* Asegura la alineación en flexbox */
}

/* Estilos del título */
h2 {
    color: #4cb6c6;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 0px;
}

h1 {
    font-size: 40px;
    font-weight: bold;
    color: #646464;
}

p{
    color: #646464;
    margin-top: 0px;
    font-size: 20px;
}

/* Grid de servicios (2 columnas x 3 filas) */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: repeat(3, auto); /* 3 filas */
    gap: 10px;
    width: 100%;
}

.servicio-item {
    display: flex;
    align-items: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    padding: 10px;
    border-radius: 50px;
    background: white;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #646464;
    font-size: 20px;
}

.check-icon {
    color: white;
    margin-right: 10px;
    transition: color 0.3s ease;
    border-radius: 50%;
    background-color: #4cb6c6;
    padding: 5px;
}

.servicio-item:hover {
    background: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.servicio-item:hover .check-icon {
    color: #25d366;
    background-color: white;
}

.btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

/* Botón de llamada */
.btn-llamar {
    display: inline-block;
    padding: 10px 20px;
    background-color: #A5C420;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn-llamar:hover {
    background-color: #25d366;
}

#benefits {
    padding: 5% 1%;
    display: flex;
    justify-content: center;
    width: 100%;
}

.benefits-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
}

/* Columna Izquierda */
.benefits-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 20px;
    background: url('PROYECTO_ODONTO/particulas-2.webp') no-repeat;
    background-size: cover;
    z-index: -1;
}

/* Lista de Beneficios */
.benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    font-family: "Quicksand", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #646464;
}

.benefits-list img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

/* Columna Derecha */
.benefits-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.main-image {
    width: 100%;
    max-width: 450px;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

/* Botón de Consulta */
.consultation-btn {
    position: absolute;
    bottom: -20px;
    right: 50px;
    padding: 20px 50px;
    background-color: #4cb6c6;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.consultation-btn img {
    width: 40px;
    filter: invert(100%);
}

.consultation-btn span{
    color: white;
    padding: 0px;
    margin-bottom: 0px;
}

.consultation-btn span:nth-child(1){
    font-size: 14px;
}

.consultation-btn:hover {
    background-color: #25d366;
}

/* Contenedor Principal */
#ofrecemos-servicios {
    padding: 5px 1px;
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

/* Títulos */
#ofrecemos-servicios h2, h1 {
    text-align: center;
}

/* Grid de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 0 15px;
    margin-top: 30px;
}

/* Tarjetas de Servicios */
.service-card {
    background-color: #F9FEFF;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
    position: relative;
}

/* Imagen de Servicio */
.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* Icono y Título */
.icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.service-icon {
    width: 30px;
    height: 30px;
}

.icon-title h2 {
    font-size: 18px;
    color: #646464;
    margin: 0;
}

/* Descripción */
.service-card p {
    font-size: 16px;
    color: #646464;
    margin: 10px 0;
}

/* Separador */
.service-divider {
    border: 0;
    height: 1px;
    background-color: #f0f0f0;
    margin: 15px 0;
}

/* Botón de Llamada */
.call-button {
    background-color: #A5C420;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    text-align: center;
    font-weight: bold;
    width: calc(100% - 40px);
}

.call-button:hover {
    background-color: #25D366;
}
#preguntas-frecuentes {
    text-align: center;
    padding: 50px 20px;
}

#preguntas-frecuentes h2 {
    color: #4cb6c6;
    text-transform: uppercase;
    font-size: 18px;
}

#preguntas-frecuentes h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    background-color: white;
    color: #646464;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    transition: 0.4s;
    font-weight: 600;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-answer {
    padding: 0 18px;
    background-color: white;
    overflow: hidden;
    font-size: 16px;
    color: #646464;
    padding-bottom: 20px;
}
#services-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 20px;
    background-color: #F7FEFF;
    text-align: center;
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.contact-card h2 {
    color: #4cb6c6;
    font-size: 22px;
    margin: 0;
}

.contact-card p {
    font-size: 16px;
    color: #646464;
    margin: 5px 0;
}
/* Footer */
footer {
    background-color: #646464;
    color: white;
    padding-top: 50px;
    font-family: 'Quicksand', sans-serif;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column-1 img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-column-1 p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info img {
    width: 35px;
    filter: invert(100%);
}

.contact-info span {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

.footer-column-2 h2, .newsletter-section h2 {
    font-size: 18px;
    color: #A5C420;
    margin-bottom: 20px;
    position: relative;
}

.footer-column-2 ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column-2 li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column-2 li img {
    width: 15px;
    height: 15px;
    filter: invert(100%);
    margin-right: 10px;
}

.newsletter-section form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espacio entre los elementos */
    justify-content: center; /* Centra los elementos en el eje horizontal */
    width: 100%;
  
      
  }
  .newsletter-section input {
    width: 38%;
    border: 3px solid #646464;
    border-radius: 30px;
    padding: 10px;
    font-family: Quicksand;
    font-weight: 600;
    background-color: white;
    ;
  }
  .subscribe-button {
    width: 95%;
    background: #A5C420;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 28;
    
  }
  .subscribe-button:hover {
    background: #25d366;
  }
  .subscribe-button img{
    width: 20px;
    height: 20px;
    fill: #fff;
  }
  .social-icons{
    text-align: left;
    margin-top: 20px;
  }
  
  .social-icons h2{
    color: #A5C420;
    font-size: 18px;
  }
  
  .social-icons img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    filter: invert(100%);
  }

  .copyrigth {
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    background-color: #575757;
  }

/* --- MODIFICACIONES PARA RESPONSIVIDAD (max-width: 768px) --- */

@media (max-width: 768px) {
    /* 1. Header */
    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem 1rem;
    }

    header > nav {
        order: 3; /* Mueve el menú de navegación al final para priorizar el logo y la llamada */
        margin-top: 10px;
        flex: 1 1 100%; /* Ocupa todo el ancho */
    }

    nav ul {
        flex-direction: column; /* Apila los elementos del menú */
        text-align: center;
        gap: 0;
    }

    nav ul li {
        margin: 5px 0;
        padding: 10px;
    }
    
    #logo {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    #logo img {
        width: auto;
        max-height: 40px; 
    }

    #llamar {
        order: 2;
        margin: 10px 0;
    }
    
    #agendar-turno {
        order: 4; /* Coloca el botón de agendar bajo el menú */
        margin: 10px 0;
        width: 100%;
    }
    .boton-turno {
        width: 100%;
        justify-content: center;
    }

    /* 2. Banner */
    #Banner {
        flex-direction: column; /* Apila el texto y la imagen */
        height: auto; /* Altura automática para el contenido */
        padding: 40px 20px;
    }

    .text-container, .image-container {
        width: 100% !important; /* Ocupa todo el ancho */
        padding: 20px 0; /* Reduce padding */
    }

    .image-container img {
        margin-top: 0;
        max-height: 400px; /* Limita la altura de la imagen en móvil */
        object-fit: contain; /* Asegura que la imagen no se recorte ni distorsione */
    }

    #Banner h1 {
        font-size: 36px; /* Ajusta el tamaño del título */
        text-align: center;
    }

    .description {
        text-align: center;
    }
    
    #Banner p {
        font-size: 18px;
        text-align: center;
    }
    
    .buttons-container {
        display: flex;
        flex-direction: column; /* Apila los botones */
        gap: 10px;
    }
    
    #agendar-cita, #nuestros-servicios {
        width: 100%;
        margin-right: 0;
    }

    /* 3. Estadísticas */
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en lugar de 4 */
        gap: 10px;
    }
    
    .counter {
        font-size: 40px;
    }
    
    .counter-prefix {
        font-size: 25px;
    }

    .counter-title {
        font-size: 14px;
    }
    
    .counter-item:nth-child(2) {
        border-right: none;
    }
    .counter-item:nth-child(3) {
        border-right: 1px solid rgba(255,255,255,0.1); /* Restablecer borde */
    }
    
    /* 4. Sobre Empresa */
    .contenedor-principal {
        flex-direction: column;
        gap: 30px;
    }

    .contenedor-imagenes {
        width: 100%;
    }

    .contenedor-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .imagen-principal, .imagenes-secundarias img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    .imagen-principal {
        height: auto;
    }

    .imagenes-secundarias {
        flex-direction: row; /* Coloca las dos imágenes secundarias una al lado de la otra */
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .imagenes-secundarias img {
        width: 48%; /* Hace que las dos imágenes secundarias compartan el ancho */
        height: 180px;
    }
    
    .contador-experiencia {
        position: relative; /* Cambia a posición relativa para que siga el flujo */
        transform: translate(0, 0);
        top: 0;
        left: 0;
        margin-top: 10px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .contenedor-texto {
        max-width: 100%;
        text-align: center;
        align-items: center; /* Centra los elementos internos de texto */
    }
    
    .titulo-principal {
        font-size: 28px;
        text-align: center;
    }
    
    .descripcion {
        text-align: center;
    }
    
    .grid-caracteristicas {
        grid-template-columns: 1fr; /* Una columna */
        gap: 15px;
        width: 100%;
    }
    
    .item {
        justify-content: center;
    }
    
    .botones {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-agendar, .llamar {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 15px;
    }

    .llamar {
        width: 100%;
        justify-content: center;
    }

    /* 5. Video Section */
    .video-section {
        height: 60vh;
    }
    
    .contenido-video h1 {
        font-size: 38px;
    }
    
    .contenido-video p {
        font-size: 16px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button span {
        font-size: 45px;
    }

    /* 6. Servicios Container */
    .servicios-container {
        flex-direction: column;
        padding: 5% 5%;
    }
    
    .servicios-imagen, .servicios-texto {
        width: 100%;
        height: auto;
    }
    
    .servicios-texto {
        padding: 20px;
    }
    
    .servicios-texto h1 {
        font-size: 32px;
    }
    
    .servicios-texto h2, p {
        text-align: center;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr; /* Una columna */
    }

    /* 7. Benefits */
    .benefits-container {
        flex-direction: column;
    }
    
    .benefits-text {
        width: 100%;
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
    
    .benefits-text h1 {
        font-size: 32px;
    }
    
    .benefits-list {
        align-items: flex-start;
        padding: 0 10px;
    }
    
    .benefits-list li {
        font-size: 18px;
        text-align: left;
    }
    
    .benefits-image {
        width: 100%;
        margin-top: 20px;
    }

    .main-image {
        max-width: 80%; /* Ajusta el tamaño de la imagen principal */
    }

    .consultation-btn {
        position: relative; /* Cambia a posición relativa */
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 80%;
        justify-content: center;
    }

    /* 8. Ofrecemos Servicios (Cards) */
    .services-grid {
        grid-template-columns: 1fr; /* Una columna */
    }
    
    .service-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 9. FAQ */
    .faq-question {
        padding: 15px;
        font-size: 18px;
    }

    /* 10. Contact Cards */
    #services-contact {
        grid-template-columns: 1fr; /* Una columna */
    }

    /* 11. Footer */
    .footer-content {
        grid-template-columns: 1fr; /* Una columna */
        padding: 20px;
        gap: 30px;
    }
    
    .footer-column-1, .footer-column-2, .newsletter-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-column-2 ul {
        align-items: center;
    }

    .newsletter-section form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-section input {
        width: 90%;
        margin-bottom: 10px;
    }
    
    .subscribe-button {
        width: 90%;
    }
    
    .social-icons {
        text-align: center;
    }
}