:root {
    --rojo:         #CE0202;
    --gris-oscuro:  #1E1E1E;
    --blanco:       #ffffff;
    --negro:        #0f0f0f;
    --fondo:        #03060c;


}

/* ── FUENTES ── */
@font-face {
    font-family: 'Inter';
    src: url('assets/fuentes/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fuentes/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}
@font-face {
    font-family: 'RobotoFlex';
    src: url('assets/fuentes/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body {
    font-size: 1.6rem;
   font-family: 'Inter', sans-serif;
    background-color: #f2f2f2;
    color: var(--blanco);
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }



.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 70rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

}

.hero {
    position: relative;
}

.hero__interface {
    position: absolute;
    inset: 1.5%; 
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.interface__corner {
    position: absolute;
    width: 14px;
    height: auto;
}

.interface__corner--tl { top: 0; left: 0; }
.interface__corner--tr { top: 0; right: 0; }
.interface__corner--bl { bottom: 0; left: 0; }
.interface__corner--br { bottom: 0; right: 0; }

.interface__bottom-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.interface__bar-image {
    width: auto;
    max-width: 140px; 
    height: auto;
}


@media (min-width: 480px) {
    .hero__interface {
        inset: 2%;
    }
    .interface__corner {
        width: 18px; 
    }
    .interface__bar-image {
        max-width: 180px; 
    }
}

@media (min-width: 768px) {
    .hero__interface {
        inset: 2.5%;
    }
    .interface__corner {
        width: 22px;
    }
    .interface__bar-image {
        max-width: 220px;
    }
    
    
    .navegacion-principal {
        flex-direction: row;
    }
}


@media (min-width: 1140px) {
    .hero__interface {
        inset: 3%; 
    }
    .interface__corner {
        width: 24px;
    }
    .interface__bar-image {
        max-width: 250px;
    }
} 


@media (min-width: 1400px) {
    .hero__interface {
        inset: 3.5%; 
    }
    .interface__corner {
        width: 26px; 
    }
    .interface__bar-image {
        max-width: 280px;
    }
}
/* Forzar que el menú esté siempre por encima de la interfaz de la cámara */
.navbar {
    position: relative; /* O 'absolute'/'fixed' si ya lo tenías así */
    z-index: 10;        /* Un número mayor al z-index de .hero__interface */
}

/* Por si acaso el botón de hamburguesa necesita un empujón extra */
.navbar__hamburger {
    position: relative;
    z-index: 11;
    cursor: pointer; /* Buenas prácticas para móviles y escritorio */
}

.navbar {

    position: relative;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 5.5rem 5rem;

    margin-right: 2rem;

}



.navbar_logo img{

    height: 6rem;

    width: auto;

}

.navbar__links {

    display: flex;

    align-items: center;

    gap: 3rem;

}



.navbar__links a {

    font-size: 1.6rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    color: var(--blanco);

    text-transform: uppercase;

    transition: color 0.2s ease;

}

.navbar__links a:hover {

    color: var(--rojo);

}





.navbar__cta {

    display: flex;

    align-items: center;

    gap: 0.9rem;

 

    background-image: linear-gradient(to right, var(--rojo), #460000);

    color: var(--blanco) !important;

    padding: 1rem 1.5rem;

    border-radius: 1rem;

    font-size: 1.6rem !important;

    font-weight: 700 !important;

    letter-spacing: 0.1em;

    transition: opacity 0.2s ease, transform 0.15s ease;

    border: none;

}



.navbar__cta:hover {

 

    filter: brightness(1.2);

   

    color: var(--blanco) !important;

}

.navbar__arrow {

    height: 1.1rem;

    width: auto;

    filter: brightness(0) invert(1);

}



.hero__content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 0 2rem 4rem; /* Un padding más amigable para celular */
}

.hero__titulo {

    font-family:'Inter', sans-serif;

    font-size: clamp(4.8rem, 8vw, 7rem);

    font-weight: 800;

    line-height: 1.06;

    text-transform: uppercase;

    color: var(--blanco);

    margin:15rem;

    margin-left: 5rem;

 

}



.hero__titulo--rojo {

    color: var(--rojo);

}

.hero__titulo__linea2 {

    display: inline-flex;

    align-items: center;

    gap: 0.3em;

}



.hero__punto {

    color: var(--rojo);

    margin-left: 0rem;

    vertical-align: middle;

}




.hero__bottom {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.6rem 2rem;
}


.hero__waveform {
    width: clamp(16rem, 26vw, 26rem);
    height: 2.4rem;
    opacity: 0.65;
}
.hero__waveform svg {
    width: 100%;
    height: 100%;
}

/* Etiqueta "VIDEO*" */
.hero__video-label {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.sobre-nosotros {
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    padding:20rem 10rem;
}

.sobre-nosotros__imagen-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 48rem;
}

.sobre-nosotros__dron {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.18));
}
.sobre-nosotros__imagen-wrap {
    perspective: 1000px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-nosotros__dron {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.18));
 
    animation: floatingDron 3s ease-in-out infinite;
    transition: transform 0.3s ease-out; 
}

@keyframes floatingDron {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-40px) rotate(2deg); 
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}
.sobre-nosotros__info {
    flex: 1;
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.sobre-nosotros__titulo {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--negro);
    text-transform: uppercase;
    letter-spacing: 0.05em;

}

.sobre-nosotros__subtitulo {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 3rem;
    color: var(--negro);
    line-height: 1;
}

.sobre-nosotros__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gris-oscuro);
    line-height: 1.7;
}

.sobre-nosotros__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    align-self: flex-start;
    background-image: linear-gradient(to right, var(--rojo), #460000);
    color: var(--blanco);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.sobre-nosotros__cta:hover {
    filter: brightness(1.3);
  
    color: var(--blanco);
}

.sobre-nosotros__cta-arrow {
    height: 1.1rem;
    width: auto;
    filter: brightness(0) invert(1);
}


.servicios {
    background-color: #f2f2f2;
    padding: 4rem 8rem 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.servicios__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.servicios__label {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #888;
    text-transform: uppercase;
}

.servicios__titulo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--gris-oscuro);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.servicios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2.4rem;
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding-top: 4rem; 
}

.servicios__card {
    background-color: #ffffff;
    border-radius: 1.4rem;
    padding: 0 2.4rem 2.8rem 2.4rem; 
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 0.2rem 1.2rem rgba(255, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.servicios__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}


.servicios__card-icono-wrap {
    width: 6.5rem;
    height: 6.5rem;
    background-color: #ffffff; 
    border-radius: 50%;
    border: 1.5px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    
   
    margin-top: -3.25rem; 
    margin-bottom: 1rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
}

.servicios__card-icono {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.servicios__card-titulo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gris-oscuro);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1rem;
}

.servicios__card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color:var(--gris-oscuro);
    line-height: 1.6;
    text-align: justify; 
}


.sectores {
    background-color: #f2f2f2;
    padding: 7rem 6rem 6rem;
    overflow: hidden;
}

.sectores__carrusel-wrap {
    overflow: hidden;
    width: 100%;
}

.sectores__carrusel {
    display: flex;
    gap: 2rem;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── SLIDE ── */
.sectores__slide {
    position: relative;
    flex: 0 0 calc(33.333% - 1.4rem);
    border-radius: 1.6rem;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5 / 6;
}

.sectores__slide-img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    display: block;
    transition: transform 0.5s ease;
}

.sectores__slide:hover .sectores__slide-img {
    transform: scale(1.04);
}


.sectores__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.3) 45%,
        transparent 70%
    );
    transition: background 0.4s ease;
}


.sectores__slide:hover .sectores__slide-overlay {
    background: linear-gradient(
        to top,
        rgba(140, 0, 0, 0.92) 0%,
        rgba(80, 0, 0, 0.55) 45%,
        transparent 70%
    );
}


.sectores__slide-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.8rem;
}

.sectores__slide-titulo {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blanco);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.04em;
}


.sectores__slide-detalle {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
}


.sectores__slide:hover .sectores__slide-detalle {
    max-height: 15rem;
    opacity: 1;
    margin-top: 1.2rem;
}

.sectores__slide-subtitulo {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blanco);
    line-height: 1.4;
}

.sectores__slide-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}


.sectores__footer {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sectores__footer-texto {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sectores__footer-titulo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.7rem);
    font-weight: 800;
    color: var(--negro);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.sectores__footer-linea {
    flex: 1;
    height: 2px;
    background-color: #000000ce;
}

.sectores__btn-next {
    background: none;
    border: -1px solid var(--negro);
    border-radius: 50%;
    width: 4.1rem;
    height: 4.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
   
}

.sectores__btn-next img {
    width: 3.5rem;
    height: auto;
    transition: filter 0.2s ease;
}

.sectores__footer-subtitulo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color:var(--gris-oscuro);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-right: 35rem;
    margin-top: 1rem;
}



.banner {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 38rem;
    overflow: hidden;
    display: flex;
    align-items: center;
     margin-top: 6rem; 
}

.banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner__overlay {
    position: absolute;
    inset: 0;
   
    z-index: 1;
}

.banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 4rem 5rem;
}

.banner__titulo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.2rem, 5vw, 5.3rem);
    font-weight: 800;
    color: var(--blanco);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-top: 15rem;
    margin-bottom: 1rem;
}

.banner__titulo-linea2 {
    display: block;
}

.banner__titulo--rojo {
    color: var(--rojo);
}

.banner__label {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    align-self: flex-start;
}


.proyectos {
    background-color:#f2f2f2;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 5rem;
}

.proyectos__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.proyectos__label {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #888;
    text-transform: uppercase;
}

.proyectos__titulo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--negro);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── GALERÍA ── */
.proyectos__galeria {
    margin-top: 2rem;
    width: 100%;
    max-width: 100rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proyectos__fila {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.proyectos__fila--1 .proyectos__item {
    flex: 1;
}

.proyectos__fila--2 .proyectos__item {
    flex: 1;
}

.proyectos__item {
    overflow: hidden;
    border-radius: 1rem;
}

.proyectos__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.4s ease, filter 0.4s ease;
}


.proyectos__fila--1 .proyectos__item {
    height: 40rem;
}


.proyectos__fila--2 .proyectos__item {
    height: 30rem;
}
.proyectos__fila--2 .proyectos__item--grande {
    flex: 1.5; 
}

.proyectos__fila--2 .proyectos__item--chico {
    flex: 0.8; 
}

.proyectos__item:hover .proyectos__img {
    transform: scale(1.03);
    filter: brightness(0.85);
}


.proyectos__extra {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.proyectos__extra--visible {
    max-height: 200rem;
    opacity: 1;
}


.proyectos__footer {
    display: flex;
    justify-content: center;
}

.proyectos__btn-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
     background-image: linear-gradient(to right, var(--rojo), #460000);
    color: var(--blanco);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.proyectos__btn-mas:hover {
    filter: brightness(1.3);
  
}

.proyectos__btn-arrow {
    height: 1.1rem;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.proyectos__btn-mas--abierto .proyectos__btn-arrow {
    transform: rotate(90deg);
}


.contacto-banner {
    position: relative;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42rem;
    overflow: hidden;
}

.contacto-banner__deco {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    opacity: 0.9;
}

.contacto-banner__contenido {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
    padding: 6rem 4rem;
}

.contacto-banner__titulo {
    font-family: 'Inter', initial;
    font-size: clamp(5.2rem, 4vw, 4rem);
    font-weight: 800;
    color: var(--blanco);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.03em;
}

.contacto-banner__titulo--light {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.contacto-banner__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    max-width: 60rem;
}

.contacto-banner__cta-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.contacto-banner__cta-linea {
    flex: 1;
    height: 2rem;
    display: block;
    overflow: visible;
}


.contacto-banner__cta-tel {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanco);
    white-space: nowrap;
    letter-spacing: 0.05em;
  
}



.footer {
    background-color:#1a1a1a;
    padding: 2.4rem 5rem;
    
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer__credit {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--blanco);
}

.footer__contacto {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.footer__contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--blanco);
}

.footer__icono {
    height: 1.5rem;
    width: auto;
    filter: brightness(0) invert(0.7);
}

.footer__redes {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    
}

.footer__red {
    width: 4.1rem;
    height: 4.1rem;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}



.footer__red-img {
    width: 3.1rem;
    height: auto;
    margin-right: 9rem;
    filter: brightness(0) invert(1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(4rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-3rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-6rem); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(6rem); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes clipReveal {
    from { clip-path: inset(0 100% 0 0); opacity: 0; }
    to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}

@keyframes lineGrow {
    from { transform: scaleX(0); transform-origin: left; }
    to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes counterUp {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0px rgba(206, 2, 2, 0); }
    50%       { box-shadow: 0 0 2.4rem rgba(206, 2, 2, 0.45); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes heroTitleIn {
    0%   { opacity: 0; transform: translateY(6rem) skewY(3deg); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0)    skewY(0deg); filter: blur(0); }
}

@keyframes navbarSlide {
    from { opacity: 0; transform: translateY(-5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-0.6rem); }
}

@keyframes borderDraw {
    from { stroke-dashoffset: 600; }
    to   { stroke-dashoffset: 0; }
}

@keyframes waveformPulse {
    0%, 100% { opacity: 0.65; transform: scaleY(1); }
    50%       { opacity: 0.9;  transform: scaleY(1.15); }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes textRevealWords {
    from { opacity: 0; transform: translateY(110%); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.navbar {
    animation: navbarSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.navbar__links a {
    position: relative;
    overflow: hidden;
}

/* Subrayado animado en hover */
.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rojo);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.navbar__cta {
    animation: glowPulse 3s ease-in-out infinite 1.2s;
}

.hero__overlay {
    animation: overlayFadeIn 1.4s ease both;
}

.hero__titulo {
    animation: heroTitleIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero__titulo__linea2 {
    animation: heroTitleIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.hero__punto {
    display: inline-block;
    animation: heroTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.hero__waveform {
    animation: waveformPulse 2.4s ease-in-out infinite 1.5s;
}

.hero__video-label {
    animation: fadeUp 0.8s ease 1.2s both;
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-fade-left {
    opacity: 0;
    transform: translateX(-6rem);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-fade-right {
    opacity: 0;
    transform: translateX(6rem);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}


.anim-clip-reveal {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.1s ease;
}
.anim-clip-reveal.is-visible {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
}

/* Delays escalonados para grids */
.anim-stagger > *:nth-child(1) { transition-delay: 0.00s; }
.anim-stagger > *:nth-child(2) { transition-delay: 0.10s; }
.anim-stagger > *:nth-child(3) { transition-delay: 0.20s; }
.anim-stagger > *:nth-child(4) { transition-delay: 0.30s; }
.anim-stagger > *:nth-child(5) { transition-delay: 0.40s; }
.anim-stagger > *:nth-child(6) { transition-delay: 0.50s; }
.anim-stagger > *:nth-child(7) { transition-delay: 0.60s; }
.anim-stagger > *:nth-child(8) { transition-delay: 0.70s; }



.sobre-nosotros__imagen-wrap {
    opacity: 0;
    transform: translateX(-7rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sobre-nosotros__imagen-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.sobre-nosotros__info {
    opacity: 0;
    transform: translateX(7rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.sobre-nosotros__info.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.sobre-nosotros__titulo {
    overflow: hidden;
}
.sobre-nosotros__titulo span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.sobre-nosotros__info.is-visible .sobre-nosotros__titulo span {
    transform: translateY(0);
}

.sobre-nosotros__cta {
    background-size: 200% auto;
    transition: filter 0.2s ease, background-position 0.5s ease;
}

.sobre-nosotros__imagen-wrap:hover .sobre-nosotros__dron {
    animation-play-state: paused;
    transform: translateY(-1.5rem) rotate(-3deg) scale(1.03);
    filter: drop-shadow(0 3rem 6rem rgba(206, 2, 2, 0.22));
}



.servicios__label,
.servicios__titulo {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.servicios__header.is-visible .servicios__label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}
.servicios__header.is-visible .servicios__titulo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}


.servicios__titulo::after {
    content: '';
    display: block;
    width: 4rem;
    height: 3px;
    background: var(--rojo);
    margin: 0.8rem auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease 0.4s;
}
.servicios__header.is-visible .servicios__titulo::after {
    transform: scaleX(1);
}

.servicios__card {
    opacity: 0;
    transform: translateY(5rem);
    transition: opacity 0.6s ease, transform 0.6s ease,
                box-shadow 0.2s ease; 
}
.servicios__card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.servicios__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.4rem;
    bottom: 1.4rem;
    width: 3px;
    background: var(--rojo);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.servicios__card:hover::before {
    transform: scaleY(1);
}

.sectores__slide {
    opacity: 0;
    transform: translateX(5rem) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.sectores__slide.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Línea del footer crece */
.sectores__footer-linea {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.sectores__footer.is-visible .sectores__footer-linea {
    transform: scaleX(1);
}

.sectores__footer-titulo,
.sectores__footer-subtitulo {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.sectores__footer.is-visible .sectores__footer-titulo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.sectores__footer.is-visible .sectores__footer-subtitulo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Botón next: pulso rojo al hover */
.sectores__btn-next {
    transition: transform 0.2s ease;
}
.sectores__btn-next:hover {
    transform: scale(1.12) rotate(10deg);
}
.sectores__btn-next:active {
    transform: scale(0.94) rotate(0deg);
}


.banner__titulo {
    opacity: 0;
    transform: translateY(5rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.banner__titulo.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.banner__titulo-linea2 {
    display: block;
    opacity: 0;
    transform: translateY(5rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.38s,
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}
.banner__titulo.is-visible .banner__titulo-linea2 {
    opacity: 1;
    transform: translateY(0);
}

.banner__label {
    opacity: 0;
    transform: translateX(-3rem);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}
.banner__label.is-visible {
    opacity: 1;
    transform: translateX(0);
}


.proyectos__header.is-visible .proyectos__label {
    opacity: 1;
    transform: translateY(0);
}
.proyectos__header.is-visible .proyectos__titulo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.proyectos__label,
.proyectos__titulo {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.proyectos__fila {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.proyectos__fila.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.proyectos__fila:nth-child(2) { transition-delay: 0.12s; }
.proyectos__fila:nth-child(3) { transition-delay: 0.24s; }

/* Overlay rojo en hover de los items */
.proyectos__item {
    position: relative;
}
.proyectos__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(206,2,2,0.18), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 1rem;
    pointer-events: none;
}
.proyectos__item:hover::after {
    opacity: 1;
}


.contacto-banner__titulo {
    opacity: 0;
    transform: scale(0.9) translateY(3rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.contacto-banner__contenido.is-visible .contacto-banner__titulo {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.contacto-banner__cta {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}
.contacto-banner__contenido.is-visible .contacto-banner__cta {
    opacity: 1;
    transform: translateY(0);
}

.footer__inner {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.footer.is-visible .footer__inner {
    opacity: 1;
    transform: translateY(0);
}

.footer__red {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cursor-dot,
.cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--rojo);
    transform: translate(-50%, -50%);
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(206, 2, 2, 0.55);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                border-color 0.25s ease, opacity 0.3s ease;
}
body.cursor-hover .cursor-ring {
    width: 54px;
    height: 54px;
    border-color: rgba(206, 2, 2, 0.85);
}


.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--rojo), #ff4444);
    z-index: 1000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(206, 2, 2, 0.6);
}

.navbar {
    transition: padding 0.4s ease, background-color 0.4s ease,
                backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .anim-fade-up,
    .anim-fade-left,
    .anim-fade-right,
    .anim-scale-in,
    .anim-clip-reveal {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}


.navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 4.4rem;
    height: 4.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 300;
    flex-shrink: 0;
}

.navbar__hamburger span {
    display: block;
    width: 2.4rem;
    height: 2px;
    background-color: var(--blanco);
    border-radius: 2px;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                opacity   0.25s ease,
                width     0.3s  ease;
    transform-origin: center;
}


.navbar__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


@media (min-width: 1400px) {

    /* ── NAVBAR ── */
    .navbar {
        padding: 6rem 8rem;
    }
    .navbar__logo img {
        height: 7rem;
    }
    .navbar__links a {
        font-size: 1.7rem;
    }

       .hero__content {
        align-items: flex-start;
        padding-top: 20rem;      
    }

    .hero__titulo {
        font-size: clamp(7rem, 9vw, 10rem);
        margin: 0 7rem;          
    }


  
    .sobre-nosotros {
        padding: 22rem 14rem;
        gap: 10rem;
    }
    .sobre-nosotros__imagen-wrap {
        max-width: 58rem;
    }
    .sobre-nosotros__info {
        max-width: 52rem;
        padding-right: -4rem;
    }
    .sobre-nosotros__titulo {
        font-size: 3.4rem;
    }
    .sobre-nosotros__subtitulo {
        font-size: 1.8rem;
    }
    .sobre-nosotros__desc {
        font-size: 1.7rem;
    }
/* ── SERVICIOS ── */
.servicios {
    padding: 6rem 12rem 26rem;
}
.servicios__grid {
    max-width: 150rem;
    gap: 6rem 4rem;
}
.servicios__card {
    padding: 0 3.5rem 3.8rem 3.5rem;
}
.servicios__card-titulo {
    font-size: 2rem;
}
.servicios__card-desc {
    font-size: 1.7rem;
}
.servicios__titulo {
    font-size: 4rem;
}
.servicios__label {
    font-size: 2rem;
}

    /* ── SECTORES ── */
    .sectores {
        padding: 8rem 8rem 7rem;
    }
    .sectores__slide-titulo {
        font-size: 3rem;
    }
    .sectores__footer-titulo {
        font-size: 3.2rem;
    }
    .sectores__footer-subtitulo {
        font-size: 2.5rem;
        margin-right: 45rem;
    }

    /* ── BANNER ── */
    .banner {
        height: 80vh;
    }
    .banner__content {
        padding: 5rem 8rem;
    }
    .banner__titulo {
        font-size: clamp(5rem, 6vw, 7rem);
        margin-top: 18rem;
    }

    /* ── PROYECTOS ── */
    .proyectos {
        padding: 10rem 4rem;
    }
    .proyectos__galeria {
        max-width: 130rem;
    }
    .proyectos__fila--1 .proyectos__item {
        height: 50rem;
    }
    .proyectos__fila--2 .proyectos__item {
        height: 38rem;
    }
    .proyectos__titulo {
        font-size: 3.2rem;
    }

    /* ── CONTACTO BANNER ── */
    .contacto-banner {
        min-height: 52rem;
    }
    .contacto-banner__contenido {
        padding: 8rem 6rem;
    }
    .contacto-banner__titulo {
        font-size: clamp(5.5rem, 5vw, 7rem);
    }
    .contacto-banner__cta-label {
        font-size: 2rem;
    }
    .contacto-banner__cta-tel {
        font-size: 2rem;
    }

    /* ── FOOTER ── */
    .footer {
        padding: 3rem 8rem;
    }
    .footer__credit {
        font-size: 2rem;
    }
    .footer__contacto-item {
        font-size: 2rem;
    }
}



@media (max-width: 1139px) {

   
    .navbar {
        padding: 3.5rem 3.5rem;
    }

   
    .hero__titulo {
        font-size: clamp(4rem, 7vw, 5.8rem);
        margin: 6rem 3rem 4rem;
    }

    /* ── SOBRE NOSOTROS ── */
    .sobre-nosotros {
        padding: 12rem 6rem;
        gap: 4rem;
    }
    .sobre-nosotros__imagen-wrap {
        max-width: 40rem;
    }
    .sobre-nosotros__info {
        max-width: 40rem;
        padding-right: -4rem;
    }

    .servicios {
        padding: 4rem 5rem 12rem;
    }
    .servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 2rem;
        max-width: 80rem;
    }

  
    .sectores {
        padding: 5rem 4rem 5rem;
    }
    .sectores__footer-subtitulo {
        margin-right: 10rem;
    }

   
    .banner__content {
        padding: 3rem 4rem;
    }
    .banner__titulo {
        margin-top: 10rem;
    }

    .proyectos {
        padding: 6rem 2rem;
    }
    .proyectos__galeria {
        max-width: 90rem;
    }

    /* ── CONTACTO BANNER ── */
    .contacto-banner__titulo {
        font-size: clamp(3.8rem, 5vw, 5rem);
    }

    /* ── FOOTER ── */
    .footer {
        padding: 2.4rem 3.5rem;
    }
    .footer__contacto {
        gap: 3rem;
    }
}


@media (max-width: 767px) {

 
    .navbar {
        padding: 1.4rem 1.5rem;
        position: relative;
        z-index: 100;
        margin-right: 0;
    }
    .navbar__logo img {
        height: 3rem;
    }


    .navbar__hamburger {
        display: flex;
    }

   
    .navbar__links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3.5rem;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 200;
        padding: 8rem 3rem 4rem;
    }
    .navbar__links.is-open {
        transform: translateX(0);
    }
    .navbar__links a {
        font-size: 2.2rem;
        letter-spacing: 0.15em;
        color: var(--blanco);
    }
    .navbar__cta {
        font-size: 1.8rem !important;
        padding: 1.3rem 2.6rem;
        margin-top: 1.5rem;
        animation: none; 
    }

   
    .hero {
        min-height: 60rem;
    }
    .hero__titulo {
        font-size: clamp(3.4rem, 9vw, 4.8rem);
        margin: 0 2.5rem 3rem;
        line-height: 1.1;
    }
    .hero__content {
        padding: 0 2rem 4rem;
    }
    .hero__bottom {
        padding: 0 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
   
    .hero__waveform {
        width: clamp(14rem, 50vw, 20rem);
    }

    /* ── SOBRE NOSOTROS ── */
    .sobre-nosotros {
        flex-direction: column;
        padding: 8rem 3rem;
        gap: 4rem;
        text-align: center;
    }
    .sobre-nosotros__imagen-wrap {
        max-width: 30rem;
        width: 100%;
    }
    .sobre-nosotros__info {
        max-width: 100%;
        align-items: center;
    }
    .sobre-nosotros__titulo {
        font-size: 2.4rem;
        text-align: center;
    }
    .sobre-nosotros__subtitulo {
        text-align: center;
        margin-top: 2rem;
    }
    .sobre-nosotros__desc {
        text-align: center;
    }
    .sobre-nosotros__cta {
        align-self: center;
    }

   
    .servicios {
        padding: 4rem 2.5rem 8rem;
        gap: 3rem;
    }
    .servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4.5rem 1.6rem;
        padding-top: 3rem;
        max-width: 60rem;
    }
    .servicios__label {
        font-size: 1.4rem;
    }
    .servicios__titulo {
        font-size: 2rem;
    }
    .servicios__card-titulo {
        font-size: 1.4rem;
    }

  
    .sectores {
        padding: 4rem 2rem 4rem;
    }
    .sectores__slide {
        flex: 0 0 calc(50% - 1rem);
    }
    .sectores__slide-titulo {
        font-size: 1.7rem;
    }
    .sectores__footer-subtitulo {
        margin-right: 0;
        margin-top: 0.5rem;
    }
    .sectores__footer-titulo {
        font-size: 1.8rem;
        white-space: normal;
    }
    .sectores__footer-linea {
        display: none;
    }
    .sectores__footer-texto {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* ── BANNER ── */
    .banner {
        height: 58vh;
        min-height: 30rem;
        margin-top: 3rem;
    }
    .banner__content {
        padding: 2.5rem 2.5rem;
    }
    .banner__titulo {
        font-size: clamp(2.8rem, 6.5vw, 4.2rem);
        margin-top: 7rem;
        margin-bottom: 0.5rem;
    }
    .banner__label {
        font-size: 1.1rem;
    }

  
    .proyectos {
        padding: 5rem 1.5rem;
        gap: 2.5rem;
        margin-top: 2rem;
    }
    .proyectos__galeria {
        max-width: 100%;
    }
    .proyectos__label {
        font-size: 1.3rem;
    }
    .proyectos__titulo {
        font-size: 2rem;
    }

   
    .proyectos__fila--1 .proyectos__item {
        height: 26rem;
    }
    .proyectos__fila--2 .proyectos__item {
        height: 20rem;
    }
  
    .proyectos__fila--2 .proyectos__item--grande,
    .proyectos__fila--2 .proyectos__item--chico {
        flex: 1;
    }

    .contacto-banner {
        min-height: 34rem;
    }
    .contacto-banner__contenido {
        padding: 4rem 2.5rem;
        gap: 2.5rem;
    }
    .contacto-banner__titulo {
        font-size: clamp(2.8rem, 7vw, 4.5rem);
        line-height: 1.2;
    }
    .contacto-banner__cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        max-width: 100%;
        margin-top: 0.5rem;
    }
    .contacto-banner__cta-linea {
        display: none;
    }
    .contacto-banner__cta-label {
        font-size: 1.4rem;
        text-align: center;
    }
    .contacto-banner__cta-tel {
        font-size: 1.8rem;
        color: var(--rojo);
    }

  
    .footer {
        padding: 3rem 2.5rem;
    }
    .footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }
    .footer__contacto {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .footer__contacto-item {
        justify-content: center;
    }
    .footer__redes {
        justify-content: center;
    }
    .footer__red-img {
        margin-right: 0;
    }
}

@media (max-width: 479px) {

    .navbar {
        padding: 2rem 1.8rem;
    }
    .navbar__logo img {
        height: 4.2rem;
    }
    .navbar__links a {
        font-size: 2rem;
    }

    .hero {
        min-height: 50rem;
    }
     .hero__content {
        padding: 0 1.5rem 3rem;
        align-items:baseline; 
        padding-top: 12rem;     
    }

    .hero__titulo {
        margin: 0;
        font-size: clamp(2.2rem, 7.5vw, 3.8rem);
    }

    .hero__bottom {
        padding: 0 1.5rem 1.5rem;
    }

    /* ── SOBRE NOSOTROS ── */
    .sobre-nosotros {
        padding: 6rem 2rem;
        gap: 3rem;
    }
    .sobre-nosotros__imagen-wrap {
        max-width: 24rem;
    }
    .sobre-nosotros__titulo {
        font-size: 2rem;
    }
    .sobre-nosotros__subtitulo {
        font-size: 1.4rem;
    }
    .sobre-nosotros__desc {
        font-size: 1.4rem;
    }

    /* ── SERVICIOS ── */
    .servicios {
        padding: 3rem 1.5rem 6rem;
        gap: 2.5rem;
    }
    /* Una sola columna en móviles pequeños */
    .servicios__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 38rem;
        margin: 0 auto;
    }
    .servicios__card {
        width: 100%;
    }
    .servicios__card-desc {
        font-size: 1.4rem;
    }

   
    .sectores {
        padding: 3rem 1.5rem 3rem;
    }
    .sectores__slide {
        flex: 0 0 calc(82% - 1rem);
    }
    .sectores__slide-titulo {
        font-size: 1.6rem;
    }
    .sectores__slide-desc {
        font-size: 1.3rem;
    }

    /* ── BANNER ── */
    .banner {
        height: 52vh;
        margin-top: 2rem;
    }
    .banner__content {
        padding: 2rem 2rem;
    }
    .banner__titulo {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-top: 5rem;
    }

    .proyectos {
        padding: 4rem 1rem;
        gap: 2rem;
    }
   
    .proyectos__fila {
        flex-direction: column;
    }
    .proyectos__fila--1 .proyectos__item {
        height: 22rem;
    }
    .proyectos__fila--2 .proyectos__item {
        height: 18rem;
    }

   
    .contacto-banner__contenido {
        padding: 3.5rem 1.5rem;
    }
    .contacto-banner__titulo {
        font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    }
    .contacto-banner__cta-label {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }
    .contacto-banner__cta-tel {
        font-size: 1.6rem;
    }

    /* ── FOOTER ── */
    .footer {
        padding: 2.5rem 1.5rem;
    }
    .footer__credit {
        font-size: 1.3rem;
    }
    .footer__contacto-item {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .sectores__slide-subtitulo {
        font-size: 1.2rem;
    }
    .sectores__slide-desc {
        font-size: 1.3rem;
    }
}


@media (max-width: 479px) {
    .sectores__slide-subtitulo {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    .sectores__slide-desc {
        font-size: 1.2rem;
        line-height: 1.5;
    }
}


@media (min-width: 1400px) {
    .sectores__slide-subtitulo {
        font-size: 1.4rem;
    }
    .sectores__slide-desc {
        font-size: 1.8rem;
    }
}

.aviso-segurity {
    font-size: 1.2rem;    
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-top: 1rem;     
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.aviso-segurity:hover {
    color: var(--rojo);     
    text-decoration: underline; 
}

@media (min-width: 768px) {
    .footer__contacto {
        flex-direction: row;    
        flex-wrap: wrap;       
        justify-content: center; 
        gap: 3rem;              
    }

   
    .aviso-segurity {
        width: 100%;             
        text-align: center;     
        margin-top: 0.5rem;
    }
}