@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* colores que uso en toda la galeria*/
:root {
    --color-principal: #ffb693;
    --color-acento: #a0522d;
    --color-texto: #2e2e2e;
    --color-fondo: #fff8f4;
    --color-footer: #2e2e2e;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0;
    padding: 0;
}

/* ---- NAVBAR ---- */

.barra-nav {
    background-color: var(--color-principal) !important;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-sitio {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-texto) !important;
    text-decoration: none;
    letter-spacing: 1px;
}

.enlace-nav {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-texto) !important;
    text-decoration: none;
    padding: 6px 14px !important;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.enlace-nav:hover {
    background-color: var(--color-acento);
    color: white !important;
}

.navbar-collapse {
    margin-top: 10px;
}

.enlace-nav.active {
    background-color: var(--color-acento);
    color: white !important;
    border-radius: 20px;
}

.navbar-toggler {
    border-color: var(--color-texto);
}

/* ---- HERO (INDEX) ---- */

.seccion-hero {
    background-image: url('fondo/fondo_gatitos.png');
    background-size: 500px;
    background-repeat: repeat;
    padding: 90px 0;
    position: relative;
}

/* capa encima del fondo para que el texto se lea bien */
.seccion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 248, 244, 0.82);
}

.contenido-hero {
    position: relative;
    z-index: 1;
}

.titulo-hero {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color-acento);
    line-height: 1.2;
    margin-bottom: 20px;
}

.subtitulo-hero {
    font-size: 1rem;
    font-weight: 300;
    color: #5a4235;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

.boton-principal {
    background-color: var(--color-acento);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s;
}

.boton-principal:hover {
    background-color: #8b4523;
    color: white;
    transform: translateY(-2px);
}

.boton-secundario {
    background-color: transparent;
    color: var(--color-acento);
    border: 2px solid var(--color-acento);
    border-radius: 25px;
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 12px;
}

.boton-secundario:hover {
    background-color: var(--color-acento);
    color: white;
}

/* ---- SECCIONES GENERALES  ---- */

.seccion-blanca {
    background-color: white;
    padding: 70px 0;
}

.seccion-crema {
    background-color: var(--color-fondo);
    padding: 70px 0;
}

.seccion-oscura {
    background-color: var(--color-texto);
    padding: 70px 0;
}

.etiqueta-seccion {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-acento);
    margin-bottom: 10px;
}

.titulo-seccion {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-acento);
    margin-bottom: 12px;
}

.linea-decorativa {
    width: 45px;
    height: 3px;
    background-color: var(--color-principal);
    margin-bottom: 28px;
    border-radius: 2px;
}

.texto-seccion {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: #5a4235;
}

/* ---- ESTADISTICAS ---- */

.numero-estadistica {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    line-height: 1;
}

.texto-estadistica {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.separador-estadistica {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    align-self: center;
}

/* ---- LISTA DE SERVICIOS ---- */

.item-servicio {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: padding-left 0.3s;
}

.item-servicio:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.item-servicio:hover {
    padding-left: 8px;
}

.numero-servicio {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-acento);
    min-width: 26px;
    margin-top: 2px;
}

.nombre-servicio {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-texto);
    margin-bottom: 3px;
}

.descripcion-servicio {
    font-size: 0.83rem;
    font-weight: 300;
    color: #7a6050;
    margin: 0;
    line-height: 1.7;
}

/* ---- BLOQUE DE CITA ---- */

.bloque-cita {
    border-left: 3px solid var(--color-principal);
    padding: 16px 22px;
    margin: 28px 0;
    background-color: white;
    border-radius: 0 8px 8px 0;
}

.bloque-cita p {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-texto);
    line-height: 1.8;
    margin: 0 0 8px;
}

.bloque-cita p:last-child {
    margin-bottom: 0;
}

.bloque-cita strong {
    color: var(--color-acento);
    font-style: normal;
}

/* ---- ACCORDION BOOTSTRAP ---- */

.acordeon-michi .accordion-item {
    background: transparent;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
    border-radius: 0 !important;
}

.acordeon-michi .accordion-button {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-texto);
    background: transparent;
    padding: 18px 0;
    box-shadow: none;
}

.acordeon-michi .accordion-button:not(.collapsed) {
    color: var(--color-acento);
    background: transparent;
}

.acordeon-michi .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-acento);
    transform: none !important;
    width: auto;
    height: auto;
}

.acordeon-michi .accordion-button:not(.collapsed)::after {
    content: '−';
}

.acordeon-michi .accordion-body {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    color: #5a4235;
    background: transparent;
    padding: 0 0 20px;
}

.acordeon-michi .accordion-body strong {
    color: var(--color-acento);
    font-weight: 500;
}

/* ---- HEADER (galeria y contacto) ---- */

.cabecera-pagina {
    background-color: var(--color-texto);
    padding: 70px 0 60px;
}

.etiqueta-cabecera {
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-principal);
    margin-bottom: 14px;
}

.titulo-cabecera {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    line-height: 1.15;
}

.titulo-cabecera span {
    color: var(--color-principal);
    font-weight: 300;
    font-style: italic;
}

/* ---- OBRAS ---- */

.seccion-galeria {
    padding: 70px 0 90px;
}

.contenedor-obra {
    margin-bottom: 10px;
}

.imagen-obra {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform 0.4s;
}

.marco-obra {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.marco-obra:hover .imagen-obra {
    transform: scale(1.05);
}

/* botón que aparece al pasar el mouse */
.capa-obra {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 20, 16, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px 8px 0 0;
}

.marco-obra:hover .capa-obra {
    opacity: 1;
}

.enlace-consultar {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 9px 22px;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.enlace-consultar:hover {
    background-color: var(--color-acento);
    border-color: var(--color-acento);
    color: white;
}

.datos-obra {
    background-color: white;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-top: none;
}

.numero-obra {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-acento);
    margin-bottom: 5px;
}

.nombre-obra {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-texto);
    margin-bottom: 8px;
}

.descripcion-obra {
    font-size: 0.82rem;
    font-weight: 300;
    color: #7a6050;
    line-height: 1.7;
    margin-bottom: 12px;
}

.precio-obra {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-texto);
}

/* PREGUNTA INDEX */
.franja-cta {
    background-color: #f5ede6;
    padding: 65px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.titulo-cta {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-texto);
    margin-bottom: 10px;
}

.texto-cta {
    font-size: 0.9rem;
    font-weight: 300;
    color: #7a6050;
    margin-bottom: 28px;
    line-height: 1.8;
}

/* ---- FORMULARIO ---- */

.seccion-contacto {
    padding: 80px 0 90px;
}

.dato-contacto {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.dato-contacto:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.etiqueta-dato {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-acento);
    margin-bottom: 3px;
}

.valor-dato {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--color-texto);
}

/* ESTILOS DEL FORMULARIO */
.formulario-contacto .grupo-campo {
    margin-bottom: 24px;
}

.formulario-contacto label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--color-texto);
    display: block;
    margin-bottom: 7px;
}

.formulario-contacto input,
.formulario-contacto select,
.formulario-contacto textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
    padding: 9px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-texto);
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s;
    appearance: none;
}

.formulario-contacto input:focus,
.formulario-contacto select:focus,
.formulario-contacto textarea:focus {
    border-color: var(--color-acento);
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
    color: rgba(0, 0, 0, 0.25);
    font-weight: 300;
}

.formulario-contacto textarea {
    resize: none;
    min-height: 110px;
}

.formulario-contacto select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0522d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 22px;
    cursor: pointer;
}

.boton-enviar {
    background-color: var(--color-acento);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 36px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 6px;
}

.boton-enviar:hover {
    background-color: #8b4523;
    transform: translateY(-2px);
}

/* ---- footer ---- */

.pie-pagina {
    background-color: var(--color-footer);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.nombre-pie {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
}

.descripcion-pie {
    font-size: 0.83rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.4);
    max-width: 250px;
}

.titulo-columna-pie {
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-principal);
    margin-bottom: 18px;
    font-weight: 500;
}

.lista-pie {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-pie li {
    margin-bottom: 10px;
}

.lista-pie a {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.lista-pie a:hover {
    color: white;
}

.item-info-pie {
    margin-bottom: 14px;
}

.etiqueta-info-pie {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 2px;
}

.valor-info-pie {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
}

.linea-pie {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 50px 0 0;
}

.barra-copyright {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.texto-copyright {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.22);
}

.texto-copyright span {
    color: var(--color-principal);
}

.enlaces-legales {
    display: flex;
    gap: 20px;
}

.enlaces-legales a {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color 0.3s;
}

.enlaces-legales a:hover {
    color: rgba(255, 255, 255, 0.55);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
    .titulo-hero {
        font-size: 2rem;
    }

    .titulo-cabecera {
        font-size: 2.2rem;
    }

    .titulo-seccion {
        font-size: 1.7rem;
    }

    .boton-secundario {
        margin-left: 0;
        margin-top: 10px;
    }

    .seccion-blanca,
    .seccion-crema,
    .seccion-oscura {
        padding: 50px 0;
    }

    .descripcion-pie {
        max-width: 100%;
    }

    .barra-copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}