:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-canvas: #071120;
    --bg-soft: #0f172a;
    --surface: rgba(15, 23, 42, 0.72);
    --surface-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(45, 212, 191, 0.35);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --brand: #2dd4bf;
    --brand-strong: #14b8a6;
    --brand-soft: rgba(45, 212, 191, 0.16);
    --warm: #f59e0b;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
    --page-gradient:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(245, 158, 11, 0.14), transparent 18%),
        linear-gradient(180deg, #020617 0%, #071120 52%, #020617 100%);
}

/* Visually hidden — accesible para lectores de pantalla y Google */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.focus\:not-sr-only:focus {
    position: fixed;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Scroll progress bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-strong) 0%, var(--brand) 60%, #5eead4 100%);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.6), 0 0 4px rgba(45, 212, 191, 0.4);
    border-radius: 0 2px 2px 0;
    transition: width 0.08s linear;
    pointer-events: none;
}

html {
    min-height: 100%;
    height: auto;
    scroll-behavior: auto;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    background-color: var(--bg-canvas);
    background: var(--page-gradient);
}

body {
    min-height: 100%;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    overscroll-behavior-y: auto;
    position: relative;
    isolation: isolate;
    font-family: "Manrope", sans-serif;
    background-color: transparent;
    background: var(--page-gradient);
    color: var(--text);
}

.sales-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: var(--page-gradient);
    transform: translateZ(0);
}

.sales-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 44%, transparent 100%);
    opacity: 0.35;
}

.font-display {
    font-family: "Sora", sans-serif;
}

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

.section-shell--panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.7rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2.2rem;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.section-shell--panel > * {
    position: relative;
    z-index: 1;
}

.section-shell--panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.35;
    mask-image: linear-gradient(180deg, transparent 0%, black 14%, black 86%, transparent 100%);
}

.section-shell--panel-soft {
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.008)),
        rgba(15, 23, 42, 0.5);
}

.section-shell--panel-brand {
    border-color: rgba(45, 212, 191, 0.1);
    background:
        radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 26%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.008)),
        rgba(15, 23, 42, 0.56);
}

.section-shell--panel-subtle {
    background:
        radial-gradient(circle at 12% 0%, rgba(148, 163, 184, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.007)),
        rgba(15, 23, 42, 0.48);
}

.section-gap {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.page-main {
    padding-top: 8.5rem;
    padding-bottom: 6rem;
}

.page-main--web-detail {
    padding-top: 7.25rem;
}

.page-main--web-detail > .hero-section:first-child {
    padding-top: 2rem;
}

.page-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.page-breadcrumbs a {
    transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
    color: #ccfbf1;
}

.page-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.page-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #dbeafe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.page-meta-pill:hover {
    border-color: rgba(45, 212, 191, 0.28);
    background: rgba(45, 212, 191, 0.12);
    color: #ccfbf1;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.12);
}

.page-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.article-prose {
    color: var(--text);
}

.article-prose h2,
.article-prose h3 {
    font-family: "Sora", sans-serif;
    color: white;
    line-height: 1.15;
}

.article-prose h2 {
    margin-top: 2rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.article-prose h3 {
    margin-top: 1.5rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.article-prose p,
.article-prose li {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.article-prose p + p {
    margin-top: 1rem;
}

.article-prose ul,
.article-prose ol {
    margin-top: 1rem;
    display: grid;
    gap: 0.8rem;
    padding-left: 1.2rem;
}

.article-prose strong {
    color: white;
}

.loader-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9.5rem;
    height: 9.5rem;
}

.loader-mark__halo {
    position: absolute;
    inset: 50%;
    width: 6.2rem;
    height: 6.2rem;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(45, 212, 191, 0.34) 0%, rgba(45, 212, 191, 0.12) 46%, transparent 72%);
    transform: translate(-50%, -50%);
    filter: blur(10px);
    animation: loaderGlow 3s ease-in-out infinite;
}

.loader-mark__ring {
    position: absolute;
    inset: 50%;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-top-color: rgba(45, 212, 191, 0.45);
    border-bottom-color: rgba(59, 130, 246, 0.28);
    transform: translate(-50%, -50%);
    animation: loaderSpin 7s linear infinite;
}

.loader-mark__orbit {
    position: absolute;
    inset: 50%;
    width: 0.7rem;
    height: 0.7rem;
    margin: -0.35rem 0 0 -0.35rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(94, 234, 212, 0.9) 48%, rgba(94, 234, 212, 0.08) 100%);
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.45);
}

.loader-mark__orbit--one {
    animation: loaderOrbitOne 3.6s linear infinite;
}

.loader-mark__orbit--two {
    width: 0.5rem;
    height: 0.5rem;
    margin: -0.25rem 0 0 -0.25rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(96, 165, 250, 0.9) 48%, rgba(96, 165, 250, 0.08) 100%);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.42);
    animation: loaderOrbitTwo 5s linear infinite;
}

.loader-mark__logo {
    position: relative;
    z-index: 1;
    width: 5rem;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(20, 184, 166, 0.24));
    animation: loaderPulse 2.6s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.96;
    }

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

@keyframes loaderGlow {
    0%,
    100% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0.95);
    }

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

@keyframes loaderSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes loaderOrbitOne {
    from {
        transform: rotate(0deg) translateX(4rem) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(4rem) rotate(-360deg);
    }
}

@keyframes loaderOrbitTwo {
    from {
        transform: rotate(180deg) translateX(3.25rem) rotate(-180deg);
    }

    to {
        transform: rotate(-180deg) translateX(3.25rem) rotate(180deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loader-mark__halo,
    .loader-mark__ring,
    .loader-mark__orbit,
    .loader-mark__logo {
        animation: none;
    }
}

.site-header {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.45) 100%);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-transparent {
    background: rgba(2, 6, 23, 0.86);
    border-color: var(--line);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.3);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5eead4 0%, #2dd4bf 100%);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-link:hover {
    color: var(--brand);
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link--active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-link--active {
    color: #ccfbf1;
}

/* ── Menú mobile · Bottom sheet ──────────────────────────────
   Patrón iOS/Android nativo: panel desliza desde abajo, queda en la
   "thumb zone" alcanzable, cierra con tap en backdrop o swipe-down.
   Items grandes con flecha. CTA shimmer + footer WhatsApp/email. */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 0ms 240ms;
}

.mobile-menu--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 240ms ease, visibility 0ms;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.42) 0%, rgba(2, 6, 23, 0.62) 100%),
        radial-gradient(circle at top, rgba(45, 212, 191, 0.08), transparent 38%);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    cursor: default;
    opacity: 0;
    transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu--open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    /* Min-height asegura que el panel cubra el 60% inferior incluso si el
       contenido es chico, dejando el handle a la altura del 40dvh desde el
       top y empujando items+CTA+footer al fondo (thumb zone real). */
    min-height: 62dvh;
    max-height: 86dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.6rem 1.6rem 0 0;
    border-top: 1px solid rgba(94, 234, 212, 0.18);
    background:
        radial-gradient(circle at top, rgba(45, 212, 191, 0.07), transparent 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.99) 100%);
    box-shadow:
        0 -24px 60px rgba(2, 6, 23, 0.55),
        inset 0 1px 0 rgba(94, 234, 212, 0.08);
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mobile-menu--open .mobile-menu__panel {
    transform: translateY(0);
}

.mobile-menu__handle {
    display: block;
    width: 2.6rem;
    height: 0.32rem;
    margin: 0.4rem auto 0.85rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.36);
}

/* ── Greeting con mascota saluda al abrir el menú ────────── */
.mobile-menu__greeting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0 0.6rem;
}

.mobile-menu__mascot {
    width: 7.5rem;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 12px 22px rgba(45, 212, 191, 0.22));
    animation: mobileMenuMascotFloat 3.6s ease-in-out infinite;
}

@keyframes mobileMenuMascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.mobile-menu__greeting-text {
    margin: 0;
    color: rgba(203, 213, 225, 0.85);
    font-family: "Sora", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.005em;
}

.mobile-menu__divider {
    width: 100%;
    margin: 0.4rem 0 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(94, 234, 212, 0.32) 50%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu__mascot {
        animation: none;
    }
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    /* margin-top: auto empuja los links + CTA + footer hacia el fondo del
       panel (porque el panel es flex-column con min-height alto). */
    margin: auto 0 0.5rem;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.05rem 0.35rem;
    color: white;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.mobile-menu__link:last-child {
    border-bottom: 0;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
    color: #5eead4;
    padding-inline-start: 0.55rem;
}

.mobile-menu__link svg {
    width: 1rem;
    height: 1rem;
    color: rgba(94, 234, 212, 0.5);
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__link:hover svg,
.mobile-menu__link:active svg {
    color: #5eead4;
    transform: translateX(3px);
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 50%, #a78bfa 100%);
    color: #042f2e;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.5);
    transition: transform 0.2s ease, gap 0.2s ease, filter 0.2s ease;
}

.mobile-menu__cta:hover,
.mobile-menu__cta:active {
    gap: 0.7rem;
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.mobile-menu__cta svg {
    width: 1rem;
    height: 1rem;
}

.mobile-menu__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.mobile-menu__footer a {
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-menu__footer a:hover,
.mobile-menu__footer a:active {
    color: #5eead4;
}

.mobile-menu__footer-divider {
    color: rgba(148, 163, 184, 0.32);
    font-weight: 700;
    user-select: none;
}

#mobileMenuButton[aria-expanded="true"] {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(45, 212, 191, 0.12);
    color: #ccfbf1;
}

#main-content,
footer,
.floating-whatsapp,
#scrollToTopBtn {
    transition:
        filter 280ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.mobile-menu-active #main-content,
body.mobile-menu-active footer,
body.mobile-menu-active .floating-whatsapp,
body.mobile-menu-active #scrollToTopBtn {
    filter: blur(8px) saturate(0.78) brightness(0.6);
    opacity: 0.5;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo__text {
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #5eead4;
    letter-spacing: -0.01em;
    line-height: 1;
}

@media (min-width: 768px) {
    .site-logo {
        gap: 1rem;
    }

    .site-logo__text {
        font-size: 1.5rem;
    }
}

.site-logo__image {
    width: auto;
    height: 4rem;
    filter:
        drop-shadow(0 0 12px rgba(226, 232, 240, 0.08))
        drop-shadow(0 8px 14px rgba(15, 23, 42, 0.24));
    transition: transform 220ms ease;
}

.site-logo:hover .site-logo__image {
    transform: translateY(-1px);
}

.floating-whatsapp {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: 5.8rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 46%, #128c7e 100%);
    box-shadow:
        0 18px 34px rgba(18, 140, 126, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 22px 38px rgba(18, 140, 126, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    filter: saturate(1.06);
}

.floating-whatsapp__icon {
    width: 1.75rem;
    height: 1.75rem;
}

#scrollToTopBtn {
    border-width: 2px;
    border-color: rgba(45, 212, 191, 0.38);
    box-shadow:
        0 20px 30px rgba(2, 6, 23, 0.22),
        0 0 0 1px rgba(45, 212, 191, 0.12);
}

#scrollToTopBtn:hover {
    border-color: rgba(45, 212, 191, 0.56);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.35rem;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: #042f2e;
    background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 45%, #14b8a6 100%);
    box-shadow: 0 18px 40px rgba(45, 212, 191, 0.22);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.primary-button--sm {
    min-height: 2.8rem;
    padding-inline: 1.1rem;
    font-size: 0.92rem;
}

.primary-button--full,
.secondary-button--full {
    width: 100%;
}

.secondary-button {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.secondary-button:hover {
    border-color: rgba(45, 212, 191, 0.4);
    color: #ccfbf1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #99f6e4;
    background: rgba(15, 23, 42, 0.5);
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.hero-section {
    min-height: auto;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.65;
}

.hero-orb--one {
    top: 12%;
    left: -10%;
    width: 22rem;
    height: 22rem;
    background: rgba(45, 212, 191, 0.15);
}

.hero-orb--two {
    right: -4%;
    bottom: 10%;
    width: 18rem;
    height: 18rem;
    background: rgba(245, 158, 11, 0.12);
}

.metric-card,
.service-card,
.benefit-card,
.project-card,
.pricing-card,
.contact-panel,
.contact-form-card,
.cta-banner,
.faq-item,
.hero-showcase__window {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.metric-card {
    padding: 1.15rem;
    border-radius: 1.5rem;
}

.metric-card__value {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 800;
    color: white;
}

.metric-card__label {
    color: var(--muted);
    line-height: 1.7;
}

.hero-showcase {
    position: relative;
    max-width: 34rem;
    margin-left: auto;
}

.hero-showcase__window {
    border-radius: 2rem;
    overflow: hidden;
}

.hero-showcase__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.hero-showcase__dot {
    position: relative;
    display: inline-flex;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-showcase__dot--close {
    background: linear-gradient(180deg, #fb7185 0%, #ef4444 100%);
}

.hero-showcase__dot--minimize {
    background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
}

.hero-showcase__dot--zoom {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}

.hero-showcase__content {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.hero-showcase__headline {
    display: grid;
    gap: 0.9rem;
}

.hero-showcase__copy {
    color: var(--muted);
    line-height: 1.8;
}

.hero-showcase__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 5.7;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.65);
}

.hero-showcase__image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-showcase__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.2) 100%),
        radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.14), transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.1), transparent 38%),
        linear-gradient(0deg, rgba(8, 15, 30, 0.05), rgba(8, 15, 30, 0.05));
    transition: opacity 320ms ease, background 320ms ease;
}

.hero-showcase__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 4%;
    transform: scale(1);
    filter: none;
    transition: transform 380ms ease, filter 260ms ease;
}

.hero-showcase__summary {
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #dbeafe;
    line-height: 1.7;
}

.hero-floating {
    position: absolute;
    max-width: 14rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 1.25rem;
    background: rgba(2, 6, 23, 0.88);
    box-shadow: var(--shadow);
}

.hero-floating strong {
    display: block;
    margin-top: 0.2rem;
    color: white;
}

.hero-floating--top {
    top: -1.2rem;
    right: -1rem;
}

.hero-floating--bottom {
    right: -1rem;
    bottom: -1rem;
}

.hero-floating__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 2.5rem;
}

.section-title {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.95rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    color: white;
}

.section-copy {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Lightweight native reveal system replacing AOS */
.reveal-ready [data-aos] {
    opacity: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready [data-aos="fade-up"] {
    transform: translate3d(0, 28px, 0);
}

.reveal-ready [data-aos="fade-left"] {
    transform: translate3d(34px, 0, 0);
}

.reveal-ready [data-aos="fade-right"] {
    transform: translate3d(-34px, 0, 0);
}

.reveal-ready [data-aos].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.service-card,
.benefit-card,
.project-card,
.pricing-card,
.contact-panel,
.contact-form-card,
.faq-item {
    border-radius: 1.8rem;
}

.faq-item {
    overflow: hidden;
}

.service-card,
.benefit-card,
.pricing-card {
    padding: 1.6rem;
}

.service-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 34%),
        rgba(15, 23, 42, 0.78);
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.service-card__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(45, 212, 191, 0.24);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(45, 212, 191, 0.24), rgba(45, 212, 191, 0.08));
    color: #ccfbf1;
    box-shadow:
        0 18px 34px rgba(13, 148, 136, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -14px 24px rgba(15, 23, 42, 0.18);
}

.service-card__icon::after {
    content: "";
    position: absolute;
    inset: -0.6rem;
    z-index: -1;
    border-radius: 1.5rem;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0) 72%);
    opacity: 0.85;
}

.service-card__icon svg {
    width: 2rem;
    height: 2rem;
}

.service-card__title,
.project-card__title,
.pricing-card__title,
.benefit-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.service-card__copy,
.project-card__copy,
.pricing-card__copy,
.benefit-card p {
    margin-top: 0.8rem;
    color: var(--muted);
    line-height: 1.75;
}

@media (min-width: 1280px) {
    .pricing-card__copy {
        min-height: 5.6rem;
    }
}

.service-card__copy {
    margin-top: 0.2rem;
}

.service-card__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.3rem;
}

.service-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #dbeafe;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-card__list,
.pricing-card__list {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
    color: #dbeafe;
}

.service-card__list li,
.pricing-card__list li {
    position: relative;
    padding-left: 1.25rem;
}

.service-card__list li::before,
.pricing-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--brand);
}

.benefit-card {
    padding: 1.8rem;
}

.testimonial-section {
    position: relative;
}

.testimonial-section .section-heading {
    max-width: 52rem;
}

#trabajos .section-heading {
    max-width: 56rem;
}


.project-card {
    overflow: hidden;
}

.project-card__visual {
    position: relative;
    overflow: hidden;
}

.project-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.18) 100%),
        radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.16), transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.12), transparent 38%),
        linear-gradient(0deg, rgba(8, 15, 30, 0.06), rgba(8, 15, 30, 0.06));
    transition: opacity 320ms ease, background 320ms ease;
}

.project-card__image {
    display: block;
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transform: scale(1.08);
    filter: saturate(0.74) brightness(0.87) contrast(0.97);
    transition: transform 380ms ease, filter 260ms ease;
}

.project-card__body {
    position: relative;
    padding: 1.4rem;
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

@media (hover: hover) {
    .project-card {
        transition:
            transform 260ms ease,
            border-color 260ms ease,
            box-shadow 260ms ease,
            background-color 260ms ease;
    }

    .project-card:hover {
        transform: translateY(-6px);
        border-color: rgba(45, 212, 191, 0.22);
        background: rgba(15, 23, 42, 0.82);
        box-shadow: 0 28px 60px rgba(2, 6, 23, 0.34);
    }

    .project-card:hover .project-card__visual::after {
        opacity: 0.55;
    }

    .project-card:hover .project-card__image {
        transform: scale(1);
        filter: saturate(0.93) brightness(0.93) contrast(0.99);
    }
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    height: 100%;
}

/* Orden visual de tarjetas de planes */
.pricing-card > .pricing-card__visual {
    order: 2;
}

.pricing-card > .pricing-card__visual + div {
    order: 1;
}

.pricing-card > .pricing-card__visual + div + div {
    order: 3;
}

.pricing-card > .pricing-card__list {
    order: 4;
}

.pricing-card > .primary-button,
.pricing-card > .secondary-button {
    order: 5;
    margin-top: auto;
}

.pricing-card--featured > .pricing-card__visual + div + div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-card--featured > .pricing-card__visual + div + div .pricing-card__price {
    order: 1;
}

.pricing-card--featured > .pricing-card__visual + div + div .pricing-card__badge {
    order: 2;
    margin-top: 0.75rem;
}

.pricing-card--featured > .pricing-card__visual + div + div .pricing-card__meta {
    order: 3;
}

.pricing-card--featured > .pricing-card__visual + div + div .pricing-card__details {
    order: 4;
    width: 100%;
}


.pricing-card__visual {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    aspect-ratio: 16 / 7;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.65);
}

.pricing-card__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
    object-position: center center;
    transform: scale(1.06);
}

.pricing-card__image--landing {
    object-position: center 75%;
}

.pricing-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.82) 100%);
}

.pricing-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
}

.pricing-card__badge--featured {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
}

.eyebrow,
.chip,
.service-card__tag,
.pricing-card__tag,
.pricing-card__badge,
.pricing-card__meta-chip {
    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

@media (hover: hover) {
    .eyebrow:hover,
    .chip:hover,
    .service-card__tag:hover,
    .pricing-card__tag:hover,
    .pricing-card__badge:hover,
    .pricing-card__meta-chip:hover {
        border-color: rgba(45, 212, 191, 0.28);
        background: rgba(45, 212, 191, 0.12);
        color: #ccfbf1;
        box-shadow: 0 10px 24px rgba(13, 148, 136, 0.12);
        transform: translateY(-1px);
    }

    .pricing-card__badge--featured:hover {
        background: rgba(245, 158, 11, 0.22);
        color: #fef3c7;
        border-color: rgba(245, 158, 11, 0.24);
        box-shadow: 0 10px 24px rgba(245, 158, 11, 0.14);
    }
}

.pricing-card__price {
    font-family: "Sora", sans-serif;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: white;
}

.pricing-card__price-prefix {
    display: block;
    margin: 0 0 0.18rem;
    font-size: 0.42em;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #94a3b8;
    line-height: 1.1;
}

.pricing-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.65rem;
}

.pricing-card__meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #dbeafe;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card__hint {
    margin-top: 0.25rem;
    color: var(--muted);
}

.pricing-card__eta {
    margin-top: 0.7rem;
    color: #9bd9d1;
    font-size: 0.92rem;
    font-weight: 600;
}

.pricing-card--featured {
    border-color: rgba(45, 212, 191, 0.35);
    background:
        linear-gradient(180deg, rgba(45, 212, 191, 0.08), transparent 28%),
        rgba(15, 23, 42, 0.9);
}

.pricing-card--accent {
    border: 2px solid rgba(245, 158, 11, 0.4);
    background:
        radial-gradient(circle at top, rgba(245, 158, 11, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(2, 6, 23, 0.92) 100%);
    box-shadow:
        0 22px 52px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(245, 158, 11, 0.15);
}

#planes > .section-shell {
    width: min(70rem, calc(100% - 2rem));
}

.planes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.planes-footnote {
    margin: 1.75rem auto 0;
    max-width: 42rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sección combinada FAQ + Testimonios (#faq) */
#faq .section-heading {
    margin-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
    .help-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 2.25rem;
        align-items: start;
    }
}

.help-grid__col {
    min-width: 0;
}

.help-grid__subtitle {
    margin: 0 0 0.85rem;
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.help-testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .help-testimonial-list .help-testimonial[data-carousel-clone] {
        display: none;
    }
}

.help-testimonial-list__dots {
    display: none;
}

@media (max-width: 767px) {
    .help-testimonial-list {
        flex-direction: row;
        gap: 0.6rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .help-testimonial-list::-webkit-scrollbar {
        display: none;
    }

    .help-testimonial-list .help-testimonial {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .help-testimonial-list__dots {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        margin-top: 0.85rem;
    }

    .help-testimonial-list__dots span {
        width: 0.4rem;
        height: 0.4rem;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.32);
        transition: background-color 0.25s ease, width 0.25s ease;
    }

    .help-testimonial-list__dots span.is-active {
        width: 1.2rem;
        background: #5eead4;
    }
}

.help-testimonial {
    padding: 0.95rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.help-testimonial__head {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.help-testimonial__name {
    font-family: "Sora", sans-serif;
    color: white;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.help-testimonial__role {
    color: #94a3b8;
    font-size: 0.82rem;
}

.help-testimonial__rating {
    color: #fbbf24;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

.help-testimonial__quote {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.94rem;
    line-height: 1.6;
    font-style: italic;
}

/* Variante compacta del acordeón FAQ */
.faq-list--compact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.faq-item--compact {
    border-radius: 1rem;
}

.faq-item--compact .faq-item__trigger {
    padding: 0.95rem 1.15rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    gap: 0.75rem;
}

.faq-item--compact .faq-item__icon {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

.faq-item--compact .faq-item__icon::before {
    width: 0.7rem;
}

.faq-item--compact .faq-item__icon::after {
    height: 0.7rem;
}

.faq-item--compact .faq-item__content > * {
    padding: 0 1.15rem 0;
    font-size: 0.94rem;
    line-height: 1.65;
}

.faq-item--compact .faq-item__content.is-open > * {
    padding-bottom: 1.05rem;
}

.faq-item--compact h4 {
    margin: 0;
}


.cta-banner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.16), transparent 32%),
        rgba(15, 23, 42, 0.88);
}

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

.faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
    text-align: left;
    font-weight: 700;
    color: white;
}

.faq-item__icon {
    position: relative;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--brand);
    font-size: 0;
    line-height: 1;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 220ms ease,
        color 220ms ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.faq-item__icon::before {
    width: 0.9rem;
    height: 2px;
}

.faq-item__icon::after {
    width: 2px;
    height: 0.9rem;
}

.faq-item__content {
    color: var(--muted);
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__content > * {
    min-height: 0;
    overflow: hidden;
    padding: 0 1.45rem 0;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(-0.45rem);
    transition:
        padding-bottom 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 260ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__content.is-open {
    grid-template-rows: 1fr;
}

.faq-item__content.is-open > * {
    padding-bottom: 1.35rem;
    opacity: 1;
    transform: translateY(0);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
    background: rgba(45, 212, 191, 0.12);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-item h3 {
    margin: 0;
}

.faq-item__trigger--open,
.faq-item__trigger--closed {
    background: transparent;
}

/* Cuando el item está abierto, el tinte teal y el cambio de borde se aplican
   al contenedor entero (no solo al trigger). Así trigger + content forman
   un único bloque visual, sin esquinas rectas chocando entre ambos. */
.faq-item:has(.faq-item__trigger[aria-expanded="true"]) {
    border-color: rgba(45, 212, 191, 0.3);
    background-image: linear-gradient(180deg, rgba(45, 212, 191, 0.09), rgba(45, 212, 191, 0.02));
}

[drawer-backdrop] {
    position: fixed;
    inset: 0;
    z-index: 55;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.42) 0%, rgba(2, 6, 23, 0.68) 100%),
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 32%);
    backdrop-filter: blur(16px) saturate(132%);
    -webkit-backdrop-filter: blur(16px) saturate(132%);
}

.contact-shell {
    display: grid;
    gap: 1.6rem;
}

.contact-panel,
.contact-form-card {
    padding: 1.75rem;
}

.contact-shortcut {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-shortcut:hover {
    border-color: rgba(45, 212, 191, 0.35);
    transform: translateY(-1px);
}

.contact-shortcut--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
}

.contact-shortcut__label {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-shortcut__label--whatsapp {
    color: #25d366;
}

@media (hover: hover) {
    .contact-shortcut--whatsapp {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        --hover-origin-x: 50%;
        --hover-origin-y: 50%;
        transition:
            border-color 420ms ease,
            color 420ms ease,
            box-shadow 420ms ease,
            transform 220ms ease;
    }

    .contact-shortcut--whatsapp::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        opacity: 0;
        transform: scale(0.08);
        transform-origin: var(--hover-origin-x) var(--hover-origin-y);
        background:
            radial-gradient(circle at var(--hover-origin-x) var(--hover-origin-y), rgba(110, 255, 160, 0.98) 0%, rgba(37, 211, 102, 0.96) 36%, rgba(37, 211, 102, 0.92) 100%);
        transition:
            opacity 420ms ease,
            transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
    }

    .contact-shortcut--whatsapp > * {
        position: relative;
        z-index: 1;
    }

    .contact-shortcut--whatsapp .contact-shortcut__label--whatsapp {
        transition: color 420ms ease;
    }

    .contact-shortcut--whatsapp:hover {
        transition-delay: 300ms, 300ms, 300ms, 0s;
        border-color: rgba(37, 211, 102, 0.72);
        color: #04130b;
        box-shadow: 0 18px 34px rgba(37, 211, 102, 0.24);
        transform: translateY(-1px);
    }

    .contact-shortcut--whatsapp:hover::before {
        transition-delay: 300ms, 300ms;
        opacity: 1;
        transform: scale(1.8);
    }

    .contact-shortcut--whatsapp:hover .contact-shortcut__label--whatsapp {
        transition-delay: 300ms;
        color: #04130b;
    }

    .contact-shortcut--whatsapp.contact-shortcut--whatsapp-exit::before {
        opacity: 0;
        transform: scale(1.8);
        transition-delay: 0s, 0s;
    }

    .contact-shortcut--whatsapp:hover .contact-shortcut__label--whatsapp {
        color: #04130b;
    }
}

.field {
    display: grid;
    gap: 0.6rem;
}

.field span {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e2e8f0;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 23, 0.56);
    padding: 0.95rem 1rem;
    color: white;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #64748b;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .testimonial-slide[data-state="active"] {
        width: min(46rem, 54vw);
    }

    .contact-shell {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .cta-banner {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 960px) {
    .plan-support-strip,
    .plan-complements__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-floating {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }

}

@media (max-width: 768px) {
    .reveal-ready [data-aos] {
        transition-duration: 560ms;
        transition-delay: 0ms;
    }

    .reveal-ready [data-aos="fade-up"] {
        transform: translate3d(0, 22px, 0);
    }

    .reveal-ready [data-aos="fade-left"] {
        transform: translate3d(22px, 0, 0);
    }

    .reveal-ready [data-aos="fade-right"] {
        transform: translate3d(-22px, 0, 0);
    }
}

@media (max-width: 640px) {
    .page-main--web-detail {
        padding-top: 6.25rem;
    }

    .section-gap {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-shell--panel {
        padding: 1.2rem;
        border-radius: 1.6rem;
    }

    .cta-banner .eyebrow {
        margin-bottom: 0.8rem;
    }

    .contact-panel .section-title {
        position: relative;
        display: inline-block;
        max-width: 100%;
        margin-top: 0.9rem;
        margin-bottom: 1.35rem !important;
        padding-bottom: 0.85rem;
        text-wrap: balance;
    }

    .contact-panel .section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: min(8.5rem, 42vw);
        height: 0.3rem;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(94, 234, 212, 0.98), rgba(59, 130, 246, 0.72));
        box-shadow: 0 8px 18px rgba(45, 212, 191, 0.18);
    }

    .service-card__top {
        align-items: center;
        gap: 0.8rem;
    }

    .service-card__top + .service-card__title {
        margin-top: -3.95rem;
        margin-left: 3.75rem;
        min-height: 3rem;
        display: flex;
        align-items: center;
    }

    .service-card__title + .service-card__copy {
        margin-top: 0.25rem;
    }

    .hero-showcase__summary {
        display: none;
    }

    .hero-showcase__content {
        padding-bottom: 0;
    }

    .hero-floating--bottom,
    .plan-complements {
        display: none;
    }

    .hero-showcase__content,
    .contact-panel,
    .contact-form-card,
    .service-card,
    .benefit-card,
    .pricing-card,
    .error-card {
        padding: 1.2rem;
    }

    .service-card {
        padding: 1rem;
        gap: 0.85rem;
    }

    .plan-support-strip {
        gap: 0.6rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 1.35rem;
    }

    .plan-support-chip {
        gap: 0.55rem;
        align-items: center;
        padding: 0.62rem 0.72rem;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.42);
        box-shadow: none;
    }

    .plan-support-chip__icon {
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 999px;
    }

    .plan-support-chip__icon svg {
        width: 0.9rem;
        height: 0.9rem;
    }

    .plan-support-chip strong {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .plan-support-chip__meta {
        display: none;
    }

    .project-card__image {
        height: 9.25rem;
        transform: scale(1.03);
    }

    .project-card__body {
        padding: 1.15rem;
    }

    .site-logo__image {
        height: 3.2rem;
    }

    .floating-whatsapp {
        right: max(0.8rem, env(safe-area-inset-right));
        bottom: 5rem;
        width: 3.45rem;
        height: 3.45rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(16px);
        transition:
            opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
            filter 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .floating-whatsapp.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #scrollToTopBtn {
        right: max(0.8rem, env(safe-area-inset-right));
        bottom: 0.8rem;
    }

    .floating-whatsapp__icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .service-card__icon svg {
        width: 2.2rem;
        height: 2.2rem;
        transform: scale(1.06);
    }

    .service-card__icon {
        width: 3.25rem;
        height: 3.25rem;
    }

    .hero-showcase__image {
        min-height: 0;
        transform: scale(1.02);
        object-position: center 0%;
        filter: saturate(0.78) brightness(0.9) contrast(0.98);
    }

    .hero-showcase__image-wrap::after {
        opacity: 1;
    }

    .hero-showcase__image-wrap {
        aspect-ratio: 16 / 10.4;
    }

    .pricing-card__visual,
    .pricing-card__image {
        min-height: 0;
    }

    .pricing-card__visual {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 420px) {
    .project-card__image {
        height: 8rem;
    }

    .plan-complements__grid {
        grid-template-columns: 1fr;
    }
}

.error-page {
    min-height: 100vh;
}

/* =============================================
   Page transition overlay
   ============================================= */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: var(--bg-canvas);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

#page-transition-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

/* =============================================
   Hero showcase — Carousel & Parallax
   ============================================= */
.hero-showcase__window {
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-showcase__bar {
    justify-content: flex-start;
}

.hero-showcase__bar-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hero-showcase__url-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(45, 212, 191, 0.22);
    max-width: 100%;
    overflow: hidden;
}

.hero-showcase__url-lock {
    width: 0.7rem;
    height: 0.7rem;
    color: #99f6e4;
    flex-shrink: 0;
}

.hero-showcase__url-text {
    font-size: 0.72rem;
    color: #99f6e4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.hero-showcase__url-char {
    display: inline-block;
    color: #d5fff8;
    background: rgba(94, 234, 212, 0.12);
    border-radius: 0.28rem;
    box-shadow: 0 0 0 1px rgba(153, 246, 228, 0.14);
    transform: translateY(-0.02em);
}

/* Carousel slides */
.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.85s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Project badge */
.hero-slide-badge {
    position: absolute;
    bottom: 0.65rem;
    left: 0.8rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    padding: 0.4rem 0.78rem;
    border-radius: 0.85rem;
    background: rgba(7, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slide-badge__name {
    font-size: 0.77rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    display: block;
}

.hero-slide-badge__type {
    font-size: 0.66rem;
    color: var(--brand);
    font-weight: 500;
    display: block;
}

/* Carousel nav dots */
.hero-showcase__nav {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0 0.15rem;
}

.hero-showcase__counter {
    margin-left: auto;
    font-family: var(--font-display, "Sora", "Manrope", system-ui, sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.7);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}
.hero-showcase__counter #heroSlideCounter {
    color: #99f6e4;
    font-weight: 800;
}

.hero-showcase__nav-dot {
    height: 0.4rem;
    width: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.hero-showcase__nav-dot.is-active {
    width: 1.5rem;
    background: linear-gradient(90deg, var(--brand-strong), var(--brand));
}

.hero-showcase__nav-dot:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.7);
    outline-offset: 3px;
}

.error-page__main {
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 8rem 0 4rem;
}

.error-card {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--line);
    border-radius: 2rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    text-align: center;
}

.error-card::before {
    content: "";
    position: absolute;
    inset: auto 50% -20% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.14);
    filter: blur(72px);
    transform: translateX(50%);
}

.error-logo {
    position: relative;
    z-index: 1;
    width: min(7rem, 26vw);
    height: auto;
    margin: 0 auto 1.5rem;
}

.error-kicker {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #99f6e4;
}

.error-title {
    position: relative;
    z-index: 1;
    margin: 1rem auto 0;
    max-width: 13ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    color: white;
}

.error-copy {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 1.2rem auto 0;
    color: var(--muted);
    line-height: 1.8;
}

.error-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .error-page__main {
        padding-top: 6rem;
    }

    .error-actions > * {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        max-width: 100%;
        padding: 0.75rem;
    }

    .mobile-menu__panel {
        min-height: calc(100dvh - 1rem);
        border-radius: 1.8rem;
    }
}


/* ───────── Pricing card details (entrega, revisiones, soporte) ───────── */
.pricing-card__details {
    list-style: none;
    padding: 0.9rem 0 0;
    margin: 0.85rem 0 0;
    border-top: 1px dashed rgba(45, 212, 191, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.35;
}
.pricing-card__details li {
    display: flex;
    gap: 0.45rem;
}
.pricing-card__details li::before {
    content: "✓";
    color: #99f6e4;
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-card__details strong {
    color: #e2e8f0;
    font-weight: 700;
    margin-right: 0.2rem;
}

/* ───────── Blog: "Actualizado · 2026" ───────── */
.article-updated {
    display: inline-block;
    margin: 0.9rem 0 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #99f6e4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.blog-card__updated {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(153, 246, 228, 0.85);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ───────── Project card: solo el título clickeable ───────── */
.project-card__title {
    margin: 0;
}
.project-card__title-link {
    display: inline;
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(90deg, #99f6e4, #99f6e4);
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: 0 100%;
    transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card__title-link:hover,
.project-card__title-link:focus-visible {
    color: #99f6e4;
    background-size: 100% 2px;
}
.project-card__title-link:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.6);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ───────── Project card wins (mini stats por proyecto) ───────── */
.project-card__wins {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.85rem 0 1rem;
    padding: 0;
    list-style: none;
}
.project-card__win {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.85rem;
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.2);
    line-height: 1.1;
}
.project-card__win strong {
    font-family: var(--font-display, "Sora", "Manrope", system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 800;
    color: #99f6e4;
    letter-spacing: -0.01em;
}
.project-card__win span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
}

/* ───────── Services marquee (mobile, debajo del hero) ───────── */
.services-marquee {
    margin-top: -1.5rem;
    padding: 0 0 1.5rem;
    overflow: hidden;
}

.services-marquee__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.services-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    animation: servicesMarquee 38s linear infinite;
    will-change: transform;
}

.services-marquee__item {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.32);
    background: rgba(2, 6, 23, 0.65);
    color: #ffffff;
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.06),
        0 0 18px rgba(45, 212, 191, 0.12);
}

@keyframes servicesMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .services-marquee__track {
        animation: none;
    }
}

/* ============================================================
   IA — Capa de estilos para venta de IA
   ============================================================ */

:root {
    --ai-indigo: #818cf8;
    --ai-indigo-strong: #6366f1;
    --ai-indigo-soft: rgba(129, 140, 248, 0.14);
    --ai-violet: #a78bfa;
    --ai-accent-gradient: linear-gradient(135deg, #5eead4 0%, #7dd3fc 42%, #a78bfa 100%);
    --ai-line: rgba(129, 140, 248, 0.28);
}

.ai-shimmer {
    background-image: linear-gradient(
        100deg,
        #5eead4 0%,
        #7dd3fc 28%,
        #a78bfa 52%,
        #7dd3fc 76%,
        #5eead4 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: aiShimmer 7s ease-in-out infinite;
    display: inline-block;
}

@keyframes aiShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.eyebrow--ai {
    border-color: rgba(129, 140, 248, 0.32);
    color: #c7d2fe;
    background: rgba(30, 27, 75, 0.45);
}

.eyebrow--ai::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #a78bfa;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.85);
    animation: aiPulse 2.2s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.3); opacity: 1; }
}

.ai-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    background: rgba(13, 148, 136, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5eead4;
}

.ai-live-badge__dot {
    position: relative;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
}

.ai-live-badge__dot::after {
    content: "";
    position: absolute;
    inset: -0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.55);
    animation: aiLiveRipple 1.8s ease-out infinite;
}

@keyframes aiLiveRipple {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hero-orb--ai {
    top: 38%;
    left: 42%;
    width: 20rem;
    height: 20rem;
    background: rgba(129, 140, 248, 0.13);
}

.ai-neural-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.55;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.ai-neural-bg::before,
.ai-neural-bg::after {
    content: "";
    position: absolute;
    inset: -2rem;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(94, 234, 212, 0.22) 0, transparent 3px),
        radial-gradient(circle at 70% 18%, rgba(167, 139, 250, 0.2) 0, transparent 3px),
        radial-gradient(circle at 35% 72%, rgba(125, 211, 252, 0.22) 0, transparent 3px),
        radial-gradient(circle at 82% 66%, rgba(94, 234, 212, 0.18) 0, transparent 3px),
        radial-gradient(circle at 50% 45%, rgba(167, 139, 250, 0.22) 0, transparent 3px),
        radial-gradient(circle at 12% 84%, rgba(125, 211, 252, 0.18) 0, transparent 3px),
        radial-gradient(circle at 92% 40%, rgba(94, 234, 212, 0.18) 0, transparent 3px);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ai-neural-bg::after {
    background-image:
        linear-gradient(100deg, transparent 34%, rgba(94, 234, 212, 0.1) 50%, transparent 66%),
        linear-gradient(80deg, transparent 40%, rgba(167, 139, 250, 0.08) 50%, transparent 60%);
    animation: aiNeuralSweep 11s ease-in-out infinite;
}

@keyframes aiNeuralSweep {
    0%, 100% { transform: translate3d(-4%, -2%, 0); opacity: 0.6; }
    50% { transform: translate3d(4%, 2%, 0); opacity: 0.9; }
}

.ai-chat-panel {
    position: relative;
    max-width: 34rem;
    margin-left: auto;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, 0.22);
    background:
        radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(2, 6, 23, 0.96) 100%);
    box-shadow:
        0 40px 80px rgba(79, 70, 229, 0.18),
        0 10px 30px rgba(2, 6, 23, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.ai-chat-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
        rgba(2, 6, 23, 0.4);
}

.ai-chat-panel__agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-chat-panel__avatar {
    position: relative;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a78bfa 100%);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.45);
    color: white;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
}

.ai-chat-panel__avatar::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: #34d399;
    border: 2px solid rgba(2, 6, 23, 0.95);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.ai-chat-panel__name {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    line-height: 1.2;
}

.ai-chat-panel__role {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
}

.ai-chat-panel__model {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    background: rgba(76, 29, 149, 0.24);
    color: #ddd6fe;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-chat-panel__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.4rem 1.2rem;
    max-height: 26rem;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 26px 26px;
}

.ai-bubble {
    max-width: 84%;
    padding: 0.8rem 1rem;
    border-radius: 1.1rem;
    font-size: 0.94rem;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(8px);
    animation: aiBubbleIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ai-bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.16) 0%, rgba(20, 184, 166, 0.12) 100%);
    border: 1px solid rgba(45, 212, 191, 0.24);
    color: #ccfbf1;
    border-bottom-right-radius: 0.35rem;
}

.ai-bubble--agent {
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    border-bottom-left-radius: 0.35rem;
}

.ai-bubble--agent strong {
    color: white;
}

.ai-bubble[data-delay="0"] { animation-delay: 0ms; }
.ai-bubble[data-delay="1"] { animation-delay: 450ms; }
.ai-bubble[data-delay="2"] { animation-delay: 1200ms; }
.ai-bubble[data-delay="3"] { animation-delay: 1900ms; }
.ai-bubble[data-delay="4"] { animation-delay: 2700ms; }

@keyframes aiBubbleIn {
    to { opacity: 1; transform: translateY(0); }
}

.ai-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    border-radius: 1.1rem;
    border-bottom-left-radius: 0.35rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.14);
    align-self: flex-start;
}

.ai-typing--tail {
    opacity: 0;
    transform: translateY(6px);
    animation: aiTypingTailIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 3200ms;
}

@keyframes aiTypingTailIn {
    to { opacity: 1; transform: translateY(0); }
}

.ai-typing span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #64748b;
    animation: aiTyping 1.4s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTyping {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.ai-chat-panel__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.5);
}

.ai-chat-panel__input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font-size: 0.88rem;
}

.ai-chat-panel__input-caret {
    width: 2px;
    height: 1rem;
    background: #5eead4;
    animation: aiCaret 1s step-end infinite;
}

@keyframes aiCaret {
    50% { opacity: 0; }
}

.ai-chat-panel__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 70%, #a78bfa 100%);
    color: #042f2e;
    cursor: pointer;
}

.ai-chat-panel__send svg {
    width: 1.05rem;
    height: 1.05rem;
}

.ai-floating-kpis {
    position: absolute;
    left: -1rem;
    bottom: -1.1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1.1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(45, 212, 191, 0.22);
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.55);
}

.ai-floating-kpis strong {
    color: white;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
}

.ai-floating-kpis__label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.ai-capability-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.08), transparent 52%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.88) 100%);
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.ai-capability-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, rgba(94, 234, 212, 0.35), transparent 40%, rgba(167, 139, 250, 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ai-capability-card:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 140, 248, 0.26);
    box-shadow: 0 32px 70px rgba(79, 70, 229, 0.18);
}

.ai-capability-card:hover::after {
    opacity: 1;
}

.ai-capability-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(129, 140, 248, 0.22) 100%);
    border: 1px solid rgba(129, 140, 248, 0.25);
    color: #e0e7ff;
}

.ai-capability-card__icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.ai-capability-card__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a5b4fc;
    font-weight: 700;
}

.ai-capability-card__title {
    font-family: "Sora", sans-serif;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
}

.ai-capability-card__copy {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.98rem;
}

.ai-capability-card__hl {
    color: var(--brand);
    font-weight: 600;
}

.ai-capability-card__hl.ai-shimmer {
    color: transparent;
}

.ai-capability-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.ai-capability-card__tag {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
}

.ai-capability-card__link {
    font-weight: 700;
    color: #7dd3fc;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.ai-capability-card__link:hover {
    color: #a5f3fc;
    gap: 0.65rem;
}

.ai-capability-card__link svg {
    width: 1rem;
    height: 1rem;
}

.impact-banner {
    padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.impact-banner__divider {
    display: block;
    width: min(48rem, 78%);
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(45, 212, 191, 0.32) 50%,
        transparent 100%);
}

.impact-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.75rem);
    flex-wrap: wrap;
    text-align: center;
}

.impact-banner__mascot {
    width: clamp(5rem, 8vw, 7rem);
    height: auto;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.impact-banner__text {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.impact-banner__lead {
    color: white;
}

.impact-banner__highlight {
    color: #2dd4bf;
    margin-left: 0.4em;
}

.impact-banner--top {
    margin-top: -3rem;
}

@media (max-width: 767px) {
    .impact-banner__highlight {
        display: block;
        margin-left: 0;
        margin-top: 0.35em;
    }
}

/* Mascota dentro del card de contacto (parte de abajo, alineada a la derecha) */
.contact-form-card {
    display: flex;
    flex-direction: column;
}

.contact-form-mascot {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.contact-form-mascot img {
    width: auto;
    height: clamp(9rem, 15vw, 12rem);
    user-select: none;
    -webkit-user-drag: none;
}

.ai-action-shell {
    display: grid;
    gap: 1.4rem;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border-radius: 2.2rem;
    border: 1px solid rgba(129, 140, 248, 0.18);
    background:
        radial-gradient(circle at 10% 0%, rgba(129, 140, 248, 0.12), transparent 36%),
        radial-gradient(circle at 95% 100%, rgba(45, 212, 191, 0.1), transparent 40%),
        rgba(15, 23, 42, 0.6);
    position: relative;
    overflow: hidden;
}

@media (min-width: 960px) {
    .ai-action-shell {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.ai-flow-card {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.55);
}

.ai-flow-card__title {
    font-family: "Sora", sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ai-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.05rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.6);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.ai-flow-step:hover {
    border-color: rgba(94, 234, 212, 0.3);
    transform: translateX(2px);
}

.ai-flow-step__index {
    flex-shrink: 0;
    min-width: 2.15rem;
    font-family: "Sora", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    padding-top: 0.1rem;
    color: #5eead4;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.ai-flow-step__body strong {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.ai-flow-step__body span {
    color: #a8b6c9;
    font-size: 1rem;
    line-height: 1.6;
}

.ai-terminal-card {
    border-radius: 1.4rem;
    border: 1px solid rgba(94, 234, 212, 0.18);
    background:
        linear-gradient(180deg, rgba(6, 12, 26, 0.92) 0%, rgba(2, 6, 23, 0.96) 100%);
    overflow: hidden;
    font-family: "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;
}

.ai-terminal-card__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.ai-terminal-card__bar span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
}

.ai-terminal-card__bar span:first-child { background: #ef4444; }
.ai-terminal-card__bar span:nth-child(2) { background: #f59e0b; }
.ai-terminal-card__bar span:nth-child(3) { background: #22c55e; }

.ai-terminal-card__bar small {
    margin-left: 0.6rem;
    color: #64748b;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.ai-terminal-card__body {
    padding: 1.1rem 1.25rem;
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.85;
    font-variant-numeric: tabular-nums lining-nums;
}

.ai-terminal-card__body .tok-comment { color: #64748b; }
.ai-terminal-card__body .tok-key { color: #a78bfa; }
.ai-terminal-card__body .tok-str { color: #5eead4; }
.ai-terminal-card__body .tok-num { color: #fbbf24; }
.ai-terminal-card__body .tok-ok { color: #34d399; }

.pricing-card--ai {
    border: 2px solid rgba(45, 212, 191, 0.42);
    background:
        radial-gradient(circle at top, rgba(45, 212, 191, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(2, 6, 23, 0.92) 100%);
    box-shadow:
        0 22px 52px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(45, 212, 191, 0.15);
}

.pricing-card__badge--ai {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(167, 139, 250, 0.25) 100%);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #e0e7ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-card--accent .pricing-card__badge--ai {
    border: 1px solid rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    box-shadow: none;
}

.pricing-card--featured.pricing-card--ai .pricing-card__badge--ai {
    border: 1px solid rgba(45, 212, 191, 0.55);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22) 0%, rgba(125, 211, 252, 0.2) 50%, rgba(167, 139, 250, 0.22) 100%);
    color: #99f6e4;
    box-shadow: 0 0 14px -4px rgba(45, 212, 191, 0.55);
}

.pricing-card--accent .pricing-card__price {
    color: #fcd34d;
}

.pricing-card--featured.pricing-card--ai .pricing-card__price {
    color: #5eead4;
    text-shadow: 0 0 22px rgba(45, 212, 191, 0.32);
}

.pricing-card--accent .pricing-card__details {
    border-top-color: rgba(245, 158, 11, 0.22);
}

.pricing-card--accent .pricing-card__details li::before {
    color: #fbbf24;
}

.pricing-card--accent .pricing-card__list li::before {
    background: #fbbf24;
}

.pricing-card--accent > .secondary-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1c1917;
    border-color: transparent;
    box-shadow: 0 16px 38px -10px rgba(245, 158, 11, 0.45);
}

.pricing-card--accent > .secondary-button:hover {
    border-color: transparent;
    color: #1c1917;
    filter: brightness(1.05) saturate(1.05);
}

.pricing-card--featured.pricing-card--ai > .primary-button {
    background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 52%, #14b8a6 100%);
    color: #042f2e;
    box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.5);
}

.pricing-card--featured.pricing-card--ai > .primary-button:hover {
    color: #042f2e;
    filter: brightness(1.05) saturate(1.05);
}

#planes .pricing-card:not(.pricing-card--accent):not(.pricing-card--featured) {
    border: 2px solid rgba(129, 140, 248, 0.34);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.14), transparent 36%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(2, 6, 23, 0.92) 100%);
    box-shadow:
        0 22px 52px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(129, 140, 248, 0.12);
}

#planes .pricing-card:not(.pricing-card--accent):not(.pricing-card--featured) .pricing-card__price {
    display: inline-block;
    background-image: linear-gradient(
        100deg,
        #5eead4 0%,
        #7dd3fc 28%,
        #a78bfa 52%,
        #7dd3fc 76%,
        #5eead4 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: aiShimmer 7s ease-in-out infinite;
}

#planes .pricing-card:not(.pricing-card--accent):not(.pricing-card--featured) > .secondary-button {
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 50%, #a78bfa 100%);
    color: #042f2e;
    border-color: transparent;
    box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.42);
}

#planes .pricing-card:not(.pricing-card--accent):not(.pricing-card--featured) > .secondary-button:hover {
    border-color: transparent;
    color: #042f2e;
    filter: brightness(1.05) saturate(1.05);
}

.web-plus-ai-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.5);
    display: grid;
    gap: 0.7rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.web-plus-ai-card:hover {
    border-color: rgba(129, 140, 248, 0.3);
    transform: translateY(-2px);
}

.web-plus-ai-card__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Sora", sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}

.web-plus-ai-card__ia-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.2) 0%, rgba(167, 139, 250, 0.22) 100%);
    border: 1px solid rgba(167, 139, 250, 0.32);
    color: #e0e7ff;
}

.web-plus-ai-card__copy {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.web-plus-ai-card__ia-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-top: 0.7rem;
    border-top: 1px dashed rgba(129, 140, 248, 0.24);
    color: #c7d2fe;
    font-size: 0.86rem;
    font-weight: 600;
}

.web-plus-ai-card__ia-line svg {
    width: 1rem;
    height: 1rem;
    color: #a78bfa;
    flex-shrink: 0;
}

.web-plus-ai-card__link {
    margin-top: 0.35rem;
    font-weight: 700;
    color: #5eead4;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.web-plus-ai-card__link:hover {
    color: #99f6e4;
    gap: 0.55rem;
}


.contact-mascot-wrap {
    bottom: clamp(4.75rem, 9vw, 7rem);
}

.ai-check-list {
    display: grid;
    gap: 0.7rem;
}

.ai-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.ai-check-list li svg {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    color: #5eead4;
}

.ai-typed-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-height: 1.25em;
}

.ai-typed-caret {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    background: currentColor;
    margin-left: 3px;
    animation: aiCaret 1s step-end infinite;
}

@media (max-width: 768px) {
    .ai-floating-kpis {
        left: auto;
        right: 0.5rem;
        bottom: -1rem;
        padding: 0.7rem 0.9rem;
    }

    .ai-floating-kpis strong {
        font-size: 1.1rem;
    }

    .ai-chat-panel__body {
        padding: 1.1rem 0.95rem;
        max-height: 22rem;
    }

    .ai-bubble {
        font-size: 0.88rem;
    }
}

/* ── Mascotas decorativas ──────────────────────────────────────── */
[data-mascot] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-mascot].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1279px) {
    .contact-mascot-wrap {
        bottom: clamp(3.75rem, 8vw, 5.5rem);
    }
}

@media (max-width: 1023px) {
    .contact-mascot-wrap {
        bottom: 4rem;
    }
}

@media (max-width: 799px) {
    .contact-mascot-wrap {
        bottom: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-mascot] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 1 — Hero, Métricas, IA carrusel
   Solo se renderiza cuando el bloque mobile está activo
   (toggle vía utilidades md:hidden / hidden md:*).
   El desktop NO debe verse afectado por nada en este bloque.
   ============================================================ */

/* ── Hero mobile ──────────────────────────────────────── */
.mobile-hero {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.mobile-hero__eyebrow {
    align-self: flex-start;
}

.mobile-hero__title {
    font-family: "Sora", "Manrope", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2.05rem, 8.5vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: white;
    text-wrap: balance;
}

.mobile-hero__title-accent {
    display: block;
    color: #5eead4;
    margin-top: 0.35rem;
}

.mobile-hero__copy {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .mobile-hero__flip.hero-flip {
        max-width: 100%;
        margin-left: 0;
        margin-inline: auto;
        margin-top: 1rem;
    }

    .mobile-hero__flip.hero-flip .hero-flip__card,
    .mobile-hero__flip.hero-flip .hero-flip__glow {
        animation-duration: 9s;
    }
}


.mobile-hero__live {
    align-self: flex-start;
}

.mobile-hero__cta {
    margin-top: 0.25rem;
}



/* ── IA cards mobile (stack vertical) ──────────────────── */
.mobile-ia-carousel {
    margin-top: 1.25rem;
}

.mobile-ia-carousel__track {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-ia-card {
    width: 100%;
    display: grid;
    gap: 0.5rem;
    padding: 1.25rem 1.4rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.1), transparent 52%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(12px);
}

.mobile-ia-card__copy {
    margin: 0;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.45;
}

.mobile-ia-carousel__dots {
    display: none;
}

@media (max-width: 767px) {
    #ia > .mobile-mascot-peek {
        display: none;
    }
}

.mobile-ia-carousel__dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.32);
    transition: background-color 0.25s ease, width 0.25s ease;
}

.mobile-ia-carousel__dots span.is-active {
    width: 1.2rem;
    background: #5eead4;
}

/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 2 — Sección #accion
   Timeline vertical de 4 pasos + terminal premium adaptado a celular.
   ============================================================ */

.mobile-action {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.5rem;
}

/* ── Flow vertical — 4 pasos con conector ──────────────── */
.mobile-flow {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem 1.2rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(2, 6, 23, 0.78) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.32);
}

.mobile-flow::before {
    content: "";
    position: absolute;
    left: calc(1.2rem + 1.05rem - 1px);
    top: calc(1.4rem + 2.1rem);
    bottom: calc(1.4rem + 2.1rem);
    width: 2px;
    background: linear-gradient(180deg, rgba(94, 234, 212, 0.5) 0%, rgba(129, 140, 248, 0.18) 100%);
    border-radius: 999px;
    pointer-events: none;
}

.mobile-flow__step {
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    gap: 0.95rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.mobile-flow__node {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(94, 234, 212, 0.28), rgba(129, 140, 248, 0.22)),
        rgba(2, 6, 23, 0.95);
    border: 1px solid rgba(94, 234, 212, 0.36);
    color: #5eead4;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.22);
    flex-shrink: 0;
}

.mobile-flow__body strong {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.3;
    margin-bottom: 0.22rem;
    margin-top: 0.15rem;
}

.mobile-flow__body span {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ── Composición monitor + iPhone + mascota (mobile #accion) ── */
.mobile-screens {
    margin-top: 3rem;
    padding-bottom: 1.75rem;
}

.mobile-screens__cluster {
    position: relative;
    width: 100%;
}

.mobile-screens__mascot {
    position: absolute;
    bottom: 1rem;
    left: 0.4rem;
    width: 4.5rem;
    height: auto;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 6px 12px rgba(2, 6, 23, 0.45));
}

.mobile-screens__monitor {
    width: 100%;
    aspect-ratio: 8 / 5;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 0.75rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 0%, rgba(94, 234, 212, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.9) 100%);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
    display: flex;
    flex-direction: column;
}

.mobile-screens__monitor-bar {
    flex: 0 0 auto;
    height: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-left: 0.45rem;
    background: rgba(2, 6, 23, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-screens__monitor-bar span {
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}

.mobile-screens__monitor-bar span:first-child { background: rgba(239, 68, 68, 0.55); }
.mobile-screens__monitor-bar span:nth-child(2) { background: rgba(245, 158, 11, 0.55); }
.mobile-screens__monitor-bar span:nth-child(3) { background: rgba(34, 197, 94, 0.55); }

.mobile-screens__monitor-screen {
    flex: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(2, 6, 23, 0.6) 100%);
    overflow: hidden;
}

.mobile-screens__monitor-screen picture,
.mobile-screens__monitor-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-screens__phone {
    position: absolute;
    bottom: -1.35rem;
    right: -0.4rem;
    width: 28%;
    aspect-ratio: 1 / 2;
    border: 2px solid rgba(94, 234, 212, 0.6);
    border-radius: 0.85rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 6, 23, 0.95) 100%);
    box-shadow:
        0 16px 32px rgba(2, 6, 23, 0.55),
        0 0 0 1px rgba(94, 234, 212, 0.18),
        0 0 22px rgba(45, 212, 191, 0.18);
}

.mobile-screens__phone-island {
    position: absolute;
    top: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 0.42rem;
    background: #000;
    border-radius: 999px;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.mobile-screens__phone-screen {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(94, 234, 212, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.6) 100%);
    overflow: hidden;
}

.mobile-screens__phone-screen picture,
.mobile-screens__phone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 5 — Sección Portfolio
   Carrusel horizontal con cards "browser frame" (chrome dots +
   URL bar dibujados con CSS) sobre la screenshot del proyecto.
   Texto editorial debajo: chips, título con flecha externa, tags.
   ============================================================ */

.mobile-portfolio {
    margin-top: 0.5rem;
    margin-inline: -1rem;
}

/* Accent verde para palabras destacadas en titulares (ej: "ya están") */
.section-title__accent-green {
    color: #5eead4;
}

.mobile-portfolio__track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Padding lateral calculado para que cualquier card snapeada quede centrada
       en el viewport, dejando peeks visibles de las cards adyacentes */
    padding-block: 0.25rem;
    padding-inline: max(1rem, calc((100vw - min(74vw, 22rem)) / 2));
}

.mobile-portfolio__track::-webkit-scrollbar {
    display: none;
}

.mobile-portfolio__card {
    flex: 0 0 min(74vw, 22rem);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    border-radius: 1.6rem;
    overflow: hidden;
    border: 2px solid rgba(45, 212, 191, 0.38);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.1), transparent 52%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.9) 100%);
    box-shadow:
        0 18px 44px rgba(2, 6, 23, 0.35),
        0 0 0 1px rgba(45, 212, 191, 0.12);
    backdrop-filter: blur(12px);
}


.mobile-portfolio__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
}

.mobile-portfolio__card--system .mobile-portfolio__visual {
    cursor: pointer;
}

.mobile-portfolio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: saturate(0.78) brightness(0.85) contrast(0.97);
}

.mobile-portfolio__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.22) 100%),
        radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.16), transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.12), transparent 38%);
}

/* ── Body: chips + título + tags ─────────────────────── */
.mobile-portfolio__body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.1rem 1.2rem 1.3rem;
}


.mobile-portfolio__copy {
    margin: 0;
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-portfolio__title {
    margin: 0.1rem 0;
    font-family: "Sora", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-portfolio__title-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.mobile-portfolio__title-link:hover,
.mobile-portfolio__title-link:active {
    color: #5eead4;
    gap: 0.55rem;
}

.mobile-portfolio__title-link svg {
    width: 0.95rem;
    height: 0.95rem;
    color: rgba(94, 234, 212, 0.85);
    flex-shrink: 0;
}


/* ── Dots de paginación ────────────────────────────── */
.mobile-portfolio__dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.mobile-portfolio__dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.32);
    transition: background-color 0.25s ease, width 0.25s ease;
}

.mobile-portfolio__dots span.is-active {
    width: 1.2rem;
    background: #5eead4;
}

/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 6 — Sección Planes
   4 cards apiladas verticalmente (Landing+IA orange, Web Inst+IA
   green destacado, Ecommerce+IA, A medida+IA), strip horizontal
   de complementos al final. CTAs hacia WhatsApp prefilled.
   ============================================================ */

.mobile-plans {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.mobile-plans__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.4rem 1.3rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.08), transparent 52%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.88) 100%);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.32);
    backdrop-filter: blur(12px);
}


.mobile-plans__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.mobile-plans__badge--orange {
    border: 1px solid rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

.mobile-plans__badge--ai {
    border: 1px solid rgba(167, 139, 250, 0.42);
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.22) 0%, rgba(125, 211, 252, 0.22) 50%, rgba(167, 139, 250, 0.26) 100%);
    color: #ddd6fe;
    box-shadow: 0 0 14px -4px rgba(167, 139, 250, 0.45);
}

.mobile-plans__title {
    font-family: "Sora", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.18;
    color: white;
    letter-spacing: -0.005em;
}

.mobile-plans__price {
    margin: 0.3rem 0 0;
    font-family: "Sora", sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    color: #99f6e4;
    letter-spacing: -0.02em;
}

.mobile-plans__price-prefix {
    display: block;
    margin: 0 0 0.16rem;
    font-size: 0.44em;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #94a3b8;
    line-height: 1.1;
}

    letter-spacing: -0.03em;
}

.mobile-plans__price-note {
    align-self: flex-start;
    display: inline-flex;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.mobile-plans__features {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.6rem 0 0.3rem;
    padding: 0;
    list-style: none;
}

.mobile-plans__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
}

.mobile-plans__features li svg {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.18rem;
    color: #5eead4;
}

.mobile-plans__card--orange .mobile-plans__features li svg {
    color: #fbbf24;
}

.mobile-plans__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.95rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(94, 234, 212, 0.42);
    background: rgba(15, 23, 42, 0.7);
    color: #99f6e4;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.mobile-plans__cta:hover,
.mobile-plans__cta:active {
    background: rgba(45, 212, 191, 0.14);
    border-color: rgba(94, 234, 212, 0.65);
    color: #ccfbf1;
    gap: 0.7rem;
    transform: translateY(-1px);
}


.mobile-plans__card:not(.mobile-plans__card--orange) {
    border: 2px solid rgba(129, 140, 248, 0.38);
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.14), transparent 36%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(2, 6, 23, 0.92) 100%);
    box-shadow:
        0 22px 52px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(129, 140, 248, 0.12);
}

.mobile-plans__card:not(.mobile-plans__card--orange) .mobile-plans__cta {
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 50%, #a78bfa 100%);
    color: #042f2e;
    border-color: transparent;
    box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.42);
}

.mobile-plans__card:not(.mobile-plans__card--orange) .mobile-plans__cta:hover,
.mobile-plans__card:not(.mobile-plans__card--orange) .mobile-plans__cta:active {
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 50%, #a78bfa 100%);
    color: #042f2e;
    filter: brightness(1.05) saturate(1.05);
}

.mobile-plans__card--orange .mobile-plans__cta {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1c1917;
    border-color: transparent;
    box-shadow: 0 16px 38px -10px rgba(245, 158, 11, 0.45);
}

.mobile-plans__card--orange .mobile-plans__cta:hover,
.mobile-plans__card--orange .mobile-plans__cta:active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1c1917;
    filter: brightness(1.05) saturate(1.05);
}

.mobile-plans__cta svg {
    width: 1rem;
    height: 1rem;
}



/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 8 — Sección Contacto
   Form simplificado a 3 campos (Nombre, Teléfono/email, Mensaje).
   Sin descripción, sin atajo WhatsApp (FAB lo cubre), sin bullets
   "Ideal si necesitás". Email mailto discreto al final.
   ============================================================ */

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 0.5rem;
}

.mobile-contact__heading {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mobile-contact__heading .eyebrow {
    align-self: flex-start;
}

.mobile-contact__heading .section-title {
    margin: 0;
}

.mobile-contact__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-contact__field {
    display: block;
}

.mobile-contact__field input,
.mobile-contact__field textarea {
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.65);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.mobile-contact__field input::placeholder,
.mobile-contact__field textarea::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.mobile-contact__field input:focus,
.mobile-contact__field textarea:focus {
    outline: none;
    border-color: rgba(94, 234, 212, 0.55);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.mobile-contact__field textarea {
    min-height: 7rem;
    resize: vertical;
}

.mobile-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.4rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 0;
    background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 50%, #a78bfa 100%);
    color: #042f2e;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.5);
    transition: transform 0.2s ease, gap 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.mobile-contact__submit:hover,
.mobile-contact__submit:active {
    gap: 0.7rem;
    transform: translateY(-1px);
    filter: brightness(1.05) saturate(1.05);
}

.mobile-contact__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.mobile-contact__submit svg {
    width: 1rem;
    height: 1rem;
}

.mobile-contact__feedback {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mobile-contact__feedback--success {
    color: #99f6e4;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.32);
}

.mobile-contact__feedback--error {
    color: #fdba74;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ── Separador + email alternativo discreto ────────────── */
.mobile-contact__alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.mobile-contact__divider {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(148, 163, 184, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.mobile-contact__divider::before,
.mobile-contact__divider::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
}

.mobile-contact__email {
    color: #5eead4;
    font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-contact__email:hover,
.mobile-contact__email:active {
    color: #ccfbf1;
    text-decoration: underline;
}

/* ============================================================
   MOBILE-FIRST REDISEÑO · Bloque 9 — Mascota mobile (Fase 1)
   1) Mascotas "peeking" en bordes laterales entre secciones, con
      fade-in al entrar al viewport (data-mascot + initMascotAnimations)
      y float infinito sutil.
   2) Mascota_festeja arriba del feedback al enviar el form mobile
      con bounce/scale, fade-out a los 5s.
   ============================================================ */

/* ── Mascotas peeking ──────────────────────────────────── */
.mobile-mascot-peek {
    position: absolute;
    bottom: 0.4rem;
    z-index: 5;
    width: 5rem;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-mascot-peek.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-mascot-peek--left {
    left: 0.4rem;
}

.mobile-mascot-peek--right {
    right: 0.4rem;
}

.mobile-mascot-peek img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(45, 212, 191, 0.24));
    animation: mobileMascotPeekFloat 3.6s ease-in-out infinite;
}

@keyframes mobileMascotPeekFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-mascot-peek {
        transition: opacity 0.3s ease;
        transform: none;
    }
    .mobile-mascot-peek img {
        animation: none;
    }
}

/* ── Mascota celebrando al enviar form ────────────────── */
.mobile-contact__success-mascot {
    display: none;
    margin: 0.6rem auto 0;
    width: 7rem;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 12px 22px rgba(45, 212, 191, 0.32));
}

.mobile-contact__success-mascot.is-visible {
    display: block;
    animation:
        mobileContactSuccessAppear 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        mobileContactSuccessFloat 2.8s ease-in-out infinite 0.5s;
}

@keyframes mobileContactSuccessAppear {
    0% { opacity: 0; transform: scale(0.6) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes mobileContactSuccessFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-contact__success-mascot.is-visible {
        animation: none;
        opacity: 1;
    }
}

/* ── Override final: las utilities de visibility de Tailwind deben ganar
       sobre cualquier clase custom de styles.css (que carga después y
       define display hard-coded). Sin esto, .hero-grid pisa a .hidden
       y los bloques desktop+mobile se renderizan a la vez.
       IMPORTANTE: si se usan utilities en otros breakpoints (sm:, xl:),
       agregarlas acá también con !important para que ganen sobre .hidden. */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:block  { display: block !important; }
    .md\:flex   { display: flex !important; }
    .md\:grid   { display: grid !important; }
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none !important; }
    .lg\:block  { display: block !important; }
    .lg\:flex   { display: flex !important; }
    .lg\:grid   { display: grid !important; }
}

/* Mascotas desktop laterales: solo se muestran cuando el viewport tiene
   margen lateral ≥ ancho de la mascota (~180px) a cada lado del
   .section-shell (max 1320px). Mínimo: 1320 + 2×180 = 1680px.
   Cubre también casos de zoom de navegador (133% en 1920px ≈ 1444px de
   viewport efectivo). Va después del override de Tailwind para ganarle
   a .md\:block. */
@media (max-width: 1679px) {
    .desktop-mascot-side { display: none !important; }
}

/* Hero — flip card 3D que alterna planilla → dashboard cada 5 segundos */
.hero-flip {
    position: relative;
    width: 100%;
    max-width: 39rem;
    aspect-ratio: 4 / 3;
    margin-left: 1rem;
    perspective: 1600px;
}

.hero-flip__card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: heroFlipSpin 13s ease-in-out infinite;
    will-change: transform;
}

.hero-flip__face {
    position: absolute;
    inset: 0;
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.6);
    box-shadow:
        0 30px 70px rgba(2, 6, 23, 0.55),
        0 10px 24px rgba(2, 6, 23, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-flip__face picture,
.hero-flip__face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-flip__face--back {
    transform: rotateY(180deg);
}

.hero-flip__glow {
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(45, 212, 191, 0.55) 0%,
        rgba(94, 234, 212, 0.25) 35%,
        transparent 70%
    );
    filter: blur(28px);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    animation: heroFlipGlow 13s ease-in-out infinite;
    will-change: opacity, transform;
}

@keyframes heroFlipSpin {
    0%    { transform: rotateY(0deg); }
    38.5% { transform: rotateY(0deg); }
    50%   { transform: rotateY(900deg); }
    88.5% { transform: rotateY(900deg); }
    100%  { transform: rotateY(1800deg); }
}

@keyframes heroFlipGlow {
    0%, 38.5%       { opacity: 0; transform: scale(0.85); }
    44%             { opacity: 1; transform: scale(1.08); }
    50%             { opacity: 0; transform: scale(0.85); }
    50.001%, 88.5%  { opacity: 0; transform: scale(0.85); }
    94%             { opacity: 1; transform: scale(1.08); }
    100%            { opacity: 0; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-flip__card,
    .hero-flip__glow {
        animation: none;
    }
}

/* Portfolio carousel (desktop) */
.portfolio-carousel {
    position: relative;
    --portfolio-visible: 3;
    --portfolio-gap: 1.5rem;
}

@media (max-width: 1023px) {
    .portfolio-carousel {
        --portfolio-visible: 2;
    }
}

.portfolio-carousel__viewport {
    overflow: hidden;
    border-radius: 1.4rem;
}

.portfolio-carousel__track {
    display: flex;
    gap: var(--portfolio-gap);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.portfolio-card {
    flex: 0 0 calc((100% - (var(--portfolio-visible) - 1) * var(--portfolio-gap)) / var(--portfolio-visible));
    display: flex;
    flex-direction: column;
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.55);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover {
    border-color: rgba(94, 234, 212, 0.28);
    transform: translateY(-2px);
}

.portfolio-card__visual {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.6);
}

.portfolio-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.22) 100%),
        radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.16), transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.12), transparent 38%);
}

.portfolio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: saturate(0.78) brightness(0.85) contrast(0.97);
}

.portfolio-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.4rem 1.5rem;
}

.portfolio-card__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.portfolio-card__badge--web {
    color: #5eead4;
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.32);
}

.portfolio-card__badge--system {
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.32);
}

.portfolio-card__title {
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
}

.portfolio-card__title-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-card__title-link:hover {
    color: #5eead4;
}

.portfolio-card__title-link svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.portfolio-card__title-link:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
}

.portfolio-card--system .portfolio-card__visual {
    cursor: pointer;
}

.portfolio-card--system .portfolio-card__visual::before {
    content: "";
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.75) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/><path d='M11 8v6'/><path d='M8 11h6'/></svg>") center/1.1rem 1.1rem no-repeat;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.portfolio-card--system .portfolio-card__visual:hover::before,
.portfolio-card--system .portfolio-card__visual:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.portfolio-card--system .portfolio-card__visual:focus-visible {
    outline: 2px solid rgba(94, 234, 212, 0.6);
    outline-offset: 3px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox.is-visible {
    opacity: 1;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(10px);
    cursor: default;
}

.lightbox__container {
    position: relative;
    max-width: 75vw;
    max-height: 78vh;
    transform: scale(0.9) translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    cursor: default;
}

.lightbox.is-visible .lightbox__container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lightbox__image {
    display: block;
    max-width: 75vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.9rem;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 12px 30px rgba(0, 0, 0, 0.4);
    cursor: default;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lightbox__image.is-changing {
    opacity: 0;
    transform: scale(0.97);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.lightbox__nav:hover {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(94, 234, 212, 0.5);
    color: #5eead4;
}

.lightbox__nav svg {
    width: 1.35rem;
    height: 1.35rem;
}

.lightbox__nav--prev {
    left: 1.6rem;
}

.lightbox__nav--next {
    right: 1.6rem;
}

.lightbox__nav--hidden {
    display: none;
}

.lightbox__close {
    position: absolute;
    top: -1.1rem;
    right: -1.1rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 0;
    background: white;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox__close:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

.lightbox__close svg {
    width: 1.15rem;
    height: 1.15rem;
}

.portfolio-card__copy {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.portfolio-carousel__arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
}

.portfolio-carousel__arrow:hover:not(:disabled) {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(94, 234, 212, 0.4);
    color: #5eead4;
}

.portfolio-carousel__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-carousel__arrow svg {
    width: 1.15rem;
    height: 1.15rem;
}

.portfolio-carousel__arrow--prev {
    left: -1.25rem;
}

.portfolio-carousel__arrow--next {
    right: -1.25rem;
}

@media (min-width: 1280px) {
    .portfolio-carousel__arrow--prev {
        left: -1.6rem;
    }
    .portfolio-carousel__arrow--next {
        right: -1.6rem;
    }
}

/* WhatsApp-style chat (usado en sección "Así funciona un sistema a medida") */
.wa-chat {
    width: 100%;
    max-width: 23rem;
    margin-inline: auto;
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #0b141a;
    box-shadow:
        0 30px 60px rgba(2, 6, 23, 0.45),
        0 8px 22px rgba(2, 6, 23, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
}

/* iPhone frame envolvente del chat */
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 17rem;
    aspect-ratio: 9 / 19.5;
    margin-inline: auto;
    padding: 0.55rem;
    border-radius: 2.4rem;
    background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 60%, #1a1a1c 100%);
    box-shadow:
        0 0 0 1.5px #2a2a2c,
        0 0 0 3px #0a0a0a,
        0 50px 90px rgba(0, 0, 0, 0.55),
        0 14px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.iphone-frame__screen {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 1.85rem;
    overflow: hidden;
    background: #0b141a;
    box-shadow: inset 0 0 0 1.5px #000;
}

.iphone-frame__statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem 0.45rem;
    background: #202c33;
    color: #e9edef;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.iphone-frame__time {
    font-variant-numeric: tabular-nums;
}

.iphone-frame__sysicons {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #e9edef;
}

.iphone-frame__sysicons svg {
    fill: currentColor;
}

.iphone-frame__icon-signal {
    width: 1rem;
    height: 0.7rem;
}

.iphone-frame__icon-wifi {
    width: 0.95rem;
    height: 0.72rem;
}

.iphone-frame__battery {
    position: relative;
    display: inline-block;
    width: 1.35rem;
    height: 0.7rem;
    border: 1px solid currentColor;
    border-radius: 0.22rem;
    padding: 1px;
    box-sizing: border-box;
}

.iphone-frame__battery::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0.4rem;
    background: currentColor;
    border-radius: 0 1px 1px 0;
}

.iphone-frame__battery-level {
    display: block;
    width: 80%;
    height: 100%;
    background: currentColor;
    border-radius: 0.1rem;
}

.iphone-frame__island {
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4.4rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #000;
    z-index: 5;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.6);
}

/* botones laterales */
.iphone-frame__btn {
    position: absolute;
    background: linear-gradient(180deg, #1f1f21 0%, #0a0a0a 50%, #1f1f21 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    z-index: 1;
}

.iphone-frame__btn--silent {
    left: -2px;
    top: 4.5rem;
    width: 3px;
    height: 1.4rem;
    border-radius: 2px 0 0 2px;
}

.iphone-frame__btn--vol-up {
    left: -3px;
    top: 6.6rem;
    width: 3px;
    height: 2.4rem;
    border-radius: 2px 0 0 2px;
}

.iphone-frame__btn--vol-down {
    left: -3px;
    top: 9.4rem;
    width: 3px;
    height: 2.4rem;
    border-radius: 2px 0 0 2px;
}

.iphone-frame__btn--power {
    right: -3px;
    top: 7.2rem;
    width: 3px;
    height: 3.4rem;
    border-radius: 0 2px 2px 0;
}

/* el chat dentro del marco pierde su sombra/borde propios */
.iphone-frame .wa-chat {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    min-height: 0;
}

.wa-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    background: #202c33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wa-chat__contact {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.wa-chat__avatar {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    object-fit: cover;
    background: #0b141a;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.wa-chat__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.wa-chat__name {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    color: #e9edef;
    font-size: 0.95rem;
}

.wa-chat__status {
    color: #8696a0;
    font-size: 0.74rem;
    margin-top: 0.1rem;
}

.wa-chat__actions {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #aebac1;
    flex-shrink: 0;
}

.wa-chat__actions svg {
    width: 1.15rem;
    height: 1.15rem;
}

.wa-chat__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 0.95rem;
    background-color: #0b141a;
    background-image:
        radial-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
    overflow: hidden;
}

.wa-bubble {
    position: relative;
    max-width: 78%;
    padding: 0.5rem 0.65rem 0.45rem;
    border-radius: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #e9edef;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    opacity: 0;
    transform: translateY(6px);
    animation: waBubbleIn 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-play-state: paused;
}

.wa-chat.is-active .wa-bubble,
.wa-chat.is-active .wa-typing {
    animation-play-state: running;
}

.wa-bubble--user {
    align-self: flex-end;
    background: #005c4b;
    border-bottom-right-radius: 0.15rem;
}

.wa-bubble--agent {
    align-self: flex-start;
    background: #202c33;
    border-bottom-left-radius: 0.15rem;
}

.wa-bubble__time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    float: right;
    margin: 0.4rem 0 -0.1rem 0.5rem;
    font-size: 0.66rem;
    color: #8696a0;
    line-height: 1;
}

.wa-bubble--user .wa-bubble__time {
    color: rgba(233, 237, 239, 0.65);
}

.wa-bubble__time svg {
    width: 0.95rem;
    height: 0.7rem;
    color: #53bdeb;
    flex-shrink: 0;
}

.wa-bubble[data-delay="0"] { animation-delay: 0ms; }
.wa-bubble[data-delay="1"] { animation-delay: 380ms; }
.wa-bubble[data-delay="2"] { animation-delay: 1000ms; }
.wa-bubble[data-delay="3"] { animation-delay: 1700ms; }
.wa-bubble[data-delay="4"] { animation-delay: 2400ms; }

@keyframes waBubbleIn {
    to { opacity: 1; transform: translateY(0); }
}

.wa-typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.75rem;
    background: #202c33;
    border-radius: 0.55rem;
    border-bottom-left-radius: 0.15rem;
    opacity: 0;
    animation: waBubbleIn 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 2900ms;
    animation-play-state: paused;
}

.wa-typing span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #8696a0;
    animation: waTypingDot 1.3s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.18s; }
.wa-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes waTypingDot {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.wa-chat__footer {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    background: #202c33;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wa-chat__input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #2a3942;
    color: #8696a0;
    font-size: 0.82rem;
}

.wa-chat__input svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #8696a0;
    flex-shrink: 0;
}

.wa-chat__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #8696a0;
    cursor: pointer;
}

.wa-chat__send svg {
    width: 1.3rem;
    height: 1.3rem;
}
