:root {
    /* Base */
    --bg-0: #0B111A;
    /* fondo principal (dark navy) */
    --bg-1: #0E1726;
    /* secciones oscuras/variantes */
    --surface: #FFFFFF;
    /* tarjetas/fondos claros */
    --surface-2: #F5F7FB;
    /* gris muy claro para bloques */

    /* Texto */
    --text-0: #FFFFFF;
    /* texto sobre fondo oscuro */
    --text-1: #E6ECF2;
    /* texto secundario sobre oscuro */
    --text-2: #1A1F29;
    /* texto sobre superficies claras */
    --text-muted: #8A93A6;
    /* apoyo/descriptivo */

    /* Acentos */
    --accent: #f2b560;
    /* dorado/ámbar de titulares/CTAs */
    --accent-contrast: #0B111A;


    /* Bordes y sombras */
    --border: #E7ECF3;
    /* borde tarjetas claras */
    --divider: rgba(255, 255, 255, .08);
    /* divisores sobre oscuro */
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, .10);
    --shadow-md: 0 10px 24px rgba(16, 24, 40, .14);

    /* Overlays */
    --overlay-60: rgba(0, 0, 0, .60);
    --overlay-40: rgba(0, 0, 0, .40);

    /* Gradiente para hero (oscurecer foto) */
    --hero-gradient: linear-gradient(180deg,
            rgba(11, 17, 26, 0.65) 0%,
            rgba(11, 17, 26, 0.45) 35%,
            rgba(11, 17, 26, 0.25) 100%);
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    /* Normal */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    /* Bold */
    font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    /* Regular */
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /* Bold */
}

p {
    margin: 5px
}

/* portda */

.protada {
    position: relative;
    width: 100%;
    height: 500px;
    /* ajusta según tu diseño */
    background:
        var(--hero-gradient),
        /* gradiente oscuro */
        url('../assets/images/portada.jpg') center/cover no-repeat;
    /* tu imagen */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-0);
    align-items: center;
    justify-content: center;
    color: var(--text-0);
    flex-direction: column;
    text-align: center;
}

.protada::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    /* alto del difuminado */
    background: linear-gradient(to bottom, rgba(11, 17, 26, 0) 0%, var(--bg-0) 100%);
}

/* servicios */

.servicios {
    color: var(--text-1);
    background-color: var(--bg-0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.imagenservicios {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagenservicios img {
    width: 80%;
}

.infoser {
    padding: 15px;
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-1);
    flex-direction: column;
}

.servicios-lista {
    background: var(--bg-0);
    color: var(--text-0);
    padding: 40px 20px;
    text-align: left;
}

.servicios-lista h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.servicios-lista h2 span {
    color: var(--accent);
}

.servicios-lista ul {
    list-style: disc;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 40px;
}

.servicios-lista li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-1);
}

.servicios-lista ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 12px;/
}

/* nosotros */
.nosotros {
    color: var(--text-1);
    background-color: var(--bg-0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* cortes */
.cortes {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-1);
    background: var(--hero-gradient), url('../assets/images/fondocorte.jpg')center/cover no-repeat;
}

/* nuestros servicios */
.nuestroservicios {
    color: var(--text-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    text-align: center;
}

/* galeria */

.galeria {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-0);
}

.galeria h2 {
    color: var(--text-0);
    margin-bottom: 24px;
}

/* Grid responsivo */
.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.grid-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    /* esquinas redondeadas */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover */
.grid-galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* sucursal */
.sucursal {
    width: 100%;
    padding: 20px;
    background: var(--surface);
    color: var(--text-2);
    display: flex;
    justify-content: space-around;
    text-align: center;
    position: relative;
    align-items: center;
}
.sucursal img {
    width: 90%;
}
/* boton para agendar */
        .btn-agendar {
            background-color: #ce7216;
            color: white;
            font-weight: bold;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            border: none;
        }
        .btn-agendar:hover {
            background-color: #b86312;
        }
        #alerta-disponible, #alerta-no-disponible {
            display: none;
            padding: 1rem;
            margin-top: 1rem;
            border-radius: 0.5rem;
        }
        .modal-backdrop{
            z-index: 1 !important;
        }
/* ---------------------------------movil---------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* servicios */
    .servicios {
        flex-direction: column-reverse;
    }

    .infoser,
    .imagenservicios {
        width: 100%;
        padding: 10px;
        align-items: center;
        text-align: center;
    }

    .servicios-lista ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    }

    .imagenservicios img {
        width: 100%;
    }

    /* nuestros servicios */
    .nuestroservicios {
        padding: 10px;
    }

    /* sucursal */
    .sucursal {
        flex-direction: column-reverse;
    }
}
