/* =========================== */
/* Root Variables */
/* =========================== */
:root {
    /* Colors */
    --primary: #003c87;
    --primary-container: #2554a3;

    --secondary: #821dda;
    --secondary-container: #9c42f4;

    --tertiary: #004657;

    --background: #f9f9ff;
    --surface: #ffffff;

    --surface-container-low: #f1f3ff;

    --text: #141b2c;
    --text-light: #434751;

    --outline: #c3c6d3;

    --white: #ffffff;

    --footer-bg-primary: #07152f;
    --footer-bg-secondary: #08111f;

    --blue-sky: #47d6ff;
    --blue-sky-dark: #3eb8da;
    --blue-sky-darker: #2e8ca6;

    /* GRADIENT */

    --gradient-primary:
        linear-gradient(135deg,
            #2554a3,
            #8a2be2);

    /* TYPOGRAPHY */

    --font-display: "Manrope", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-label: "JetBrains Mono", monospace;

    /* SHADOWS */

    --shadow-soft:
        0px 4px 20px rgba(16, 24, 40, 0.08);

    --shadow-heavy:
        0 20px 60px rgba(0, 0, 0, 0.25);

    /* RADIUS */

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* CONTAINER */

    --container-width: 1280px;

    /* GLASS */
    --glass-bg:
        rgba(255, 255, 255, 0.08);

    --glass-border:
        rgba(255, 255, 255, 0.18);

    --glass-navbar:
        rgba(0, 60, 135, 0.82);

    --hero-overlay:
        linear-gradient(135deg,
            #003c87 0%,
            #2554a3 45%,
            #6c2bd9 100%);

    --hero-glow:
        rgba(130, 29, 218, 0.35);

    --white-10:
        rgba(255, 255, 255, 0.1);

    --white-20:
        rgba(255, 255, 255, 0.2);

    --white-60:
        rgba(255, 255, 255, 0.6);

    --white-80:
        rgba(255, 255, 255, 0.8);
}

/* TYPOGRAPHY: Unificar encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.05;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* =========================== */
/* GLOBAL */
/* =========================== */
.container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}

/* =========================== */
/* NAVBAR */
/* =========================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 999;

    background: var(--surface);
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
    transition: transform 0.4s ease, background 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--outline);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-top {
    background: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: .65rem 0;
}

.navbar-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-tags {
    display: flex;
    gap: 1rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;

    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: 0.2s ease;
}

.tag.active {
    background: var(--blue-sky-dark);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}


.navbar-contact span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.material-symbols-outlined {
    font-size: 18px;
}

.navbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 1rem 0;
}

.navbar-logo img {
    height: 48px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar-links a {
    color: var(--text);
    position: relative;
    font-weight: 500;
    transition: 0.25s ease;
}

.navbar-links a:hover {
    color: var(--primary);
}

.navbar-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;

    background: var(--blue-sky-dark);
    transition: 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar .btn-primary {
    background: var(--blue-sky-dark);
    color: var(--white) !important;
}

.btn-primary {
    padding: 0.9rem 1.6rem;
    border-radius: 100px;
    background: var(--white);
    color: var(--blue-sky-dark) !important;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* =========================== */
/* FEEDBACK MODAL */
/* =========================== */
.feedback-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    z-index: 4000;
    transition: opacity 0.25s ease;
}

.feedback-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 47, 0.55);
    backdrop-filter: blur(10px);
}

.feedback-modal__card {
    position: relative;
    width: min(100%, 460px);
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.1rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(195, 198, 211, 0.85);
    box-shadow: 0 28px 70px rgba(7, 21, 47, 0.26);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
    z-index: 1;
}

.feedback-modal.is-visible .feedback-modal__card {
    transform: translateY(0) scale(1);
}

.feedback-modal.is-success .feedback-modal__card {
    border-color: color-mix(in srgb, var(--blue-sky-dark) 35%, transparent);
}

.feedback-modal.is-error .feedback-modal__card {
    border-color: color-mix(in srgb, #d94848 35%, transparent);
}

.feedback-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-container-low);
    color: var(--text-light);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.feedback-modal__close:hover {
    transform: scale(1.05);
    background: color-mix(in srgb, var(--blue-sky-dark) 12%, var(--surface-container-low));
}

.feedback-modal__close .material-symbols-outlined {
    font-size: 20px;
}

.feedback-modal__icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(46, 140, 166, 0.14), rgba(255, 255, 255, 0.9));
    color: var(--blue-sky-dark);
}

.feedback-modal.is-error .feedback-modal__icon {
    background: linear-gradient(135deg, rgba(217, 72, 72, 0.12), rgba(255, 255, 255, 0.95));
    color: #d94848;
}

.feedback-modal__icon .material-symbols-outlined {
    font-size: 2rem;
}

.feedback-modal__eyebrow {
    color: var(--blue-sky-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
}

.feedback-modal__title {
    color: var(--primary);
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.feedback-modal__message {
    color: var(--text-light);
    line-height: 1.7;
}

.feedback-modal__timer {
    margin-top: 1.25rem;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: var(--surface-container-low);
    overflow: hidden;
}

.feedback-modal__timer-bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--blue-sky-dark), var(--primary));
    animation-name: feedback-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.feedback-modal.is-error .feedback-modal__timer-bar {
    background: linear-gradient(90deg, #d94848, #ff8a5b);
}

@keyframes feedback-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .feedback-modal,
    .feedback-modal__card,
    .feedback-modal__close,
    .feedback-modal__timer-bar {
        transition: none;
        animation: none;
    }
}

/* =========================== */
/* PRIVACY MODAL */
/* =========================== */
body.modal-open {
    overflow: hidden;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    z-index: 4100;
    transition: opacity 0.25s ease;
}

.privacy-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 47, 0.62);
    backdrop-filter: blur(12px);
}

.privacy-modal__card {
    position: relative;
    width: min(100%, 860px);
    max-height: min(86vh, 920px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid rgba(195, 198, 211, 0.88);
    box-shadow: 0 32px 90px rgba(7, 21, 47, 0.34);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
    z-index: 1;
}

.privacy-modal.is-visible .privacy-modal__card {
    transform: translateY(0) scale(1);
}

.privacy-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--outline);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 243, 255, 0.92));
}

.privacy-modal__eyebrow {
    color: var(--blue-sky-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 0.35rem;
}

.privacy-modal__title {
    color: var(--primary);
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.15;
}

.privacy-modal__close {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--surface-container-low);
    color: var(--text-light);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.privacy-modal__close:hover {
    transform: scale(1.05);
    background: color-mix(in srgb, var(--blue-sky-dark) 12%, var(--surface-container-low));
}

.privacy-modal__close .material-symbols-outlined {
    font-size: 20px;
}

.privacy-modal__body {
    padding: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.privacy-modal__body h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin: 1.35rem 0 0.65rem;
}

.privacy-modal__body p,
.privacy-modal__body li {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.98rem;
}

.privacy-modal__body p+p {
    margin-top: 1rem;
}

.privacy-modal__body ul {
    margin: 0.75rem 0 0.5rem 1.25rem;
    padding-left: 1rem;
    display: grid;
    gap: 0.45rem;
}

.privacy-modal__body strong {
    color: var(--primary);
}

@media (max-width: 720px) {
    .privacy-modal {
        padding: 0.75rem;
    }

    .privacy-modal__card {
        max-height: 92vh;
        border-radius: 22px;
    }

    .privacy-modal__header,
    .privacy-modal__body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.menu-btn {
    display: none;
    width: 48px;
    height: 48px;

    place-items: center;
    cursor: pointer;

    border: 1px solid var(--glass-border);
    border-radius: 12px;

    color: var(--blue-sky-dark);
    background: var(--white-10);
    backdrop-filter: blur(10px);

    position: relative;
    z-index: 1300;
}

.menu-btn .material-symbols-outlined {
    font-size: 32px;
    color: var(--blue-sky-dark);
}

/* =========================== */
/* MOBILE NAVBAR */
/* =========================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;

    width: 300px;
    max-width: 85%;
    height: 100vh;

    background: var(--glass-navbar);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);

    display: flex;
    flex-direction: column;

    padding: 6rem 2rem 2rem;
    gap: 1.5rem;

    transition: .4s ease;
    z-index: 1200;

}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.1rem;
}

.mobile-menu-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.mobile-menu-tags .tag {
    letter-spacing: .06em;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a:not(.btn-primary) {
    font-size: 1.05rem;
    font-weight: 600;
}

.mobile-menu-contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: .9rem;
    color: var(--white-80);
    font-size: .95rem;
}

.mobile-menu-contact span {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    line-height: 1.5;
}

.mobile-menu-contact .material-symbols-outlined {
    font-size: 20px;
    margin-top: 1px;
    color: var(--blue-sky);
}

/* =========================== */
/* HERO */
/* =========================== */
.hero {
    position: relative;
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0.3;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--footer-bg-secondary) 88%, transparent) 0%,
            color-mix(in srgb, var(--footer-bg-primary) 68%, transparent) 42%,
            rgba(0, 0, 0, 0.22) 100%);
    z-index: 1;
}

.hero-blur {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background: var(--hero-glow);

    filter: blur(140px);

    bottom: -300px;
    left: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: flex-start;
}

.hero-card {
    /*     max-width: 950px;
    text-align: center;
    padding: 5rem 4rem;

    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);

    position: relative;
    overflow: hidden;
 */
    all: unset;
}

.hero-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(120deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.02));

    pointer-events: none;

}

.hero-copy {
    max-width: 860px;
    color: var(--white);
    padding: 7rem 0;
}

.hero-logo {
    width: 300px;
    margin-bottom: 2.5rem;
    padding: 0;
    border-radius: 0;

    /* position: relative;
    z-index: 2; */

    filter: drop-shadow(0 0 18px var(--glass-border));
}

.hero-kicker {
    display: block;
    margin-bottom: 1.4rem;

    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 950px;

    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: .98;
    margin-bottom: 1.5rem;

    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    max-width: 820px;

    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.7;

    margin-bottom: 2.5rem;
}


/* =========================== */
/* SECTION  */
/* =========================== */
.section {
    padding: 7rem 0;
}

/* =========================== */
/* ABOUT */
/* =========================== */
.about {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
}

.about-card {
    background: var(--surface-container-low);
    border: 1px solid var(--outline);
    border-radius: 36px;

    padding: 2.5rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card h2 {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.about-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -80px;
    right: -80px;

    background: var(--blue-sky);
    border-radius: 50%;
    filter: blur(110px);

    pointer-events: none;
}

.about-label {
    display: block;
    font-family: var(--font-display);
    color: var(--primary);
    text-transform: uppercase;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.about-label span {
    color: var(--blue-sky-dark);
}

.about h2 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.6rem);

    margin: 1.5rem 0;
    line-height: 1.1;
}

.about p {
    color: var(--text-light);
    line-height: 1.8;
}

.experience-wrapper {
    padding-top: 2rem;
    border-top: 1px solid var(--outline);

    display: flex;
    align-items: center;
    gap: 2rem;
}

.experience-number {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;

    font-size: 4rem;
    font-weight: 800;
    line-height: 1;

    color: var(--primary);
}

.counter-odometer {
    height: 64px;
    overflow: hidden;
    position: relative;
}

.counter-track {
    display: flex;
    flex-direction: column;

    transform: translateY(0);
    transition: transform 4.5s cubic-bezier(0.12, 0.84, 0.18, 1);

    will-change: transform;
}

.counter-track span {
    height: 64px;
    display: flex;
    align-items: center;

    font-size: 4rem;
    font-weight: 800;
    line-height: 1;

    color: var(--primary);
}

.experience-text {
    max-width: 180px;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-content h3 {
    font-size: clamp(2.8rem, 4vw, 4.5rem);
    line-height: 1.05;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: var(--font-display);
}

.about-content>p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.about-features {
    display: flex;
    gap: 1.5rem;
}

.feature-card {
    flex: 1;
    border: 1px solid var(--outline);
    border-radius: 22px;
    background: var(--white);

    padding: 2rem;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-sky-dark);
}

.feature-card h4 {
    color: var(--primary);
    margin: 1rem 0 .8rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--blue-sky-dark);
    margin-bottom: 1rem;
}

/* =========================== */
/* BRANDS */
/* =========================== */
.brands {
    background:
        linear-gradient(135deg,
            var(--footer-bg-primary),
            var(--footer-bg-secondary));
    padding: 5rem 0;
    overflow: hidden;
}

.brands-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brands-header p {
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 700;
}

.brands-slider {
    overflow: hidden;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: scrollBrands 24s linear infinite;
}

.brands-track img {
    height: 120px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: brightness(1.25) contrast(1.1);
    transition: 0.3s ease;
}

.brands-track img:hover {
    opacity: 1;
    transform: scale(1.08);
}

@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================== */
/* SECTION HEADINGS */
/* =========================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;

    margin-bottom: 5rem;
}

.section-heading h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-family: var(--font-display);
    color: var(--primary);

    line-height: 1;
    margin-top: 1rem;
}

.section-heading p {
    max-width: 500px;
    line-height: 1.9;
    color: var(--text-light);
}

.section-tag {
    font-family: var(--font-label);

    text-transform: uppercase;
    letter-spacing: .18em;

    color: var(--blue-sky-darker);
    font-size: .8rem;
}

.section-tag.light {
    color: var(--white-60);
}

/* =========================== */
/* MODALITIES */
/* =========================== */

.modalities {
    background: var(--surface-container-low);
}

.modalities-header {
    text-align: center;
    margin-bottom: 4rem;
}

.modalities-header span {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.modalities-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary);
    margin-top: 1rem;
    font-family: var(--font-display);
}

.modalities-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modality-item {
    background: var(--surface);

    border: 1px solid var(--outline);

    border-radius: 36px;

    padding: 2rem;

    transition: .5s ease;

    overflow: hidden;
}

.modality-item.active {
    border-color: var(--blue-sky-dark);
}

.modality-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    cursor: pointer;
}

.modality-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modality-icon {
    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: rgba(0, 60, 135, 0.1);

    flex-shrink: 0;
}

.modality-icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
}

.modality-left h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.modality-left p {
    color: var(--text-light);
}

.modality-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;

    border: none;
    background: transparent;

    color: var(--blue-sky-dark);

    font-weight: 600;

    cursor: pointer;
}

.modality-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;

    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;

    padding-top: 0;
    margin-top: 0;
    border-top: 0 solid transparent;

    transform: translateY(-10px);

    transition:
        height .65s ease,
        opacity .35s ease,
        transform .45s ease,
        padding-top .45s ease,
        margin-top .45s ease;
}

.modality-item.active .modality-content {
    height: 280px;
    opacity: 1;
    pointer-events: auto;

    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--outline);

    transform: translateY(0);
}

.modality-description p {
    line-height: 2;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.modality-description ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    list-style: none;
}

.modality-description li {
    display: flex;
    align-items: center;
    gap: .8rem;

    color: var(--primary);
}

.modality-description li .material-symbols-outlined {
    color: var(--blue-sky-dark);
}

.modality-image {
    border-radius: 24px;
    overflow: hidden;
    height: 220px;
}

.modality-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modalities .container {
    max-width: 960px;
}

.modality-icon.dark {
    background: var(--text);
}

.modality-icon.dark .material-symbols-outlined {
    color: var(--white);
}

.modality-item.active {
    background: var(--surface-container-low);
}

.modality-toggle .material-symbols-outlined {
    transition: transform .3s ease;
}

.modality-item.active .modality-toggle .material-symbols-outlined {
    transform: rotate(90deg);
}

/* =========================== */
/* METHODOLOGY */
/* =========================== */

.methodology {
    background: var(--surface);
    padding: 2rem 0 2rem;
}

.methodology-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 4rem;

    min-height: 460px;

    padding: 4.5rem;

    border-radius: 42px;

    background:
        radial-gradient(circle at 72% 45%,
            rgba(174, 198, 255, 0.35),
            transparent 28%),
        linear-gradient(135deg,
            var(--primary) 0%,
            var(--primary-container) 58%,
            var(--primary) 100%);

    box-shadow:
        0 28px 70px rgba(0, 60, 135, 0.22);

    color: var(--white);
}

.methodology-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(120deg,
            rgba(255, 255, 255, 0.10),
            transparent 40%);

    pointer-events: none;
}

.methodology-card::after {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: 10%;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background: rgba(174, 198, 255, 0.35);
    filter: blur(100px);

    pointer-events: none;
}

.methodology-content {
    position: relative;
    z-index: 2;
}

.methodology-content .section-tag {
    color: var(--blue-sky-dark);
}

.methodology-content h2 {
    max-width: 560px;

    margin: 1rem 0 1.5rem;

    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3vw, 3rem);
    line-height: 1.05;

    color: var(--white);
}

.methodology-content p {
    max-width: 560px;

    color: var(--white-80);

    font-size: 1.08rem;
    line-height: 1.8;
}

.methodology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    margin-top: 2rem;
}

.methodology-tags>span {
    display: inline-flex;
    align-items: center;
    gap: .6rem;

    padding: .75rem 1.1rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);

    color: var(--white);

    font-size: .82rem;
    font-weight: 700;
}

.methodology-tags .material-symbols-outlined {
    color: var(--blue-sky-dark);
    font-size: 1.2rem;
}

.methodology-video {
    position: relative;
    z-index: 2;
}

.video-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 26px;

    background: var(--surface-container-low);

    border: 8px solid rgba(255, 255, 255, 0.55);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(174, 198, 255, 0.55);
}

.video-placeholder {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 52%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 52%, #0a1730 100%);
}

.video-play-button {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: grid;
    place-items: center;
    gap: .75rem;

    width: 100%;
    height: 100%;

    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.video-play-button .material-symbols-outlined {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);

    font-size: 2.6rem;
}

.video-play-button span:last-child {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.live-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;

    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: .45rem .8rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.92);

    color: var(--primary);

    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.live-badge span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--error, #ba1a1a);

    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.75);
    }
}

/* =========================== */
/* TESTIMONIALS */
/* =========================== */

.testimonials {
    background: var(--surface-container-low);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.rating-line {
    display: inline-flex;
    align-items: center;
    gap: .8rem;

    margin-bottom: 1rem;

    color: var(--primary);
    font-weight: 700;
}

.rating-line span,
.stars {
    color: #f6b300;
    letter-spacing: .08em;
}

.testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--primary);
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;

    animation: testimonialsScroll 38s linear infinite;
}

.testimonial-card {
    width: 390px;
    flex-shrink: 0;

    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 28px;

    padding: 2rem;

    box-shadow: var(--shadow-soft);
    transition: .35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-sky-dark);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.8rem;
}

.avatar {
    margin-left: auto;
}

.avatar.blue {
    background: var(--primary-container);
}

.avatar.soft {
    background: var(--blue-sky-dark, #efdbff);
    color: var(--blue-sky-dark);
}

.testimonial-top h3 {
    color: var(--primary);
    font-size: 1rem;
}

.google-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
}

@keyframes testimonialsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================== */
/* VISIT / MAP */
/* =========================== */

.visit {
    background: var(--surface);
}

.visit-card {
    display: grid;
    grid-template-columns: 2fr 1fr;

    overflow: hidden;

    border-radius: 36px;

    background: var(--surface);

    border: 1px solid var(--outline);

    box-shadow:
        0 24px 60px rgba(16, 24, 40, 0.14);
}

.map-wrapper {
    min-height: 460px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;
}

.visit-content {
    padding: 4rem 3.5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-content h2 {
    font-family: var(--font-display);
    color: var(--primary);

    font-size: 2rem;

    margin: 1rem 0 2rem;
}

.visit-info {
    display: grid;
    gap: 2rem;
}

.visit-info>div {
    display: flex;
    gap: 1rem;
}

.visit-info .material-symbols-outlined {
    color: var(--blue-sky-dark);
}

.visit-info p {
    color: var(--text);
    line-height: 1.6;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    margin-top: 3rem;

    color: var(--primary);
    font-weight: 800;
}

.maps-link:hover {
    color: var(--blue-sky);
}

/* =========================== */
/* FOOTER */
/* =========================== */

.footer {
    position: relative;

    background:
        linear-gradient(135deg,
            var(--footer-bg-primary),
            var(--footer-bg-secondary));
    color: var(--white);

    margin-top: 0;
    overflow: hidden;
}

.footer::before {

    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right,
            rgba(46, 140, 166, 0.18),
            transparent 35%);
    pointer-events: none;
}

.footer-grid {
    position: relative;

    z-index: 2;

    display: grid;
    grid-template-columns:
        1.2fr 1fr 1fr 1fr;

    gap: 4rem;

    padding: 5rem 0 4rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.footer-brand p {
    color: var(--white-60);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.footer-brand img {
    width: 280px;
    max-width: 100%;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    transition: .3s ease;
}

.footer-socials svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.footer-socials a:hover {
    transform: translateY(-4px);
    background: var(--blue-sky);
}

.footer-column h4 {
    font-size: .8rem;
    letter-spacing: .2em;
    margin-bottom: 2rem;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: var(--white-60);
    margin-bottom: 1rem;
    transition: .25s ease;
}

.footer-column a:hover {
    color: var(--blue-sky);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item span {
    color: var(--blue-sky);
}

.footer-contact-item p {
    color: var(--white-60);
    line-height: 1.7;
}

.footer-newsletter-text {
    color: var(--white-60);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-form input {
    height: 58px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.05);

    border-radius: 16px;

    padding: 0 1.2rem;

    color: var(--white);

    outline: none;
}

.footer-form input::placeholder {
    color: var(--white-60);
}

.footer-form button {
    height: 58px;

    border: none;
    border-radius: 16px;

    background:
        linear-gradient(135deg,
            var(--blue-sky) 0%,
            var(--blue-sky-dark) 40%);

    color: var(--white);

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 10px 30px rgba(46, 140, 166, 0.28);
}

.footer-form button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 40px rgba(46, 140, 166, 0.38);
}

.footer-bottom {
    position: relative;

    z-index: 2;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 2rem 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--white-60);
    font-size: .85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white-60);
    font-size: .9rem;
    transition: .25s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================== */
/* WHATSAPP FLOAT */
/* =========================== */

.whatsapp-float {
    position: fixed;

    right: 2rem;
    bottom: 2rem;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background:
        linear-gradient(135deg,
            #25D366,
            #1ebe5d);

    color: white;

    z-index: 998;

    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.35);

    transition:
        transform .3s ease,
        bottom .3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}


/* =========================== */
/* REVEAL */
/* =========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================== */
/* LEAD PAGES */
/* =========================== */

.lead-page {
    background: var(--surface);
}

.lead-hero {
    position: relative;
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.lead-bg {
    position: absolute;
    inset: 0;
}

.lead-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(0, 28, 68, 0.92),
            rgba(0, 60, 135, 0.72),
            rgba(130, 29, 218, 0.25));
}

.lead-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.1fr 420px;
    gap: 5rem;
    align-items: center;

    padding: 5rem 0;
}

.lead-copy {
    color: var(--white);
    max-width: 760px;
}

.lead-logo {
    width: 260px;
    margin-bottom: 2rem;
}

.lead-kicker {
    display: block;
    margin-bottom: 1.2rem;

    color: var(--tertiary-fixed-dim, #47d6ff);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.lead-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: .98;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.lead-copy p {
    color: var(--white-80);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lead-copy ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.lead-copy li {
    color: var(--white);
    font-weight: 600;
}

.lead-copy li::before {
    content: "✓";
    color: var(--blue-sky-dark);
    margin-right: .7rem;
    font-weight: 900;
}

.lead-form {
    background: var(--white);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.lead-form h2 {
    margin: -2rem -2rem 1.5rem;
    padding: 1.5rem 2rem;

    border-radius: 30px 30px 0 0;

    background: var(--primary);
    color: var(--white);

    text-align: center;
    font-family: var(--font-display);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--outline);
    padding: 1rem 0;
    margin-bottom: .7rem;
    outline: none;
    font-size: 1rem;
    color: var(--text);
    background: transparent;
}

.lead-form textarea {
    min-height: 90px;
    resize: none;
}

.lead-form small {
    display: block;
    margin: 1.2rem 0;
    color: var(--text-light);
}

.lead-form button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 1.1rem 1.5rem;

    background: linear-gradient(135deg, var(--primary-container), var(--blue-sky-dark) 120%);
    color: var(--white);

    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

.lead-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(130, 29, 218, .28);
}



/* ========================= */
/* RESPONSIVE */
/* ========================= */

.mobile-menu {
    display: none;
}

@media (max-width: 992px) {

    .navbar-top {
        display: none;
    }

    .navbar-links {
        display: none;
    }

    .menu-btn {
        display: grid;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1401;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.24);
        backdrop-filter: blur(14px);
    }

    .hero-card {
        padding: 4rem 2rem;
    }

    .hero-logo {
        width: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .menu-btn {
        display: grid;
    }

    .menu-btn.active {
        z-index: 1401;
    }

    .mobile-menu {
        display: flex;
    }

    .methodology-card {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .visit-card {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 360px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lead-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lead-form {
        max-width: 520px;
    }

    .modality-top {
        align-items: flex-start;
    }

    .modality-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modality-item.active .modality-content {
        height: auto;
    }

    .modality-image {
        height: 260px;
    }

}

@media (max-width: 768px) {

    .hero {
        min-height: calc(100vh - 80px);
    }

    .hero-copy {
        padding: 5rem 0;
    }

    .hero-logo {
        width: 220px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-card {
        border-radius: 28px;
    }

    .about-card {
        padding: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .experience-number {
        font-size: 4rem;
    }

    .methodology-card {
        padding: 2rem;
        border-radius: 30px;
    }

    .modality-item {
        padding: 1.5rem;
        border-radius: 28px;
    }

    .modality-top {
        flex-direction: column;
        gap: 1rem;
    }

    .modality-left {
        width: 100%;
    }

    .modality-toggle {
        align-self: flex-start;
    }

    .modality-content {
        gap: 1.25rem;
    }

    .modality-item.active .modality-content {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .modality-description p {
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .modality-image {
        height: 220px;
    }

    .methodology-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-play {
        width: 68px;
        height: 68px;
    }

    .testimonial-card,
    .visit-content {
        padding: 2rem;
    }

    .map-wrapper {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .lead-hero {
        min-height: auto;
    }

    .lead-grid {
        padding: 4rem 0;
    }

    .lead-logo {
        width: 220px;
    }

    .lead-copy h1 {
        font-size: 3rem;
    }
}

/* ========================= */
/* LEAD PAGES NAVBAR FIX */
/* ========================= */

.lead-page .navbar {
    position: sticky;
    background: rgba(7, 21, 47, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-page .navbar.scrolled {
    background: rgba(7, 21, 47, 0.96);
}

.lead-page .navbar-links a {
    color: var(--white);
}

.lead-page .navbar-links a:hover {
    color: var(--blue-sky);
}

.lead-page .navbar-logo img {
    filter: brightness(100);
}

.lead-page .lead-hero {
    min-height: calc(100vh - 120px);
}

.menu-btn.active {
    background: rgba(255, 255, 255, 0.18);
}