/** ===== Inicia estilos generales ==== */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.contenedor_general {
    width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
/* ---- Termina estilos generales ---- */


/** ===== Inicia encabezado ==== */
#encabezado {
    width: 100%;
    height: 800px;
    background-image: url(Imagenes/herodental.webp);
    background-size: cover;
    background-position: 30px 0; /* mueve la imagen a la derecha desde la izquierda*/
    background-repeat: no-repeat;

    position: relative; /* IMPORTANTE */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Mascara blanca para difuminado de imagen */

.mascara {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.849) 0%,
    rgba(255, 255, 255, 0.4) 60%,
    rgb(255, 255, 255, 0.2) 100%
);

    z-index: 1;
}

/* ===== Logo + menú ===== */
.contenedor_logo_menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    
    margin-bottom: 320px;
    /*
    background-color: #ffffff;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    */

}

.logo{
    height: 180px;
    position: relative;
    display: flex;
    right: 130px;
}

.contenedor_menu{
    background-color: #ffffffd2;
    width: 600px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;      /* centra verticalmente */
    justify-content: center;  /* centra horizontalmente */
    background: rgba(255, 255, 255, 0.873);
    box-shadow: /* sombra de menu */
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.menu_navegacion {
    display: flex;
    gap: 30px; /* espacio uniforme entre links */
    padding: 0 30px; /* se mueve aquí */
}

.menu_navegacion a {
    text-decoration: none;
    font-size: 14px;
    color: #0b4f6c;
}

/* ===== Contenido ===== */
.contenedor_texto_encabezado {
    position: relative;
    bottom: 220px;
    margin-top: 120px;
    max-width: 500px;
}

/* Título */
.titulo_principal {
    font-size: 52px;
    line-height: 1.1;
    margin: 0;
    color: #024477;
}

/* palabra resaltada */
.titulo_principal span {
    color: #1bb3a9;
}

/* descripción */
.descripcion_encabezado {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 18px;
    color: #ababab;
}

/* botón */
.boton_principal {
    margin-top: 30px;
    padding: 17px 70px;
    background-color: #024477;
    color: white;

    border: none;
    border-radius: 25px;

    cursor: pointer;
}
/* ---- Termina encabezado ---- */

/** ===== Inicia sección servicios ==== */
#servicios {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

/* Título */
.titulo_servicios {
    font-size: 28px;
    letter-spacing: 2px;
    color: #024477;
}

/* Descripción */
.descripcion_servicios {
    margin: 15px auto 60px auto;
    max-width: 500px;
    font-size: 18px;
    color: #666;
}

/* FILAS */
.fila_servicios {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

/* Fila inferior */
.fila_inferior {
    justify-content: center;
}

/* TARJETA */
.servicio_individual {
    width: 260px;
    padding: 30px 25px;
    background-color: #eaeaea;
    border-radius: 12px;
    text-align: left;
    position: relative;
}

/* ICONO (placeholder) */
/*.icono_servicio {
    width: 40px;
    height: 40px;
    background-color: #1bb3a9;
    border-radius: 50%;
    margin-bottom: 20px;
}*/

.icono{
    width: 50px;
    height: 50px;
}


/* NÚMERO DECORATIVO */
#servicios .numero_servicio {
    position: absolute;
    bottom: 5px;
    right: 25px;

    font-size: 80px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.439);
}

/* TÍTULO */
.servicio_individual h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #024477;
}

/* TEXTO */
.servicio_individual p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}
/* ---- Termina sección servicios ---- */

/** ===== Inicia sección porque elegirnos ==== */
#porque_elegirnos {
    padding: 120px 0;
    background-color: #f4f3f38a;
    height: auto;
}

/* CONTENEDOR PRINCIPAL */
.contenedor_elegirnos {
    display: flex;
    align-items: center;
    gap: 80px;
    
}

/* ===== IMAGEN ===== */
.columna_imagen {
    width: 50%;
}

/* Placeholder de imagen */
.modelo1{
    height: 700px;
    position: relative;
    right: 150px;
    top: 126px;
}

/* ===== CONTENIDO ===== */
.columna_contenido {
    width: 50%;
    
}

/* Título */
.titulo_elegirnos {
    font-size: 30px;
    letter-spacing: 2px;
    color: #024477;
    position: relative;
    right: 60%;
    bottom: 70px;
}

/* Descripción */
.descripcion_elegirnos {
    margin: 20px 0 40px 0;
    line-height: 1.6;
    color: #555;
}

/* ===== MÉTRICAS ===== */
.contenedor_metricas {
    display: flex;
    gap: 60px;
    margin-bottom: 30px;
}

/* numero de metrica */
.metrica h3 {
    font-size: 40px;
    margin: 0;
    color: #024477;
}

/* Texto de metrica */
.metrica p {
    font-size: 13px;
    margin-top: 5px;
    color:#ababab;
}

/* ===== BENEFICIOS ===== */
.contenedor_beneficios {
    margin-bottom: 30px;
}

/* ===== Circulos check ===== */
.material-symbols-outlined{
    color: #1bb3a9;
    position: relative;
    top: 7px;
}


.contenedor_beneficios p {
    margin: 20px 0;
    font-size: 17px;
    color: #ababab;
}

/* ===== BOTÓN ===== */
.boton_secundario {
    padding: 20px 75px;
    background-color: #024477;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    top: 20px;
}
/* ---- Termina sección porque elegirnos ---- */

/** ===== Inicia sección opiniones ==== */
#opiniones {
    padding: 120px 0;
    background-color: #0b4f6c;
    position: relative;
    color: white;
    text-align: center;
}

/* Overlay tipo blur */
#opiniones::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 179, 169, 0.6);
    top: 0;
    left: 0;
}

/* Contenido encima */
#opiniones .contenedor_general {
    position: relative;
}

/* Título */
.titulo_opiniones {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 80px;
}

/* CONTENEDOR */
.contenedor_opiniones {
    position: relative;
    height: 350px;
}

/* TARJETAS */
.opinion {
    width: 280px;
    background-color: white;
    color: #333;
    padding: 20px;
    border-radius: 12px;

    position: absolute;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* POSICIONES (esto hace el efecto pro) */
.opinion_1 {
    top: 0;
    left: 5%;
}

.opinion_2 {
    top: 80px;
    left: 35%;
}

.opinion_3 {
    top: 160px;
    left: 65%;
}

/* Estrellas */
.estrellas {
    color: gold;
    margin-bottom: 10px;
}

/* Comillas */

.comillas {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 30px;
    
}

/* Texto */
.texto_opinion {
    font-size: 14px;
    line-height: 1.6;
}

/* Usuario */
.usuario {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

/* Avatar */
.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
}
/* ---- Termina sección opiniones ---- */

/** ===== Inicia sección proceso ==== */
#proceso {
    padding: 120px 0;
    background-color: #ffffff;
    text-align: center;
}

/* Título */
.titulo_proceso {
    font-size: 28px;
    letter-spacing: 2px;
    color: #024477;
    margin-bottom: 100px;
    position: relative;
    bottom: 90px;
}

/* CONTENEDOR */
.contenedor_proceso {
    display: flex;
    justify-content: center;
    gap: 120px;
}

/* PASO */
.paso {
    position: relative;
    width: 300px;
    bottom: 100px;
}

/* NÚMERO GIGANTE */
.numero_fondo {
    position: absolute;
    top: -40px;
    left: 0%;
    transform: translateX(-50%);

    font-size: 250px;
    font-weight: bold;
    color: rgba(100, 100, 100, 0.08);
    margin: 0;
}

/* Icono */
.icono_paso {
    width: 80px;
    height: 80px;
    position: relative;
    left: 0px;
}

/* TEXTO */
.texto_paso {
    position: relative;
    font-size: 14px;
    color: #024477;
    left: 35%;
    text-align: left;
}
/* ---- Termina sección proceso ---- */

/** ===== Inicia sección promoción ==== */
#promocion {
    background-color: #024477;
    text-align: center;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

/* ===== Inicia Grupo de circulos ===== */

/* Círculo base */
.circulo {
    position: absolute;
    border-radius: 50%;
    border: 68px solid #1a798ac0;
    background: transparent;
    z-index: -1;
  }
  
  /* Esquina superior izquierda */
  .circulo-arriba-izquierda {
    width: 280px;
    height: 280px;
    top: -290px; /* negativo = sale por arriba */
    left: -150px; /* negativo = sale por la izquierda */
  }
  
  /* Esquina inferior derecha */
  .circulo-abajo-derecho {
    width: 250px;
    height: 250px;
    bottom: -280px;
    right: -100px;
  }

/* ===== Termina grupo de circulos ===== */

.contenedor_text_promocion {
    position: relative;
    top: 30%;
    
}

/* Título */
.titulo_promocion {
    font-size: 30px;
    letter-spacing: 2px;
    color: #ffffff;
}

/* Texto */
.descripcion_promocion {
    margin: 20px auto 50px auto;
    max-width: 500px;
    font-size: 15px;
    color: #d8d8d8;
}

/* BOTÓN (clave total) */
.boton_promocion {
    padding: 16px 40px;

    background-color: #1bb3a9;
    color: white;

    border: none;
    border-radius: 30px;

    font-size: 14px;
    letter-spacing: 1px;

    cursor: pointer;
}

.imagenpromo{
    background-image: url(Imagenes/img_promo.webp);
    height: 500px;
    background-size: cover;
    width: 50%;
    z-index: 2;
}
/* ---- Termina sección promoción ---- */

/** ===== Inicia sección preguntas ==== */
#preguntas {
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden;
    height: 600px;
}

/* Título */
.titulo_preguntas {
    text-align: center;
    font-size: 28px;
    letter-spacing: 2px;
    color: #024477;
    margin-bottom: 80px;
}

.contenedor_general_preguntas {
     display: flex;
     flex-direction: row;
     
}

/* Contenedor */
.contenedor_preguntas {
    max-width: 700px;
    margin: 0 auto; 

}

/* Cada bloque */
.pregunta_individual {
    margin-bottom: 40px;
}

/* Pregunta */
.pregunta {
    font-weight: bold;
    font-size: 20px;
    color: #024477;
}

/* Respuesta */
.respuesta {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.imagen_preguntas {
    width: 50%;
}

.modelo2{
    height: 700px;
    position: relative;
    bottom: 100px;
    right: 30px;
}

/* ---- Termina sección preguntas ---- */

/** ===== Inicia sección contacto ==== */
#contacto {
    padding: 120px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.contenedor_imagen_y_formulario {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Imagen */
.imagen_contacto {
    background-image: url(Imagenes/fondocontacto.webp);
    background-size: cover;
    height: 600px;
    width: 50%;
}


/* Título */
.titulo_contacto {
    font-size: 28px;
    letter-spacing: 2px;
    color: #0b4f6c;
    margin-bottom: 0px;
}

/* Subtítulo */
.subtitulo_contacto {
    font-size: 14px;
    color: #ababab;
}

/* CONTENEDOR */
.contenedor_formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* INPUTS Y TEXTAREA */
.contenedor_formulario input,
.contenedor_formulario textarea {
    background-color: #1ba2a21a;
    width: 400px;
    padding: 14px;
    border: 1px solid #d8d8d8;
    border-radius: 15px;
    font-size: 14px;
}

.contenedor_formulario input::placeholder, 
.contenedor_formulario textarea::placeholder {
    color: rgb(186, 186, 186);
}

/* TEXTAREA */
.contenedor_formulario textarea {
    height: 120px;
    resize: none;
}

/* BOTÓN */
.boton_contacto {
    margin-top: 10px;
    padding: 14px 35px;

    background-color: #1bb3a9;
    color: white;

    border: none;
    border-radius: 25px;

    cursor: pointer;
}
/* ---- Termina sección contacto ---- */

/** ===== Inicia footer ==== */
#footer {
    background-color: #1bb3a9;
}

/* ===== SUSCRIPCIÓN ===== */
.footer_suscripcion {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 0;
    width: 1100px;
    margin: 0 auto;

    border-bottom: 1px solid #ddd;
}

.texto_suscripcion {
    font-size: 16px;
    color: #ffffff;
}

/* input */
.contenedor_input {
    display: flex;
}

.contenedor_input input {
    padding: 10px;
    border: 1px solid #ccc;
    width: 200px;
}

.contenedor_input button {
    background-color: #108981;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

/* ===== CONTENIDO ===== */
.contenedor_footer {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    padding: 50px 0;
}

/* columnas */
.footer_columna {
    width: 22%;
}


/* títulos */
.titulo_columna {
    font-weight: bold;
    margin-bottom: 15px;
    color: #0b4f6c;
}

/* logo */
.logopositivo {
    height: 170px;
    position: relative;
    /* recorte manuelo del margen del logo */
    margin-top: -60px;
    margin-bottom: -50px;
}

/* texto */
.footer_columna p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #ffffff;
}

/* mapa */
.mapa iframe {
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 5px;
}

/* ===== BARRA INFERIOR ===== */
.footer_inferior {
    background-color: #1bb3a9;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
}
/* ---- Termina footer ---- */

/** ===== Botón ===== */
.whatsapp_boton {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 60px;
    height: 60px;

    background-color: #25d366;
    color: white;

    border-radius: 50%;

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

    font-size: 28px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 999;
}
 /* icono de whatsapp*/
.whatsapp_icono{
    height: 35px;
}



/** ===== Chat ===== */
.whatsapp_chat {
    position: fixed;
    bottom: 100px;
    right: 30px;

    width: 300px;
    background: white;

    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    display: none;
    z-index: 999;
}

/* Header */
.chat_header {
    background-color: #25d366;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat_header span {
    cursor: pointer;
}

/* Body */
.chat_body {
    padding: 15px;
}

.mensaje {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

/* Footer */
.chat_footer {
    padding: 10px;
    text-align: center;
}

.whatsapp_chat textarea::placeholder{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-style: italic;
    color: #ccc;
    
}

.chat_footer a {
    display: block;
    background-color: #25d366;
    color: white;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
}

/* ---- Termina chat ---- */





