:root {
    --gsg-tv-primary: #2f5fd7;
    --gsg-tv-primary-dark: #1e3a8a;
    --gsg-tv-primary-soft: #eef2ff;
    --gsg-tv-gold: #e7c74d;
    --gsg-tv-bg: #f7faff;
    --gsg-tv-surface: #ffffff;
    --gsg-tv-text: #0f172a;
    --gsg-tv-muted: #475569;
    --gsg-tv-border: #e6eaf2;
    --gsg-tv-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    --gsg-tv-shadow-soft: 0 2px 10px rgba(16, 24, 40, 0.06);
}

.gsg-tv-shell,
.gsg-tv-shell * {
    box-sizing: border-box;
}

button:focus {
    outline: none;
}

.site.grid-container.container:has(.gsg-tv-shell) {
    width: 100% !important;
    max-width: 100%;
}

.gsg-tv-shell {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    min-height: clamp(640px, 78vh, 980px);
    margin: 0 auto;
    padding: 48px 24px;
    background:
        radial-gradient(circle at top left, rgba(47, 95, 215, 0.1), transparent 32%),
        linear-gradient(180deg, #f9fbff 0%, #f7faff 100%);
    font-family: 'Poppins', sans-serif;
}

.gsg-tv-container {
    position: relative;
    z-index: 1;
    flex: 0 1 1120px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.gsg-tv-bg-shape {
    position: absolute;
    width: 360px;
    aspect-ratio: 1;
    pointer-events: none;
    opacity: 0.8;
}

.gsg-tv-bg-asset {
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.gsg-tv-bg-asset--platform {
    bottom: -188px;
    left: -126px;
    z-index: 0;
    width: min(703px, 52vw);
    aspect-ratio: 703 / 762;
    opacity: 0.78;
    background-image: url('https://gsgeducation.com/wp-content/uploads/2026/04/Recurso-1.png');
}

.gsg-tv-bg-shape--right {
    top: 80px;
    right: -100px;
    width: 280px;
    background: radial-gradient(circle, rgba(47, 95, 215, 0.14), transparent 68%);
}

.gsg-tv-app {
    position: relative;
}

.gsg-tv-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.gsg-tv-sidebar {
    position: sticky;
    top: 0;
    padding: 28px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(47, 95, 215, 0.96) 0%, rgba(30, 58, 138, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 46px rgba(30, 58, 138, 0.26);
    min-height: 100%;
}

.gsg-tv-eyebrow {
    margin: 0 0 12px;
    color: #dbe7ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gsg-tv-headline {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.15;
}

.gsg-tv-subtitle {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.3;
}

.gsg-tv-meta {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
}

.gsg-tv-meta-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gsg-tv-meta-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.gsg-tv-meta-card strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.gsg-tv-panel {
    position: relative;
    padding: 32px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(230, 234, 242, 0.92);
    box-shadow: var(--gsg-tv-shadow);
    min-height: 620px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gsg-tv-panel.is-loading {
    overflow: hidden;
}

.gsg-tv-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.gsg-tv-progress-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gsg-tv-progress-copy span {
    color: var(--gsg-tv-muted);
    font-size: 13px;
    font-weight: 600;
}

.gsg-tv-progress-copy strong {
    color: var(--gsg-tv-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.gsg-tv-progress-track {
    width: min(320px, 100%);
    height: 12px;
    border-radius: 999px;
    background: var(--gsg-tv-primary-soft);
    overflow: hidden;
}

.gsg-tv-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gsg-tv-primary) 0%, #5f86ec 78%, var(--gsg-tv-gold) 100%);
    transition: width 220ms ease;
}

.gsg-tv-start {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    align-items: stretch;
    min-height: 520px;
    height: auto;
    flex-grow: 1;
    gap: 14px;
    text-align: center;
}

.gsg-tv-start .gsg-tv-cta-row {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    width: min(100%, 780px);
    margin: 0 auto;
    min-height: 100%;
    height: auto;
    padding: clamp(44px, 6vw, 68px) 24px;
    overflow: hidden;
    isolation: isolate;
}

.gsg-tv-start .gsg-tv-cta-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 32px;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.34) 100%),
        url('https://gsgeducation.com/wp-content/uploads/2026/04/Fondo-campus-UK-02.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-shadow: var(--gsg-tv-shadow);
}

.gsg-tv-start .gsg-tv-button {
    position: relative;
    z-index: 1;
}

.gsg-tv-kicker {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gsg-tv-primary-soft);
    color: var(--gsg-tv-primary);
    font-size: 13px;
    font-weight: 700;
}

.gsg-tv-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gsg-tv-gold);
}

.gsg-tv-question-title {
    margin: 0 0 10px;
    color: var(--gsg-tv-primary-dark);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.gsg-tv-question-subtitle {
    margin: 0 auto;
    max-width: 700px;
    color: var(--gsg-tv-muted);
    font-size: 17px;
    line-height: 1.65;
}

.gsg-tv-cta-row,
.gsg-tv-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.gsg-tv-cta-row {
    justify-content: center;
}

.gsg-tv-button,
.gsg-tv-option,
.gsg-tv-contact button {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.gsg-tv-button,
.gsg-tv-contact button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gsg-tv-primary) 0%, #2b59d2 55%, #416de0 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(47, 95, 215, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.gsg-tv-button * {
    color: inherit;
}

.gsg-tv-button:hover,
.gsg-tv-contact button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(47, 95, 215, 0.28);
}

.gsg-tv-button:disabled,
.gsg-tv-contact button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gsg-tv-button--locked,
.gsg-tv-button--locked:hover,
.gsg-tv-button--locked:active,
.gsg-tv-button--locked:focus,
.gsg-tv-button--locked:focus-visible,
.gsg-tv-nav .gsg-tv-button--locked:disabled {
    background: #4b5563 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
    opacity: 1;
    box-shadow: none;
    transform: none;
}

.gsg-tv-button--ghost {
    background: #2f3747 !important;
    color: #ffffff !important;
    border: 1px solid #2f3747 !important;
    box-shadow: none !important;
}

.gsg-tv-button--ghost:hover,
.gsg-tv-button--ghost:active,
.gsg-tv-button--ghost:focus,
.gsg-tv-button--ghost:focus-visible {
    opacity: 0.8;
    background: #2f3747 !important;
    color: #ffffff !important;
    border-color: #2f3747 !important;
    box-shadow: none !important;
    transform: none;
}

.gsg-tv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 4px 0 0;
}

.gsg-tv-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gsg-tv-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 156px;
    padding: 24px 20px;
    border-radius: 26px;
    border: 1px solid var(--gsg-tv-border);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: #000000!important;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: var(--gsg-tv-shadow-soft);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gsg-tv-option * {
    color: inherit;
}

.gsg-tv-option:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 95, 215, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: #000000;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.09);
}

.gsg-tv-option:active,
.gsg-tv-option:focus,
.gsg-tv-option:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-color: rgba(47, 95, 215, 0.42);
    color: #000000;
    outline: none;
}

.gsg-tv-option.is-selected {
    border-color: var(--gsg-tv-primary);
    background: linear-gradient(180deg, #ffffff 0%, #eff4ff 100%);
    color: #000000;
    box-shadow: 0 14px 28px rgba(47, 95, 215, 0.18);
}

.gsg-tv-option.is-selected:hover,
.gsg-tv-option.is-selected:active,
.gsg-tv-option.is-selected:focus,
.gsg-tv-option.is-selected:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #eff4ff 100%);
    border-color: var(--gsg-tv-primary);
    color: #000000;
}

.gsg-tv-option.is-selected::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--gsg-tv-gold);
    box-shadow: 0 0 0 6px rgba(231, 199, 77, 0.18);
}

.gsg-tv-step {
    display: grid;
    gap: 22px;
}

.gsg-tv-step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.gsg-tv-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    margin-bottom: 15px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--gsg-tv-primary-soft);
    color: var(--gsg-tv-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gsg-tv-step h3 {
    margin: 0;
    color: var(--gsg-tv-primary-dark);
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.16;
}

.gsg-tv-step p {
    margin: 12px 0 0;
    color: var(--gsg-tv-muted);
    font-size: 16px;
    line-height: 1.65;
}

.gsg-tv-other,
.gsg-tv-contact-grid input,
.gsg-tv-contact-grid select,
.gsg-tv-contact-grid textarea {
    width: 100%;
    appearance: none;
    border: 1px solid var(--gsg-tv-border) !important;
    border-radius: 18px !important;
    background-color: #ffffff !important;
    color: var(--gsg-tv-text) !important;
    font: inherit;
    outline: none;
    box-shadow: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.gsg-tv-other {
    min-height: 58px;
    padding: 0 18px;
}

.gsg-tv-contact-grid textarea,
.gsg-tv-other--textarea {
    min-height: 132px;
    padding: 16px 18px;
    resize: vertical;
}

.gsg-tv-other:focus,
.gsg-tv-contact-grid input:focus,
.gsg-tv-contact-grid select:focus,
.gsg-tv-contact-grid textarea:focus {
    border-color: rgba(47, 95, 215, 0.45);
    box-shadow: 0 0 0 4px rgba(47, 95, 215, 0.12);
}

.gsg-tv-inline-field {
    margin-top: 18px;
}

.gsg-tv-inline-field label,
.gsg-tv-contact-grid label {
    display: block;
    margin-bottom: 8px;
    color: var(--gsg-tv-primary-dark);
    font-size: 14px;
    font-weight: 700;
}

.gsg-tv-hint {
    color: var(--gsg-tv-muted);
    font-size: 14px;
}

.gsg-tv-nav {
    justify-content: space-between;
    margin-top: 28px;
}

.gsg-tv-status {
    color: var(--gsg-tv-muted);
    font-size: 14px;
    font-weight: 600;
}

.gsg-tv-message {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff9eb;
    color: #8a6700;
    font-size: 14px;
    font-weight: 600;
}

.gsg-tv-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 98px 32px 32px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
}

.gsg-tv-loading-skeleton,
.gsg-tv-loading-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #e5e7eb;
}

.gsg-tv-loading-skeleton::after,
.gsg-tv-loading-card::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    animation: gsg-tv-skeleton 1.2s infinite;
}

.gsg-tv-loading-skeleton--title {
    width: min(340px, 100%);
    height: 36px;
}

.gsg-tv-loading-skeleton--line {
    width: min(560px, 100%);
    height: 18px;
}

.gsg-tv-loading-skeleton--line.short {
    width: min(280px, 70%);
}

.gsg-tv-loading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.gsg-tv-loading-card {
    min-height: 156px;
}

.gsg-tv-loading-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}

.gsg-tv-loading-skeleton--button {
    width: 180px;
    max-width: 100%;
    height: 56px;
    border-radius: 18px;
}

@keyframes gsg-tv-skeleton {
    100% {
        transform: translateX(100%);
    }
}

.gsg-tv-contact {
    display: grid;
    gap: 24px;
}

.gsg-tv-summary {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid var(--gsg-tv-border);
}

.gsg-tv-summary-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.gsg-tv-summary-top h3 {
    margin: 0;
    color: var(--gsg-tv-primary-dark);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
}

.gsg-tv-summary-top p {
    margin: 10px 0 0;
    color: var(--gsg-tv-muted);
    font-size: 16px;
    line-height: 1.65;
}

.gsg-tv-profile-summary {
    margin-top: 18px;
}

.gsg-tv-profile-summary span {
    display: block;
    color: var(--gsg-tv-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gsg-tv-profile-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--gsg-tv-primary-dark);
    font-size: 30px;
    font-weight: 800;
}

.gsg-tv-profile-summary--center {
    text-align: center;
}

.gsg-tv-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gsg-tv-contact-grid .gsg-tv-field--full {
    grid-column: 1 / -1;
}

.gsg-tv-contact-grid input,
.gsg-tv-contact-grid select,
.gsg-tv-contact-grid textarea {
    min-height: 64px;
    padding: 0 18px;
    border-width: 1px !important;
    border-style: solid !important;
    font-size: 16px;
    line-height: 1.4;
}

.gsg-tv-contact-grid textarea {
    padding-top: 14px;
}

.gsg-tv-phone-row {
    display: grid;
    grid-template-columns: minmax(148px, 220px) minmax(0, 1fr);
    gap: 12px;
}

.gsg-tv-contact-grid select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    background-image: linear-gradient(45deg, transparent 50%, var(--gsg-tv-primary) 50%), linear-gradient(135deg, var(--gsg-tv-primary) 50%, transparent 50%) !important;
    background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px) !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}

.gsg-tv-contact-grid input::placeholder,
.gsg-tv-contact-grid textarea::placeholder,
.gsg-tv-other::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.gsg-tv-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--gsg-tv-muted);
    font-size: 14px;
    line-height: 1.6;
}

.gsg-tv-checkbox input {
    margin-top: 3px;
}

.gsg-tv-thankyou {
    display: grid;
    align-content: center;
    min-height: 520px;
    gap: 18px;
    text-align: center;
}

.gsg-tv-thankyou .gsg-tv-question-title {
    max-width: 720px;
    margin: 0 auto;
}

.gsg-tv-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
    color: var(--gsg-tv-muted);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .gsg-tv-layout {
        grid-template-columns: 1fr;
    }

    .gsg-tv-sidebar {
        position: static;
    }

    .gsg-tv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gsg-tv-shell {
        min-height: auto;
        padding: 32px 14px;
    }

    .gsg-tv-bg-asset--platform {
        bottom: -116px;
        left: -170px;
        width: min(420px, 90vw);
        opacity: 0.6;
    }

    .gsg-tv-panel,
    .gsg-tv-sidebar {
        padding: 22px;
        border-radius: 24px;
    }

    .gsg-tv-progress,
    .gsg-tv-step-header,
    .gsg-tv-summary-top,
    .gsg-tv-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .gsg-tv-progress-track,
    .gsg-tv-contact-grid,
    .gsg-tv-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .gsg-tv-phone-row {
        grid-template-columns: minmax(124px, 42%) minmax(0, 1fr);
    }

    .gsg-tv-grid--two {
        grid-template-columns: 1fr;
    }

    .gsg-tv-option {
        min-height: 112px;
        font-size: 17px;
    }

    .gsg-tv-loading-overlay {
        padding: 86px 22px 22px;
    }

    .gsg-tv-loading-grid,
    .gsg-tv-loading-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .gsg-tv-start,
    .gsg-tv-thankyou {
        min-height: auto;
        padding: 16px 0;
    }
}