
@font-face {
    font-family: 'Made Okine Sans';
    src: url('/assets/fonts/made_okine_sans/MadeOkineSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Made Okine Sans';
    src: url('/assets/fonts/made_okine_sans/MadeOkineSans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Made Okine Sans';
    src: url('/assets/fonts/made_okine_sans/MadeOkineSans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
}
/*tituloos*/
.info-title {
    
    background: #BE1119;
    color: #fff;
    font-size: 32px;
    text-align: center;
font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
    padding: 26px 0;
    margin-bottom: 24px;
}
/*BOTON COTIZAR*/
.cotizar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-cotizar {
    background-color: #000;
    color: #fff;
    padding: 14px 36px;
    border-radius: 14px;
    font-size: 30px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
}

.btn-cotizar:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.btn-cotizar:active {
    transform: translateY(0);
}
@media (max-width: 1040px) and (min-width: 769px) {

    .btn-cotizar {
        font-size: 24px;
        padding: 12px 30px;
        border-radius: 12px;
    }
}
@media (max-width: 768px) {

    .btn-cotizar {
        font-size: 16px;
        padding: 10px 24px;
        border-radius: 10px;
    }

    .cotizar-wrapper {
        margin-top: 24px;
    }
}

/* ===== SOBRENOSOTROS ===== */
/* ===== CONTENEDOR GENERAL ===== */
.nosotros-section {
    width: 100%;
    padding-bottom: 80px;
}

/* Fondo gris a extremos */
.mision-bg,
.vision-bg {
    width: 100vw;
    background: #8e8e8e;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 20px;
}

/* Caja interna centrada */
.vision-box {
    max-width: 900px;
    margin: 0 auto;
    color: #000;
    text-align: center;
}

.vision-box h2 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
}

.vision-box p {
    font-size: 25px;
    line-height: 1.6;
    text-align: justify;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
}


.mision-box {
    max-width: 900px;
    margin: 0 auto;
    color: #000;
    text-align: center;
}

.mision-box h2 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
}

.mision-box p {
    font-size: 25px;
    line-height: 1.6;
    text-align: justify;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
}
/* ===== TARJETAS ===== */
.nosotros-cards {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}
.nosotros-section {
    width: 100%;
    overflow-x: hidden; /* solo aquí, no en body */
    padding-bottom: 80px;
}

.nosotros-card {
    width: 400px;
    background: #9b0000;
    padding: 20px 25px 50px;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-wrap: nowrap; 
}

/* Inclinación */
.nosotros-card.fotos {
    transform: rotate(-12deg);
}

.nosotros-card.proyectos {
    transform: rotate(12deg);
}

/* Imagen */
.nosotros-card img {
    width: 100%;
    display: block;
}

/* Texto inferior */
.nosotros-card span {
    display: block;
    margin-top: 12px;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
}

/* Hover animado */
.nosotros-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}
/* Tablets */
@media (max-width: 768px) {

    .info-title {
        font-size: 23px;
    }

    .vision-box h2,
    .mision-box h2 {
        font-size: 20px;
    }

    .vision-box p,
    .mision-box p {
        font-size: 16px;
    }
  .vision-box ,
    .mision-box {
         max-width: 510px;   /* 🔑 controla el “adelgazado” */
        margin: 0 auto;  
    }
    .nosotros-cards {
        gap: 40px;
    }

    .nosotros-card {
        width: 250px;
    }
    .nosotros-card span {
        font-size: 20px;
    }
}
/* BREAKPOINT INTERMEDIO – LAPTOP PEQUEÑO / TABLET GRANDE */
@media (max-width: 979px) and (min-width: 769px) {

    .nosotros-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }

    .nosotros-card {
        width: 320px;
        flex: 0 0 auto;
    }
}

/* Móviles */@media (max-width: 480px) {

    /* TÍTULO PRINCIPAL */
    .info-title {
        font-size: 23px;
        padding: 18px 10px;
    }

    /* VISIÓN Y MISIÓN */
    .vision-box h2,
    .mision-box h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .vision-box p,
    .mision-box p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* CARDS / PROYECTOS / FOTOS */
    .nosotros-cards {
        gap: 20px;
    }

    .nosotros-card {
        width: 170px;
        padding: 10px 10px 18px;
    }

    .nosotros-card span {
        font-size: 17px;
    }
}

/*--------------------------------
     FOTOS DE LAS INSTALACIONES
----------------------------------*/
/* ===== CONTENEDOR GENERAL ===== */
.alt-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Centrado real */
.alt-carousel-inner {
    position: relative;
    width: 100%;
}

/* Track */
.alt-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Slide */
.alt-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
   
    gap: 40px;
    padding: 40px 90px;
    box-sizing: border-box;
}

/* Inversión */
.alt-slide.reverse {
    flex-direction: row-reverse;
}

/* Texto */
.alt-text {
     flex: 1 1 35%;
    
    line-height: 1.4;
    font-size: 28px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
}

/* Imagen */
.alt-image {
     flex: 1 1 65%;
}

.alt-image img {
    width: 100%;
    display: block;
}
.alt-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
   
    z-index: 9999;
    pointer-events: auto;
}

.alt-prev {
    left: 30px;
}

.alt-next {
    right: 30px;
}
.alt-dots {
    display: none;
}

@media (max-width: 768px) {

    /* Ocultar flechas */
    .alt-btn {
        display: none;
    }

    /* Indicadores */
    .alt-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 14px;
    }

    .alt-dot {
        width: 28px;
        height: 4px;
        background: #d1d1d1;
        border: none;
        border-radius: 2px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .alt-dot.active {
        background: #BE1119;
    }

    /* SLIDE EN COLUMNA */
    .alt-slide,
    .alt-slide.reverse {
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;   /* más alto, menos lateral */
        gap: 24px; 
    }

    /* TEXTO */
    .alt-text {
        width: 100%;
        flex: none;              /* CLAVE */
        font-size: 15px;
        line-height: 1.4;
        text-align: center;
        padding: 0 16px;
        font-family: 'Made Okine Sans', sans-serif;
        font-weight: 500;
        order: 1;
    }

    /* IMAGEN */
    .alt-image {
        width: 100%;
        order: 2;
    }

    .alt-image img {
        width: 100%;
        height: auto;
        display: block;
    }
}


/* ===== PROYECTOS CARRUSEL ===== */
.projects-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.projects-carousel-inner {
    position: relative;
    width: 100%;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Slide */
.projects-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
        padding: clamp(20px, 6vw, 90px) clamp(70px, 8vw, 120px);
    box-sizing: border-box;
      align-items: center;          /* eje vertical */
    justify-content: center; 
}

/* Imagen izquierda */
.projects-image img {
    width: 100%;
    max-width: 520px;
    max-height: 380px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Texto derecha */
.projects-content {
    flex: 1 1 45%;
    max-width: 550px;
}

.projects-subtitle {
    font-size: 33px;
   
    margin-bottom: 12px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
}

.projects-text {
    font-size: 25px;
    line-height: 1.6;

    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 500;

    text-align: justify;
    text-justify: inter-word;
   /* hyphens: auto;*/
}

h4 {
    text-align: center;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

.projects-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.projects-prev {
    left: 40px;
}

.projects-next {
    right: 40px;
}
@media (max-width: 768px) {

     .projects-slide {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
        min-height: auto;
    }
.projects-section,
    .projects-carousel,
    .projects-viewport {
        height: auto;
        min-height: auto;
    }

       .projects-image img {
        max-width: 100%;
        max-height: 260px;
         margin-top: 80px;
    }
    .projects-content {
        flex: 0 0 100%;
        max-width: 290px
    }

    .projects-subtitle {
        font-size: 18px;
    }

    .projects-text {
        font-size: 14px;
    }

    .projects-btn {
        width: 30px;
        height: 30px;
    }
.projects-track {
        align-items: flex-start;
    }
    .projects-prev { left: 10px; }
    .projects-next { right: 10px; }
}
@media (min-width: 1600px) {
    .projects-image img {
        max-width: 580px;
        max-height: 420px;
    }
}


/* ===== FAQ HIGHLIGHT ===== */
.faq-highlights {
    width: 100%;
    padding: clamp(30px, 5vw, 60px) 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.faq-highlight-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #3a3a3a;
    
    padding: clamp(20px, 4vw, 40px);
}

.faq-highlight-container > * {
    min-width: 0;
}
.faq-highlight-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.faq-highlight-image {
   flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.faq-highlight-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    display: block;
}
.faq-highlight-content {
   flex: 1 1 60%;
    color: #fff;
}

.faq-highlight-title {
    font-size: 25px;
    margin-bottom: 25px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
}

.faq-highlight-text {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e0e0;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 500;
}
.faq-highlight-text {
    overflow-wrap: break-word;
    word-break: break-word;
}

.faq-highlight-btn-text {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    color: #ffffff;
    font-size: 20px;
font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-highlight-btn-text:hover {
    opacity: 0.85;
    transform: translateX(4px);
}
.faq-highlight-icon {
    width: 40px;          /* pequeño y elegante */
    height: auto;
    display: block;
    filter: brightness(0) invert(1); /* mismo tono blanco */
}

/* ===== OCULTAR FAQ HIGHLIGHT EN MÓVIL ===== */
@media (max-width: 768px) {
    .faq-wrapper .faq-highlights{
        display: none;
    }
}
/*BROCHUREEE*/
.brochure-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* BLOQUE SUPERIOR */
.brochure-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 70px;
}

.brochure-image {
    flex: 1 1 45%;
}

.brochure-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.brochure-text {
    flex: 1 1 55%;
}

.brochure-text p {
    margin-bottom: 24px;
    line-height: 1.6;
    color: #333;
    font-size: 25px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

/* BLOQUE INFERIOR */
.brochure-bottom {
    display: flex;
    gap: 40px;
}

.brochure-bottom img {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    flex: 1;
}
.brochure-center-text {
    text-align: center;
    margin-bottom: 40px;
   
}

.brochure-center-text p {
    font-size: 25px;
     line-height: 1.6;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

.brochure-center-text2 p {
    font-size: 26px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-justify: inter-word;
}
/*BROCHURE MOVILE*/
@media (max-width: 1040px) and (min-width: 769px) {

    /* Reducir ancho total */
    .brochure-info {
        padding: 40px 16px;
    }

    /* Imagen superior */
    .brochure-image {
        flex: 1 1 40%;
    }

    .brochure-image img {
        max-width: 100%;
        transform: scale(0.95);
    }

    /* Texto */
    .brochure-text {
        flex: 1 1 60%;
        
    }

    .brochure-text p,
    .brochure-center-text p,
    .brochure-center-text2 p {
        font-size: 20px;
    }

    /* Imágenes inferiores */
    .brochure-bottom img {
    flex: 0 0 46%;
    max-width: 46%;
}

}

@media (max-width: 768px) {

    /* Ocultar bloques completos */
    .brochure-image,
    .brochure-center-text,
    .brochure-bottom img:first-child {
        display: none;
    }

    .brochure-top {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 30px;
    }
 .brochure-text {
        width: 100%;
        max-width: 510px;   /* 🔑 controla el “adelgazado” */
        margin: 0 auto;     /* centra el bloque */
    }

    .brochure-text p {
        font-size: 17px;
        line-height: 1.6;
        text-align: justify;
        padding: 0 12px;
        font-family: 'Made Okine Sans', sans-serif;
        font-weight: 400;
    }
 .brochure-bottom {
        display: flex;
        justify-content: center;
    }

    .brochure-bottom img {
        flex: none;            /* 🔴 CLAVE: anula flex:1 */
        width: 70%;
        max-width: 70%;
        margin: 0 auto;
        border-radius: 6px;
    }

    .brochure-center-text2 p {
        font-size: 17px;
        margin-top: 24px;
    }
}

/*CALIDAAAD*/

.calidad-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* BLOQUE SUPERIOR */
.calidad-top {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 70px;
}

.calidad-image {
    flex: 1 1 45%;
}

.calidad-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.calidad-texts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 55%;
}

/* Textos */
.calidad-text p,
.calidad-text1 p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 25px;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
/* BLOQUE INFERIOR */
.calidad-bottom {
    display: flex;
    gap: 40px;
}

.calidad-bottom img {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    flex: 1;
}
.calidad-center-text {
    text-align: center;
    margin-bottom: 40px;
   
}

.calidad-center-text p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
.calidad-center-text1 p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
.calidad-center-text2 p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-justify: inter-word;
}
@media (max-width: 1040px) and (min-width: 769px) {

    /* Contenedor general */
    .calidad-info {
        padding: 40px 20px;
    }

    /* Textos centrales */
    .calidad-center-text p ,
    .calidad-center-text1 p,
    .calidad-text p,
.calidad-text1 p{
        font-size: 20px;
        line-height: 1.55;
    }

    .calidad-center-text2 p {
        font-size: 22px;
    }

    /* Bloque inferior de imágenes */
    .calidad-bottom {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-top: 30px;
    }

    .calidad-bottom img {
        flex: 0 0 46%;
        max-width: 46%;
        transform: scale(0.95);
    }
}

@media (max-width: 768px) {

    /* ───────── OCULTAR TODO LO INNECESARIO ───────── */
    .calidad-image,
    .calidad-center-text,    
    .calidad-text
    {
        display: none !important;
    }
    .calidad-top {
        margin-bottom: 0;
    }
 .calidad-text1 {
        margin-bottom: 0;
    }

    .calidad-center-text1 {
        margin-top: 0;
    }

    .calidad-center-text1 p {
        margin-top: 12px; /* ajusta aquí si quieres un espacio mínimo */
    }
  
    /* ───────── TEXTO PRINCIPAL VISIBLE ───────── */
    .calidad-text1 {
        width: 100%;
        max-width: 510px;
        margin: 0 auto 24px;
    }

    .calidad-text1 p {
        font-size: 17px;
        line-height: 1.6;
        text-align: justify;
        padding: 0 14px;
        margin: 24px auto 0;
        font-family: 'Made Okine Sans', sans-serif;
        font-weight: 400;
        max-width: 510px;
    }

    /* ───────── IMÁGENES (UNA DEBAJO DE OTRA) ───────── */
    .calidad-bottom {
        display: flex;
        flex-direction: column;      /* 🔑 clave */
        gap: 20px;
        align-items: center;
        margin: 30px 0;
    }

    .calidad-bottom img {
        width: 75%;
        max-width: 320px;
        height: auto;
        border-radius: 6px;
    }

    /* ───────── TEXTO FINAL VISIBLE ───────── */
    .calidad-center-text1 p
     {
        font-size: 17px;
        line-height: 1.6;
        max-width: 510px;
        margin: 24px auto 0;
        padding: 0 14px;
        font-family: 'Made Okine Sans', sans-serif;
        font-weight: 400;
        text-align: justify;
    text-justify: inter-word;
    }
    .calidad-center-text2 p{
        text-align: center;
        text-justify: inter-word;
        font-size: 15px;
    }
}

.trabajos-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.trabajos-bottom {
    display: flex;
    gap: 40px;
}

.trabajos-bottom img {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    flex: 1;
}
.trabajos-center-text {
    text-align: center;
    margin-bottom: 40px;
   
}

.trabajos-center-text p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
.trabajos-center-text1 p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
.trabajos-center-text2 p {
    font-size: 25px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-justify: inter-word;
}
.trabajos-center-text1{
display:none
}
@media (max-width: 1040px) and (min-width: 769px) {

    .trabajos-info {
        padding: 40px 16px;
    }

    .trabajos-center-text p,
    .trabajos-center-text2 p {
        font-size: 20px;
        line-height: 1.6;
    }

    .trabajos-bottom {
        gap: 24px;
    }

    .trabajos-bottom img {
        flex: 0 0 46%;
        max-width: 46%;
        transform: scale(0.95);
    }
}
@media (max-width: 768px) {
 .trabajos-center-text1 {
        display: block !important;
    }

    /* ───────── OCULTAR TODO ───────── */
    .trabajos-center-text,
    .trabajos-bottom img:nth-child(2) {
        display: none !important;
    }

    /* ───────── TEXTO PRINCIPAL VISIBLE ───────── */
    .trabajos-center-text1 {
        max-width: 510px;
        margin: 0 auto 24px;
    }

    .trabajos-center-text1 p {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 14px;
        margin: 0;
        text-align: justify;
    }
 .trabajos-center-text2 p {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 14px;
        margin: 0;
        justify-content: center;
    }
    /* ───────── SOLO PRIMERA IMAGEN ───────── */
    .trabajos-bottom {
        display: flex;
        justify-content: center;
        margin: 24px 0;
    }

    .trabajos-bottom img:first-child {
        width: 75%;
        max-width: 320px;
        height: auto;
        border-radius: 6px;
    }
}
