:root {
    /* Color primario */
    --color-azul: #112057;

    /* Colores secundarios */
    --color-beige-oscuro: #dacaa4;
    --color-beige-claro: #e8dcc4;
    --color-azul-oscuro: #030335;
    --color-verde: #44ad99;
    --color-magenta: #ed1e79;
}

/* Títulos principales */

h1 {
  font-size: 56px !important;
  line-height: 1.2 !important;
}

/* Mobile */
@media (max-width: 767px) {
  h1 {
    font-size: 34px !important;
    line-height: 1.3 !important;
  }
}

h2 {
  font-size: 46px !important;
  line-height: 1.2 !important;
}

/* Mobile */
@media (max-width: 767px) {
  h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.5s;
    border-radius: 25px;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--color-verde);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--color-azul-oscuro);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--color-azul-oscuro);
}
/* =========================
   HEADER
========================= */

/* Header fijo sobre el hero */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 9999;
    background: transparent;
    padding-top: 20px;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.header-fixed.scrolled {
    background-color: var(--color-azul);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Logo */
.header-fixed .navbar-brand {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

/* Links del menú */
.header-fixed .navbar-nav .nav-link {
    position: relative; /* 👈 clave para la línea */
    color: #fff;
    font-weight: 500; /* 👈 un poco más fina */
    letter-spacing: 0.02em;
    margin-left: 28px;
    padding-bottom: 6px;
    transition: color 0.25s ease;
}

/* Línea animada */
.header-fixed .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-verde);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Hover + activo */
.header-fixed .navbar-nav .nav-link:hover,
.header-fixed .navbar-nav .nav-link.active {
    color: var(--color-verde);
    text-decoration: none;
}

.header-fixed .navbar-nav .nav-link:hover::after,
.header-fixed .navbar-nav .nav-link.active::after {
    width: 100%; /* 👈 la línea se “dibuja” */
}

/* Burger */
.header-fixed .navbar-toggler {
    border: 1px solid #fff;
}

.header-fixed .navbar-toggler .fa-bars {
    color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 991px) {
    .header-fixed {
        height: auto;
    }

    .header-fixed .navbar {
        height: auto;
    }

    .header-fixed.scrolled .navbar-collapse {
        background-color: var(--color-azul-oscuro);
        padding: 16px;
    }

    /* En mobile sacamos la línea */
    .header-fixed .navbar-nav .nav-link::after {
        display: none;
    }
}

/*** Navbar End ***/

/* HERO */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* 👈 pantalla completa */
    overflow: hidden;
}
/* Video de fondo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Overlay con color de marca */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-azul);
    opacity: 0.55; /* ajustable: 0.5–0.7 suele ir perfecto */
    z-index: 2;
}

/* Contenido arriba del video */
.hero-section .carousel-caption {
    position: relative;
    z-index: 3;
}

.carousel-caption {
    padding-top: 90px; /* misma altura que el header */
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
        background:
            linear-gradient(rgba(17, 32, 87, 0.7), rgba(17, 32, 87, 0.7)),
            url("../img/bg-mobile.jpg") center center / cover no-repeat;
    }

    .hero-video {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bs-white);
    color: var(--color-azul-oscuro);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 0;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 0;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 65px 0 var(--color-azul-oscuro);
    color: var(--bs-dark);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 9;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        height: 700px;
    }
}

/* Layout hero alineado a la izquierda */
.hero-left {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-left: 35vw; /* 👈 deja espacio al icono */
    padding-top: 0px; /* header */
}

/* CONTENEDOR DEL ICONO */
.hero-brand-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw; /* 👈 media pantalla */
    height: 100vh; /* 👈 alto completo del hero */
    overflow: hidden; /* 👈 CLAVE: acá se produce el corte */
    z-index: 3;
    pointer-events: none;
}

/* SVG */
.hero-brand-icon img {
    position: absolute;
    top: 50%;
    left: -45%; /* 👈 lo empuja fuera para que se corte */
    height: 70%; /* 👈 más grande que el contenedor */
    width: auto;
    transform: translateY(-50%);
    opacity: 0.35;
}

/* Texto */
.hero-text {
    max-width: 600px;
    text-align: left;
}

.hero-text h4 {
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-text h1 {
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-text p {
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-left {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-brand-icon img {
        width: 200px;
    }
}

/* =========================
   MOBILE – ocultar asterisco
========================= */

@media (max-width: 990px) {
    /* Sacamos el ícono completamente */
    .hero-brand-icon {
        display: none;
    }

    /* El texto pasa a ocupar todo */
    .hero-left {
        padding-left: 6vw; /* margen cómodo */
        padding-right: 6vw;
        min-height: 100vh;
        align-items: center;
    }

    /* Ajustes de texto */
    .hero-copy,
    .hero-text {
        max-width: 100%;
        text-align: left; /* o center si después querés probar */
    }
}

@media (max-width: 990px) {
    .hero-left {
        padding-top: 100px; /* si el header fijo tapa un poco */
    }
}
/*** Carousel Hero Header End ***/
/*** Service Start ***/

.service .nav .nav-item {
    border: 1px solid #ffffff;
    border-radius: 25px;
    transition: border-color 0.25s ease;
    background: var(--color-azul);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
    padding: 10px 30px;
    border-radius: 25px;
    transition: background-color 0.25s ease;
    color: #ffffff;
    font-size: 1em;
}

/* Hover */
.service .nav .nav-item:hover a {
    background-color: var(--color-verde);
}

/* Activo */
.service .nav-item a.active {
    background: var(--color-verde);
    border-radius: 25px;
    border: 2px solid var(--color-verde);
}

/* =========================
   SERVICE CARD
========================= */

.service-item {
    background: var(--color-azul);
    border-radius: 25px;
    height: 100%;
}

/* Header img + title */
.service-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.service-item-header img {
    width: 48px;
    flex-shrink: 0;
}

.service-item-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}

/* Texto */
.service-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
}

/* =========================
   TITULOS TAB
========================= */

.tab-content h3 {
    color: var(--color-verde);
    text-align: center;
    font-size: 2em;
}

.tab-content h5 {
    color: #ffffff;
    text-align: center;
    font-size: 1.3em;
    font-weight: 300;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
    .tab-content h3 {
        font-size: 1.5em;
    }

    .tab-content h5 {
        font-size: 1.1em;
    }

    .service-item-header img {
        width: 40px;
    }
}

/*** Service End ***/

/*** Service End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: -100%;
    z-index: 9;
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon {
    right: 25px;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(246, 138, 10, 0.2);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-content {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
}

.testimonial .testimonial-item .customer-text {
    border: 1px solid var(--color-azul-oscuro);
    border-top: none;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    color: var(--bs-dark);
    background: var(--color-azul-oscuro);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-azul-oscuro);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

@media (max-width: 991px) {
    .testimonial-carousel .owl-dots .owl-dot {
        margin: 0 10px 0 10px;
    }
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    background: var(--color-azul-oscuro);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-azul-oscuro);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--color-azul-oscuro);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--color-azul-oscuro);
}
/*** Footer End ***/

/*** bg-secciones ***/

.fondo-verde {
    background: var(--color-verde);
}
.fondo-verde h2 {
    color: #ffffff;
}
.fondo-verde h4 {
    color: #ffffff;
}
.fondo-verde p {
    color: #ffffff;
}

.fondo-azul {
    background: var(--color-azul-oscuro);
}
.fondo-azul h2 {
    color: #ffffff;
}
.fondo-azul h4 {
    color: #ffffff;
}
.fondo-azul p {
    color: #ffffff;
}

/*** popup gracias contacto ***/

.thank-you-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.thank-you-popup.active {
    display: flex;
}

.thank-you-box {
    background: #fff;
    padding: 40px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border-radius: 16px;
}

.thank-you-box h3 {
    margin-bottom: 12px;
}

.thank-you-box p {
    font-size: 16px;
}

/*footer*/
.form-floating input {
    border-radius: 15px;
}
.form-floating textarea {
    border-radius: 15px;
}

.btn-form {
    background-color: var(--color-azul);
    color: #ffffff;
    border: 2px solid var(--color-azul);
    border-radius: 50px; /* bien soft */
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.btn-form:hover,
.btn-form:focus {
    background-color: #ffffff;
    color: var(--color-azul);
    border-color: var(--color-azul);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-form:active {
    transform: scale(0.98);
}

/*mapa*/

.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px; /* opcional, queda lindo */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*metodologia*/

/* ==========================
   METODOLOGÍA – CARDS
========================== */

.metodologia-cards .team-item {
    height: 100%;
}

.metodologia-cards .team-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 15px;
    color: #ffffff;
    background-color: var(--color-azul);
}

.metodologia-cards .team-content h4 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.metodologia-cards .team-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
}

.metodologia-cards .team-content img {
    margin-bottom: 8px;
}

/* Mobile: no forzar alturas */
@media (max-width: 767px) {
    .metodologia-cards .team-content {
        height: auto;
    }
}

/*menu*/
/* ==========================
   NAVBAR – MOBILE FIX
========================== */

@media (max-width: 991px) {
    /* Header general */
    .header-fixed {
        padding-top: 10px;
        height: auto;
        padding-bottom: 16px;
    }

    /* Navbar */
    .navbar {
        padding: 0 12px;
    }

    /* Logo */
    .navbar-brand img {
        width: 160px; /* más controlado en mobile */
        max-width: 100%;
    }

    /* Burger */
    .navbar-toggler {
        padding: 6px 10px;
        box-shadow: none;    
        border: none !important;
    }

    .navbar-toggler .fa-bars {
        color: #ffffff;
        font-size: 22px;
    }

    /* Menú desplegado */
    .navbar-collapse {
        background-color: var(--color-azul);
        margin-top: 12px;
        padding: 16px 20px;
        border-radius: 12px;
    }

    /* Lista */
    .navbar-nav {
        align-items: flex-start;
    }

    /* Ítems */
    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
        margin-left: 0;
        font-size: 1rem;
        font-weight: 500;
        color: #ffffff;
    }

    /* Hover / active */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--color-verde); outline: none;
  box-shadow: none;
    }
    
  

}