@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap");

:root {
    --navy-950: #04101d;
    --navy-900: #061525;
    --navy-800: #0b2138;
    --blue-700: #0f5fd7;
    --blue-600: #1677ff;
    --blue-500: #2e87ff;
    --blue-400: #63a8ff;
    --turquoise-600: #00a990;
    --turquoise-500: #00c2a8;
    --turquoise-400: #2bd7c1;
    --violet: #6758dd;
    --white: #ffffff;
    --background: #f4f8fc;
    --surface: #ffffff;
    --border: #dce6ef;
    --text: #152338;
    --text-soft: #62748a;
    --font-heading: "Poppins", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --shadow: 0 18px 55px rgba(5, 20, 35, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-label,
.eyebrow {
    margin-bottom: 10px;
    color: var(--blue-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* DEMO */

.demo-banner {
    position: relative;
    z-index: 1200;
    display: grid;
    min-height: 42px;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 7px 22px;
    background:
        linear-gradient(
            90deg,
            var(--blue-700),
            var(--turquoise-600)
        );
    color: var(--white);
    font-size: 0.78rem;
}

.demo-banner strong {
    letter-spacing: 0.08em;
}

.demo-banner span {
    opacity: 0.85;
}

.demo-banner a {
    font-weight: 800;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 16, 29, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    min-height: 82px;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
}

.brand-symbol {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.brand small {
    color: #92a6bd;
    font-size: 0.66rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a {
    color: #bbc9d8;
    font-size: 0.78rem;
    font-weight: 700;
    transition: color 200ms ease;
}

nav a:hover {
    color: var(--white);
}

.header-cta,
.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 0;
    border-radius: 11px;
    font-weight: 800;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.header-cta {
    background: var(--blue-600);
    color: var(--white);
    font-size: 0.76rem;
}

.header-cta:hover,
.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22,119,255,.25);
}

.mobile-menu {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    background: rgba(255,255,255,.06);
    color: var(--white);
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 38%,
            rgba(22,119,255,.18),
            transparent 32%
        ),
        linear-gradient(
            90deg,
            #04101d 0%,
            #06192c 48%,
            #0b315a 100%
        );
}

.hero-grid {
    display: grid;
    min-height: 680px;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(500px, 1.08fr);
    gap: 45px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero .eyebrow {
    color: var(--turquoise-400);
}

.hero h1 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.75rem, 4.8vw, 4.4rem);
    line-height: 1.04;
}

.hero-description {
    max-width: 600px;
    margin-bottom: 28px;
    color: #c7d3df;
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.button.primary {
    background: var(--blue-600);
    color: var(--white);
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: var(--white);
}

.button.secondary:hover {
    background: rgba(255,255,255,.11);
    transform: translateY(-3px);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: #9fb2c7;
    font-size: 0.74rem;
    font-weight: 700;
}

.hero-points span::first-letter {
    color: var(--turquoise-400);
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-visual img {
    position: absolute;
    top: 50%;
    left: 48%;
    width: 850px;
    max-width: none;
    transform: translate(-50%, -50%);
    filter:
        drop-shadow(
            0 28px 65px
            rgba(0,0,0,.25)
        );
    animation:
        heroFloat
        6s
        ease-in-out
        infinite;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform:
            translate(
                -50%,
                calc(-50% - 9px)
            );
    }
}


/* TRUST */

.trust-strip {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid article {
    padding: 24px 22px;
    border-right: 1px solid var(--border);
}

.trust-grid article:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 3px;
    color: var(--navy-800);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.trust-grid span {
    color: var(--text-soft);
    font-size: 0.72rem;
}


/* HEADINGS */

.section-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(280px, .9fr);
    gap: 55px;
    align-items: end;
    margin-bottom: 48px;
}

.section-heading h2,
.process-heading h2,
.faq-grid h2,
.about-content h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
}

.section-heading > p {
    margin-bottom: 4px;
}


/* SERVICES */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: var(--white);
    box-shadow: 0 14px 38px rgba(5,20,35,.07);
    transition:
        transform 280ms ease,
        box-shadow 280ms ease,
        border-color 280ms ease;
}

.service-card:hover {
    border-color: rgba(22,119,255,.4);
    box-shadow: 0 26px 55px rgba(22,119,255,.14);
    transform: translateY(-9px);
}

.service-card.turquoise:hover {
    border-color: rgba(0,194,168,.45);
}

.service-card.violet:hover {
    border-color: rgba(103,88,221,.38);
}

.service-card > img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform 450ms ease;
}

.service-card:hover > img {
    transform: scale(1.04);
}

.service-content {
    padding: 27px;
}

.service-content > span {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 12px;
    background: rgba(22,119,255,.10);
    color: var(--blue-600);
    font-size: .72rem;
    font-weight: 800;
}

.service-card.turquoise
.service-content > span {
    background: rgba(0,194,168,.11);
    color: var(--turquoise-600);
}

.service-card.violet
.service-content > span {
    background: rgba(103,88,221,.10);
    color: var(--violet);
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    min-height: 78px;
    margin-bottom: 21px;
    color: var(--text-soft);
    font-size: .87rem;
}

.service-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue-600);
    font-size: .82rem;
    font-weight: 800;
}

.service-card.turquoise
.service-link {
    color: var(--turquoise-600);
}

.service-card.violet
.service-link {
    color: var(--violet);
}


/* ABOUT */

.about {
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(420px, .9fr)
        minmax(0, 1.1fr);
    gap: 75px;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 460px;
}

.about-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 28px;
    border-radius: 25px;
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-box::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255,255,255,.18),
            transparent 32%
        );
    content: "";
}

.about-box span,
.about-box strong {
    position: relative;
    z-index: 2;
}

.about-box span {
    margin-bottom: 7px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.about-box strong {
    font-size: .92rem;
}

.about-box.main {
    top: 0;
    left: 0;
    width: 69%;
    height: 72%;
    background:
        linear-gradient(
            145deg,
            var(--navy-950),
            var(--blue-700)
        );
}

.about-box.secondary {
    right: 0;
    bottom: 0;
    width: 57%;
    height: 58%;
    background:
        linear-gradient(
            145deg,
            #075f62,
            var(--turquoise-600)
        );
}

.about-box.small {
    top: 21%;
    right: 4%;
    width: 40%;
    height: 32%;
    background:
        linear-gradient(
            145deg,
            #5146bb,
            var(--violet)
        );
    transform: rotate(5deg);
}

.about-content > p:not(.section-label) {
    margin-bottom: 17px;
    color: var(--text-soft);
}

.check-list {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 26px;
    font-weight: 600;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--turquoise-600);
    content: "✓";
    font-weight: 900;
}


/* PROCESS */

.process {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(22,119,255,.14),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.process .section-label {
    color: var(--turquoise-400);
}

.process-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.process-heading h2 {
    color: var(--white);
}

.process-heading > p:last-child {
    color: #aebfd0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.process-grid article {
    position: relative;
    min-height: 255px;
    padding: 26px 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    transition:
        transform 250ms ease,
        background 250ms ease;
}

.process-grid article:hover {
    background: rgba(255,255,255,.075);
    transform: translateY(-7px);
}

.process-grid span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 45px;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    color: var(--white);
    font-size: .74rem;
    font-weight: 800;
}

.process-grid h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.process-grid p {
    margin-bottom: 0;
    color: #aebfd0;
    font-size: .84rem;
}


/* WHY */

.why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 19px;
}

.why-grid article {
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fbff
        );
    transition:
        transform 250ms ease,
        box-shadow 250ms ease;
}

.why-grid article:hover {
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.why-grid span {
    display: inline-flex;
    width: 41px;
    height: 41px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 11px;
    background: rgba(22,119,255,.09);
    color: var(--blue-600);
    font-size: .7rem;
    font-weight: 800;
}

.why-grid h3 {
    margin-bottom: 9px;
}

.why-grid p {
    margin: 0;
    color: var(--text-soft);
    font-size: .83rem;
}


/* FAQ */

.faq {
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .78fr)
        minmax(0, 1.22fr);
    gap: 70px;
    align-items: start;
}

.faq-grid > div:first-child > p:last-child {
    color: var(--text-soft);
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--text-soft);
    font-size: .85rem;
}


/* CTA */

.final-cta {
    padding: 85px 0;
    background:
        linear-gradient(
            120deg,
            var(--blue-700),
            var(--blue-600) 55%,
            var(--turquoise-600)
        );
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.final-cta .section-label {
    color: rgba(255,255,255,.82);
}

.final-cta h2 {
    max-width: 720px;
    margin-bottom: 11px;
    color: var(--white);
    font-size: clamp(2rem,4vw,3rem);
}

.final-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.84);
}

.button.white {
    flex-shrink: 0;
    background: var(--white);
    color: var(--blue-700);
}


/* FOOTER */

footer {
    padding: 55px 0 22px;
    background: var(--navy-950);
    color: #aebfd0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 35px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid strong {
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-heading);
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    margin: 0 0 6px;
    font-size: .78rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .72rem;
}

.footer-bottom a {
    color: var(--turquoise-400);
}


/* FLOAT */

.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 850;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(4,16,29,.25);
    font-size: 1.3rem;
    font-weight: 900;
    transition: transform 220ms ease;
}

.floating-contact:hover {
    transform: translateY(-4px) scale(1.05);
}


/* MODAL */

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(4,16,29,.72);
    backdrop-filter: blur(6px);
}

.demo-modal.is-open {
    display: grid;
}

.demo-modal-card {
    position: relative;
    width: min(100%, 480px);
    padding: 36px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 30px 90px rgba(0,0,0,.3);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 9px;
    background: #f1f4f7;
    color: var(--text-soft);
    font-size: 1.2rem;
}

.modal-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-weight: 900;
}

.demo-modal-card h2 {
    margin-bottom: 10px;
}

.demo-modal-card > p {
    margin-bottom: 20px;
    color: var(--text-soft);
}

.message-preview {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 13px;
    background: #f4f8fc;
    text-align: left;
}

.message-preview span,
.message-preview strong {
    display: block;
}

.message-preview span {
    margin-bottom: 5px;
    color: var(--text-soft);
    font-size: .69rem;
}

.message-preview strong {
    font-size: .8rem;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    nav {
        gap: 15px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0,.9fr)
            minmax(430px,1.1fr);
    }

    .hero-visual img {
        width: 760px;
    }

    .services-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .process-grid,
    .why-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}


@media (max-width: 860px) {

    .demo-banner {
        grid-template-columns: 1fr auto;
    }

    .demo-banner span {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: fixed;
        top: 124px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        background: rgba(4,16,29,.98);
        box-shadow: 0 20px 50px rgba(0,0,0,.22);
    }

    nav.is-open {
        display: flex;
    }

    nav a {
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .header-cta {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 65px;
        padding-bottom: 30px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-visual img {
        left: 50%;
        width: 760px;
    }

    .trust-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .trust-grid article:nth-child(2) {
        border-right: 0;
    }

    .trust-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .section-heading,
    .about-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        min-height: 420px;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 620px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 75px 0;
    }

    .demo-banner {
        padding-inline: 12px;
        font-size: .66rem;
    }

    .hero h1 {
        font-size: clamp(2.35rem,11vw,3.3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 315px;
    }

    .hero-visual img {
        width: 610px;
    }

    .trust-grid,
    .services-grid,
    .process-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-grid article:last-child {
        border-bottom: 0;
    }

    .about-visual {
        min-height: 360px;
    }

    .about-box.main {
        width: 75%;
        height: 66%;
    }

    .about-box.secondary {
        width: 63%;
        height: 52%;
    }

    .about-box.small {
        width: 43%;
        height: 29%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .final-cta {
        padding: 70px 0;
    }

    .final-cta .button {
        width: 100%;
    }

}
/* ==========================================================
   PASO 13 · MEJORAS TÁCTILES EN MÓVIL
========================================================== */

@media (max-width: 620px) {

    .mobile-menu {
        width: 44px;
        height: 44px;
    }

    .service-link {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        padding-block: 8px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

}

@media (max-width: 390px) {

    .brand small {
        display: none;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

}
