/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 6rem; }

body {
    font-family: var(--font-body);
    font-size: var(--text-body-md);
    line-height: var(--lh-body-md);
    font-weight: var(--fw-body-md);
    background-color: var(--background);
    color: var(--on-background);
}

::selection { background-color: color-mix(in srgb, var(--verde-esmeralda) 30%, transparent); }

img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: 80rem; /* 1280px */
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
}

@media (min-width: 768px) {
    .container { padding-inline: var(--margin-desktop); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all 0.15s;
}

.btn:active { transform: scale(0.95); }

.btn--primary {
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
    padding: 0.5rem 1.25rem;
}

.btn--primary:hover { filter: brightness(1.05); }

.btn--dark {
    background-color: var(--azul-noche);
    color: var(--white);
    padding: 0.75rem 1.5rem;
}

.btn--dark:hover { background-color: color-mix(in srgb, var(--azul-noche) 90%, transparent); }

@media (min-width: 768px) {
    .btn--primary { padding: 0.625rem 1.5rem; }
    .btn--dark { padding: 1rem 2rem; }
}

.btn--full {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius);
    padding: 1rem;
}

.btn--full:active { transform: scale(0.98); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: 100%;
    background-color: color-mix(in srgb, var(--azul-noche) 80%, transparent);
    border-bottom: 1px solid rgb(255 255 255 / 0.05);
    backdrop-filter: blur(12px);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar--scrolled {
    background-color: color-mix(in srgb, var(--azul-noche) 92%, transparent);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.18);
}

.navbar__inner {
    width: 100%;
    max-width: 80rem;
    height: 5rem;
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .navbar__inner { padding-inline: var(--margin-desktop); }
}

.navbar__brand,
.navbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar__logo {
    font-family: var(--font-display);
    font-size: var(--text-headline-md);
    line-height: var(--lh-headline-md);
    font-weight: 700;
    color: var(--white);
}

.navbar__links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar__links { display: flex; }
}

.navbar__link {
    padding-bottom: 0.25rem;
    color: rgb(255 255 255 / 0.7);
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: var(--fw-label-lg);
    transition: color 0.15s ease, border-color 0.15s ease;
    border-bottom: 2px solid transparent;
}

.navbar__link:hover { color: var(--white); }

.navbar__link--active {
    color: var(--verde-esmeralda);
    border-bottom-color: var(--verde-esmeralda);
    font-weight: 700;
}

.navbar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: 700;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.navbar__cta:hover { filter: brightness(1.05); }
.navbar__cta:active { transform: scale(0.95); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 870px;
    display: flex;
    align-items: center;
    padding-inline: var(--margin-mobile);
    background-color: var(--background);
}

@media (min-width: 768px) {
    .hero { padding-inline: var(--margin-desktop); }
}

.hero__grid {
    max-width: 80rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gutter);
    align-items: center;
}

@media (min-width: 768px) {
    .hero__grid { grid-template-columns: 1fr 1fr; }
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--stack-lg);
    position: relative;
    z-index: 10;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: color-mix(in srgb, var(--verde-esmeralda) 10%, transparent);
    color: var(--verde-esmeralda);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
}

.hero__badge-text {
    font-family: var(--font-body);
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    font-weight: var(--fw-label-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__badge .material-symbols-outlined { font-size: 16px; }

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-xl);
    line-height: 1.1;
    letter-spacing: var(--ls-headline-xl);
    font-weight: var(--fw-headline-xl);
    color: var(--azul-noche);
}

.hero__title-accent { color: var(--verde-esmeralda); }

.hero__description {
    font-size: var(--text-body-lg);
    line-height: var(--lh-body-lg);
    color: var(--secondary);
    max-width: 32rem;
}

.hero__actions { display: flex; gap: 1rem; padding-top: 1rem; }

.hero__image-wrapper {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .hero__image-wrapper { display: block; }
}

.hero__image-glow {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: color-mix(in srgb, var(--verde-esmeralda) 5%, transparent);
    border-radius: 50%;
    filter: blur(48px);
}

.hero__image {
    border-radius: var(--radius-xl);
    border: 1px solid var(--outline-variant);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    position: relative;
    z-index: 10;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero__badge-float {
    position: absolute;
    bottom: 2.5rem;
    left: -2.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero__badge-float-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--azul-noche);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-esmeralda);
}

.hero__badge-float-icon .material-symbols-outlined { font-size: 32px; }

.hero__badge-float-stat {
    font-family: var(--font-display);
    font-size: var(--text-headline-sm);
    line-height: var(--lh-headline-sm);
    font-weight: var(--fw-headline-sm);
    color: var(--azul-noche);
}

.hero__badge-float-label {
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: var(--ls-label-md);
    font-weight: var(--fw-label-md);
    color: var(--secondary);
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.reveal {
    transition-property: opacity, transform;
    transition-duration: 700ms;
}

.reveal--hidden {
    opacity: 0;
    transform: translateY(2.5rem);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.reveal--hidden { transition: none; }
.service-card:nth-child(1).reveal--visible { transition-delay: 0ms; }
.service-card:nth-child(2).reveal--visible { transition-delay: 100ms; }
.service-card:nth-child(3).reveal--visible { transition-delay: 200ms; }
.service-card:nth-child(4).reveal--visible { transition-delay: 300ms; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    padding-block: var(--section-gap);
    padding-inline: var(--margin-mobile);
    background-color: var(--white);
    padding-top: var(--section-padding);
}

@media (min-width: 768px) {
    .services { padding-inline: var(--margin-desktop); }
}

.services__header {
    margin-bottom: var(--stack-lg);
    text-align: center;
}

.services__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-lg);
    line-height: var(--lh-headline-lg);
    letter-spacing: var(--ls-headline-lg);
    font-weight: var(--fw-headline-lg);
    color: var(--azul-noche);
}

.services__subtitle {
    font-size: var(--text-body-md);
    line-height: var(--lh-body-md);
    color: var(--secondary);
    margin-top: 0.5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 64rem; /* Reduced container width to make cards smaller */
    margin-inline: auto;
}

.services__cta {
    display: flex;
    justify-content: center;
    padding-top: 2.5rem;
}

@media (min-width: 768px) {
    .services__grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .service-card--featured,
    .service-card--wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .services__grid { 
        grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
        grid-template-rows: auto auto; /* Changed to auto to reduce height */
        gap: 1.0rem;
        max-width: 80rem; /* Full container width */
        margin-inline: auto;
    }

    .service-card--featured {
        grid-column: span 2;
        grid-row: span 2;
        padding: 2.5rem; /* Reduced from 3.5rem */
    }

    .service-card--featured .service-card__title {
        font-size: var(--text-headline-xl);
        margin-top: 3rem;
    }

    .service-card--featured .service-card__description {
        margin-top: 3rem;
        margin-bottom: 4rem;
    }

    .service-card--wide {
        grid-column: span 2;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "icon content"
            "link link";
        gap: 1.25rem;
        align-items: start;
        padding: 1.5rem 2rem; /* Reduced padding */
    }

    .service-card--wide .service-card__icon { grid-area: icon; margin-bottom: 0; }
    .service-card--wide .service-card__content { grid-area: content; }
    .service-card--wide .service-card__link { grid-area: link; margin-top: 1rem; }

    .service-card--small {
        grid-column: span 1;
        padding: 1.5rem; /* Reduced padding */
    }
}

.service-card {
    border: 1px solid var(--outline-variant);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--white);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover { 
    border-color: var(--verde-esmeralda);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 191, 166, 0.15);
}

/* Featured Card (Dark) */
.service-card--featured {
    background-color: var(--azul-noche);
    border-color: var(--azul-noche);
}

.service-card--featured .service-card__icon {
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
    width: 3.5rem;
    height: 3.5rem;
}

.service-card--featured .service-card__title {
    color: var(--white);
    font-size: var(--text-headline-lg);
    margin-top: 2rem;
}

.service-card--featured .service-card__description {
    color: color-mix(in srgb, var(--white) 80%, transparent);
    font-size: var(--text-body-md);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

/* Wide Card */
.service-card--wide {
    border-color: var(--outline-variant);
}

.service-card--wide .service-card__icon {
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
}

.service-card--wide .service-card__title {
    margin-bottom: 0.25rem; /* Reduced */
}

/* Small Cards */
.service-card--small .service-card__icon {
    background-color: var(--azul-noche);
    color: var(--white);
}

.service-card__icon {
    width: 2.5rem; /* Reduced from 3rem */
    height: 2.5rem; /* Reduced from 3rem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
    transition: all 0.3s ease;
}

.service-card__icon .material-symbols-outlined { font-size: 24px; } /* Reduced from 28px */

.service-card__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-md);
    font-weight: 700;
    color: var(--azul-noche);
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.service-card__description {
    font-size: var(--text-body-sm);
    line-height: 1.5; /* Tightened */
    color: var(--secondary);
    margin-bottom: 1.25rem; /* Reduced from 2rem */
}

.service-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-label-lg);
    font-weight: 700;
    color: var(--azul-noche);
    transition: color 0.15s;
}

.service-card__link:hover { color: var(--verde-esmeralda); }

/* ============================================================
   DELIVERY SECTION
   ============================================================ */
.delivery {
    padding-block: var(--section-gap);
    padding-inline: var(--margin-mobile);
    background-color: var(--surface-container-low);
}

@media (min-width: 768px) {
    .delivery { padding-inline: var(--margin-desktop); }
}

.delivery__header {
    margin-bottom: var(--stack-lg);
    text-align: center;
    max-width: 48rem;
    margin-inline: auto;
}

.delivery__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-lg);
    line-height: var(--lh-headline-lg);
    letter-spacing: var(--ls-headline-lg);
    font-weight: var(--fw-headline-lg);
    color: var(--azul-noche);
}

.delivery__subtitle {
    font-size: var(--text-body-md);
    line-height: var(--lh-body-md);
    color: var(--secondary);
    margin-top: 1rem;
}

.delivery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .delivery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .delivery__grid { grid-template-columns: repeat(4, 1fr); }
}

.delivery-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--outline-variant);
    transition: transform 0.3s, box-shadow 0.3s;
}

.delivery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.delivery-item__icon {
    color: var(--verde-esmeralda);
    margin-bottom: 1.5rem;
}

.delivery-item__icon .material-symbols-outlined { font-size: 32px; }

.delivery-item__title {
    font-family: var(--font-display);
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    font-weight: 700;
    color: var(--azul-noche);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.delivery-item__description {
    font-size: var(--text-body-sm);
    line-height: 1.6;
    color: var(--secondary);
}

/* ============================================================
   VALUES SECTION
   ============================================================ */
.values {
    padding-block: 6rem;
    padding-inline: var(--margin-mobile);
    background-color: var(--azul-noche);
    color: var(--white);
}

@media (min-width: 768px) {
    .values { padding-inline: var(--margin-desktop); }
}

.values__inner {
    max-width: 80rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 768px) {
    .values__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
    .values__intro { width: 33.333%; }
}

.values__heading {
    font-family: var(--font-display);
    font-size: var(--text-headline-lg);
    line-height: var(--lh-headline-lg);
    letter-spacing: var(--ls-headline-lg);
    font-weight: var(--fw-headline-lg);
    margin-bottom: 1.5rem;
}

.values__description {
    font-size: var(--text-body-md);
    line-height: var(--lh-body-md);
    color: var(--secondary-fixed-dim);
}

.values__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 640px) {
    .values__list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .values__list { width: 66.666%; }
}

.value-item { text-align: center; }

@media (min-width: 768px) {
    .value-item { text-align: left; }
}

.value-item .material-symbols-outlined {
    font-size: 40px;
    color: var(--verde-esmeralda);
    display: block;
    margin-bottom: 1rem;
}

.value-item__title {
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: 0.1em;
    font-weight: var(--fw-label-lg);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.value-item__description {
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
    color: var(--secondary-fixed-dim);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    padding-block: var(--section-gap);
    padding-inline: var(--margin-mobile);
    background-color: var(--background);
}

@media (min-width: 768px) {
    .contact { padding-inline: var(--margin-desktop); }
}

.contact__card {
    max-width: 64rem;
    margin-inline: auto;
    background-color: var(--white);
    border: 1px solid var(--outline-variant);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact__card { grid-template-columns: 1fr 1fr; }
}

.contact__info {
    padding: 3rem;
    background-color: var(--surface-container-low);
    border-bottom: 1px solid var(--outline-variant);
}

@media (min-width: 768px) {
    .contact__info {
        border-bottom: none;
        border-right: 1px solid var(--outline-variant);
    }
}

.contact__info-title {
    font-family: var(--font-display);
    font-size: var(--text-headline-lg);
    line-height: var(--lh-headline-lg);
    letter-spacing: var(--ls-headline-lg);
    font-weight: var(--fw-headline-lg);
    color: var(--azul-noche);
    margin-bottom: 1.5rem;
}

.contact__info-description {
    font-size: var(--text-body-md);
    line-height: var(--lh-body-md);
    color: var(--secondary);
    margin-bottom: 2.5rem;
}

.contact__checklist { display: flex; flex-direction: column; gap: 1.5rem; }

.contact__check-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact__check-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--verde-esmeralda);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--azul-noche);
}

.contact__check-icon .material-symbols-outlined { font-size: 14px; font-weight: 700; }

.contact__check-text {
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
    color: var(--gris-grafito);
}

.contact__form-wrapper { 
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact__form { display: flex; flex-direction: column; gap: 2rem; }

.contact__form .btn { margin-top: 1.5rem; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-field label {
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: var(--ls-label-md);
    font-weight: var(--fw-label-md);
    color: var(--azul-noche);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--gris-claro);
    border-radius: var(--radius);
    padding: 0.75rem;
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--verde-esmeralda);
    box-shadow: 0 0 0 1px var(--verde-esmeralda);
}

.form-field textarea { resize: vertical; }

/* ============================================================
   TRUSTED COMPANIES (TICKER)
   ============================================================ */
.trusted {
    padding-block: 4rem;
    background-color: var(--white);
    overflow: hidden;
    border-top: 1px solid var(--outline-variant);
}

.trusted__header {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trusted__header { padding-inline: var(--margin-desktop); }
}

.trusted__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-sm);
    line-height: var(--lh-headline-sm);
    font-weight: var(--fw-headline-sm);
    color: var(--azul-noche);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ticker-track {
    display: flex;
    align-items: center;
    padding-block: 1rem;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-logo {
    display: flex;
    align-items: center;
    padding-inline: 2rem;
    filter: grayscale(1);
    opacity: 0.4;
    transition: filter 0.3s, opacity 0.3s;
    pointer-events: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.ticker-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.ticker-logo img.aliado-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.ticker-logo .material-symbols-outlined { font-size: 40px; }

.ticker-logo span:last-child {
    font-family: var(--font-display);
    font-size: var(--text-headline-sm);
    font-weight: 700;
    color: var(--azul-noche);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--azul-noche);
    border-top: 1px solid var(--gris-grafito);
    padding-block: var(--stack-lg);
}

.footer__grid {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gutter);
}

@media (min-width: 768px) {
    .footer__grid {
        padding-inline: var(--margin-desktop);
        grid-template-columns: 1fr 1fr;
    }
}

.footer__brand { display: flex; flex-direction: column; gap: 1.5rem; }

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--text-headline-sm);
    line-height: var(--lh-headline-sm);
    font-weight: 700;
    color: var(--white);
}

.footer__tagline {
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
    color: var(--secondary-fixed-dim);
    max-width: 24rem;
}

.footer__web-links { display: flex; gap: 1rem; }

.footer__social { 
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem; 
}

.footer__social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-fixed-dim);
    transition: color 0.2s ease;
}

.footer__social-link:hover { 
    color: var(--verde-esmeralda); 
}

.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.footer__links-group { display: flex; flex-direction: column; gap: 1rem; }

.footer__links-title {
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: var(--fw-label-lg);
    color: var(--verde-esmeralda);
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: var(--ls-label-md);
    font-weight: var(--fw-label-md);
    color: var(--secondary-fixed-dim);
    transition: color 0.15s;
}

.footer__link .material-symbols-outlined {
    font-size: 1.25rem;
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-grafito);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        padding-inline: var(--margin-desktop);
        text-align: left;
    }
}

.footer__copyright {
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: var(--ls-label-md);
    color: var(--secondary-fixed-dim);
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    z-index: 100;
    transition: transform 0.15s;
}

.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp:active { transform: scale(0.95); }

.fab-whatsapp svg { width: 2rem; height: 2rem; fill: currentcolor; }

.fab-whatsapp__tooltip {
    position: absolute;
    right: 4rem;
    background-color: var(--azul-noche);
    color: var(--white);
    font-size: 12px;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.fab-whatsapp:hover .fab-whatsapp__tooltip { opacity: 1; }

/* ============================================================
   FUTURE SECTION STYLES
   ============================================================ */
.future {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-inline: var(--margin-mobile);
    background-color: var(--azul-noche);
}

@media (min-width: 768px) {
    .future { padding-inline: var(--margin-desktop); }
}

.future__grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-grid {
    background-image: 
        linear-gradient(to right, rgba(0, 191, 166, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 191, 166, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 191, 166, 0.02) 50%, transparent 100%);
    animation: scanline 8s linear infinite;
}

.future__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.future__glow--right {
    top: 25%;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgb(0 191 166 / 0.1);
    filter: blur(120px);
}

.future__glow--left {
    bottom: 25%;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background-color: rgb(10 37 64 / 0.4);
    border: 1px solid rgb(0 191 166 / 0.1);
    filter: blur(100px);
}

.future__inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-top: 7rem;
    padding-bottom: 7rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .future__inner { grid-template-columns: repeat(12, 1fr); }
}

.future__content {
    display: flex;
    flex-direction: column;
    gap: var(--stack-lg);
}

@media (min-width: 1024px) {
    .future__content { grid-column: span 7; }
}

.future__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.75rem;
    padding: 0.375rem 1rem;
    background-color: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.future__eyebrow-code {
    color: var(--verde-esmeralda);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.future__eyebrow-line {
    width: 2rem;
    height: 0.25rem;
    background-color: rgb(0 191 166 / 0.3);
}

.future__eyebrow-label {
    color: rgb(255 255 255 / 0.6);
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: 0.08em;
    font-weight: var(--fw-label-md);
    text-transform: uppercase;
}

.future__title {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 0.95;
    color: var(--white);
    font-weight: 700;
}

@media (min-width: 768px) {
    .future__title { font-size: 72px; }
}

.future__title-accent { color: var(--verde-esmeralda); }

.future__description {
    max-width: 36rem;
    color: rgb(255 255 255 / 0.6);
    font-size: var(--text-body-lg);
    line-height: var(--lh-body-lg);
}

.future__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
}

.future__button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: var(--text-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: 700;
    transition: background-color 0.15s ease, filter 0.15s ease, transform 0.15s ease;
}

.future__button:active { transform: scale(0.98); }

.future__button--primary {
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
}

.future__button--primary:hover { filter: brightness(1.1); }

.future__button--primary:hover .material-symbols-outlined { transform: translateX(0.25rem); }

.future__button .material-symbols-outlined { transition: transform 0.15s ease; }

.future__button--secondary {
    color: var(--white);
    border: 1px solid rgb(255 255 255 / 0.2);
}

.future__button--secondary:hover { background-color: rgb(255 255 255 / 0.05); }

.future__stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgb(255 255 255 / 0.05);
}

@media (max-width: 560px) {
    .future__stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

.future__stat-value {
    color: var(--verde-esmeralda);
    font-family: var(--font-display);
    font-size: var(--text-headline-md);
    line-height: var(--lh-headline-md);
    font-weight: 700;
}

.future__stat-label {
    color: rgb(255 255 255 / 0.4);
    font-size: var(--text-label-md);
    line-height: var(--lh-label-md);
    letter-spacing: 0.1em;
    font-weight: var(--fw-label-md);
    text-transform: uppercase;
}

.future__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .future__visual { grid-column: span 5; }
}

.future__orbital {
    position: relative;
    width: 100%;
    max-width: 28rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.future__ring {
    position: absolute;
    border-radius: 1.25rem;
}

.future__ring::before {
    content: "";
    position: absolute;
    border-radius: 999px;
    background-color: var(--verde-esmeralda);
    box-shadow: 0 0 14px rgb(0 191 166 / 0.75);
}

.future__ring--outer {
    inset: 0;
    border: 1px solid rgb(0 191 166 / 0.2);
    animation: spin 20s linear infinite;
}

.future__ring--outer::before {
    top: -0.3125rem;
    left: 50%;
    width: 0.625rem;
    height: 0.625rem;
    transform: translateX(-50%);
}

.future__ring--middle {
    inset: 2rem;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 1rem;
    animation: spin 15s linear infinite reverse;
}

.future__ring--middle::before {
    right: 1.5rem;
    bottom: -0.125rem;
    width: 1.75rem;
    height: 0.25rem;
    background-color: rgb(255 255 255 / 0.65);
    box-shadow: 0 0 12px rgb(255 255 255 / 0.35);
}

.future__ring--inner {
    inset: 4rem;
    border: 2px dashed rgb(0 191 166 / 0.1);
    border-radius: 0.75rem;
}

.future__ring--inner::before {
    content: none;
}

.future__image-card {
    position: relative;
    z-index: 10;
    padding: 0;
    background-color: rgb(10 37 64 / 0.8);
    border: 1px solid rgb(0 191 166 / 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(24px);
    transform: rotate(3deg);
}

.future__image {
    width: 16rem;
    height: 12rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 191, 166, 0.5));
}

.future__security {
    position: absolute;
    top: -1rem;
    right: -1rem;
    padding: 0.75rem;
    background-color: var(--verde-esmeralda);
    color: var(--azul-noche);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.future__status {
    position: absolute;
    bottom: 2.5rem;
    left: -1.5rem;
    padding: 1rem;
    background-color: var(--azul-noche);
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    backdrop-filter: blur(12px);
}

.future__status-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 10px;
}

.future__status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--verde-esmeralda);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.future__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 5rem;
    background: linear-gradient(to top, var(--background), transparent);
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 70;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 400px;
    padding: 1rem 1.25rem;
    background-color: var(--azul-noche);
    border-left: 4px solid var(--verde-esmeralda);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
    color: var(--white);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast--visible {
    transform: translateX(0);
    opacity: 1;
}

.toast--error {
    border-left-color: var(--error);
}

.toast__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    color: var(--verde-esmeralda);
}

.toast--error .toast__icon {
    color: var(--error);
}

.toast__message {
    flex: 1;
    padding-top: 0.125rem;
}

.toast__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: none;
    background: none;
    color: var(--on-primary-container);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    transition: color 0.15s;
}

.toast__close:hover {
    color: var(--white);
}

.toast--exit {
    transform: translateX(120%);
    opacity: 0;
}

.glow-effect {
    box-shadow: 0 0 40px rgba(0, 191, 166, 0.2);
}

.glow-text {
    text-shadow: 0 0 10px rgba(0, 191, 166, 0.4);
}

.tech-border {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}
