:root {
    --asi-teal: #038C7F;
    --asi-teal-dark: #026e64;
    --asi-orange: #F2600C;
    --asi-bg: #f8f9fb;
}

h1,
h2,
h3,
.hero-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
}

p,
li,
a,
span {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
}

strong {
    font-weight: 600;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Montserrat", sans-serif;
    background: var(--asi-bg);
    color: #212529;
}

/* NAVBAR */
.navbar-brand img {
    height: 48px;
}

.navbar {
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    background: #ffffffd9;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #094047;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--asi-orange);
}

.btn-asi {
    background: var(--asi-orange);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: .45rem;
    padding: .45rem 1.35rem;
}

.btn-asi:hover {
    background: #d34e01;
    color: #fff;
}

/* ============= HERO CON VIDEO DE FONDO ============= */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

/* Desktop: mostrar textos completos */
.hero-title-desktop,
.hero-subtitle-desktop {
    display: block;
}

.hero-title-mobile,
.hero-subtitle-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {

    .hero-title-desktop,
    .hero-subtitle-desktop {
        display: none;
    }

    .hero-title-mobile,
    .hero-subtitle-mobile {
        display: block;
    }
}

/* VIDEO FULLSCREEN */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 50vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Overlay */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .15) 0%,
            rgba(0, 0, 0, .55) 60%,
            rgba(0, 0, 0, .75) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 5rem 1rem 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* BAJA EL TEXTO */
    height: 100%;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .85rem;
    border-radius: 999px;
    background: rgba(3, 140, 127, .18);
    color: #cdebe8;
    font-size: .9rem;
}

.hero-pill i {
    color: #8ef4e5;
}

.hero-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
}

.hero-subtitle {
    max-width: 640px;
    font-size: 1rem;
    color: #e8f5f3;
}

/* MINI CARDS */
.mini-cards-wrapper {
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.mini-card {
    background: #fff;
    border-radius: .85rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    padding: 1rem 1.25rem;
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    height: 100%;
    border-top: 3px solid var(--asi-teal);
}

.mini-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 140, 127, .12);
    color: var(--asi-teal);
    flex-shrink: 0;
}

.mini-card-title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .15rem;
}

.mini-card-text {
    font-size: .85rem;
    margin-bottom: 0;
    color: #555;
}

/* RESULTADOS */
.resultados-section {
    padding: 4.5rem 0 3rem;
    background: var(--asi-bg);
}

.resultados-card {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
    padding: 2.5rem 2.25rem;
}

.resultados-card h2 {
    color: var(--asi-teal);
    font-weight: 800;
    margin-bottom: .6rem;
    font-size: 1.4rem;
}

.resultados-card p.lead {
    font-size: .95rem;
    color: #555;
    margin-bottom: 2rem;
}

.metric-card {
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e3ecec;
    background: #fbfdfd;
    transition: .25s;
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 800;
}

.metric-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #777;
}

.metric-text {
    font-size: .85rem;
    color: #555;
}

/* TIRA DE SERVICIOS */
.servicios-strip {
    margin-top: 3.5rem;
    overflow: hidden;
    border-radius: 1.4rem 1.4rem 0 0;
}

.servicio-col {
    position: relative;
    min-height: 260px;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.servicio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .75));
}

.servicio-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.servicio-badge {
    font-size: .8rem;
    text-transform: uppercase;
    opacity: .85;
}

.servicio-title {
    font-weight: 700;
    font-size: 1rem;
}

.servicio-text {
    font-size: .8rem;
    opacity: .85;
}

/* LOGOS */
.logos-strip {
    background: #ffffff;
    padding: 2.25rem 0 1.75rem;
    border-top: 1px solid #e5ecee;
    border-bottom: 1px solid #e5ecee;
}

.logo-item {
    filter: grayscale(.1);
    opacity: .9;
    transition: .3s;
    max-height: 60px;
    object-fit: contain;
}

.logo-item:hover {
    filter: none;
    opacity: 1;
}

/* POR QUÉ ASI */
.porque-section {
    padding: 4rem 0 4.5rem;
    background: #f5f8f8;
}

.porque-tag {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--asi-teal);
    font-weight: 700;
}

.porque-title {
    font-weight: 800;
    font-size: 1.8rem;
    color: #0d3b3f;
}

.porque-highlight {
    color: var(--asi-orange);
    font-weight: 700;
}

.porque-list li {
    margin-bottom: .4rem;
}

.porque-media {
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.porque-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
footer {
    background: var(--asi-teal);
    color: #fff;
}

.footer-top {
    padding: 3.5rem 0 2.5rem;
}

.footer-card {
    background: rgba(0, 0, 0, .12);
    border-radius: 1rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .7rem;
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff1a;
}

.footer-social a {
    color: #fff;
    font-size: 1.4rem;
    margin-right: .7rem;
}

.footer-bottom {
    border-top: 1px solid #ffffff33;
    padding: .9rem 0;
    text-align: center;
    font-size: .85rem;
    background: rgba(0, 0, 0, .12);
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    z-index: 30;
}

.whatsapp-float:hover {
    background: #1ebe5a;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .hero-section {
        height: 75vh;
    }

    .mini-cards-wrapper {
        margin-top: -2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding-top: 6rem;
    }

    .porque-title {
        font-size: 1.5rem;
    }
}


/* LOADER FULLSCREEN */
#asi-loader {
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

#asi-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* CONTENEDOR */
.asi-loader-content {
  text-align: center;
  animation: fadeIn 0.8s ease;
}

/* LOGO */
.asi-loader-logo {
  width: 150px;
  margin-bottom: 20px;
  animation: pulseLogo 2s infinite ease-in-out;
}

/* SPINNER MODERNO */
.asi-spinner {
  width: 45px;
  height: 45px;
  border: 5px solid #0A8C7E;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ANIMACIONES */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: .9; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
