/* =====================================================================
   GIDEON BUSINESS — Redesign v2
   Misma identidad (negro + azul #1B4EF5 + Grotesk/Mono + estética hacker),
   distinta arquitectura visual: hero split con mockup de WhatsApp, cards,
   bento grid, pricing destacado, grid de testimonios y FAQ en acordeón.
   ===================================================================== */

/* ---------- Tipografía de títulos (gradiente garantizado) ---------- */
.g-title {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.06;
    color: #f4f7f5;
    background: linear-gradient(
        180deg,
        #f4f7f5 0%,
        rgba(244, 247, 245, 0.82) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g-kicker {
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-5, #5997ff);
}

.g-sub {
    color: var(--text-main, #f4f7f5a3);
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.12px;
}

/* ---------- Sección base ---------- */
.g-section {
    position: relative;
    padding: 88px 0;
}
.g-section .g-container {
    position: relative;
    z-index: 1;
}
.g-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line, #ffffff1a);
    border-bottom: 1px solid var(--line, #ffffff1a);
    padding: 16px;
    margin-bottom: 64px;
}
.g-sec-num {
    font-family: "Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-2, #f4f7f5);
    white-space: nowrap;
}
.g-sec-num .g-num {
    color: var(--text-2, #f4f7f5);
}
.g-sec-label {
    font-family: "Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-2, #f4f7f5);
    text-align: right;
}
.g-sec-intro {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.g-sec-intro .g-title {
    font-size: clamp(30px, 4.2vw, 52px);
    margin-bottom: 20px;
}
.g-sec-intro .g-sub {
    margin: 0 auto;
    max-width: 560px;
}

/* ---------- HERO: split ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    padding: 64px 0 40px;
}
.hero-copy {
    position: relative;
}
/* El hero-video (red neuronal) es muy luminoso y Chrome pinta el <h1> con
   background-clip:text + relleno transparente, sin text-shadow posible.
   Scrim oscuro localizado detrás del copy para garantizar contraste. */
.hero-copy::before {
    content: "";
    position: absolute;
    inset: -12% -10%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        64% 60% at 42% 48%,
        rgba(3, 4, 8, 0.94) 0%,
        rgba(3, 4, 8, 0.76) 46%,
        rgba(3, 4, 8, 0) 100%
    );
}
.hero-copy .g-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #8fb6ff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.hero-copy .g-kicker::before,
.hero-copy .g-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(143, 182, 255, 0.55);
}
.hero-copy h1 {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    /* OJO: NO usar background-clip:text en el <h1>. Anidado con el gradiente
       de .text-change_rotating dispara un bug de compositing de Chrome (GPU)
       que deja la frase ANTERIOR "pegada" encima del texto estatico. */
    color: #f4f7f5;
    -webkit-text-fill-color: #f4f7f5;
    /* Sin background-clip, text-shadow ya se pinta (antes se ignoraba por el
       relleno transparente). Da el halo de contraste sobre el video. */
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 6px 22px rgba(0, 0, 0, 0.7);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin-bottom: 24px;
}
.hero-copy h1 .text-change_wrap {
    display: block;
    line-height: 1.05;
    text-align: left;
}
.hero-copy h1 .text-change_rotating {
    /* Gradiente original de la marca: violeta -> azul -> cian, mas saturado. */
    background: linear-gradient(90.9deg, #9f9dfb 0%, #709af5 50%, #a5dcf3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* El text-shadow del h1 se hereda aqui y, con relleno transparente, la
       sombra oscura tapa el gradiente (las letras se ven grises/apagadas). */
    text-shadow: none;
    white-space: normal;
    overflow-wrap: break-word;
}
.hero-copy h1 .text-change_rotating.active {
    display: inline-block !important;
}
.hero-copy .hero-sub {
    color: #dfe6f2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
    font-size: 17px;
    line-height: 27px;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-ctas .tf-btn {
    height: 46px;
    padding: 0 26px;
    font-size: 15px;
    border-radius: 10px;
}

/* CTA secundario "Habla con nosotros" — ghost visible sobre fondos oscuros */
.tf-btn.style-ghost {
    color: #f4f7f5;
    border: 1px solid rgba(89, 151, 255, 0.5);
    background: linear-gradient(
        180deg,
        rgba(89, 151, 255, 0.16) 0%,
        rgba(89, 151, 255, 0.05) 100%
    );
    box-shadow:
        0 0 0 1px rgba(89, 151, 255, 0.08),
        0 0 28px -8px rgba(89, 151, 255, 0.45);
    gap: 8px;
}
.tf-btn.style-ghost:hover {
    color: #ffffff;
    border-color: rgba(137, 180, 255, 0.85);
    background: linear-gradient(
        180deg,
        rgba(89, 151, 255, 0.26) 0%,
        rgba(89, 151, 255, 0.1) 100%
    );
    box-shadow:
        0 0 0 1px rgba(89, 151, 255, 0.15),
        0 0 36px -6px rgba(89, 151, 255, 0.6);
}
.tf-btn.style-ghost .cta-ico {
    flex-shrink: 0;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(226, 233, 244, 0.82);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.hero-trust span::before {
    content: "◆";
    color: var(--text-5, #5997ff);
    margin-right: 8px;
    font-size: 8px;
    vertical-align: middle;
}

/* ----- Phone mockup ----- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(27, 78, 245, 0.45) 0%,
        rgba(89, 151, 255, 0.14) 40%,
        transparent 70%
    );
    filter: blur(40px);
    z-index: 0;
}
.phone-mock {
    position: relative;
    z-index: 1;
    width: 320px;
    max-width: 100%;
    border-radius: 44px;
    padding: 11px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 60px -10px rgba(27, 78, 245, 0.5);
}
.phone-screen {
    position: relative;
    border-radius: 34px;
    background: #0a0a0c;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 26px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

/* WhatsApp top bar */
.wa-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 34px 14px 12px;
    background: linear-gradient(180deg, #101014 0%, #0a0a0c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wa-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary, #1b4ef5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 16px;
    flex-shrink: 0;
}
.wa-who {
    flex: 1;
    min-width: 0;
}
.wa-name {
    display: block;
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #f4f7f5;
    line-height: 1.2;
}
.wa-status {
    display: block;
    font-family: "Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: #6bc044;
}
.wa-status::before {
    content: "●";
    font-size: 7px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Chat bubbles */
.wa-chat {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
    min-height: 300px;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px
    );
    background-size: 12px 12px;
}
.wa-msg {
    max-width: 82%;
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.45;
    border-radius: 14px;
    position: relative;
    animation: wa-pop 0.4s ease both;
}
.wa-msg.in {
    align-self: flex-start;
    background: #1c1d21;
    color: #e8ebee;
    border-bottom-left-radius: 4px;
}
.wa-msg.out {
    align-self: flex-end;
    background: var(--primary, #1b4ef5);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.wa-time {
    display: block;
    font-size: 9px;
    opacity: 0.6;
    text-align: right;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
.wa-msg.out .wa-time {
    color: rgba(255, 255, 255, 0.75);
}
@keyframes wa-pop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Typing indicator */
.wa-typing {
    display: flex;
    gap: 4px;
    padding: 13px 14px;
}
.wa-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #aab;
    animation: wa-blink 1.2s infinite ease-in-out;
}
.wa-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.wa-typing span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes wa-blink {
    0%,
    80%,
    100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* WhatsApp input bar */
.wa-inputbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.wa-input {
    flex: 1;
    font-family: "Mono", monospace;
    font-size: 11px;
    color: var(--text-3, #f4f7f552);
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 9px 14px;
}
.wa-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary, #1b4ef5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

/* Floating chips */
.hero-float {
    position: absolute;
    z-index: 2;
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-2, #f4f7f5);
    background: rgba(20, 20, 21, 0.85);
    border: 1px solid var(--line, #ffffff1a);
    border-radius: 10px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}
.hero-float.float-1 {
    top: 8%;
    left: -4%;
}
.hero-float.float-2 {
    bottom: 12%;
    right: -4%;
}
.hero-float strong {
    color: var(--text-5, #5997ff);
    font-weight: 400;
}

/* ---------- Brand strip ---------- */
.g-brand {
    padding: 30px 0 44px;
    position: relative;
}
.g-brand .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-7, #f4f7f580);
    text-align: center;
    margin-bottom: 28px;
}
.g-brand .title::before,
.g-brand .title::after {
    content: "";
    flex: 0 0 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 247, 245, 0.24));
}
.g-brand .title::after {
    background: linear-gradient(90deg, rgba(244, 247, 245, 0.24), transparent);
}

/* Marquee: borde con fundido + separadores tipo "nodo" entre industrias */
.g-brand .infiniteslide_wrap {
    position: relative;
}
.g-brand .infiniteslide_wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #000 0%,
        rgba(0, 0, 0, 0) 22%,
        rgba(0, 0, 0, 0) 78%,
        #000 100%
    );
    pointer-events: none;
    z-index: 2;
}
.g-brand .infiniteSlide_brand {
    gap: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}
.g-brand .image-brand {
    position: relative;
    padding: 0 40px;
}
.g-brand .image-brand::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 4px;
    height: 4px;
    transform: translateY(-50%) rotate(45deg);
    background: var(--text-5, #5997ff);
    opacity: 0.55;
    transition:
        opacity 0.3s ease,
        box-shadow 0.3s ease;
}
.g-brand .image-brand:hover::after {
    opacity: 1;
    box-shadow: 0 0 8px rgba(89, 151, 255, 0.7);
}

@media (max-width: 1199px) {
    .g-brand .image-brand {
        padding: 0 20px;
    }
    .g-brand .image-brand::after {
        right: 8px;
    }
}
@media (max-width: 767px) {
    .g-brand .title {
        gap: 12px;
        font-size: 9px;
        letter-spacing: 0.18em;
    }
    .g-brand .title::before,
    .g-brand .title::after {
        flex-basis: 28px;
    }
    .g-brand .image-brand {
        padding: 0 14px;
    }
    .g-brand .image-brand::after {
        right: 6px;
        width: 3px;
        height: 3px;
    }
}

/* ---------- Industry cards ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line, #ffffff1a);
    border: 1px solid var(--line, #ffffff1a);
}
.industry-card {
    background: #0a0a0c;
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}
.industry-card:hover {
    background: #101014;
}
.industry-card .idx {
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--text-5, #5997ff);
    display: block;
    margin-bottom: 18px;
}
.industry-card h3 {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--text-2, #f4f7f5);
    margin-bottom: 12px;
}
.industry-card p {
    color: var(--text-main, #f4f7f5a3);
    font-size: 14px;
    line-height: 22px;
}
.industry-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(27, 78, 245, 0.25),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.industry-card:hover::after {
    opacity: 1;
}

/* ---------- Bento feature grid ---------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    background: #0a0a0c;
    border: 1px solid var(--line, #ffffff1a);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}
.bento-card:hover {
    border-color: rgba(89, 151, 255, 0.4);
    transform: translateY(-4px);
}
.bento-card.span-2 {
    grid-column: span 2;
}
.bento-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 78, 245, 0.12);
    border: 1px solid rgba(89, 151, 255, 0.25);
    margin-bottom: 20px;
}
.bento-card .icon img {
    width: 24px;
    height: 24px;
}
.bento-card h3 {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--text-2, #f4f7f5);
    margin-bottom: 10px;
}
.bento-card p {
    color: var(--text-main, #f4f7f5a3);
    font-size: 14px;
    line-height: 22px;
    max-width: 440px;
}
.bento-card .tag {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: "Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--text-3, #f4f7f552);
}

/* ---------- Steps ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
}
.step-card {
    background: #0a0a0c;
    border: 1px solid var(--line, #ffffff1a);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}
.step-card:hover {
    border-color: rgba(89, 151, 255, 0.4);
    transform: translateY(-4px);
}
.step-card .step-num {
    font-family: "Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--text-5, #5997ff);
    display: block;
    margin-bottom: 18px;
}
.step-card .step-line {
    height: 1px;
    background: linear-gradient(90deg, var(--primary, #1b4ef5), transparent);
    margin-bottom: 20px;
}
.step-card h3 {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--text-2, #f4f7f5);
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-main, #f4f7f5a3);
    font-size: 14px;
    line-height: 22px;
}

/* ---------- Pricing ---------- */
.section-pricing::before {
    content: "";
    position: absolute;
    inset: 8% 0;
    background:
        radial-gradient(
            ellipse 55% 60% at 28% 22%,
            rgba(27, 78, 245, 0.4) 0%,
            transparent 62%
        ),
        radial-gradient(
            ellipse 50% 55% at 72% 30%,
            rgba(159, 157, 251, 0.32) 0%,
            transparent 62%
        ),
        radial-gradient(
            ellipse 45% 50% at 55% 78%,
            rgba(165, 220, 243, 0.26) 0%,
            transparent 60%
        );
    filter: blur(55px);
    z-index: 0;
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
    position: relative;
}
.plan-card {
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.03) 28%,
            rgba(255, 255, 255, 0) 52%,
            rgba(255, 255, 255, 0.05) 100%
        ),
        radial-gradient(
            140% 130% at 50% 0%,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.04) 40%,
            transparent 62%
        );
    -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.08);
    backdrop-filter: blur(36px) saturate(190%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 20px 60px -24px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 1px 0 0 rgba(255, 255, 255, 0.16),
        inset -1px 0 0 rgba(255, 255, 255, 0.06);
    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 30px 70px -28px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}
.plan-card.featured {
    border-color: rgba(150, 190, 255, 0.55);
    background:
        linear-gradient(
            120deg,
            rgba(160, 200, 255, 0.16) 0%,
            rgba(120, 170, 255, 0.05) 30%,
            rgba(120, 170, 255, 0) 55%,
            rgba(159, 157, 251, 0.1) 100%
        ),
        radial-gradient(
            140% 130% at 50% 0%,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(130, 175, 255, 0.08) 45%,
            transparent 65%
        );
    -webkit-backdrop-filter: blur(40px) saturate(210%) brightness(1.1);
    backdrop-filter: blur(40px) saturate(210%) brightness(1.1);
    box-shadow:
        0 28px 70px -30px rgba(27, 78, 245, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(150, 190, 255, 0.16);
}
.plan-card.featured .badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg, #3d6ff7 0%, #1b4ef5 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 5px 16px;
    white-space: nowrap;
    box-shadow:
        0 6px 16px -6px rgba(27, 78, 245, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.plan-card .plan-name {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--text-2, #f4f7f5);
    margin-bottom: 6px;
}
.plan-card .plan-desc {
    color: var(--text-main, #f4f7f5a3);
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 24px;
}
.plan-card .plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}
.plan-card .plan-price .amount {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f4f7f5;
    background: linear-gradient(
        180deg,
        #f4f7f5 0%,
        rgba(244, 247, 245, 0.82) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-card .plan-price .period {
    font-family: "Mono", monospace;
    font-size: 12px;
    color: var(--text-3, #f4f7f552);
}
.plan-card .tf-btn {
    height: 46px;
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
}
.plan-card .features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.plan-card .features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-6, #f4f7f5b3);
    font-size: 13.5px;
    line-height: 20px;
}
.plan-card .features li .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.plan-card .features .group-label {
    font-family: "Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-3, #f4f7f552);
    margin-top: 10px;
}

/* ---------- Testimonials ---------- */
.tes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.tes-card {
    background: #0a0a0c;
    border: 1px solid var(--line, #ffffff1a);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}
.tes-card:hover {
    border-color: rgba(89, 151, 255, 0.4);
    transform: translateY(-4px);
}
.tes-card .tes-quote {
    font-size: 15px;
    line-height: 24px;
    color: var(--text-2, #f4f7f5);
    margin-bottom: 24px;
}
.tes-card .tes-quote em {
    font-style: normal;
    color: var(--text-5, #5997ff);
}
.tes-card .tes-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tes-card .tes-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(89, 151, 255, 0.35);
}
.tes-card .tes-author .who {
    display: flex;
    flex-direction: column;
}
.tes-card .tes-author .name {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-2, #f4f7f5);
}
.tes-card .tes-author .role {
    font-family: "Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-3, #f4f7f552);
}

/* ---------- FAQ accordion ---------- */
.faq-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line, #ffffff1a);
}
.faq-item:first-child {
    border-top: 1px solid var(--line, #ffffff1a);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 8px;
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: var(--text-2, #f4f7f5);
    transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary:hover {
    color: var(--text-5, #5997ff);
}
.faq-item summary .faq-ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line, #ffffff1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Mono", monospace;
    font-size: 16px;
    color: var(--text-5, #5997ff);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}
.faq-item[open] summary .faq-ico {
    transform: rotate(45deg);
    background: rgba(27, 78, 245, 0.15);
}
.faq-item .faq-body {
    padding: 0 8px 24px;
    color: var(--text-main, #f4f7f5a3);
    font-size: 15px;
    line-height: 24px;
    max-width: 620px;
}

/* ---------- CTA ---------- */
.g-cta {
    text-align: center;
    padding: 96px 0;
}
.g-cta .g-title {
    font-size: clamp(30px, 4.5vw, 56px);
    margin-bottom: 20px;
}
.g-cta .g-sub {
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        order: 2;
    }
    .hero-copy {
        text-align: center;
    }
    .hero-copy .g-kicker {
        justify-content: center;
    }
    .hero-copy .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas,
    .hero-trust {
        justify-content: center;
    }
    .hero-copy h1 .text-change_wrap {
        text-align: center;
    }
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .tes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-float.float-1 {
        left: 0;
    }
    .hero-float.float-2 {
        right: 0;
    }
}
@media (max-width: 575px) {
    .g-section {
        padding: 56px 0;
    }
    .industry-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.span-2 {
        grid-column: span 1;
    }
    .tes-grid {
        grid-template-columns: 1fr;
    }
    .phone-mock {
        width: 280px;
    }
}

/* =====================================================================
   HEADER — píldora flotante liquid glass (clear / estilo macOS)
   ===================================================================== */
.tf-header {
    position: fixed;
    top: 14px !important;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1240px);
    padding: 8px 10px 8px 20px;
    border-radius: 999px;
    z-index: 999;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.03) 35%,
        rgba(255, 255, 255, 0.01) 60%,
        rgba(255, 255, 255, 0.07) 100%
    );
    -webkit-backdrop-filter: blur(40px) saturate(190%) brightness(1.08);
    backdrop-filter: blur(40px) saturate(190%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 20px 50px -20px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 1px 0 0 rgba(255, 255, 255, 0.12);
    transition:
        top 0.3s ease,
        width 0.3s ease,
        border-radius 0.3s ease,
        padding 0.3s ease,
        background 0.3s ease,
        -webkit-backdrop-filter 0.3s ease,
        backdrop-filter 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Estado scrolled (header-sticky): el header se convierte en la barra
   full-width de vidrio oscuro, tal como en el index.html de la plantilla
   autom8os.ai */
.tf-header.header-sticky {
    top: 0 !important;
    width: 100%;
    border-radius: 0;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: none;
    box-shadow: none;
}

.tf-header.header-sticky .header-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.tf-header .logo-site {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.tf-header .logo-word {
    font-family: "Grotesk", sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}
.tf-header .logo-accent {
    color: #5997ff;
}

.tf-header .box-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.tf-header .main-nav_menu {
    gap: 4px;
}
.tf-header .main-nav_menu .item-link {
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 999px;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}
.tf-header .main-nav_menu .item-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-2);
}
.tf-header .menu-indicator {
    display: none !important;
}

.tf-header .header-right {
    flex-shrink: 0;
    gap: 10px;
}
.tf-header .header-right .tf-btn {
    border-radius: 999px;
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
}

/* El header ahora es fixed: despeja el hero para que no tape el contador */
.section-hero {
    padding-top: 96px;
}
