@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Lexend:wght@100..900&display=swap');
**{
    margin: 0;
    padding: 0;
}

.btn-form img{
    width: auto;
    height: 80px;
    position: fixed;
    bottom: 20px;
    right: 10px;
    padding: 10px;
    background-color: #DA291C;
    border-radius: 100px;
    
}

/* Fondo oscuro translúcido */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Oscurece el fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

/* Contenedor del Banner */
.banner-modal {
  display: flex;
  background: white;
  width: 400px;
  height: 400px;
  max-width: 90%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Lado de la imagen */
.banner-image {
  flex: 1;
  background-color: #f0f0f0;
}
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin deformar */
}

/* Lado del contenido */
.banner-content {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Textos */
.banner-content h1 {
  font-size: 40px;
  margin: 10px 0;
  color:#DA291C; /* Azul oscuro similar al de la imagen */
}

.subtitle { color: #666; margin-bottom: 0; }

/* Formulario */
.email-input {
  width: 80%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
}

.subscribe-btn {
  width: 85%;
  padding: 2px;
  background-color: #DA291C;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.no-thanks {
  margin-top: 15px;
  font-size: 12px;
  color:#000000 ;
 text-decoration: none;
 font-weight: bold;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: #999;
}

body{
    font-size: monserrat, sans-serif;
    font-weight: 500;
    background-color:#0f0f0f;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: #0000006d;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    z-index: 999;
    border-radius: 0;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
}

.logo img{
  width: 30px;
  height: auto;
  margin-left: 30px;
}
/* Hamburger button */
.hamburger{
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 30px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background .18s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 1000;
}

.hamburger:focus{
    outline: none;
    box-shadow: 0 0 0 4px rgba(218,41,28,0.14);
}

/* Bars */
.hamburger .bar{
    display: block;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    transition: transform .36s cubic-bezier(.2,.7,.2,1), opacity .2s ease, background .24s ease;
    transform-origin: center;
}

/* Optional visual rhythm */
.hamburger .bar:nth-child(2){
    width: 72%;
    align-self: flex-end;
}

/* Active / open state (add/remove class "open" with JS) */
.hamburger.open{
    background: rgba(255,255,255,0.03);
}

.hamburger.open .bar:nth-child(1){
    transform: translateY(9px) rotate(45deg);
    background: #DA291C;
}

.hamburger.open .bar:nth-child(2){
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open .bar:nth-child(3){
    transform: translateY(-9px) rotate(-45deg);
    background: #DA291C;
}

/* Small screens tweak */
@media (min-width: 768px){
    .hamburger{ width: 48px; height: 34px; padding: 8px; }
    .hamburger .bar{ height: 3.5px; }
}

    .nav-menu{
        position: fixed;
        top: 40px; /* debajo del nav */
        right: 12px;
        width: 220px;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(6px);
        border-radius: 10px;
        padding: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.6);
        transform: translateY(-8px) scale(.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
        z-index: 995;
    }

    /* estado abierto (añade/remueve la clase "open" con JS) */
    .nav-menu.open{
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* lista de opciones */
    .nav-menu ul{
        list-style: none;
        margin: 0;
        padding: 6px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    /* items */
    .nav-menu a{
        display: block;
        padding: 10px 12px;
        color: #ffffff;
        text-decoration: none;
        font-family: "Lexend", sans-serif;
        font-size: 14px;
        border-radius: 8px;
        transition: background .14s ease, color .14s ease, transform .14s ease;
    }

    .nav-menu a:hover,
    .nav-menu a:focus{
        background: rgba(255,255,255,0.04);
        color: #DA291C;
        transform: translateX(4px);
    }

    /* botón destacado dentro del menú */
    .nav-menu .cta{
        margin-top: 6px;
        padding: 10px;
        text-align: center;
        background: #DA291C;
        color: #fff;
        border-radius: 8px;
        font-weight: 700;
    }

    /* en pantallas grandes se muestra horizontal y dentro del nav */
    @media (min-width: 768px){
        .nav-menu{
            position: static;
            display: flex;
            width: auto;
            background: transparent;
            padding: 0;
            box-shadow: none;
            transform: none;
            opacity: 1;
            pointer-events: auto;
        }
        .nav-menu ul{
            flex-direction: row;
            gap: 18px;
            align-items: center;
        }
        .nav-menu a{
            padding: 6px 8px;
            color: #fff;
            background: transparent;
            transform: none;
        }
        .nav-menu a:hover{ background: rgba(255,255,255,0.03); transform: none; color: #DA291C; }
        .nav-menu .cta{ background: #DA291C; padding: 8px 14px; }
    }


/*main*/
main{
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(44, 44, 44, 0.7), rgba(0, 0, 0, 0.7)), url('front\ page.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin-top: 0px;
    border-radius: 0px;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 665px;
    box-sizing: border-box;
    z-index: 998;
    border-radius: 0;
}

h1{
    font-size: 40px;
    text-align: left;
    margin-top: 130px;
    margin-left: 20px;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

span{
    color: #DA291C;
}

h2{
    color: #ffffff;
    font-size: 40px;
    font-family: "League Spartan", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
}

p{
    text-align: left;
    font-size: 10px;
    color: #c7c7c7;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

button{
    padding: 10px 100px;
    border-radius: 50px;
    margin-top: 20px;
    background-color: #DA291C;
    color: #fff;
    border: none;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.boton-proyect {
    background-color: #ffffff00;
    border: 2px solid #DA291C;
}


/*servicios*/
.servicios{
    text-align: center;
}

.servicios h2{
font-size: 40px;
font-family: "League Spartan", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
color: #ffffff;
}

.servicios p{
    font-size: 15px;
}




.servicios {
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: block;
}

.servicio img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.servicios>p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.servi {
    display: block;
    /* Una columna en móvil */
    grid-template-columns: 1fr;
    margin-bottom: 200px;
    margin-top: 5rem;
}

.servicio {
    display: block;
    flex-direction: column;
    background-color: #1d1d1d;
    padding: 1.5rem;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 3px solid #333;
}

.servicio h3 {
    color: #ffffff;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.servicio p{
    text-align: left;
}

.servicio ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 1rem;
}

/*video*/
.video{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 100px;
}

video{
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    height: auto;
}

/*Featured Projects*/
.Featured-projects{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.proyects{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.proyect {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    height: auto;
}

.proyect img{
    width: 100%;
    height: auto;
    border-radius: 30px;
}

/*banner*/
.banner-1{
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(15,15,15,0.65) 100%) , url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 300px;
}

.banner-1 h2{
    color: #ffffff;
    font-size: 30px;
    font-family: "League Spartan", sans-serif;
    padding-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.banner-1 p{
    color: #ffffff;
    font-size: 12px;
    font-family: "Lexend", sans-serif;
    padding: 10px;
}

.banner-1 img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.banner-boton{
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 40px;
    background-color: #DA291C;
    color: #fff;
    border: none;
}

.banner-boton:hover{
    background-color: #000000;
    cursor: pointer;
}
/*about us*/
.about{
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.about h2,p{
    text-align: center;
}

/* acordeon */

/* Cuando el acordeón está ABIERTO */
.accordion-button:not(.collapsed) {
  background-color: #000000; /* Tu color de fondo */
  color: #ffffff;              /* Color del texto */
  box-shadow: none;         /* Quita el resplandor azul al hacer clic */
  border: #DA291C 
}

/* Cuando el acordeón está CERRADO */
.accordion-button {
  background-color: #ffffff;
  color: #333;
}

/* El color de la flechita (ícono) */
.accordion-button::after {
  filter: brightness(5); /* Esto la vuelve negra, por ejemplo */
}

.accordion-item {
  margin-bottom: 1rem; /* Separa un bloque de otro */
  border: 1px solid #DA291C; /* Cambia el color del borde */
  border-radius: 8px !important; /* Fuerza el redondeo */
  overflow: hidden; /* Asegura que el contenido no se salga de las esquinas */
}

/* iframe */
iframe{
    display: block;
    margin: 0 auto;
    margin-top: 150px;
    width: 370px;
    max-width: 330px;
    border-radius: 20px;
    height: 300px;
    margin-bottom: 150px;
}

/*footer*/
.footer{
    background-color: #aeaeae;
    padding: 20px;
    text-align: left;
    color: #ffffff;
}

.footer-container{
    margin-left: 10px;
}

.footer-column h4{
     font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  font-size: 20px;
  margin-top: 30px;
}

.footer-column a{
    list-style: none;
    color: #ffffff;
    text-decoration: none;
}

.footer-column p{
    text-align: left;
    font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.footer-column ul {
    text-align: left;
    padding: 0;
    margin: 0;
    font-style: normal;
    font-size: 14px;
}


.logo-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-footer img{
  width: 25px;
  height: auto;
}

.footer-links {
    list-style: none;
    text-decoration: none;
    text-align: left;
    margin: 0;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.footer-links ul li a{
    text-align: left;
    
}

.footer-social img{
    width: auto;
    height: 25px;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: #DA291C;
}

.newsletter-form button{
    padding: 10px 20px;
}

.footer-bottom p{
    text-align: left;
    font-size: 13px;
}

.bottom-actions {
    margin-left: 20px;
}

.bottom-actions a{
    text-decoration: none;
    list-style: none;
    color: #ffffff;
}

.footer-column button{
    padding: 10px 20spx;
    border-radius: 50px;
    font-size: 13px;
    margin-top: 20px;
    background-color: #DA291C;
    color: #fff;
    border: none;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


/*Responsive*/
/* Responsive: tablets, laptops y pantallas grandes */

/* Tablet: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .btn-form img{
    width: auto;
    height: 80px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #DA291C;
    border-radius: 100px;
    
}

/* Fondo oscuro translúcido */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Oscurece el fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

/* Contenedor del Banner */
.banner-modal {
  display: flex;
  background: white;
  width: 550px;
  height: 400px;
  max-width: 90%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Lado de la imagen */
.banner-image {
  flex: 1;
  background-color: #f0f0f0;
}
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin deformar */
}

/* Lado del contenido */
.banner-content {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Textos */
.banner-content h1 {
  font-size: 40px;
  margin: 10px 0;
  color:#DA291C; /* Azul oscuro similar al de la imagen */
}

.subtitle { color: #666; margin-bottom: 0; }

/* Formulario */
.email-input {
  width: 80%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
}

.subscribe-btn {
  width: 85%;
  padding: 2px;
  background-color: #DA291C;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.no-thanks {
  margin-top: 15px;
  font-size: 12px;
  color:#000000 ;
 text-decoration: none;
 font-weight: bold;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: #999;
}

    
    
    nav { height: 56px; padding: 0 18px; }
    .hamburger { display: none; } /* muestra menú horizontal en esta anchura */
    .logo img { width: 32px; }

    .nav-menu ul { gap: 12px; }
    .nav-menu a { font-size: 15px; padding: 8px 10px; }

    main {
        height: 700px;
        padding: 32px;
        background-position: center;
    }
    
    h1 { font-size: 70px; margin-top: 100px; margin-left: 24px; }
    h2 { font-size: 36px; }
    p { font-size: 14px; margin-left: 24px; margin-right: 24px; }

    button { padding: 10px 48px; }

    .gallery{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        margin-top: 2rem;
    }

    .gallery img{
        width: 250px;
    }

   
    iframe{
        width: 90%;
        max-width: 90%;
        height: 400px;
    }

    .footer { padding: 24px; }
}

/* Laptop / Desktop: 1024px – 1365px */
@media (min-width: 1024px) and (max-width: 1365px) {
    
    .btn-form img{
    width: auto;
    height: 80px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #DA291C;
    border-radius: 100px;
    
}

/* Fondo oscuro translúcido */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Oscurece el fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

/* Contenedor del Banner */
.banner-modal {
  display: flex;
  background: white;
  width: 650px;
  height: 500px;
  max-width: 90%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Lado de la imagen */
.banner-image {
  flex: 1;
  background-color: #f0f0f0;
}
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin deformar */
}

/* Lado del contenido */
.banner-content {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Textos */
.banner-content h1 {
  font-size: 40px;
  margin: 10px 0;
  color:#DA291C; /* Azul oscuro similar al de la imagen */
}

.subtitle { color: #666; margin-bottom: 0; }

/* Formulario */
.email-input {
  width: 80%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
}

.subscribe-btn {
  width: 85%;
  padding: 2px;
  background-color: #DA291C;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.no-thanks {
  margin-top: 15px;
  font-size: 12px;
  color:#000000 ;
 text-decoration: none;
 font-weight: bold;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: #999;
}

    
    nav { height: 64px; padding: 0 28px; }
    .hamburger { display: none; }
    .logo img { width: 36px; }

    .nav-menu ul { gap: 20px; }
    .nav-menu a { font-size: 16px; padding: 8px 12px; }

    main {
        height: 700px;
        padding: 48px;
    }
    h1 { font-size: 80px; margin-top: 72px; margin-left: 32px; }
    h2 { font-size: 44px; }
    p { font-size: 15px; margin-left: 32px; margin-right: 32px; }

    button { padding: 12px 44px; }

    .gallery{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        margin-top: 2rem;
    }

    .gallery img{
        width: 200px;
    }

    iframe{
    display: block;
    margin: 0 auto;
    margin-top: 150px;
    width: 90%;
    max-width: 90%;
    border-radius: 20px;
    height: 400px;
    margin-bottom: 150px;
}

    .footer { padding: 32px; }
}

/* Large desktop: 1366px+ */
@media (min-width: 1366px) {
    
.btn-form img{
    width: auto;
    height: 80px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #DA291C;
    border-radius: 100px;
    
}

/* Fondo oscuro translúcido */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Oscurece el fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

/* Contenedor del Banner */
.banner-modal {
  display: flex;
  background: white;
  width: 50%;
  height: 70%;
  max-width: 90%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Lado de la imagen */
.banner-image {
  flex: 1;
  background-color: #f0f0f0;
}
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin deformar */
}

/* Lado del contenido */
.banner-content {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Textos */
.banner-content h1 {
  font-size: 40px;
  margin: 10px 0;
  color:#DA291C; /* Azul oscuro similar al de la imagen */
}

.subtitle { color: #666; margin-bottom: 0; }

/* Formulario */
.email-input {
  width: 80%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
}

.subscribe-btn {
  width: 85%;
  padding: 2px;
  background-color: #DA291C;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.no-thanks {
  margin-top: 15px;
  font-size: 15px;
  font-weight: bold;
  color:#000000 ;
 text-decoration: none;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: #999;
}


     nav { height: 72px; padding: 0 36px; }
    .hamburger { display: none; }
     .logo img { width: 60px; margin-right: 750px;}

    .nav-menu ul { gap: 24px; }
    .nav-menu a { font-size: 17px; padding: 10px 14px; }

    main {
        height: 640px;
        padding: 64px;
    }
    h1 { font-size: 90px; margin-top: 100px; margin-left: 40px; }
    h2 { font-size: 100px; }
    p { font-size: 20px; text-align: lefts; margin-left: 40px; margin-right: 40px; }

    button {  padding: 20px 80px;
        font-size: 20px;}

    /* Servicios: 4 columnas si el espacio lo permite */
    .gallery{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }

    .gallery img{
        width: 350px;
    }

    
/*servicios*/
/* Servicios: 4 columnas si el espacio lo permite */
.servicios {
    width: 100%;
    margin: 0 auto 80px auto;
    display: block;
    text-align: center;
}

.servicios h2 {
    font-size: 60px;
    margin-top: 100px;
    margin-bottom: 18px;
    color: #fff;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
}

.servicios > p {
    font-size: 22px;
    color: #c7c7c7;
    margin: 0 auto 36px auto;
    max-width: 700px;
    font-family: "Lexend", sans-serif;
}

.servi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 120px;
}

.servicio {
    background-color: #181818;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    padding: 32px 22px 28px 22px;
    text-align: left;
    border-top: 4px solid #DA291C;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 420px;
    margin-top: 100px;
}

.servicio:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(218,41,28,0.12);
}

.servicio img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.servicio h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
}

.servicio p {
    color: #c7c7c7;
    font-size: 15px;
    margin-bottom: 14px;
    font-family: "Lexend", sans-serif;
}

.servicio ul {
    list-style: disc inside;
    color: #fff;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 18px;
}

.banner-1{
    width: 100%;
    height: 500px;
}

.banner-1 h2{
    font-size: 80px;
    margin-top: 80px;
}

.banner-1 p{
    font-size: 25px;
}

@media (max-width: 1200px) {
    .servi {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}
@media (max-width: 900px) {
    .servi {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .servicios h2 { font-size: 40px; }
    .servicios > p { font-size: 16px; }
}
@media (max-width: 600px) {
    .servi {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .servicio {
        min-height: unset;
        padding: 18px 10px 18px 10px;
    }
    .servicio img {
        height: 120px;
    }
    .servicios h2 { font-size: 28px; }
    .servicios > p { font-size: 13px; }
}

iframe{
    width: 90%;
    max-width: 90%;
    height: 600px;
}


    
/* Footer */
/* Footer - estructura similar a index.html */
footer {
    background-color: #111;
    color: #ddd;
    font-family: 'Montserrat', sans-serif;
    padding: 50px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    /* margin-top: 200px; <-- ELIMINADO o REDUCIDO */
    margin-top: 60px;
    /* Un valor más razonable para separación */
}

/* Contenedor interno para alinear con el resto del layout */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

/* Columnas individuales */
.footer-column h4 {
    margin: 0 0 12px;
    font-size: 25px;
    color: #fff;
    letter-spacing: 0.4px;
}

.footer-column p {
    margin: 0 0 10px;
    color: #cfcfcf;
    font-size: 20px;
    line-height: 1.6;
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li a{
    font-size: 20px;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #9ecdff;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(158, 205, 255, 0.12);
}

.footer-social img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Línea inferior con copyright y enlaces pequeños */
.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 20px;
    color: #bfbfbf;
}

.footer-bottom p{
    font-size: 20px;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-bottom .legal-links a {
    color: #bfbfbf;
    text-decoration: none;
}

.footer-bottom .legal-links a:hover {
    color: #9ecdff;
}

.back-to-top {
    color: #ffffff;
    text-decoration: none;
    list-style: none;
}
}
/* Clases para animaciones de entrada */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-down-section {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-down-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*desliza*/
/* Para que aparezca desde la izquierda */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Para que aparezca desde la derecha */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/*zoom*/
.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}