@font-face {
    font-family: "National";
    src: url("../assets/fonts/National-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "National";
    src: url("../assets/fonts/National-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "National";
    src: url("../assets/fonts/National-Thin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "National";
    src: url("../assets/fonts/National-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}
:root, [data-bs-theme=light]{
    --primary-color: rgb(0, 70, 255) !important;
    --bs-tertiary-bg-rgb: rgb(28 34 47) !important;
    --bs-text-color: rgb(58, 58, 66) !important;
    --bs-nav-text-color: var(--bs-text-color);
    --zoom-scale: 1.12;      /* cuánto acercar */
  --zoom-duration: 6000ms; /* duración por defecto */
}
body,html{
    min-height: -webkit-fill-available;
    overscroll-behavior:none;
    scroll-behavior: smooth;
}
body{
    overflow-y: scroll;
    --bs-body-color: #fafafa !important;
    --bs-bg-opacity: 1;
    background-color: var(--bs-body-color);
    color:--bs-text-color ;
    font-family: "Montserrat", sans-serif;
}

body.no-scroll {
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6{
    font-weight: 300;
    color: var(--bs-text-color) !important;
    font-family: "National" !important;
    text-transform: uppercase;
    letter-spacing: 0px;
}
p{
    font-weight: 200;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
}
p>.strong-2{
    font-weight: 600;
}
.titulo-degradado-animado {
  font-weight: 300 !important;
  font-family: "National";
  background: linear-gradient(
    270deg,
    #1767c8,
    #1f5afc,
    #023fe7
  );
  background-size: 300% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: moverDegradadoElegante 5s ease-in-out infinite;
}

@keyframes moverDegradadoElegante {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*loader*/
.loader{
    content: "";
    position: fixed;
    z-index: 10000;
    width: 100dvw;
    height: 100dvh;

    
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.432) 0%, rgb(255, 255, 255) 60%);
    backdrop-filter: blur(60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.5s;
    

}
.loader img{
    height: 10em;
}
.loader.hidden {
    opacity: 0;
    pointer-events: none;
}
/* ===== Propiedades animables (Houdini) ===== */
@property --g1 { syntax: '<color>'; inherits: false; initial-value: rgba(255,255,255,0.681); }
@property --g2 { syntax: '<color>'; inherits: false; initial-value: rgba(255,255,255,0.919); }
@property --g3 { syntax: '<color>'; inherits: false; initial-value: rgba(255,255,255,1); }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 180deg; }
@property --stop2 { syntax: '<percentage>'; inherits: false; initial-value: 70%; }
@property --blur { syntax: '<number>'; inherits: false; initial-value: 13; }       /* px sin unidad */
@property --bopc { syntax: '<number>'; inherits: false; initial-value: 0.70; }     /* opacidad borde (0–1) */
@property --shopc { syntax: '<number>'; inherits: false; initial-value: 0.323; }   /* opacidad sombra (0–1) */
@property --pad  { syntax: '<length>'; inherits: false; initial-value: 0.05rem; }  /* padding-block top */

/* ===== Estado base: usa TUS valores pero con vars ===== */
.navbar,
nav {
  /* tus valores, reexpresados con variables animables */
  background: linear-gradient(var(--ang), var(--g0), var(--g1), var(--g2) var(--stop2), var(--g3) 100%);
  backdrop-filter: blur(calc(var(--blur) * 1px));
  --bs-navbar-padding-y: 0rem;
  padding-top: var(--pad);
  color: var(--bs-nav-text-color) !important;
  box-shadow: 0 0 10px rgba(0,0,0,var(--shopc));
  transition: color 0.6s ease-in-out; /* el resto lo maneja keyframes */
}

/* ===== Clase para iniciar animación hacia oscuro (arriba del umbral) ===== */
.nav-anim-to-dark {
  animation: navToDark 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}

/* ===== Clase para volver a claro (debajo del umbral) ===== */
.nav-anim-to-light {
  animation: navToLight 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}

/* === CLARO -> OSCURO === */
/* Mantiene los “intermedios” con interpolación real de colores/ángulos/blur */
@keyframes navToDark {
  0% {
    --g0: rgba(255,255,255,0.681);
    --g1: rgba(255,255,255,0.780);
    --g2: rgba(255,255,255,0.919);
    --g3: rgba(255,255,255,1);
    --ang: 180deg;
    --stop2: 70%;
    --blur: 13;
    --bopc: 0.70;
    --shopc: 0.323;
    color: var(--bs-nav-text-color);
  }
  40% {
    --ang: 120deg;          /* giro gradual del gradiente */
    --stop2: 65%;
    --blur: 8;
    --bopc: 0.35;
    --shopc: 0.18;
  }
  70% {
    --ang: 60deg;
    --stop2: 55%;
    --blur: 3;
    --bopc: 0.15;
    --shopc: 0.08;
  }
  100% {
    --g0: rgba(49, 49, 49, 0);
    --g1: rgba(0,0,0,0.206);
    --g2: rgba(12,12,12,0.487);
    --g3: rgba(20, 20, 20, 0.876);
    --ang: 0deg;
    --stop2: 60%;
    --blur: 0;
    --bopc: 0;
    --shopc: 0;
    color: #fff;
  }
}

/* === OSCURO -> CLARO === */
@keyframes navToLight {
  0% {
    --g0: rgba(0,0,0,0);
    --g1: rgba(0, 0, 0, 0.206);
    --g2: rgba(12,12,12,0.487);
    --g3: rgba(20, 20, 20, 0.876);
    --ang: 0deg;
    --stop2: 60%;
    --blur: 0;
    --bopc: 0;
    --shopc: 0;
    color: #fff;
  }
  30% {
    --ang: 45deg;
    --stop2: 62%;
    --blur: 4;
    --bopc: 0.15;
    --shopc: 0.08;
  }
  70% {
    --ang: 120deg;
    --stop2: 68%;
    --blur: 9;
    --bopc: 0.45;
    --shopc: 0.22;
  }
  100% {
    --g0: rgba(255,255,255,0.681);
    --g1: rgba(255,255,255,0.780);
    --g2: rgba(255,255,255,0.919);
    --g3: rgba(255,255,255,1);
    --ang: 180deg;
    --stop2: 70%;
    --blur: 13;
    --bopc: 0.70;
    --shopc: 0.323;
    color: var(--bs-nav-text-color);
  }
}
.navbar-nav{
    --bs-nav-link-padding-y: 1rem;
    color: var(--bs-nav-text-color) !important;
    transition: ease-in-out 0.35s;
    
}
.navbar-brand {
  cursor: pointer;

}
.navbar-transparent> .container-fluid > .navbar-brand{
    filter: grayscale(1000) brightness(10000) contrast(1000);

}
.w-logo{
    filter: grayscale(1000) brightness(10000) contrast(1000);
}
.nav-item>*, .nav-link{
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    margin-inline: 0.7em;
    font-size: 1.11em;
    margin-block: -0.08em;
    font-family: "National";
    text-transform: uppercase;
}
.container-fluid > .navbar-collapse > ul li a{
    opacity: 1;
    transition: ease-in-out 0.35s;
    border-bottom: solid 4px transparent;
    color: var(--bs-nav-text-color) !important;
    transition: ease-in-out 0.35s;
}
.container-fluid > .navbar-collapse > ul li a:hover{
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    padding-inline: 1em;
    opacity: 1;
}
.container-fluid > .navbar-collapse> ul:hover > li > a:not(:hover){
    opacity: 0.7;
}
.navbar-transparent> .container-fluid > .navbar-collapse > ul li a{
    color: white !important;
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(13 110 253 / 0%);
    border: 0;
    border-bottom: solid 2px var(--primary-color);
    transition: ease-in-out 0.25s;
    
}
.navbar-transparent> .container-fluid > .navbar-collapse > ul li a:hover{
    border-color: white;
}
.nav-pills{
    --bs-nav-pills-link-active-color: white;
    --bs-nav-pills-link-active-bg: var(--bs-nav-text-color);
    --bs-nav-link-color: var(--bs-nav-text-color);
    --bs-nav-link-hover-color: #5685c2;
    --bs-nav-pills-border-radius: 0rem;
}
.nav-pills .nav-link.active{
    background: linear-gradient(268deg,
    #5282cb,
    #142c64
     );
    background-size: 150% 200%;
    animation: moverDegradadoElegante 7s ease-in-out infinite;
}
.nav-pills .nav-link.active.bg-special{
    background: linear-gradient(268deg, #008bdb , #142c64);
}
.offcanvas{
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.333),rgba(255, 255, 255, 0.652) 40%, rgb(255, 255, 255) 80%);
    backdrop-filter: blur(23px);
    font-family: "National" !important;
    
}
.dropdown-item{
    color: var(--bs-nav-text-color);
}
section>*{
    color: var(--bs-text-color) !important;
}

.full-screen{
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.remate-text{
    position: absolute;
    background-color: #1c222f00;
    color: white !important;
    padding-inline: 2em;
    overflow-y: hidden;
    z-index: 2;
}
.remate-text h1{
    font-size: 5rem;
}
.remate-text p{
    font-size: 1.5rem;
}
.remate-text p,.remate-text h1 {
    color: white !important;
    font-weight: 300;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.623);
}
.pb-8{
    padding-bottom: 4em;
}
.degradado{
   position: relative;
}
.degradado::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(180deg, rgba(28, 34, 47, 0) 60%, rgb(8 9 13 / 85%) 100%);
    z-index: 1;
}

.full-window-item{
    height: 100vh;
    object-fit: cover;
}
.mid-window-item{
    height: 70vh;
    object-fit: cover;
}

.carousel-item{
    position: relative;
}
.carousel-caption{
    position: absolute;
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items:center !important;
    width: 100%;
    height: 100%;
    text-indent: 0;
    background-image: linear-gradient(180deg, rgba(28, 34, 47, 0) 45%, rgba(10, 12, 16, 0.804) 75%);
    z-index: 2;
    right: 0%;
    left: 0;
    bottom: 0;
    padding-inline: 2dvw;
}
.carousel-caption p{
    font-family: "National";
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.75;
    color: #e6e6e6;
    letter-spacing: 1px;
}
.carousel-caption h2{
    font-size: 3.7rem;
    text-transform:uppercase;
    font-weight: 700;
    margin-bottom: 0;
    padding-inline: 2dvw;
}
.carousel-caption a{
    font-size: 1.2rem;
    transition: ease-in-out 0.35s;
    opacity: 0.8;
    padding-inline: 3.7em;
}
.carousel-caption a:hover{
    padding-inline: 4.2em;
    opacity: 1;
}
.carousel-caption >h2 , .carousel-caption a:not(:hover){
    color: var(--bs-body-color)!important;
}
.carousel-indicators button{
    width: 80px !important;
    height: 4px !important;
    transition: ease-in-out 0.65s;
    background-color: #e2e9ff !important;
}

.carousel-indicators button:hover{
    opacity: 0.7;
    transition: ease-in-out 0.65s;
}

.carousel-item.animation-zoomin{ overflow:hidden; }
.carousel-item.animation-zoomin img{
  transform-origin:center center;
  will-change: transform;
}


/* corre cada vez que el item está activo */
.carousel-item.animation-zoomin.active img{
  animation: zoomIn var(--zoom-duration) ease-in-out forwards;
}

@keyframes zoomIn{
  from{ transform: scale(1); }
  to  { transform: scale(var(--zoom-scale)); }
}

/* Accesibilidad: respeta “reduced motion” */
@media (prefers-reduced-motion: reduce){
  .carousel-item.animation-zoomin.active img{
    animation: none !important;
    transform: none !important;
  }
}
.carousel-control-prev{
    background:linear-gradient(90deg, rgba(27, 27, 27, 0.833) 0%, rgba(28, 28, 28, 0) 100%); 
    transition: ease-in-out 0.35s;
}
.carousel-control-next{
    background:linear-gradient(270deg, rgba(27, 27, 27, 0.833) 0%, rgba(28, 28, 28, 0) 100%); 
    transition: ease-in-out 0.35s;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1); /* Curva de aceleración suave */
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0);
    filter: blur(0px); /* Sutil desenfoque si es necesario */
}
.rounded{
    border-radius: 1rem !important;
}
/*alturas*/
.h-90-s{
    height: 90dvh !important;
}
.h-80-s{
    height: 80dvh !important;
}
.mh-90-s{
    min-height: 90dvh !important;
}
.mh-80-s{
    min-height: 80dvh !important;
}
.mh-70-s{
    min-height: 70dvh !important;
}
.mh-60-s{
    min-height: 60dvh !important;
}
.h-30-s{
    height: 30dvh !important;
}
h2 .strong{
    font-weight: 400;
}
.text-strong-x{
    font-weight: 500 !important;
}
.text-big{
    font-size: 3rem !important;
}
.text-xl{
    font-size: 3.5rem !important;
}
hr{
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border: 0;
    opacity: 0.8;
}
hr.white{
    background-color: #ffffff;
}
.card-style{
    border-radius: 10px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.239);
}
.card-style h5{
    text-transform: none;
}
.bg-size-cover{
    background-size: cover;
}
.bg-position-center{
    background-position: center;
}
.card {

    position: relative;  /* Necesario para crear un contexto de apilamiento */
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff00;
    border: 0;
    transition: 0.3s ease-in-out;
}
.card:hover{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.616);
}

.card-media {
    --reescale: 1.02;
    border: 0;
    position: absolute; /* Lo posicionamos en el eje Z */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Hace que el video cubra todo el espacio */
    z-index: 1;  /* El video estará en el fondo */
    transition: transform 0.3s ease-in-out
}
.card:hover .card-media{
    transform: scale(var(--reescale));
}
.card-body {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    color: white;
    z-index: 2;  /* El texto estará encima del video */
    padding: 20px;
    background-image: linear-gradient(180deg, rgba(28, 34, 47, 0.078) 15%, rgba(12, 16, 34, 0.887) 80%);
    transition: 0.3s ease-in-out
}
.card-body:not(:hover)>*{
    opacity: 0.94;
}
.card-body>*{
    color: #fafafa !important;
    font-weight: 300;
    text-transform: none;
}
.card-body-center{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white !important;
    z-index: 2;
    background-color: #050b18dd;
    padding: 20px;
    transition: 0.3s ease-in-out;
    backdrop-filter: blur(9px);
}
.card-body-center>*{
    color: #fafafa !important;
    font-weight: 200;
}
.card-title{
    font-size: 1.8rem;
    font-weight: 500;
}
.card-body-center .card-title{
    font-size: 3rem;
    font-weight: 200;
}
.card-text{
    font-size: 1.1rem;
    text-align: start;
    font-weight: 100;
}
.card-text, .card-title{
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.425);
    text-rendering: optimizeLegibility;
}
.card-footer button{
    padding-inline: 2.5em;
    margin-block: 0.5em;
}

.d-flex .first-card {
    margin-left: 0;
}
.team-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.2em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%; 
    min-height: 100%;
    transition: transform 0.3s ease;
    overflow: hidden;
    margin-block: 0.7em;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card-image img {
    width: 100%;
    height: auto;
    max-height: 19em;
    object-fit: cover;
    object-position: top;
}

.team-card .team-card-body {
    text-align: center;
    padding: 1em;
    flex-grow: 1;
    height: 100%;
    background: white;
}

h4.team-card-name{

    color: var(--bs-text-color)!important;
    margin: 0;
    line-height: 1.4;
    font-size: 1.2em;
}
.team-card-name strong {
   font-size: 1.5em;
}
.team-card-role {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.3em;
}

/*footer*/
footer[data-bs-theme=dark], footer[data-bs-theme=light]{
    background-color:rgb(28 34 47) !important;
    --bs-nav-text-color: var(--bs-secondary-color) !important;
}
footer h5, footer p, footer li, footer a{
 --bs-nav-text-color: var(--bs-secondary-color) !important;
 color: var(--bs-nav-text-color) !important;
 font-weight: 200;
}

/*margins*/
.m-0{
    margin: 0 !important;
}
/*paddings*/
.p-0{
    padding: 0 !important;
}

.pb-6{
    padding-bottom: 4rem;
}
.p-inline-3{
    padding-inline: 3rem;
}

.p-block-1{
    padding-block: 1rem;
}
.p-block-2{
    padding-block: 2rem;
}
/*anchos*/
.w-80{
    width: 80%;
}
.w-40{
    width: 40%;
}
.dynamic-width{
    --min-width: 25em;
    min-width: var(--min-width);
}
.bi{
    font-size: 1.5em;
}
.icon-list a .bi{
    color: #ffffff !important;
    font-size: 2em;
    transition: ease-in-out 0.3s;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
}
.icon-list a:not(:hover){
    transform: scale(0.9);
    opacity: 0.95;
}
/*botones*/
.btn-t2{ 
    --btn-size:3.5em;
    --bg-color-icon: #ffffff;
    --shadow-color-icon: #00000067;
    background-color: var(--bg-color-icon);
    aspect-ratio: 1;
    width: var(--btn-size);
    height: var(--btn-size);
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50px;
    transition: ease-in-out 0.3s;
    border: 0;
    text-decoration: none;
}
.btn-t2:hover{
    box-shadow: 0px 0px 20px 0px var(--shadow-color-icon);
}
.btn-t2.green{
    --bg-color-icon:#08cd61;
    --shadow-color-icon: #08cd6161;
}
.btn-t2.blue{
    --bg-color-icon: #3991f5;
    --shadow-color-icon: #3991f560;
}
.btn-t2.red{
    --bg-color-icon: #f53939;
    --shadow-color-icon: #f5393960;
}
.btn-t2.purple{
    background-image: linear-gradient(130deg, rgb(227, 205, 33),#d157d5, #9058de);
    --shadow-color-icon: #dd4fe267;
}
.btn-t2.blackRed{
    --bg-color-icon: #360a0a;
    background-image: linear-gradient(130deg, #1c1313, #0f1218);
    border: solid 1px #222121;
    --shadow-color-icon: #8a454565;
}
.btn-t2.blueDeep{
    --bg-color-icon: #24324b;
    background-image: linear-gradient(130deg, #5589e3, #5482d1);
    --shadow-color-icon: #3e5c9082;
}
.btn-outline-primary{
    --bs-btn-color: var(--primary-color) !important;
    --bs-btn-border-color: var(--primary-color) !important;
    --bs-btn-hover-bg: var(--primary-color) !important;
    --bs-btn-hover-border-color: var(--primary-color) !important;
}
.btn-primary{
    --bs-btn-color: white !important;
    --bs-btn-border-color: var(--primary-color) !important;
     --bs-btn-bg: var(--primary-color) !important;
     --bs-btn-hover-bg: rgb(10, 100, 255) !important;
}
.btn-t3{
    --bs-btn-color: var(--primary-color) !important;
    --bs-btn-border-color: var(--primary-color) !important;
    --bs-btn-hover-bg: var(--primary-color) !important;
    --bs-btn-hover-border-color: var(--primary-color) !important;
    border: solid 2px;
    border-radius: 25px;
    padding: 0 1em;
    
}
.navbar-transparent> .container-fluid > .btn-contacto>.btn-t3{
    --bs-btn-border-color: white !important;
    --bs-btn-hover-border-color: white !important;
    --bs-btn-color: white !important;
    --bs-btn-hover-bg: white !important;
    --bs-btn-hover-color: var(--primary-color) !important;
}
.btn-t3 p{
    margin: 1px;
    padding: 0;
}
.btn-t3 .label-sm{
    font-size: 0.73em;
    font-weight: 600;
    margin-bottom: -6px;
}
.btn-t3 .label-m{
    font-size: 0.9em !important;
    font-weight: 600;
}
.iconItem{
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px #0000003a;
    overflow: hidden;
    aspect-ratio: 1;
    min-width: 10em;
    height: 10em;
    padding: 0.3em;
}
.iconItem > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*filtros de imagenes*/
.filter-white{
    filter: grayscale(100%) brightness(10000);
}
.filter-gray{
    opacity: 0.8;
}
.overflow-x-scroll{
    scrollbar-width: 0;
    scrollbar-color: transparent transparent;
}
.overflow-x-scroll::-webkit-scrollbar{
    width: 0;
    height: 0;
}
/*fondos*/
.bg-lg-bl{
    position: relative;
    background: linear-gradient(135deg, #232f86,rgb(26, 71, 194));
    overflow: hidden;
    background-size: 250% 200%;
    animation: moverDegradadoElegante 7s ease-in-out infinite;
}
.bg-lg-bl::before {
  content: "";
  background: radial-gradient(circle at 30% 40%, #5384cd80 0%, transparent 60%),
              radial-gradient(circle at 70% 60%, #5384cd66 0%, transparent 60%),
              radial-gradient(circle at 50% 30%, #ffffff0d 0%, transparent 60%);
  filter: blur(100px);
  opacity: 0.8;
  z-index: 0;
}
.bg-lg-bl > *, .bg-lg-bl .bg-lg-bl-container h4{
    color:  white !important;
}
.bg-lg-bw{
    background: linear-gradient(180deg,#fafafa, rgba(255, 255, 255, 0.267),rgba(239, 243, 255, 0.426), #fafafa);
    position: relative;
    overflow: hidden;

}
.bg-lg-bw::before{
    content: "";
    z-index: -1;
    background: url('../imgs/renders/FHB002b-ed.webp') ;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
}
.text-white{
    color: white !important;
}
.bg-transparent{
    background-color: transparent !important;
}
.bg-gr-bl{
  /* Degradado base: azul-gris a blanco cálido */
  background: linear-gradient(
    180deg,
    #d9e6fb 0%,   /* azul grisáceo superior */
    #e4e7ec 40%,  /* transición neutra */
    #f4f4f6 100%  /* casi blanco */
  );
  
  border: solid 2px rgb(205, 212, 234);
  /* Capa de textura con ruido fino */
  background-image:
    linear-gradient(
      180deg,
      rgba(207, 216, 230, 0.95),
      rgba(244, 244, 246, 0.95)
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.03"/></svg>');
  
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}
.attachment-section{
    background-image: url('../imgs/renders/FHB001a-ed.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
}

.attachment-section>*{
    color: white !important;
}

label{
    font-family: 'National';
}
button{
    font-family: 'National' !important;
}
.phone-visible{
    display: none;
}
.form-primary>label{
    font-size: 1.2em;
    color: rgb(52, 88, 234) !important;
}
.form-primary>input, .form-primary>select, .form-primary>textarea{
    font-size: 1em;
    border-radius: 6px;
    border: solid 2px rgb(52, 88, 234)  !important;
    color: rgb(51, 51, 51) !important;
}

/*!Animaciones*/
/* ? Zoom in */
.animation-zoomin {
  overflow: hidden;
}

.animation-zoomin img {
  transition: transform 6s ease;
  transform: scale(1);
}

.animation-zoomin.active img {
  transform: scale(1.08);
}
/*Medidas para celular*/
@media (max-width: 768px) and (max-height: 1400px)  {
    .dynamic-width{
        --min-width: 20em;
    }
    .phone-w-100{
        width: 100% !important;
    }
    .phone-center>*{
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .carousel-caption{
        align-items: center !important;
        background: linear-gradient(180deg, rgba(19, 23, 33, 0.147) 35%, rgba(11, 16, 28, 0.907) 65%);
    }
    .carousel-caption h2 {
        font-size: 2.5rem;
        color: #c8d7ff !important;
    }
    .carousel-caption p {
        font-size: 1.4rem;
    }
    .offcanvas{
        width: 100dvw !important;
    }
    .btn-t2{
        --btn-size: 4em;
    }
    .btn-t2 .bi{
        font-size: 2.4em !important;
    }
    .team-card {
        max-width: none;
        min-width: 100%;
        max-height: max-content;
    }
    .text-big{
        font-size: 3em !important;
    }
    .phone-hidden{
        display: none !important;
    }
    .phone-visible{
        display: block !important;
    }
    .phone-text-start{
        text-align: start !important;
    }
    .phone-text-center{
        text-align: center !important;
    }
}

/* Para pantallas grandes (cuando el contenedor es de 1320px) */
@media (min-width: 1400px) {
    .d-flex .first-card {
        margin-left: calc((100vw - 1320px) / 2);
    }
}

/* Para pantallas medianas (cuando el contenedor es de 1140px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .d-flex .first-card {
        margin-left: calc((100vw - 1140px) / 2);
    }
    
    
}


/* Para pantallas pequeñas (cuando el contenedor es de 960px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .d-flex .first-card {
        margin-left: calc((100vw - 960px) / 2);
    }
    .item-lg-hidden{
        display: none !important;
    }
    .text-center-lg{
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

}

@media (max-width: 1159px) and (max-height: 1400px)  {
    
    .phone-w-100{
        width: 100% !important;
    }
    .carousel-caption{
        align-items: center !important;
        background: linear-gradient(180deg, rgba(19, 23, 33, 0.147) 35%, rgba(11, 16, 28, 0.907) 65%);
    }
    .carousel-caption h2 {
        font-size: 2.5rem;
        color: #c8d7ff !important;
    }
    .carousel-caption p {
        font-size: 1.4rem;
    }
    .description-text{
        font-size: 1em !important; 
        width: 100% !important;
    }
    .text-big{
        font-size: 2.2em !important;
    }
    
    .cards-dark>.card>.card-body{
        background-color: #282c3894;
    }
}

