:root {
    --eidt-azul: #006bb3;
    --eidt-azul-oscuro: #005291;
    --eidt-azul-claro: #2e8fd6;
    --eidt-naranja: #f39c12;
    --eidt-naranja-soft: #ffd99d;
    --eidt-verde: #7fb3a6;
    --eidt-body-bg: #f4f5fb;
    --eidt-card-bg: #ffffff;
    --eidt-border-soft: #e4e6f1;
    --eidt-text: #0f172a;
    --eidt-text-soft: #64748b;
    --eidt-footer-blue: #005291;
    --eidt-footer-blue-dark: #00467c;
    --shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 24px 48px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--eidt-body-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        sans-serif;
    color: var(--eidt-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

/* PRELOADER */

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #e7f1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-loader__inner {
    text-align: center;
}

.site-loader__logo-pill {
    background: #e5e7eb;
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.site-loader__logo {
    display: block;
    max-height: 54px;
    width: auto;
    animation: eidtPulse 1.6s ease-in-out infinite;
}

.site-loader__text {
    display: block;
    margin-top: 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f2933;
    opacity: 0.8;
}

@keyframes eidtPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--eidt-azul);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.navbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
}

.navbar__brand-pill {
    background: #dfe4ea;
    border-radius: 999px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.navbar__brand-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.navbar__brand-pill img {
    height: 34px;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.navbar__menu a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar__menu a:hover,
.navbar__menu a.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.navbar__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.navbar__toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    display: block;
}

/* HERO */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 4rem;
    background: radial-gradient(
            circle at top left,
            rgba(46, 143, 214, 0.12),
            transparent 28%
        ),
        linear-gradient(180deg, #f9fbff 0%, #f4f5fb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.4rem;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    max-width: 760px;
    color: var(--eidt-text);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--eidt-azul);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.lead {
    margin: 0;
    max-width: 760px;
    color: var(--eidt-text-soft);
    font-size: 1.04rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.3rem;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--eidt-border-soft);
    color: var(--eidt-text-soft);
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hero-panel {
    background: linear-gradient(
        135deg,
        var(--eidt-azul) 0%,
        var(--eidt-azul-oscuro) 100%
    );
    color: #ffffff;
    border-radius: 1.8rem;
    padding: 1.35rem;
    box-shadow: var(--shadow-medium);
    display: grid;
    gap: 1rem;
}

.hero-panel__block {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    padding: 1rem 1rem;
}

.hero-panel__block h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.hero-panel__block p,
.hero-panel__block span {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.65;
}

.hero-panel__accent {
    background: rgba(243, 156, 18, 0.14);
    border-color: rgba(243, 156, 18, 0.24);
}

.hero-panel__accent strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    color: #ffffff;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.92rem 1.25rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--eidt-azul-claro),
        var(--eidt-azul)
    );
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 107, 179, 0.2);
}

.btn-secondary {
    background: #ffffff;
    color: var(--eidt-azul);
    border-color: var(--eidt-border-soft);
}

.btn-secondary:hover {
    background: #f8fafc;
}

/* SECTIONS */

.info-section,
.split-section {
    padding: 4rem 0;
}

.section-grid,
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.section-copy h2,
.split-card h2,
.contact-strip h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.1;
    color: var(--eidt-text);
}

.section-copy p,
.split-card p,
.contact-strip p {
    margin: 0;
    color: var(--eidt-text-soft);
    line-height: 1.75;
}

.section-list,
.split-card {
    background: #ffffff;
    border: 1px solid var(--eidt-border-soft);
    border-radius: 1.5rem;
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.section-list {
    display: grid;
    gap: 1rem;
}

.section-list article {
    padding: 0.3rem 0 0.8rem;
    border-bottom: 1px solid #edf0f7;
}

.section-list article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.section-list h3 {
    margin: 0 0 0.35rem;
    font-size: 1.04rem;
    color: var(--eidt-text);
}

.section-list p {
    margin: 0;
    color: var(--eidt-text-soft);
}

.split-card--soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.step-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.step-badge {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 999px;
    background: #e7f1fb;
    color: var(--eidt-azul);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.step-item p {
    margin: 0;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
}

.inline-links a {
    color: var(--eidt-azul);
    font-weight: 700;
}

.inline-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CONTACT STRIP */

.contact-strip {
    padding: 0 0 4rem;
}

.contact-strip__inner {
    background: linear-gradient(
        135deg,
        var(--eidt-azul) 0%,
        var(--eidt-azul-oscuro) 100%
    );
    color: #ffffff;
    border-radius: 1.8rem;
    padding: 1.7rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    box-shadow: var(--shadow-medium);
}

.contact-strip__inner .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.contact-strip__inner h2,
.contact-strip__inner p {
    color: #ffffff;
}

.contact-strip__inner p {
    opacity: 0.9;
}

/* FOOTER */

.site-footer {
    margin-top: auto;
    color: #ffffff;
    background: var(--eidt-footer-blue);
}

.site-footer__main {
    background: var(--eidt-footer-blue);
    padding: 1.2rem 0 0.9rem;
}

.site-footer__top {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.site-footer__headline {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.site-footer__nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.site-footer__nav a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__bottom {
    background: var(--eidt-footer-blue-dark);
    padding: 0.9rem 0;
}

.site-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

.fx-cuby {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}

.fx-cuby__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.fx-cuby__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.fx-cuby__name {
    color: #ff7b00;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.fx-cuby__link:hover .fx-cuby__name {
    filter: brightness(1.05);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* CONTACT FORM */

.contact-form {
    margin-top: 1.2rem;
}

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

.form-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.form-field label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--eidt-text);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--eidt-border-soft);
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--eidt-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--eidt-azul-claro);
    box-shadow: 0 0 0 3px rgba(46, 143, 214, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* ALERTS */

.alert {
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    margin: 1rem 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.alert--success {
    background: #ecfdf5;
    color: #166534;
    border-color: #bbf7d0;
}

.alert--error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

/* CONTACT FORM */

.contact-form {
    margin-top: 1.2rem;
}

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

.form-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.form-field label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--eidt-text);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--eidt-border-soft);
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--eidt-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--eidt-azul-claro);
    box-shadow: 0 0 0 3px rgba(46, 143, 214, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* TOAST */

.site-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1500;
    min-width: 280px;
    max-width: 420px;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.site-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-toast--success {
    background: linear-gradient(135deg, #15803d, #16a34a);
}

.site-toast--error {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .site-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE */

@media (max-width: 920px) {
    .hero-grid,
    .section-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .contact-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .navbar__toggle {
        display: inline-flex;
    }

    .navbar__menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        background: #ffffff;
        border: 1px solid var(--eidt-border-soft);
        border-radius: 1rem;
        padding: 0.75rem;
        box-shadow: var(--shadow-soft);
    }

    .navbar__menu.is-open {
        display: flex;
    }

    .navbar__menu a {
        color: var(--eidt-text);
        border-radius: 0.8rem;
        padding: 0.75rem 0.9rem;
    }

    .navbar__menu a:hover,
    .navbar__menu a.is-active {
        background: #eef6fd;
        color: var(--eidt-azul);
    }
}

@media (max-width: 640px) {
    .hero-section,
    .info-section,
    .split-section {
        padding: 3rem 0;
    }

    .contact-strip {
        padding-bottom: 3rem;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .site-footer__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__nav {
        gap: 0.75rem;
    }

    .navbar {
        min-height: 76px;
    }

    .navbar__brand-pill img {
        height: 32px;
    }
}
