/* =======================================================
   SPA MARIBEL - Hoja de estilos
========================================================== */

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

body {
    font-family: "Trebuchet MS", Verdana, sans-serif;
    background-color: #FBF5F0;
    color: #4B3F3B;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: Georgia, "Times New Roman", serif;
    color: #4B3F3B;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============ ENCABEZADO Y MENU ============ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #C48793;
    padding: 1.2rem 3rem;
    gap: 1rem;
}

.logo h1 {
    color: #FFFFFF;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
}

.logo p {
    color: #FBF5F0;
    font-size: 0.85rem;
    font-style: italic;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.menu-item a {
    color: #FFFFFF;
    font-size: 1rem;
    padding: 0.4rem 0.2rem;
    border-bottom: 0.15rem solid transparent;
}

.menu-item a:hover {
    border-bottom: 0.15rem solid #D8B384;
}

.menu-item.activo a {
    border-bottom: 0.15rem solid #D8B384;
    color: #D8B384;
    font-weight: bold;
}

/* ============ PORTADA ============ */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #EFDDD2;
    padding: 3rem;
    gap: 2rem;
}

.hero-texto {
    flex: 1 1 30rem;
    padding: 1rem;
}

.hero-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #C48793;
}

.hero-texto p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.hero-imagen {
    flex: 1 1 25rem;
}

.hero-imagen img {
    border-radius: 0.6rem;
}

.boton {
    display: inline-block;
    background-color: #8FA383;
    color: #FFFFFF;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    font-size: 1rem;
}

.boton:hover {
    background-color: #6f8064;
}

/* ============ SECCIONES GENERALES ============ */

.seccion {
    padding: 3rem;
}

.seccion-titulo {
    text-align: center;
    margin-bottom: 2.2rem;
}

.seccion-titulo h2 {
    font-size: 1.9rem;
    color: #8FA383;
}

.seccion-titulo p {
    max-width: 45rem;
    margin: 0.6rem auto 0 auto;
    text-align: center;
}

/* Filas flexibles reutilizables */
.fila {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.tarjeta {
    background-color: #FFFFFF;
    border: 0.1rem solid #EFDDD2;
    border-radius: 0.6rem;
    flex: 1 1 16rem;
    max-width: 20rem;
    padding: 1.5rem;
    text-align: center;
}

.tarjeta-ancha {
    max-width: 30rem;
}

.tarjeta img {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.tarjeta h3 {
    color: #C48793;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

/* ============ FRANJA ALTERNA (fondo distinto) ============ */

.franja {
    background-color: #F3E7DE;
}

/* ============ EQUIPO / NOSOTROS ============ */

.persona {
    background-color: #FFFFFF;
    border-radius: 0.6rem;
    flex: 1 1 14rem;
    max-width: 16rem;
    padding: 1.2rem;
    text-align: center;
    border: 0.1rem solid #EFDDD2;
}

.persona img {
    border-radius: 50%;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1rem auto;
}

.persona h4 {
    color: #C48793;
    font-size: 1.05rem;
}

.persona p {
    font-size: 0.9rem;
}

/* ============ TABLAS DE SERVICIOS / HORARIO ============ */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #FFFFFF;
}

th, td {
    border: 0.1rem solid #EFDDD2;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.95rem;
}

th {
    background-color: #8FA383;
    color: #FFFFFF;
}

tr:nth-child(even) {
    background-color: #FBF5F0;
}

.categoria-servicio {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.categoria-servicio .texto {
    flex: 1 1 20rem;
}

.categoria-servicio .imagen {
    flex: 1 1 16rem;
}

.categoria-servicio .imagen img {
    border-radius: 0.6rem;
}

/* ============ GALERIA ============ */

.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

.galeria-item {
    flex: 1 1 14rem;
    max-width: 16rem;
}

.galeria-item img {
    border-radius: 0.6rem;
}

.galeria-item p {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-style: italic;
}

.video-contenedor {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.video-contenedor video {
    border-radius: 0.6rem;
    width: 100%;
    max-width: 50rem;
}

/* ============ CONTACTO ============ */

.contacto-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.contacto-bloque {
    flex: 1 1 16rem;
    max-width: 22rem;
    background-color: #FFFFFF;
    border-radius: 0.6rem;
    padding: 1.5rem;
    border: 0.1rem solid #EFDDD2;
    text-align: center;
}

.contacto-bloque h3 {
    color: #C48793;
    margin-bottom: 0.6rem;
}

/* ============ PIE DE PAGINA ============ */

.footer {
    background-color: #4B3F3B;
    color: #FBF5F0;
    padding: 2.5rem 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
}

.footer-bloque {
    flex: 1 1 14rem;
    max-width: 16rem;
    text-align: center;
}

.footer-bloque h4 {
    color: #D8B384;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.footer-bloque p, .footer-bloque a {
    font-size: 0.9rem;
    color: #FBF5F0;
}

.footer-final {
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
    border-top: 0.1rem solid #6a5c56;
    margin-top: 1.5rem;
    padding-top: 1rem;
}
