/* =========================================================
   01. SISTEMA VISUAL, RESET Y TIPOGRAFÍA
   ========================================================= */
:root {
    --green: #25D366;
    --blue: #30C4F3;
    --ink: #0F172A;
    --ink2: #111827;
    --slate: #1F2937;
    --copy: #475569;
    --muted: #64748B;
    --white: #fff;
    --cloud: #F8FAFC;
    --line: #E5E7EB;
    --brand: linear-gradient(120deg, var(--green), var(--blue));
    --darkbg: radial-gradient(circle at 82% 12%, rgba(48, 196, 243, .16), transparent 30%), radial-gradient(circle at 5% 94%, rgba(37, 211, 102, .12), transparent 25%), #0F172A;
    --heading: 'Poppins', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --max: 1160px;
    --r1: 12px;
    --r2: 18px;
    --r3: 28px;
    --shadow: 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 18px 48px rgba(15, 23, 42, .10);
    --ease: cubic-bezier(.2, .75, .25, 1)
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 16px/1.65 var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

body.modal-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    cursor: pointer
}

svg {
    max-width: 100%
}

::selection {
    background: rgba(37, 211, 102, .25)
}

:focus-visible {
    outline: 3px solid rgba(48, 196, 243, .8);
    outline-offset: 3px;
}

.container {
    width: 90%;
    margin-inline: auto;
}

.section {
    padding: 90px 0
}

.soft {
    background: var(--cloud)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    color: #087E45;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand)
}

.heading {
    max-width: 740px;
    margin: 0 auto 42px;
    text-align: center
}

.heading h2,
.about-copy h2,
.faq-intro h2 {
    margin: 0 0 14px;
    font: 700 clamp(2rem, 4vw, 2.9rem)/1.16 var(--heading);
    letter-spacing: -.05em
}

.heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem
}

.gradient-text {
    color: var(--green);
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    vertical-align: -.18em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip {
    position: absolute;
    z-index: 10000;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    background: white;
    color: var(--ink)
}

.skip:focus {
    transform: translateY(0)
}

/* =========================================================
   02. BOTONES, HEADER Y TOP BAR
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    text-align: center;
    font-size: .91rem;
    font-weight: 750;
    line-height: 1.2;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn:active {
    transform: translateY(0)
}

.btn-primary {
    color: #052E16;
    background: var(--brand);
    box-shadow: 0 12px 30px rgba(37, 211, 102, .22)
}

.btn-primary:hover {
    box-shadow: 0 16px 36px rgba(37, 211, 102, .3)
}

.btn-dark {
    color: white;
    background: var(--ink)
}

.btn-dark:hover {
    background: #1E293B
}

.btn-outline {
    color: var(--ink);
    border-color: #CBD5E1;
    background: rgba(255, 255, 255, .82)
}

.btn-outline:hover {
    border-color: var(--green);
    background: #F0FDF4
}

.btn-small {
    min-height: 40px;
    padding: 10px 15px;
    font-size: .84rem
}

.btn .icon {
    width: 18px;
    height: 18px
}

.topbar {
    background: #08111F;
    color: #CBD5E1;
    font-size: .74rem
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px
}

.topbar-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.topbar-item .icon {
    width: 14px;
    height: 14px;
    color: var(--green)
}

.topbar a:hover {
    color: white
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    background: rgb(255, 255, 255);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 77px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto
}

.brand img {
    width: 100px;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 27px)
}

.nav a {
    position: relative;
    color: #334155;
    font-size: .84rem;
    font-weight: 650
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--brand);
    transition: right .2s
}

.nav a:hover {
    color: var(--ink)
}

.nav a:hover:after {
    right: 0
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--ink)
}

/* =========================================================
   03. HERO, SVG ORIGINAL Y BENEFICIOS
   ========================================================= */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 78px 0 76px;
    color: white;
    background: var(--darkbg)
}

.hero:before,
.hero:after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%
}

.hero:before {
    width: 700px;
    height: 700px;
    top: -380px;
    right: -180px
}

.hero:after {
    width: 530px;
    height: 530px;
    top: -295px;
    right: -95px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center
}

.hero-copy {
    max-width: 650px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    margin-bottom: 22px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 999px;
    background: rgba(15, 23, 42, .44);
    color: #D1FAE5;
    font-size: .75rem;
    font-weight: 700
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(37, 211, 102, .12)
}

.hero h1 {
    margin: 0 0 22px;
    font: 750 clamp(2.6rem, 5vw, 3.85rem)/1.1 var(--heading);
    letter-spacing: -.06em
}

.hero-lead {
    max-width: 580px;
    margin: 0;
    color: #CBD5E1;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.85
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 29px
}

.hero .btn-outline {
    color: white;
    border-color: rgba(203, 213, 225, .35);
    background: rgba(255, 255, 255, .04)
}

.hero .btn-outline:hover {
    border-color: var(--blue);
    background: rgba(48, 196, 243, .1)
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 39px;
    padding-top: 23px;
    border-top: 1px solid rgba(148, 163, 184, .22)
}

.proof-item {
    display: grid;
    gap: 2px
}

.proof-label {
    color: #94A3B8;
    font-size: .72rem
}

.proof-value {
    font-size: .87rem;
    font-weight: 750
}

.proof-check {
    margin-right: 5px;
    color: var(--green)
}

.hero-visual {
    position: relative;
    min-width: 0;
    perspective: 1000px
}

.hero-art {
    display: block;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    overflow: visible;
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform .22s ease-out;
    filter: drop-shadow(0 28px 45px rgba(0, 0, 0, .22))
}

.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    box-shadow: 0 15px 38px rgba(0, 0, 0, .18);
    animation: float 5s ease-in-out infinite
}

.hero-float.top {
    top: 8%;
    right: -2%
}

.hero-float.bottom {
    bottom: 10%;
    left: -3%;
    animation-delay: -2.3s
}

.float-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 12px;
    color: #087E45;
    background: #DCFCE7
}

.float-icon.blue {
    color: #0369A1;
    background: #E0F2FE
}

.float-text {
    display: grid;
    line-height: 1.35
}

.float-text strong {
    font-size: .77rem
}

.float-text small {
    color: var(--muted);
    font-size: .66rem
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.value-strip {
    border-bottom: 1px solid var(--line);
    background: white
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.value-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 83px;
    padding: 14px 10px;
    border-right: 1px solid var(--line)
}

.value-item:last-child {
    border-right: 0
}

.value-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: #F0FDF4;
    color: #078849
}

.value-item strong {
    display: block;
    font-size: .81rem;
    line-height: 1.35
}

.value-item small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .69rem
}

/* =========================================================
   04. TARJETAS DE SERVICIOS
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: white;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .025);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 211, 102, .7);
    box-shadow: var(--shadow-lg)
}

.service-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 19px;
    border-radius: 16px;
    color: #087E45;
    background: linear-gradient(135deg, #DCFCE7, #E0F2FE)
}

.service-icon .icon {
    width: 26px;
    height: 26px
}

.service-card h3 {
    margin: 0 0 9px;
    font: 700 1.21rem/1.35 var(--heading);
    letter-spacing: -.025em
}

.service-card p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: .9rem
}

.check-list {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: #334155;
    font-size: .83rem
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px
}

.check-list .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: #16A34A
}

.card-footer {
    margin-top: auto;
    padding-top: 5px
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: #087E45;
    font-size: .87rem;
    font-weight: 800
}

.text-link .icon {
    transition: transform .2s
}

.text-link:hover .icon {
    transform: translateX(4px)
}

/* =========================================================
   05. NOSOTROS Y PILARES DE CONFIANZA
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 60px
}

.about-art {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--darkbg)
}

.about-art:before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -90px;
    right: -75px;
    border-radius: 50%;
    background: rgba(48, 196, 243, .16)
}

.about-art:after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -75px;
    left: -50px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .16)
}

.dashboard {
    position: absolute;
    inset: 30px;
    display: grid;
    place-items: center
}

.dashboard-card {
    width: min(100%, 370px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    color: white;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    transform: rotate(-3deg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .2)
}

.dots {
    display: flex;
    gap: 5px;
    margin-bottom: 18px
}

.dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45)
}

.dash-label {
    color: #CBD5E1;
    font-size: .72rem
}

.dash-title {
    margin: 4px 0 18px;
    font: 700 1.3rem/1.3 var(--heading)
}

.chart {
    height: 93px;
    display: flex;
    align-items: end;
    gap: 9px;
    padding: 10px 12px 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(15, 23, 42, .22)
}

.chart span {
    flex: 1;
    min-width: 8px;
    border-radius: 5px 5px 0 0;
    background: var(--brand)
}

.dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px
}

.dash-stat {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    background: rgba(255, 255, 255, .06)
}

.dash-stat strong {
    display: block
}

.dash-stat small {
    color: #CBD5E1;
    font-size: .66rem
}

.about-copy h2 {
    margin-bottom: 18px
}

.about-copy>p {
    margin: 0 0 15px;
    color: var(--copy)
}

.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 21px;
    margin: 27px 0 29px
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 11px
}

.pillar-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #DCFCE7;
    color: #087E45
}

.pillar-icon .icon {
    width: 19px;
    height: 19px
}

.pillar strong {
    display: block;
    margin-bottom: 3px;
    font-size: .9rem
}

.pillar span {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55
}

/* =========================================================
   06. PORTAFOLIO: miniaturas de interfaz creadas en CSS
   ========================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: white;
    transition: transform .25s var(--ease), box-shadow .25s
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg)
}

.project-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 205px;
    padding: 23px;
    overflow: hidden;
    background: var(--art-bg, #F1F5F9)
}

.project-art:before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    top: -110px;
    right: -70px;
    border-radius: 50%;
    background: var(--art-accent, rgba(37, 211, 102, .17))
}

.project-art:after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    bottom: -85px;
    left: -55px;
    border-radius: 50%;
    background: var(--art-accent2, rgba(48, 196, 243, .13))
}

.browser {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    min-height: 142px;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
    transform: rotate(-1deg);
    transition: transform .3s
}

.project-card:hover .browser {
    transform: rotate(0) translateY(-3px)
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8F0
}

.browser-bar i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #CBD5E1
}

.browser-line {
    height: 5px;
    border-radius: 5px;
    background: #E2E8F0
}

.browser-brand {
    width: 34%;
    height: 8px;
    background: var(--art-brand, #0F172A)
}

.browser-body {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 12px;
    align-items: center;
    padding: 12px 2px 2px
}

.browser-head {
    width: 90%;
    height: 12px;
    margin: 10px 0 7px;
    border-radius: 4px;
    background: var(--art-brand, #0F172A)
}

.browser-sub {
    width: 72%;
    height: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    background: #CBD5E1
}

.browser-sub.short {
    width: 52%
}

.browser-button {
    width: 50%;
    height: 13px;
    margin-top: 10px;
    border-radius: 5px;
    background: var(--art-button, #25D366)
}

.browser-image {
    height: 67px;
    border-radius: 8px;
    background: var(--art-image, linear-gradient(135deg, #D1FAE5, #BAE6FD))
}

.project-body {
    padding: 22px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.project-category {
    color: #078849;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.project-domain {
    color: #94A3B8;
    font-size: .69rem;
    overflow-wrap: anywhere
}

.project-body h3 {
    margin: 0 0 8px;
    font: 700 1.18rem var(--heading);
    letter-spacing: -.025em
}

.project-body p {
    min-height: 48px;
    margin: 0 0 17px;
    color: var(--muted);
    font-size: .85rem
}

.project-open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .83rem;
    font-weight: 800
}

.project-open .icon {
    color: #078849
}

.portfolio-note {
    max-width: 800px;
    margin: 23px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: .79rem
}

/* =========================================================
   07. PANELES DE PLANES (CARDS)
   ========================================================= */


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 40px;
}


.pricing-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Destacar el plan recomendado */
.pricing-card.popular {
    border: 2px solid #0284C7;
    /* Ajusta a tu color primario */
}

.plan-badge {
    display: inline-block;
    background: #F1F5F9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.plan-badge.highlight {
    background: #0284C7;
    color: white;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 10px;
}

.plan-price-wrap {
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.04em;
}

.plan-price.text-sm {
    font-size: 1rem;
    color: var(--muted);
}

.plan-currency {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
    margin-left: 5px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 25px;
    min-height: 45px;
    /* Alinea los altos de los textos */
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
    /* Empuja el footer hacia abajo */
}

.plan-features li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-check {
    color: #16A34A;
    margin-top: 4px;
}

.plan-time {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.w-100 {
    width: 100%;
}

/* =========================================================
   ESTILOS DEL MODAL
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748B;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #0F172A;
}

.modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--heading);
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0284C7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

/* =========================================================
   08. CTA INTERMEDIO Y FAQ ACCORDION
   ========================================================= */
.cta-band {
    padding: 0 0 88px;
    background: var(--cloud)
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    padding: 38px 43px;
    border-radius: 24px;
    color: white;
    background: var(--darkbg)
}

.cta-inner:after {
    content: "";
    position: absolute;
    top: -150px;
    right: 18%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 68px rgba(255, 255, 255, .02);
    pointer-events: none
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 650px
}

.cta-copy h2 {
    margin: 0 0 8px;
    font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--heading);
    letter-spacing: -.04em
}

.cta-copy p {
    margin: 0;
    color: #CBD5E1
}

.cta-inner>.btn {
    position: relative;
    z-index: 1;
    flex: 0 0 auto
}

.faq-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 70px;
    align-items: start
}

.faq-intro h2 {
    font-size: clamp(2rem, 3.8vw, 2.7rem)
}

.faq-intro p {
    margin: 0 0 23px;
    color: var(--muted)
}

.faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    font-size: .83rem;
    font-weight: 700
}

.faq-list {
    border-top: 1px solid var(--line)
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 21px 0;
    border: 0;
    background: none;
    color: var(--ink);
    text-align: left;
    font-size: .97rem;
    font-weight: 750;
}

.faq-plus {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: #DCFCE7;
    color: #078849;
    transition: transform .2s
}

.faq-question[aria-expanded="true"] .faq-plus {
    transform: rotate(45deg)
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s var(--ease)
}

.faq-answer-inner {
    overflow: hidden
}

.faq-answer p {
    margin: 0;
    padding: 0 40px 21px 0;
    color: var(--muted);
    font-size: .89rem
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr
}

/* =========================================================
   09. CONTACTO Y FORMULARIOS
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 35px;
    align-items: stretch
}

.form-card {
    padding: 31px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow)
}

.form-card h3 {
    margin: 0 0 7px;
    font: 700 1.45rem/1.25 var(--heading);
    letter-spacing: -.035em
}

.form-card>p {
    margin: 0 0 23px;
    color: var(--muted);
    font-size: .89rem
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.field {
    display: grid;
    gap: 7px;
    min-width: 0
}

.field.full {
    grid-column: 1/-1
}

.field label {
    color: #334155;
    font-size: .81rem;
    font-weight: 750
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #CBD5E1;
    border-radius: 11px;
    color: var(--ink);
    background: #FBFDFF;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.field textarea {
    min-height: 120px;
    resize: vertical
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 0;
    border-color: var(--blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(48, 196, 243, .14)
}

.field [aria-invalid="true"] {
    border-color: #DC2626
}

.field-hint {
    color: var(--muted);
    font-size: .72rem
}

.privacy {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 17px 0 20px;
    color: var(--muted);
    font-size: .74rem
}

.privacy input {
    margin-top: 4px;
    accent-color: #16A34A
}

.form-status {
    min-height: 20px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .79rem
}

.contact-info {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 22px;
    color: white;
    background: var(--darkbg)
}

.contact-info:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -155px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 60px rgba(255, 255, 255, .02);
    pointer-events: none
}

.contact-info>* {
    position: relative;
    z-index: 1
}

.contact-info .eyebrow {
    color: #86EFAC
}

.contact-info h3 {
    max-width: 420px;
    margin: 0 0 14px;
    font: 700 clamp(1.7rem, 3vw, 2.25rem)/1.18 var(--heading);
    letter-spacing: -.045em
}

.contact-info>p {
    margin: 0 0 27px;
    color: #CBD5E1;
    font-size: .92rem
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 0 0 28px
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.contact-line-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    color: #86EFAC;
    background: rgba(255, 255, 255, .06)
}

.contact-line small {
    display: block;
    color: #94A3B8;
    font-size: .71rem
}

.contact-line strong,
.contact-line a {
    display: block;
    overflow-wrap: anywhere;
    color: white;
    font-size: .89rem;
    font-weight: 650
}

.contact-line a:hover {
    color: #86EFAC
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.contact-info .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .04)
}

.contact-info .btn-outline:hover {
    border-color: var(--green);
    background: rgba(37, 211, 102, .09)
}

/* =========================================================
   10. FOOTER, TOASTS, LOADER, MODALES Y ELEMENTOS FLOTANTES
   ========================================================= */
.footer {
    padding: 62px 0 0;
    color: #CBD5E1;
    background: #080F1C
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr 1fr;
    gap: 38px;
    padding-bottom: 42px
}

.footer .brand-name {
    color: white
}

.footer .brand-desc {
    color: #94A3B8
}

.footer-about p {
    max-width: 290px;
    margin: 19px 0;
    color: #94A3B8;
    font-size: .86rem
}

.socials {
    display: flex;
    gap: 9px
}

.socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    color: #CBD5E1;
    transition: background .2s, transform .2s
}

.socials a:hover {
    transform: translateY(-2px);
    background: rgba(37, 211, 102, .18);
    color: white
}

.footer-col h3 {
    margin: 5px 0 17px;
    color: white;
    font-size: .9rem
}

.footer-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none
}

.footer-links a,
.footer-links span {
    color: #94A3B8;
    font-size: .81rem
}

.footer-links a:hover {
    color: #86EFAC
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #64748B;
    font-size: .75rem
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.whatsapp-float {
    position: fixed;
    z-index: 90;
    right: 22px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: #25D366;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .36);
    transition: transform .2s
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03)
}

.whatsapp-float:before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(37, 211, 102, .5);
    border-radius: 50%;
    animation: pulse 2.6s ease-out infinite
}

.whatsapp-float .icon {
    width: 29px;
    height: 29px
}

@keyframes pulse {
    0% {
        transform: scale(.88);
        opacity: .85
    }

    100% {
        transform: scale(1.4);
        opacity: 0
    }
}

.share-float {
    position: fixed;
    z-index: 89;
    right: 29px;
    bottom: 92px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: white;
    box-shadow: var(--shadow)
}

.share-float:hover {
    transform: translateY(-2px)
}

.mobile-cta {
    display: none
}

dialog {
    max-width: min(610px, calc(100% - 28px));
    max-height: min(92vh, 850px);
    padding: 0;
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 22px;
    color: var(--ink);
    background: white;
    box-shadow: 0 35px 100px rgba(2, 6, 23, .32);
    overflow: auto
}

dialog::backdrop {
    background: rgba(2, 6, 23, .67);
    backdrop-filter: blur(5px)
}

.modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 27px 19px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px)
}

.modal-eyebrow {
    margin: 0 0 6px;
    color: #078849;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.modal-head h2 {
    margin: 0;
    font: 700 1.5rem/1.2 var(--heading);
    letter-spacing: -.04em
}

.modal-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    color: var(--ink)
}

.modal-body {
    padding: 23px 27px 27px
}

.modal-description {
    margin: 0 0 19px;
    color: var(--muted);
    font-size: .9rem
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 13px;
    margin: 0 0 23px;
    padding: 0;
    list-style: none
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #334155;
    font-size: .81rem
}

.modal-features .icon {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    color: #16A34A
}

.modal-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--line)
}

.modal-form-title {
    margin: 0 0 15px;
    font: 700 1.08rem var(--heading)
}

.toast-region {
    position: fixed;
    z-index: 9999;
    top: 18px;
    right: 18px;
    display: grid;
    gap: 10px;
    width: min(390px, calc(100% - 36px));
    pointer-events: none
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 15px;
    background: white;
    color: var(--ink);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
    pointer-events: auto;
    animation: toastin .25s var(--ease) both
}

.toast-success {
    border-left: 4px solid #22C55E
}

.toast-error {
    border-left: 4px solid #EF4444
}

.toast-info {
    border-left: 4px solid #0EA5E9
}

.toast-icon {
    margin-top: 2px
}

.toast-success .toast-icon {
    color: #15803D
}

.toast-error .toast-icon {
    color: #B91C1C
}

.toast-info .toast-icon {
    color: #0369A1
}

.toast-body {
    flex: 1;
    font-size: .81rem;
    line-height: 1.55
}

.toast-body strong {
    display: block;
    margin-bottom: 2px;
    font-size: .86rem
}

.toast-close {
    padding: 0;
    border: 0;
    background: none;
    color: #64748B
}

@keyframes toastin {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.loader {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: white;
    transition: opacity .35s, visibility .35s
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.loader-inner {
    display: grid;
    justify-items: center;
    gap: 19px
}

.loader-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font: 800 2.2rem var(--heading);
    letter-spacing: -.06em
}

.loader-logo img {
    width: 200px;
    margin-bottom: -50px;
}

.loader-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--brand);
    color: var(--ink);
}

.loader-mark .icon {
    width: 31px;
    height: 31px
}

.loader-track {
    width: 150px;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .14)
}

.loader-bar {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    animation: loading 1.2s ease-in-out infinite
}

.loader-label {
    color: #94A3B8;
    font-size: .71rem;
    letter-spacing: .14em;
    text-transform: uppercase
}

@keyframes loading {
    0% {
        transform: translateX(-120%)
    }

    100% {
        transform: translateX(360%)
    }
}

.reveal {
    opacity: 1;
    transform: none
}

.js-motion .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s var(--ease), transform .65s var(--ease)
}

.js-motion .reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.d1 {
    transition-delay: .07s !important
}

.d2 {
    transition-delay: .14s !important
}

/* =========================================================
   11. BREAKPOINTS Y ACCESIBILIDAD DE MOVIMIENTO
   ========================================================= */
@media(max-width:1020px) {

    .hero-visual {
        display: none;
    }

    .hero-grid {
        display: initial;
        text-align: center;
    }

    .hero-copy {
        max-width: 100%;
        padding: 0 10%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .topbar-contact .topbar-item:nth-child(2) {
        display: none
    }

    .nav {
        gap: 14px
    }

    .nav a {
        font-size: .78rem
    }

    .header-inner {
        gap: 15px
    }

    .hero-grid {
        gap: 24px
    }

    .footer-grid {
        gap: 25px
    }
}

@media(max-width:820px) {
    .section {
        padding: 70px 0
    }

    .topbar-perks .topbar-item:nth-child(n+3) {
        display: none
    }

    .header-inner {
        min-height: 70px
    }

    .nav-toggle {
        display: grid
    }

    .nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 18px;
        border-bottom: 1px solid var(--line);
        background: white;
        box-shadow: 0 18px 26px rgba(15, 23, 42, .08)
    }

    .nav.open {
        display: grid
    }

    .nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #F1F5F9;
        font-size: .92rem
    }

    .nav a:after {
        display: none
    }

    .header-cta {
        display: none
    }

    .hero {
        padding: 62px 0 56px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .hero-copy {
        max-width: 700px
    }

    .hero-visual {
        width: min(100%, 580px);
        margin-inline: auto
    }

    .hero-art {
        max-width: 500px
    }

    .value-grid {
        grid-template-columns: 1fr 1fr
    }

    .value-item:nth-child(2) {
        border-right: 0
    }

    .value-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .services-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .about-art {
        min-height: 350px
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .faq-intro {
        max-width: 650px
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .contact-info {
        min-height: 390px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px
    }
}

@media(max-width: 650) {
    .hero h1 {
        font-size: 1.5rem;
    }


}

@media(max-width:560px) {
    .container {
        width: min(var(--max), calc(100% - 32px))
    }

    .section {
        padding: 59px 3%;
    }

    .heading {
        margin-bottom: 31px;
        text-align: left
    }

    .heading h2 {
        font-size: 2rem
    }

    .heading p {
        font-size: .95rem
    }

    .topbar-inner {
        min-height: 34px
    }

    .topbar-group {
        gap: 9px
    }

    .topbar-perks .topbar-item:nth-child(2) {
        display: none
    }

    .topbar-contact .topbar-item:first-child {
        display: none
    }

    .header-inner {
        min-height: 65px
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px
    }

    .brand-name {
        font-size: 1.25rem
    }

    .brand-desc {
        font-size: .53rem
    }

    .hero {
        padding: 48px 0 50px
    }

    .hero h1 {
        font-size: clamp(1rem, 10.8vw, 1.8rem)
    }

    .hero-badge {
        font-size: .68rem;
        line-height: 1.4
    }

    .hero-lead {
        font-size: .97rem
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-proof {
        flex-direction: column;
        align-items: center;
    }

    .proof-item {
        min-width: calc(50% - 12px)
    }

    .hero-float {
        padding: 8px 10px;
        gap: 7px;
        border-radius: 12px
    }

    .hero-float.top {
        top: 2%;
        right: -2px
    }

    .hero-float.bottom {
        bottom: 1%;
        left: -2px
    }

    .float-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px
    }

    .float-text strong {
        font-size: .65rem
    }

    .float-text small {
        font-size: .58rem
    }

    .value-item {
        justify-content: flex-start;
        gap: 8px;
        min-height: 74px;
        padding: 11px 5px
    }

    .value-icon {
        width: 33px;
        height: 33px;
        border-radius: 10px
    }

    .value-item strong {
        font-size: .72rem
    }

    .value-item small {
        font-size: .62rem
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .service-card {
        padding: 22px
    }

    .about-art {
        min-height: 305px
    }

    .dashboard {
        inset: 18px
    }

    .dashboard-card {
        padding: 16px
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .project-art {
        min-height: 194px;
    }



    .project-body p {
        min-height: unset;
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pricing-intro {
        margin-top: -14px;
        text-align: left;
        font-size: .92rem
    }

    .table-wrap {
        border-radius: 14px
    }

    .pricing-table {
        min-width: 770px
    }

    .pricing-table th,
    .pricing-table td {
        padding: 14px
    }

    .cta-band {
        padding-bottom: 58px
    }

    .cta-inner {
        gap: 21px;
        padding: 25px 21px;
        border-radius: 19px
    }

    .cta-inner>.btn {
        width: 100%
    }

    .faq-question {
        gap: 12px;
        padding: 18px 0;
        font-size: .9rem
    }

    .faq-answer p {
        font-size: .85rem
    }

    .form-card,
    .contact-info {
        padding: 23px 19px;
        border-radius: 18px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 13px
    }

    .field.full {
        grid-column: auto
    }

    .contact-info {
        min-height: auto
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px
    }

    .footer-grid>:first-child {
        grid-column: 1/-1
    }

    .footer-about p {
        max-width: 360px
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .footer {
        padding-top: 46px
    }

    .whatsapp-float {
        right: 15px;
        bottom: 79px;
        width: 52px;
        height: 52px
    }

    .whatsapp-float .icon {
        width: 27px;
        height: 27px
    }

    .share-float {
        right: 19px;
        bottom: 139px;
        width: 40px;
        height: 40px
    }


    dialog {
        max-height: 94vh;
        border-radius: 17px
    }

    .modal-head {
        padding: 20px 19px 15px
    }

    .modal-head h2 {
        font-size: 1.28rem
    }

    .modal-body {
        padding: 19px
    }

    .modal-features {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .modal-body .form-grid {
        grid-template-columns: 1fr
    }

    .modal-body .field.full {
        grid-column: auto
    }

    .toast-region {
        top: 10px;
        right: 10px;
        width: calc(100% - 20px)
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .js-motion .reveal {
        opacity: 1;
        transform: none
    }
}