/* =========================================================
   GEOIMPULSO — MOBILE FIXES
   Ajustes exclusivos para pantallas móviles
   ========================================================= */

@media (max-width: 700px) {

    :root {
        --story-sticky-top: 72px;
    }


    /* HEADER */

    .header {
        padding: 14px 14px 0;
    }

    .header-container {
        min-height: 64px;
        padding: 0 18px;
        border-radius: 16px;
    }

    .brand {
        font-size: 22px;
    }

    .header-cta {
        min-height: 42px;
        padding: 0 13px;
        border-radius: 11px;
        font-size: 11px;
    }


    /* HERO */

    .hero {
        padding: 38px 16px 0;
    }

    .hero-container {
        gap: 28px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
        padding: 8px 12px;

        font-size: 11px;
        line-height: 1.5;
    }

    .hero h1 {
        font-size: clamp(40px, 11.5vw, 56px);
        line-height: 0.99;
        letter-spacing: -0.045em;
    }

    .hero-description {
        margin-top: 20px;

        font-size: 17px;
        line-height: 1.55;
    }

    .hero-services {
        margin-top: 20px;
        gap: 8px;
    }

    .hero-services span {
        padding: 7px 11px;
        font-size: 12px;
    }


    /* STORY */

    .story-track {
        height: 1800px;
        margin-top: 28px;
    }

    .hero-visual {
        top: var(--story-sticky-top);

        padding: 14px;

        border-radius: 18px;

        box-shadow:
            0 18px 42px rgba(15, 23, 42, 0.08);
    }

    .search-demo {
        min-height: 56px;

        padding: 12px 14px;

        font-size: 13px;

        border-radius: 13px;
    }

    .search-icon {
        width: 28px;
        height: 28px;

        font-size: 17px;
    }

    .scene-label {
        margin-top: 14px;
        margin-bottom: 10px;

        font-size: 12px;
    }

    .map-stage {
        height:
            min(
                470px,
                calc(100vh - 220px)
            );

        min-height: 410px;

        border-radius: 16px;
    }

    .map-grid {
        background-size: 46px 46px;
    }

    .block-1,
    .block-2,
    .block-3,
    .block-4,
    .block-5,
    .block-6 {
        display: none;
    }

    .park-zone {
        width: 130px;
        height: 78px;

        top: 55px;
        left: 28px;
    }

    .river-zone {
        width: 62px;
        height: 350px;

        right: 38px;
        top: 30px;
    }

    .avenue-one {
        width: 125%;

        top: 36%;
        left: -22%;
    }

    .avenue-two {
        width: 110%;

        top: 59%;
        right: -30%;
    }

    .street-one {
        width: 85%;

        top: 14%;
        left: 42%;
    }

    .street-two {
        width: 72%;

        top: 49%;
        left: 16%;
    }

    .street-three {
        width: 64%;

        bottom: 14%;
        left: 12%;
    }

    .district-shape-1 {
        width: 230px;
        height: 170px;

        left: -20px;
        top: 120px;
    }

    .district-shape-2 {
        width: 210px;
        height: 180px;

        right: -12px;
        top: 90px;
    }

    .map-pin {
        width: 38px;
        height: 38px;
    }

    .target-pin {
        width: 44px;
        height: 44px;
    }

    .pin-one {
        top: 18%;
        left: 18%;
    }

    .pin-two {
        top: 48%;
        left: 38%;
    }

    .pin-three {
        top: 22%;
        right: 13%;
    }

    .business-card,
    .result-card,
    .optimization-panel,
    .result-actions {
        left: 16px;
        right: 16px;

        width: auto;
    }

    .business-card,
    .result-card,
    .optimization-panel {
        bottom: 16px;

        padding: 16px;
    }

    .result-actions {
        bottom: 16px;
        gap: 7px;
    }

    .result-action {
        padding: 9px 11px;
    }


    /* FORM */

    .hero-form-card {
        position: static;

        padding: 28px 20px;

        border-radius: 20px;
    }

    .hero-form-card h2 {
        font-size: 26px;
        line-height: 1.12;
    }

    .hero-form-card > p {
        margin-top: 14px;

        font-size: 15px;
        line-height: 1.6;
    }

    .lead-form {
        margin-top: 20px;
        gap: 12px;
    }

    .lead-form input {
        height: 48px;
    }

    .lead-form button {
        min-height: 52px;
        font-size: 15px;
    }


    /* SECCIONES GENERALES */

    .services-section,
    .process-section,
    .benefits-section,
    .pricing-section,
    .faq-section {
        padding: 78px 16px;
    }

    .section-heading-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-heading-split h2,
    .centered-heading h2,
    .benefits-copy h2,
    .faq-heading h2 {
        font-size: clamp(36px, 10vw, 50px);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .section-description {
        font-size: 16px;
        line-height: 1.6;
    }


    /* SERVICIOS */

    .services-grid {
        margin-top: 42px;

        grid-template-columns: 1fr;

        gap: 16px;
    }

    .service-card,
    .services-grid article:last-child {
        min-height: auto;
        grid-column: auto;
        padding: 26px;
    }

    .service-card h3 {
        font-size: 25px;
    }

    .service-card > p {
        font-size: 14px;
    }

    .section-dark-cta {
        padding: 24px;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .teal-button {
        width: 100%;
        justify-content: center;
    }


    /* CÓMO TRABAJAMOS */

    .process-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .centered-heading {
        max-width: 100%;
    }

    .centered-heading .section-description {
        margin-top: 18px;
        max-width: 340px;
    }

    .process-grid {
        margin-top: 44px;

        display: grid;
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0;

        text-align: center;
    }

    .process-number {
        width: 64px;
        height: 64px;

        margin: 0 auto 20px;

        font-size: 13px;
    }

    .process-step h3 {
        margin: 0;

        text-align: center;

        font-size: 26px;
        line-height: 1.15;
    }

    .process-step p {
        max-width: 330px;

        margin: 12px auto 0;

        text-align: center;

        color: var(--color-muted);

        font-size: 15px;
        line-height: 1.6;
    }


    /* BENEFICIOS */

    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .benefits-copy h2 {
        max-width: 420px;

        font-size: clamp(36px, 9.5vw, 48px);
        line-height: 1.02;
    }

    .benefits-copy > p:last-child {
        margin-top: 20px;

        font-size: 16px;
        line-height: 1.65;
    }

    .benefit-row {
        min-height: 74px;

        padding: 16px 0;

        grid-template-columns: 42px 1fr;
    }

    .benefit-row strong {
        font-size: 17px;
        line-height: 1.35;
    }


    /* PRECIOS */

    .pricing-grid {
        margin-top: 44px;

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .pricing-grid article:last-child {
        grid-column: auto;
    }

    .pricing-card {
        padding: 26px;
    }

    .pricing-card h3 {
        font-size: 26px;
    }

    .pricing-subtitle {
        min-height: 0;
        font-size: 14px;
    }

    .pricing-value {
        font-size: 20px;
    }


    /* FAQ */

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .faq-question {
        padding: 20px 0;
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }


    /* CTA FINAL */

    .final-cta-section {
        padding: 68px 16px;
    }

    .final-cta {
        padding: 32px 22px;

        grid-template-columns: 1fr;

        gap: 30px;

        border-radius: 24px;
    }

    .final-cta h2 {
        font-size: clamp(34px, 9vw, 46px);
    }

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


    /* FOOTER */

    .footer {
        padding: 15px 16px 30px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Nuevos planes: comportamiento en pantallas pequeñas. */
@media (max-width: 700px) {
    .pricing-group-heading {
        margin-top: 46px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pricing-group-heading h3 {
        font-size: 29px;
    }

    .pricing-group-heading > p {
        font-size: 14px;
    }

    .pricing-grid-monthly,
    .pricing-grid-onetime {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 22px;
    }

    .pricing-grid-monthly > article:last-child,
    .pricing-grid-onetime > article:last-child {
        grid-column: auto;
    }

    .pricing-grid-monthly .pricing-card-launch,
    .pricing-grid-onetime .pricing-card {
        padding: 27px 22px;
    }

    .pricing-detail-block {
        padding: 19px 17px;
    }

    .pricing-detail-block h4 {
        font-size: 16px;
    }

    .pricing-term {
        line-height: 1.55;
    }

    .pricing-grid-onetime .pricing-value-large strong {
        font-size: clamp(46px, 10vw, 56px);
    }
}
