html,
        body {
            background: #000000;
        }

        body {
            overflow-x: hidden;
        }

        * {
            box-sizing: border-box;
        }

        *:focus-visible {
            outline: 2px solid #F06820;
            outline-offset: 4px;
        }

        ::selection {
            background: #F06820;
            color: #000000;
        }


        /* =========================================================
           SCROLLBAR · TIMELESS
        ========================================================== */

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #050505;
        }

        ::-webkit-scrollbar-thumb {
            background: #242424;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #F06820;
        }


        /* =========================================================
           MARQUEE
        ========================================================== */

        @keyframes marquee {
            0% {
                transform: translateX(0%);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .animate-marquee {
            display: inline-block;
            white-space: nowrap;
            min-width: max-content;
            animation: marquee 28s linear infinite;
        }

        .animate-marquee:hover {
            animation-play-state: paused;
        }


        /* =========================================================
           IMÁGENES
        ========================================================== */

        .studio-image {
            filter: grayscale(100%);
            opacity: .45;

            transition:
                transform .7s ease,
                filter .7s ease,
                opacity .7s ease;
        }

        .studio-image-wrap:hover .studio-image {
            filter: grayscale(0%);
            opacity: .75;
            transform: scale(1.04);
        }


        /* =========================================================
           SCAN LINE
        ========================================================== */

        .scan-line {
            background-image:
                linear-gradient(
                    rgba(255,255,255,0.018) 1px,
                    transparent 1px
                );

            background-size: 100% 4px;
        }


        /* =========================================================
           CATEGORY CARDS
        ========================================================== */

        .category-card {
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        .category-card::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 1px;
            background: #F06820;
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform .35s ease;
        }

        .category-card:hover::before {
            transform: scaleY(1);
        }

        .category-card::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(
                    135deg,
                    rgba(240,104,32,0.035),
                    transparent 38%
                );

            opacity: 0;
            transition: opacity .35s ease;
        }

        .category-card:hover::after {
            opacity: 1;
        }


        /* =========================================================
           BORDER BEAM · TIMELESS
           Luz animada naranja / azul en el contorno
        ========================================================== */

        @property --beam-angle {
            syntax: "<angle>";
            initial-value: 0deg;
            inherits: false;
        }

        @keyframes beam-spin {
            to {
                --beam-angle: 360deg;
            }
        }

        .border-beam {
            --beam-speed: 7s;
            position: relative;
            isolation: isolate;
        }

        .border-beam:hover {
            --beam-speed: 2.8s;
        }

        .border-beam::before {
            content: "";
            position: absolute;
            inset: -1px;
            z-index: -2;
            opacity: 0;
            pointer-events: none;

            background:
                conic-gradient(
                    from var(--beam-angle),
                    transparent 0deg,
                    transparent 285deg,
                    #F06820 315deg,
                    #0085FF 338deg,
                    transparent 360deg
                );

            animation: beam-spin var(--beam-speed) linear infinite;
            transition: opacity .3s ease;
        }

        .border-beam::after {
            content: "";
            position: absolute;
            inset: 1px;
            z-index: -1;
            pointer-events: none;
            background: #000;
        }

        .border-beam:hover::before,
        .border-beam.beam-active::before {
            opacity: 1;
        }


        /* =========================================================
           MODALS
        ========================================================== */

        .modal-shell {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;

            transition:
                opacity .25s ease,
                visibility .25s ease;
        }

        .modal-shell.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .modal-panel {
            transform: translateY(24px) scale(.985);

            transition:
                transform .3s ease;
        }

        .modal-shell.is-open .modal-panel {
            transform: translateY(0) scale(1);
        }


        /* =========================================================
           CATEGORY DRAWER DESKTOP
        ========================================================== */

        .category-drawer-panel {
            transform: translateX(100%);
            transition: transform .4s cubic-bezier(.22,1,.36,1);
        }

        .modal-shell.is-open .category-drawer-panel {
            transform: translateX(0);
        }


        /* =========================================================
           FORMULARIOS
        ========================================================== */

        .form-control {
            display: block;
            width: 100%;
            min-height: 50px;
            border: 1px solid #262626;
            background: #050505;
            color: #FFFFFF;
            padding: 13px 15px;
            font-size: 14px;

            transition:
                border-color .2s ease,
                background .2s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: #F06820;
            background: #080808;
        }

        .form-control::placeholder {
            color: #666666;
        }

        select.form-control {
            color-scheme: dark;
        }


        /* =========================================================
           SERVICE ITEM
        ========================================================== */

        .drawer-service {
            position: relative;
            overflow: hidden;
        }

        .drawer-service::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 1px;
            background: #F06820;
            transition: width .35s ease;
        }

        .drawer-service:hover::after {
            width: 100%;
        }


        .drawer-service:hover {
            background: #050505;
            border-color: #F06820;
        }

        .drawer-service:hover h3 {
            color: #F06820;
        }



        /* =========================================================
           BORDER BEAM PANEL · GLOW
        ========================================================== */

        .border-beam-glow {
            position: relative;
            isolation: isolate;
        }

        .border-beam-glow::after {
            content: "";
            position: absolute;
            inset: -16px;
            z-index: -3;
            pointer-events: none;
            opacity: 0;
            filter: blur(28px);

            background:
                radial-gradient(
                    circle at 20% 18%,
                    rgba(240,104,32,.22),
                    transparent 34%
                ),
                radial-gradient(
                    circle at 82% 82%,
                    rgba(0,133,255,.14),
                    transparent 36%
                );

            transition: opacity .35s ease;
        }

        .border-beam-glow:hover::after {
            opacity: 1;
        }


        /* =========================================================
           RAINBOW BORDER BUTTON
        ========================================================== */

        @keyframes rainbow-border {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .rainbow-border-btn {
            position: relative;
            display: inline-flex;
            isolation: isolate;
            overflow: visible;
            border: 0 !important;
            color: #000;
            background: transparent;
            transition:
                color .25s ease,
                transform .25s ease;
        }

        .rainbow-border-btn::before {
            content: "";
            position: absolute;
            inset: -1px;
            z-index: -2;

            background:
                linear-gradient(
                    90deg,
                    #F06820,
                    #FF9A3D,
                    #FFFFFF,
                    #0085FF,
                    #F06820
                );

            background-size: 300% 300%;
            animation: rainbow-border 5s ease infinite;
        }

        .rainbow-border-btn::after {
            content: "";
            position: absolute;
            inset: 1px;
            z-index: -1;
            background: #F06820;
            transition:
                background .25s ease,
                box-shadow .25s ease;
        }

        .rainbow-border-btn:hover {
            color: #000;
            transform: translateY(-1px);
        }

        .rainbow-border-btn:hover::after {
            background: #FFFFFF;
            box-shadow:
                0 0 24px rgba(240,104,32,.12),
                0 0 32px rgba(0,133,255,.08);
        }

        .rainbow-border-btn.rainbow-dark {
            color: #FFFFFF;
        }

        .rainbow-border-btn.rainbow-dark::after {
            background: #050505;
        }

        .rainbow-border-btn.rainbow-dark:hover {
            color: #000000;
        }

        .rainbow-border-btn.rainbow-dark:hover::after {
            background: #FFFFFF;
        }


        /* =========================================================
           TIMELESS BUTTONS · HOVER ACCENT
        ========================================================== */

        .timeless-outline-btn {
            border: 1px solid #2A2A2A;
            background: #000;
            color: #fff;
            transition:
                border-color .25s ease,
                color .25s ease,
                background .25s ease,
                transform .25s ease;
        }

        .timeless-outline-btn:hover {
            border-color: #F06820;
            color: #F06820;
            background: #050505;
            transform: translateY(-1px);
        }


        /* =========================================================
           RESERVATION / SCHEDULE SECTION
        ========================================================== */

        .schedule-table {
            width: 100%;
            border-collapse: collapse;
        }

        .schedule-table th,
        .schedule-table td {
            border: 1px solid #1A1A1A;
            padding: 16px 18px;
            text-align: left;
            vertical-align: top;
        }

        .schedule-table th {
            background: #090909;
            color: #FFFFFF;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: .14em;
            text-transform: uppercase;
        }

        .schedule-table td {
            background: #030303;
            color: #A6A6A6;
            font-size: 13px;
            line-height: 1.6;
        }

        .schedule-table tbody tr {
            transition:
                background .2s ease,
                border-color .2s ease;
        }

        .schedule-table tbody tr:hover td {
            background: #070707;
            color: #fff;
        }

        .schedule-table tbody tr:hover td:first-child {
            color: #F06820;
        }


        .schedule-table tbody tr td:first-child {
            position: relative;
        }

        .schedule-table tbody tr td:first-child::before {
            content: "";
            position: absolute;
            left: -1px;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, #F06820, #0085FF);
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform .25s ease;
        }

        .schedule-table tbody tr:hover td:first-child::before {
            transform: scaleY(1);
        }

        @media (max-width: 767px) {
            .schedule-table,
            .schedule-table thead,
            .schedule-table tbody,
            .schedule-table tr,
            .schedule-table th,
            .schedule-table td {
                display: block;
                width: 100%;
            }

            .schedule-table thead {
                display: none;
            }

            .schedule-table tr {
                border: 1px solid #1A1A1A;
                margin-bottom: 12px;
            }

            .schedule-table td {
                border: 0;
                border-bottom: 1px solid #1A1A1A;
                padding: 13px 16px;
            }

            .schedule-table td:last-child {
                border-bottom: 0;
            }

            .schedule-table td::before {
                content: attr(data-label);
                display: block;
                margin-bottom: 4px;
                color: #F06820;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
                font-size: 9px;
                letter-spacing: .14em;
                text-transform: uppercase;
            }
        }

        /* =========================================================
           GOOGLE CALENDAR POPUP BUTTON · TIMELESS
        ========================================================== */

        .gcal-popup-target {
            display: none;
        }

        .gcal-popup-target.is-active {
            display: block;
        }

        .gcal-popup-target button {
            width: 100% !important;
            min-height: 48px !important;
            border-radius: 0 !important;
            border: 1px solid #F06820 !important;
            background: #F06820 !important;
            color: #000000 !important;
            box-shadow: none !important;
            font-family: 'Space Grotesk', sans-serif !important;
            font-size: 12px !important;
            font-weight: 700 !important;
            letter-spacing: .08em !important;
            text-transform: uppercase !important;
            transition: background .2s ease, color .2s ease, border-color .2s ease !important;
        }

        .gcal-popup-target button:hover {
            background: #FFFFFF !important;
            color: #000000 !important;
            border-color: #FFFFFF !important;
        }

        /* =========================================================
           REDUCED MOTION
        ========================================================== */

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto !important;
            }

            .animate-marquee,
            .border-beam::before,
            .rainbow-border-btn::before {
                animation: none !important;
            }

            * {
                transition-duration: .01ms !important;
                animation-duration: .01ms !important;
            }
        }

        /* =========================================================
           MOTOR COMERCIAL 2026 · SERVICIOS + ACADEMIA
        ========================================================== */

        #standard-booking-panel > #booking-form {
            display: none !important;
        }

        #calendar-open-full,
        .gcal-popup-target {
            display: none !important;
        }

        .service-option-card,
        .academy-program-card,
        .academy-mode-card {
            position: relative;
            border: 1px solid #1A1A1A;
            background: #030303;
            transition:
                border-color .25s ease,
                background .25s ease,
                transform .25s ease;
        }

        .service-option-card:hover,
        .service-option-card.is-selected,
        .academy-program-card:hover,
        .academy-mode-card:hover {
            border-color: #F06820;
            background: #070707;
        }

        .service-option-card:hover,
        .academy-program-card:hover,
        .academy-mode-card:hover {
            transform: translateY(-1px);
        }

        .service-option-card.is-selected {
            box-shadow: inset 3px 0 0 #F06820;
        }

        .service-option-card input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .commerce-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #262626;
            background: #050505;
            padding: 8px 10px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 9px;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: #A6A6A6;
        }

        .commerce-badge strong {
            color: #F06820;
            font-weight: 600;
        }

        .academy-price {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            line-height: 1;
            font-weight: 700;
            color: #FFFFFF;
        }

        .academy-price small {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 9px;
            color: #A6A6A6;
            letter-spacing: .12em;
            font-weight: 500;
        }

        .inquiry-status {
            border: 1px solid rgba(240,104,32,.35);
            background:
                linear-gradient(135deg, rgba(240,104,32,.06), transparent 42%),
                #030303;
        }

        .inquiry-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        @media (max-width: 767px) {
            .inquiry-grid {
                grid-template-columns: 1fr;
            }

            #service-modal .modal-panel {
                min-height: 100dvh;
                max-height: 100dvh;
            }

            #podcast-google-calendar {
                min-height: 720px;
            }
        }

        /* =========================================================
           ACADEMIA · RESPONSIVE REAL / CALENDAR EXTERNO
        ========================================================== */

        #service-modal .modal-panel {
            width: min(1380px, 100%);
            max-width: 1380px;
            height: auto;
            min-width: 0;
            overflow: hidden;
        }

        #standard-booking-panel,
        #academy-track-flow,
        #academy-programs,
        .academy-program-card,
        .academy-program-body,
        .academy-modes-grid,
        .academy-mode-card,
        .academy-mode-top,
        .academy-mode-name,
        .academy-price-wrap {
            min-width: 0;
            max-width: 100%;
        }

        #academy-programs {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 16px;
        }

        .academy-program-card {
            width: 100%;
            height: auto !important;
            min-height: 0 !important;
            overflow: hidden;
            container-type: inline-size;
        }

        .academy-program-body {
            width: 100%;
        }

        .academy-program-title {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .academy-modes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
            gap: 12px;
            align-items: start;
            width: 100%;
        }

        .academy-mode-card {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 14px;
            width: 100%;
            height: auto !important;
            min-height: 0 !important;
            padding: clamp(14px, 2.2vw, 18px);
            overflow: hidden;
        }

        .academy-mode-top {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            width: 100%;
        }

        .academy-mode-name,
        .academy-price-wrap {
            width: 100%;
        }

        .academy-mode-name h5 {
            max-width: 100%;
            font-size: clamp(.92rem, 2.2vw, 1.08rem);
            line-height: 1.05;
            overflow-wrap: anywhere;
        }

        .academy-price {
            width: auto;
            max-width: 100%;
            font-size: clamp(1.65rem, 5vw, 2.35rem);
            line-height: .95;
            white-space: nowrap;
        }

        .academy-reserve-btn {
            width: auto;
            max-width: 100%;
            min-height: 40px;
            margin-top: 2px;
            align-self: flex-start;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #F06820;
            background: #F06820;
            color: #000;
            padding: 10px 14px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .07em;
            line-height: 1;
            text-transform: uppercase;
            text-align: center;
            white-space: nowrap;
            transition:
                background .2s ease,
                border-color .2s ease,
                color .2s ease,
                transform .2s ease;
        }

        .academy-reserve-btn:hover {
            background: #FFFFFF;
            border-color: #FFFFFF;
            color: #000000;
            transform: translateY(-1px);
        }

        /* Sin URL: se conserva la información comercial, pero no se crea CTA falso. */
        .academy-mode-card:not(:has(.academy-reserve-btn)) {
            padding-bottom: clamp(14px, 2.2vw, 18px);
        }

        #inquiry-step-guide {
            min-width: 0;
        }

        /* Tablet / laptop estrecha */
        @media (max-width: 1199px) {
            #service-modal .modal-panel {
                width: 100%;
            }

            .academy-modes-grid {
                grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
            }
        }

        /* Tablet vertical y móvil grande */
        @media (max-width: 767px) {
            #service-modal {
                padding: 0 !important;
                align-items: flex-start;
            }

            #service-modal .modal-panel {
                width: 100%;
                min-height: 100dvh;
                max-height: none;
                border-left: 0;
                border-right: 0;
                overflow-x: hidden;
                overflow-y: visible;
            }

            #service-modal .modal-panel > .sticky {
                position: sticky;
                top: 0;
            }

            .academy-program-card {
                padding: 18px !important;
            }

            .academy-modes-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .academy-mode-card {
                padding: 16px;
            }

            .academy-price {
                font-size: clamp(1.9rem, 10vw, 2.45rem);
            }
        }

        /* Teléfonos pequeños */
        @media (max-width: 420px) {
            .academy-program-card {
                padding: 15px !important;
            }

            .academy-mode-card {
                padding: 14px;
                gap: 12px;
            }

            .academy-reserve-btn {
                min-height: 38px;
                padding: 9px 12px;
                font-size: 9px;
            }

            .commerce-badge {
                font-size: 8px;
                padding: 7px 8px;
            }
        }

        @container (min-width: 650px) {
            .academy-modes-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @container (max-width: 649px) and (min-width: 420px) {
            .academy-modes-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @container (max-width: 419px) {
            .academy-modes-grid {
                grid-template-columns: 1fr;
            }
        }



        /* =========================================================
           TIMELESS · WIZARD COMERCIAL PROGRESIVO
        ========================================================== */

        #service-modal {
            align-items: stretch !important;
            justify-content: flex-end !important;
            padding: 0 !important;
            overflow: hidden !important;
        }

        #service-modal .modal-panel {
            width: min(100%, 680px) !important;
            max-width: 680px !important;
            min-height: 100dvh !important;
            height: 100dvh !important;
            margin: 0 !important;
            border-top: 0 !important;
            border-right: 0 !important;
            border-bottom: 0 !important;
            overflow: hidden !important;
            transform: translateX(100%) !important;
        }

        #service-modal.is-open .modal-panel {
            transform: translateX(0) !important;
        }

        /* El motor anterior queda fuera de la interfaz. */
        #service-modal .modal-panel > .grid {
            display: none !important;
        }

        #timeless-wizard {
            height: calc(100dvh - 70px);
            min-width: 0;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            background: #000;
        }

        .tw-shell {
            width: 100%;
            min-width: 0;
            padding: clamp(20px, 4vw, 36px);
        }

        .tw-progress {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            border: 1px solid #1A1A1A;
            background: #1A1A1A;
            gap: 1px;
            margin-bottom: 28px;
        }

        .tw-progress-step {
            min-width: 0;
            background: #030303;
            padding: 13px 12px;
            transition: background .2s ease, border-color .2s ease;
        }

        .tw-progress-step.is-active {
            background: #090300;
            box-shadow: inset 0 -2px 0 #F06820;
        }

        .tw-progress-step.is-done {
            background: #050505;
        }

        .tw-progress-step span {
            display: block;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: #777;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .tw-progress-step.is-active span,
        .tw-progress-step.is-done span {
            color: #F06820;
        }

        .tw-eyebrow {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 9px;
            line-height: 1.5;
            letter-spacing: .18em;
            text-transform: uppercase;
            color: #F06820;
        }

        .tw-title {
            margin-top: 8px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(28px, 7vw, 44px);
            line-height: .98;
            font-weight: 700;
            text-transform: uppercase;
            overflow-wrap: anywhere;
        }

        .tw-copy {
            margin-top: 14px;
            color: #A6A6A6;
            font-size: 14px;
            line-height: 1.75;
        }

        .tw-selected-note {
            margin-top: 18px;
            padding: 14px 16px;
            border-left: 2px solid #F06820;
            background: #050505;
            color: #D5D5D5;
            font-size: 13px;
            line-height: 1.65;
        }

        .tw-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-top: 26px;
            min-width: 0;
        }

        .tw-choice {
            min-width: 0;
            min-height: 108px;
            border: 1px solid #1F1F1F;
            background: #020202;
            padding: 18px;
            text-align: left;
            position: relative;
            overflow: hidden;
            transition: border-color .2s ease, background .2s ease, transform .2s ease;
        }

        .tw-choice:hover,
        .tw-choice.is-selected {
            border-color: #F06820;
            background: #050200;
        }

        .tw-choice:hover {
            transform: translateY(-1px);
        }

        .tw-choice-number {
            display: block;
            color: #F06820;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            letter-spacing: .14em;
            margin-bottom: 13px;
        }

        .tw-choice-title {
            display: block;
            padding-right: 28px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 15px;
            line-height: 1.3;
            font-weight: 700;
            text-transform: uppercase;
            overflow-wrap: anywhere;
        }

        /* Descripciones de todas las tarjetas del asistente comercial y categorías. */
        .tw-choice-description {
            display: block;
            margin-top: 11px;
            padding-right: 8px;
            color: #A6A6A6;
            font-size: 12px;
            font-weight: 400;
            line-height: 1.55;
            overflow-wrap: break-word;
        }

        .tw-choice-arrow {
            position: absolute;
            right: 16px;
            top: 17px;
            color: #F06820;
            font-size: 18px;
        }

        .tw-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
            margin-top: 24px;
            min-width: 0;
        }

        .tw-field {
            min-width: 0;
        }

        .tw-field.tw-full {
            grid-column: 1 / -1;
        }

        .tw-field label {
            display: block;
            margin-bottom: 7px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: #A6A6A6;
        }

        .tw-control {
            width: 100%;
            min-width: 0;
            min-height: 50px;
            border: 1px solid #262626;
            border-radius: 0;
            background: #050505;
            color: #fff;
            padding: 13px 14px;
            font: inherit;
        }

        textarea.tw-control {
            min-height: 118px;
            resize: vertical;
        }

        .tw-control:focus {
            outline: 0;
            border-color: #F06820;
            background: #080808;
        }

        .tw-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: 26px;
            padding-top: 20px;
            border-top: 1px solid #1A1A1A;
        }

        .tw-btn {
            min-height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border: 1px solid #2A2A2A;
            background: #000;
            color: #fff;
            padding: 12px 16px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            transition: background .2s ease, color .2s ease, border-color .2s ease;
        }

        .tw-btn:hover {
            border-color: #F06820;
            color: #F06820;
        }

        .tw-btn-primary {
            border-color: #F06820;
            background: #F06820;
            color: #000;
        }

        .tw-btn-primary:hover {
            border-color: #fff;
            background: #fff;
            color: #000;
        }

        .tw-review {
            margin-top: 24px;
            border: 1px solid #1A1A1A;
            background: #030303;
        }

        .tw-review-row {
            display: grid;
            grid-template-columns: 130px minmax(0, 1fr);
            gap: 16px;
            padding: 14px 16px;
            border-bottom: 1px solid #1A1A1A;
        }

        .tw-review-row:last-child {
            border-bottom: 0;
        }

        .tw-review-key {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            letter-spacing: .14em;
            color: #F06820;
            text-transform: uppercase;
        }

        .tw-review-value {
            min-width: 0;
            color: #D7D7D7;
            font-size: 13px;
            line-height: 1.55;
            overflow-wrap: anywhere;
        }

        /* Academia */
        .tw-program-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 24px;
        }

        .tw-program {
            border: 1px solid #1F1F1F;
            padding: 20px;
            background: #020202;
            text-align: left;
            transition: border-color .2s ease, background .2s ease;
        }

        .tw-program:hover {
            border-color: #F06820;
            background: #050200;
        }

        .tw-program-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin-top: 14px;
        }

        .tw-chip {
            border: 1px solid #262626;
            padding: 7px 9px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: #BDBDBD;
        }

        .tw-mode-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            margin-top: 24px;
            min-width: 0;
        }

        .tw-mode {
            min-width: 0;
            border: 1px solid #1F1F1F;
            background: #020202;
            padding: 16px 14px;
        }

        .tw-mode-name {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 14px;
            line-height: 1.15;
            font-weight: 700;
            text-transform: uppercase;
            overflow-wrap: anywhere;
        }

        .tw-price {
            margin-top: 14px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(25px, 6vw, 34px);
            line-height: 1;
            font-weight: 700;
            white-space: nowrap;
        }

        .tw-price small {
            margin-left: 3px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 7px;
            font-weight: 400;
            letter-spacing: .1em;
            color: #888;
        }

        .tw-mode .tw-btn {
            width: 100%;
            margin-top: 16px;
            padding-inline: 10px;
        }

        .tw-unavailable {
            margin-top: 16px;
            border-top: 1px solid #1A1A1A;
            padding-top: 12px;
            color: #696969;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 8px;
            line-height: 1.6;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        @media (max-width: 560px) {
            #service-modal .modal-panel {
                width: 100% !important;
                max-width: none !important;
                border-left: 0 !important;
            }

            #service-modal .modal-panel > .sticky {
                padding: 14px 16px !important;
            }

            #timeless-wizard {
                height: calc(100dvh - 66px);
            }

            .tw-shell {
                padding: 18px 16px 28px;
            }

            .tw-progress-step {
                padding: 11px 8px;
            }

            .tw-progress-step span {
                font-size: 7px;
            }

            .tw-grid,
            .tw-form-grid,
            .tw-mode-grid {
                grid-template-columns: 1fr;
            }

            .tw-choice {
                min-height: 88px;
            }

            .tw-review-row {
                grid-template-columns: 1fr;
                gap: 5px;
            }

            .tw-actions {
                align-items: stretch;
            }

            .tw-actions .tw-btn {
                flex: 1 1 100%;
                width: 100%;
            }

            .tw-mode {
                padding: 17px;
            }
        }


        /* =========================================================
           TIMELESS · AMBIENT LIGHT SYSTEM 2026
           Capa visual no intrusiva: no altera tamaño ni layout.
        ========================================================== */
        .timeless-ambient-card {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            background-color: #000;
            background-image:
                radial-gradient(circle at 12% 8%, rgba(240,104,32,.10), transparent 34%),
                radial-gradient(circle at 88% 92%, rgba(0,133,255,.08), transparent 38%);
            background-repeat: no-repeat;
            transition: border-color .3s ease, box-shadow .3s ease, background-image .3s ease;
        }

        .timeless-ambient-card:hover,
        .timeless-ambient-card:focus-within {
            border-color: rgba(240,104,32,.62) !important;
            background-image:
                radial-gradient(circle at 12% 8%, rgba(240,104,32,.18), transparent 36%),
                radial-gradient(circle at 88% 92%, rgba(0,133,255,.13), transparent 40%);
            box-shadow:
                inset 0 1px 0 rgba(240,104,32,.12),
                inset 0 -1px 0 rgba(0,133,255,.10),
                0 0 34px rgba(240,104,32,.035),
                0 0 44px rgba(0,133,255,.025);
        }

        .timeless-ambient-card--featured {
            background-image:
                radial-gradient(circle at 12% 10%, rgba(240,104,32,.18), transparent 36%),
                radial-gradient(circle at 92% 88%, rgba(0,133,255,.11), transparent 42%);
            box-shadow:
                inset 0 1px 0 rgba(240,104,32,.14),
                inset 0 -1px 0 rgba(0,133,255,.08);
        }

        .timeless-ambient-card--strong {
            background-image:
                radial-gradient(circle at 8% 6%, rgba(240,104,32,.24), transparent 38%),
                radial-gradient(circle at 92% 96%, rgba(0,133,255,.20), transparent 44%);
            box-shadow:
                inset 1px 0 0 rgba(240,104,32,.16),
                inset 0 -1px 0 rgba(0,133,255,.14),
                0 0 48px rgba(240,104,32,.04),
                0 0 56px rgba(0,133,255,.03);
        }

        .timeless-ambient-card--strong:hover,
        .timeless-ambient-card--strong:focus-within {
            background-image:
                radial-gradient(circle at 8% 6%, rgba(240,104,32,.31), transparent 40%),
                radial-gradient(circle at 92% 96%, rgba(0,133,255,.25), transparent 46%);
        }

        @media (prefers-reduced-motion: reduce) {
            .timeless-ambient-card {
                transition: none !important;
            }
        }

        /* Academia: modalidad clara, una accion principal y detalles secundarios. */
        .tw-mode {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            padding: 22px 18px;
            min-height: 290px;
            transition: border-color .2s ease, background .2s ease;
        }
        .tw-mode:hover, .tw-mode:focus-within {
            border-color: #F06820;
            background: #080503;
        }
        .tw-mode-description {
            color: #A6A6A6;
            font-size: 12px;
            line-height: 1.65;
            margin-top: 14px;
            min-height: 60px;
        }
        .tw-mode .tw-price {
            margin-top: auto;
            padding-top: 16px;
        }
        .tw-mode-price-caption {
            display: block;
            color: #888;
            font-size: 10px;
            line-height: 1.5;
            margin-top: 7px;
        }
        .tw-mode-actions {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 9px;
            margin-top: 18px;
        }
        .tw-mode-actions .tw-btn {
            width: 100%;
            min-width: 0;
            min-height: 45px;
            margin: 0;
            padding: 12px 10px;
            white-space: normal;
            text-align: center;
            font-size: 10px;
            line-height: 1.25;
            letter-spacing: .045em;
        }
        .tw-mode-actions .tw-mode-details {
            align-self: center;
            width: auto;
            min-height: 38px;
            border: 0;
            background: transparent;
            color: #C5C5C5;
            padding: 8px;
            font-size: 11px;
            text-decoration: underline;
            text-underline-offset: 5px;
        }
        .tw-mode-actions .tw-mode-details:hover,
        .tw-mode-actions .tw-mode-details:focus-visible {
            color: #F06820;
        }

        .tw-info-panel {
            margin-top: 24px;
            border: 1px solid #1F1F1F;
            background: #020202;
            padding: clamp(18px, 4vw, 26px);
        }

        @media (max-width: 520px) {
            .tw-mode { min-height: 0; padding: 21px 18px; }
            .tw-mode-description { min-height: 0; }
        }

/* Navegación interna: evita que el encabezado fijo cubra los títulos.
   No modifica ni reinicia las animaciones originales. */
#inicio, #servicios, #academia, #marcas, #planes,
#portafolio, #estudio, #reservar, #faq {
    scroll-margin-top: 82px;
}
