:root {
    --brand-primary: #c24f17;
    --brand-primary-strong: #a94413;
    --brand-secondary: #53a5b7;
    --brand-ink: #15243c;
    --brand-surface: #0f1a2b;
    --brand-surface-alt: #132238;
    --brand-text: #ecf1f7;
    --brand-text-soft: #b6c3d4;
    --brand-border: rgba(182, 195, 212, 0.2);
    --brand-shadow-soft: 0 16px 40px rgba(2, 7, 14, 0.45);
    --brand-shadow-strong: 0 24px 58px rgba(2, 7, 14, 0.55);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.6rem;
    --home-nav-offset: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Inter", "Nunito Sans", sans-serif;
    color: var(--brand-text);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand-secondary) 10%, transparent), transparent 46%),
        var(--brand-surface);
    overflow-x: hidden;
}

.home-landing .container {
    width: min(94vw, 1240px);
}

@media (min-width: 1400px) {
    .home-landing .container {
        width: min(93vw, 1380px);
    }
}

@media (min-width: 1800px) {
    .home-landing .container {
        width: min(92vw, 1480px);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#servicios,
#proceso,
#faq {
    scroll-margin-top: 92px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-secondary) 80%, white 20%);
    outline-offset: 2px;
    box-shadow: none !important;
}

.navbar {
    background: color-mix(in srgb, var(--brand-ink) 90%, transparent);
    backdrop-filter: blur(12px);
    padding: 0.62rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
    background: color-mix(in srgb, var(--brand-ink) 95%, transparent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    border-bottom-color: rgba(255, 255, 255, 0.13);
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.logo-container {
    background-color: #fff;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar-brand:hover .logo-container {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.login-btn {
    margin-left: 0.65rem;
    border-radius: 999px;
    padding: 0.42rem 1.35rem;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

.hero-section {
    position: relative;
    min-height: calc(100vh + var(--home-nav-offset));
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(9, 18, 31, 0.88) 20%, rgba(18, 34, 58, 0.78) 72%),
        radial-gradient(circle at 80% 10%, rgba(83, 165, 183, 0.28), transparent 42%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    font-size: 0.84rem;
}

.hero-section h1 {
    font-size: clamp(1.9rem, 4.1vw, 3.35rem);
    margin-bottom: 0.7rem;
    text-wrap: balance;
    max-width: 18ch;
    margin-inline: auto;
    line-height: 1.07;
}

.hero-section h2 {
    font-size: clamp(1.08rem, 1.65vw, 1.6rem);
    margin-bottom: 1.15rem;
    font-weight: 700;
    opacity: 0.95;
    line-height: 1.2;
}

.hero-section p {
    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    max-width: 70ch;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.78rem;
}

.hero-section .btn-primary,
.cta-section .btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(194, 79, 23, 0.32);
}

.hero-section .btn-primary:hover,
.cta-section .btn-primary:hover {
    background-color: var(--brand-primary-strong);
    border-color: var(--brand-primary-strong);
    transform: translateY(-2px);
}

.hero-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.hero-actions .btn {
    min-height: 44px;
}

.hero-section .btn-outline-light:hover {
    color: var(--brand-ink);
    background: #fff;
    border-color: #fff;
}

.services-section,
.benefits-section,
.digital-results-section,
.faq-section,
.cta-section,
.footer {
    position: relative;
}

@supports (content-visibility: auto) {
    .services-section,
    .digital-results-section,
    .benefits-section,
    .faq-section,
    .cta-section,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 900px;
    }
}

.services-section,
.benefits-section,
.digital-results-section,
.process-section,
.faq-section {
    padding: 94px 0;
}

.services-section {
    background-color: var(--brand-surface-alt);
}

.digital-results-section,
.faq-section {
    background-color: var(--brand-surface);
}

.benefits-section {
    background-color: color-mix(in srgb, var(--brand-surface) 92%, white 8%);
}

.process-section {
    background: color-mix(in srgb, var(--brand-surface-alt) 88%, white 12%);
}

.trust-bar {
    background: color-mix(in srgb, var(--brand-surface) 94%, transparent);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}

.trust-item {
    border: 1px solid var(--brand-border);
    background: color-mix(in srgb, var(--brand-surface) 84%, #ffffff 16%);
    border-radius: 999px;
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    color: var(--brand-text);
    box-shadow: 0 8px 20px rgba(15, 27, 43, 0.06);
    font-size: 0.86rem;
}

.trust-item i {
    color: var(--brand-primary);
}

.section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    margin-bottom: 0.7rem;
    color: var(--brand-text);
    text-wrap: balance;
    line-height: 1.12;
}

.section-subtitle {
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    color: var(--brand-text-soft);
    margin-bottom: 1.85rem;
    text-wrap: balance;
}

.service-card {
    background: color-mix(in srgb, var(--brand-surface) 88%, #ffffff 12%);
    border: 1px solid var(--brand-border);
    padding: clamp(1.1rem, 1.6vw, 1.4rem) clamp(0.95rem, 1.2vw, 1.2rem);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 24px rgba(15, 27, 43, 0.06);
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 27, 43, 0.1);
    border-color: color-mix(in srgb, var(--brand-secondary) 50%, var(--brand-border));
}

.service-card .icon-box,
.benefit-icon {
    width: 62px;
    height: 62px;
    background:
        linear-gradient(145deg,
        color-mix(in srgb, var(--brand-primary) 18%, transparent),
        color-mix(in srgb, var(--brand-secondary) 18%, transparent));
    border: 1px solid color-mix(in srgb, var(--brand-secondary) 50%, var(--brand-border));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon-box {
    margin: 0 auto 1.15rem;
}

.service-card .icon-box i,
.benefit-icon i {
    font-size: 1.45rem;
    color: var(--brand-primary);
}

.service-card h3,
.benefit-content h3 {
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    margin-bottom: 0.52rem;
    color: var(--brand-text);
    line-height: 1.16;
    text-wrap: balance;
}

.service-card p,
.benefit-content p,
.footer p {
    color: var(--brand-text-soft);
}

.benefit-item {
    margin-bottom: 1.1rem;
    background: color-mix(in srgb, var(--brand-surface) 90%, #ffffff 10%);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    padding: 1.05rem 1rem;
    box-shadow: 0 10px 24px rgba(15, 27, 43, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefits-section .benefits-grid > [class*="col-"] {
    display: flex;
}

.benefits-section .benefits-grid .benefit-item {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 27, 43, 0.1);
}

.benefit-icon {
    flex: none;
    width: 62px;
    height: 62px;
    aspect-ratio: 1 / 1;
    margin: 0 0 0.85rem 0;
}

.benefits-section .benefit-content {
    width: 100%;
}

.process-section .btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 10px 26px rgba(194, 79, 23, 0.32);
}

.process-section .btn-primary:hover,
.process-section .btn-primary:focus-visible {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(194, 79, 23, 0.34);
}

.process-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--brand-surface) 88%, #ffffff 12%);
    box-shadow: 0 10px 24px rgba(15, 27, 43, 0.06);
    padding: 1.25rem 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 27, 43, 0.1);
    border-color: color-mix(in srgb, var(--brand-secondary) 50%, var(--brand-border));
}

.process-card h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    margin-bottom: 0.6rem;
    color: var(--brand-text);
    line-height: 1.16;
    text-wrap: balance;
}

.process-card p {
    color: var(--brand-text-soft);
    margin-bottom: 0;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--brand-primary-strong);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 40%, var(--brand-border));
    background: color-mix(in srgb, var(--brand-primary) 14%, #fff 86%);
}

.faq-section .card {
    border-radius: 1rem;
    border: 1px solid var(--brand-border);
    background: color-mix(in srgb, var(--brand-surface) 86%, #ffffff 14%);
    box-shadow: 0 10px 22px rgba(15, 27, 43, 0.06);
}

.faq-section .card h3 {
    color: var(--brand-text);
}

.faq-section .card p {
    color: var(--brand-text-soft);
}

.cta-section {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand-ink) 92%, black 8%) 0%, color-mix(in srgb, var(--brand-ink) 82%, var(--brand-secondary) 18%) 100%);
    color: #fff;
    padding: 84px 0;
}

.cta-section h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.65rem);
    margin-bottom: 1rem;
    text-wrap: balance;
}

.cta-section p {
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    opacity: 0.95;
    text-wrap: balance;
}

.footer {
    background: color-mix(in srgb, var(--brand-ink) 96%, black 4%);
    padding: 78px 0 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
}

.footer-brand-section .logo-container {
    width: 50px;
    height: 50px;
    padding: 3px;
}

.footer-brand-section .logo-container img {
    width: 100%;
    height: 100%;
}

.footer h5,
.footer .h5,
.footer h3 {
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a:hover,
.footer a:hover {
    color: var(--brand-primary);
}

.footer-tagline,
.footer ul li a,
.footer p,
.contact-info li {
    color: rgba(255, 255, 255, 0.82);
}

.contact-info li i {
    margin-right: 10px;
    color: var(--brand-primary);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    margin-right: 8px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.social-links a:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

hr {
    background-color: rgba(255, 255, 255, 0.12);
}

.reveal-init {
    opacity: 0;
    transform: translateY(18px);
}

.reveal-init.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 991.98px) {
    :root {
        --home-nav-offset: 68px;
    }

    .navbar-collapse {
        background-color: rgba(6, 16, 30, 0.94);
        padding: 0.9rem;
        border-radius: 0.85rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .login-btn {
        margin-left: 0;
        margin-top: 0.55rem;
        display: inline-block;
    }

    .hero-section {
        min-height: calc(100vh + var(--home-nav-offset));
    }

    .hero-section h1 {
        max-width: 20ch;
    }

    .hero-section h2 {
        max-width: 32ch;
        margin-inline: auto;
    }

    .hero-section p {
        max-width: 60ch;
    }

    .services-section,
    .benefits-section,
    .digital-results-section,
    .process-section,
    .faq-section,
    .cta-section {
        padding: 72px 0;
    }
}

@media (max-width: 767.98px) {
    :root {
        --home-nav-offset: 64px;
    }

    .hero-section {
        height: 100svh;
        min-height: 100svh;
    }

    .hero-section .container {
        height: 100%;
        display: flex;
        align-items: center;
        padding-top: 84px;
        padding-bottom: 24px;
    }

    .hero-section .row {
        align-items: center !important;
    }

    .hero-section .col-xl-10 {
        text-align: left !important;
    }

    .hero-eyebrow {
        font-size: 0.82rem;
        padding: 0.4rem 0.7rem;
    }

    .hero-section .hero-actions .btn,
    .cta-section .hero-actions .btn {
        width: auto;
        max-width: none;
        min-height: 40px;
        padding: 0.72rem 1.1rem !important;
        font-size: 0.92rem;
        letter-spacing: 0.01em;
    }

    .hero-section h1 {
        line-height: 1.1;
        margin-bottom: 0.55rem;
        margin-inline: 0;
        max-width: 16ch;
    }

    .hero-section h2 {
        margin-bottom: 1rem;
        margin-inline: 0;
        max-width: 24ch;
    }

    .hero-section p {
        max-width: 32ch;
        margin-inline: 0;
    }

    .hero-media img {
        object-position: center;
    }

    .hero-trust {
        display: none;
    }

    .hero-actions {
        justify-content: flex-start;
        gap: 0.45rem;
    }

    .services-section,
    .digital-results-section,
    .process-section,
    .benefits-section,
    .faq-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .section-subtitle {
        margin-bottom: 1.15rem;
    }

    .service-card,
    .process-card,
    .benefit-item {
        padding: 1.02rem 0.95rem;
    }

    .trust-item {
        border-radius: 12px;
        text-align: left;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto 0.8rem auto;
    }
}

@media (max-width: 360px) {
    .hero-section .container {
        padding-top: 76px;
        padding-bottom: 18px;
    }

    .hero-eyebrow {
        font-size: 0.76rem;
        padding: 0.34rem 0.58rem;
    }

    .hero-section h1 {
        font-size: clamp(1.55rem, 8.2vw, 1.85rem);
        max-width: 14ch;
    }

    .hero-section h2 {
        font-size: clamp(0.98rem, 4.8vw, 1.08rem);
        max-width: 22ch;
        margin-bottom: 0.85rem;
    }

    .hero-section p {
        font-size: 0.95rem;
        max-width: 30ch;
    }

    .hero-section .hero-actions .btn,
    .cta-section .hero-actions .btn {
        min-height: 38px;
        padding: 0.62rem 0.95rem !important;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-init {
        opacity: 1 !important;
        transform: none !important;
    }
}
