/* GTChallenge — Fase 2 UX (sin build npm) */

.gtc-hero-side {
    min-height: 220px;
    border-radius: 0.5rem;
    background-color: #eee;
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .gtc-hero-side {
        min-height: 320px;
    }
}

.gtc-hero-profile {
    max-width: 160px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}

/* Landing page */
html.gtc-landing-scroll,
html:has(.gtc-landing-page) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html.gtc-landing-scroll,
    html:has(.gtc-landing-page) {
        scroll-behavior: auto;
    }

    .gtc-landing-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

main.gtc-landing-main {
    background: #fff4da;
}

.gtc-landing-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff9ee 0%, #fff4da 55%, #ffeec4 100%);
}

.gtc-landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33, 37, 41, 0.06), transparent 55%),
        radial-gradient(circle at 100% 50%, rgba(255, 193, 94, 0.15), transparent 40%);
    pointer-events: none;
}

.gtc-landing-hero > .container {
    position: relative;
    z-index: 1;
}

.gtc-hero-side--frame {
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gtc-landing-hero:hover .gtc-hero-side--frame {
    transform: translateY(-2px);
    box-shadow: 0 1.25rem 2.75rem rgba(33, 37, 41, 0.14);
}

.gtc-landing-profile {
    max-width: 148px;
    border: 4px solid #fff;
    box-shadow: 0 0.75rem 1.75rem rgba(33, 37, 41, 0.15);
}

.gtc-landing-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6c757d;
}

.gtc-landing-hero-title {
    font-size: clamp(1.65rem, 2vw + 1rem, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #212529;
}

.gtc-landing-hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 0;
}

.gtc-landing-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gtc-landing-social-link:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.14);
}

.gtc-landing-social-link img {
    width: 1.65rem;
    height: auto;
}

.gtc-landing-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.gtc-landing-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #212529;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(33, 37, 41, 0.08);
    box-shadow: 0 0.25rem 0.75rem rgba(33, 37, 41, 0.06);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gtc-landing-jump-link:hover {
    background: #212529;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.18);
}

.gtc-landing-section {
    scroll-margin-top: 5.5rem;
    width: 100%;
}

/* Crema / amarillo suave (como el resto del sitio público) */
.gtc-landing-section--warm {
    background: #fff4da;
    color: #212529;
}

/* Blanco — contraste claro frente a secciones warm */
.gtc-landing-section--light {
    background: #ffffff;
    color: #212529;
    box-shadow:
        inset 0 1px 0 rgba(33, 37, 41, 0.07),
        inset 0 -1px 0 rgba(33, 37, 41, 0.05);
}

.gtc-landing-section--dark {
    background: linear-gradient(165deg, #1a1d20 0%, #212529 45%, #343a40 100%);
    color: #f8f9fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gtc-landing-section-head {
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.gtc-landing-section-title {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.gtc-landing-section-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    line-height: 1.5;
}

.gtc-landing-section-head--light .gtc-landing-section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.gtc-landing-plan-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.gtc-landing-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.gtc-landing-plan-price {
    font-size: clamp(1.75rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
}

.gtc-landing-plan-period {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.75;
}

.gtc-landing-plan-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.gtc-landing-cta {
    background: #212529;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.gtc-landing-cta:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.2);
}

.gtc-landing-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.gtc-landing-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gtc-landing-totop {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1030;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(33, 37, 41, 0.1);
    box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.15);
    transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gtc-landing-totop.is-shown {
    display: inline-flex;
}

.gtc-landing-totop:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.65rem 1.5rem rgba(33, 37, 41, 0.2);
}

.gtc-landing-page .gtc-media-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (min-width: 992px) {
    .gtc-landing-section > .container,
    .gtc-landing-section > .container-fluid {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Landing — noticias, calendario, testimonios */
.gtc-landing-panel {
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
}

.gtc-landing-panel--glass {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.gtc-landing-panel--testimonial {
    background: #fff;
    border: 1px solid rgba(33, 37, 41, 0.08);
    box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.08);
}

.gtc-landing-panel-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
}

.gtc-landing-carousel {
    min-height: 14rem;
}

.gtc-landing-carousel-control {
    width: 2.75rem;
    height: 2.75rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.gtc-landing-carousel-control:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gtc-landing-carousel-control--light {
    background: rgba(33, 37, 41, 0.06);
    border-color: rgba(33, 37, 41, 0.1);
}

.gtc-landing-carousel-control--light .carousel-control-prev-icon,
.gtc-landing-carousel-control--light .carousel-control-next-icon {
    filter: invert(1);
}

.gtc-landing-news-card {
    padding: 0.5rem 0.25rem 1rem;
    min-height: 12rem;
}

.gtc-landing-news-title {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.65rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.gtc-landing-news-desc {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.gtc-landing-news-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.gtc-landing-news-badge--muted {
    opacity: 0.85;
}

.gtc-landing-calendar-month {
    font-size: clamp(1.35rem, 2vw + 0.5rem, 2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}

.gtc-landing-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
}

.gtc-landing-calendar-hint {
    color: rgba(255, 255, 255, 0.55);
}

.gtc-landing-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gtc-landing-legend-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.gtc-landing-legend-dot--blocked {
    background: #dc3545;
}

.gtc-landing-legend-dot--event {
    background: #0dcaf0;
}

.gtc-landing-calendar-weekdays th {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    padding-bottom: 0.35rem;
}

.gtc-cal-day {
    width: 100%;
    min-height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.gtc-cal-day span {
    display: block;
    line-height: 1.2;
}

.gtc-cal-day--event {
    background: rgba(13, 202, 240, 0.22);
    border-color: rgba(13, 202, 240, 0.55);
    cursor: pointer;
}

.gtc-cal-day--event:hover {
    transform: translateY(-1px);
    background: rgba(13, 202, 240, 0.32);
}

.gtc-cal-day--blocked {
    background: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.45);
    opacity: 0.85;
}

.gtc-cal-day--past {
    opacity: 0.45;
}

.gtc-cal-day--default,
.gtc-cal-day--future {
    background: rgba(255, 255, 255, 0.04);
}

.gtc-landing-testimonial-carousel-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.gtc-landing-testimonial-carousel {
    min-height: 18rem;
}

.gtc-landing-testimonial-carousel-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.gtc-landing-testimonial-carousel-toolbar--top {
    padding-bottom: 0.15rem;
}

.gtc-landing-testimonial-carousel-toolbar--bottom {
    padding-top: 0.35rem;
    border-top: 1px solid rgba(33, 37, 41, 0.08);
}

.gtc-landing-testimonial-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(33, 37, 41, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff 0%, #fff8eb 100%);
    color: #212529;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 0.35rem 0.85rem rgba(33, 37, 41, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.gtc-landing-testimonial-nav-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(33, 37, 41, 0.22);
    box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.12);
    color: #212529;
}

.gtc-landing-testimonial-nav-label {
    line-height: 1;
}

.gtc-landing-testimonial-counter {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #495057;
}

.gtc-landing-testimonial-counter-sep {
    opacity: 0.45;
    margin: 0 0.15rem;
}

.gtc-landing-testimonial-card {
    position: relative;
    padding: 1.35rem 1.15rem 1.15rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fffdf8 0%, #fff6e6 48%, #fff 100%);
    border: 1px solid rgba(255, 193, 7, 0.22);
    box-shadow: inset 4px 0 0 #ffc107, 0 0.75rem 1.75rem rgba(33, 37, 41, 0.07);
    overflow: hidden;
}

.gtc-landing-testimonial-copy {
    position: relative;
    padding-left: 0.35rem;
}

.gtc-landing-testimonial-quote-mark {
    position: absolute;
    top: -0.35rem;
    left: -0.15rem;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 193, 7, 0.35);
    pointer-events: none;
    user-select: none;
}

.gtc-landing-testimonial-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #856404;
}

.gtc-landing-testimonial-title {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #212529;
}

.gtc-landing-testimonial-text {
    color: #343a40;
    font-size: clamp(1rem, 0.4vw + 0.95rem, 1.0625rem);
    line-height: 1.65;
    margin-bottom: 0.65rem;
}

.gtc-landing-testimonial-extra {
    font-size: 0.9375rem;
    color: #6c757d;
    font-style: italic;
    padding-left: 0.75rem;
    border-left: 3px solid rgba(255, 193, 7, 0.55);
}

.gtc-landing-testimonial-media-stack {
    display: grid;
    gap: 0.75rem;
}

.gtc-landing-testimonial-media-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #212529;
    cursor: pointer;
    box-shadow: 0 0.85rem 1.65rem rgba(33, 37, 41, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gtc-landing-testimonial-media-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.18);
}

.gtc-landing-testimonial-media-trigger:focus-visible {
    outline: 3px solid rgba(255, 193, 7, 0.65);
    outline-offset: 3px;
}

.gtc-landing-testimonial-photo,
.gtc-landing-testimonial-video-preview {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.gtc-landing-testimonial-media-trigger--video .gtc-landing-testimonial-video-preview {
    opacity: 0.92;
}

.gtc-landing-testimonial-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(180deg, rgba(33, 37, 41, 0.05) 0%, rgba(33, 37, 41, 0.55) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.gtc-landing-testimonial-media-trigger:hover .gtc-landing-testimonial-media-overlay,
.gtc-landing-testimonial-media-trigger:focus-visible .gtc-landing-testimonial-media-overlay {
    opacity: 1;
}

.gtc-landing-testimonial-media-overlay--video {
    background: linear-gradient(180deg, rgba(33, 37, 41, 0.15) 0%, rgba(33, 37, 41, 0.65) 100%);
}

.gtc-landing-testimonial-media-cta {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gtc-landing-testimonial-play-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.25);
    position: relative;
}

.gtc-landing-testimonial-play-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 0.55rem 0 0.55rem 0.9rem;
    border-color: transparent transparent transparent #212529;
}

.gtc-testimonial-media-modal-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #fff;
}

.gtc-testimonial-media-modal-header .btn-close {
    filter: invert(1);
}

.gtc-testimonial-media-modal-image {
    display: block;
    max-height: min(78vh, 720px);
    object-fit: contain;
    background: #111;
}

.gtc-testimonial-media-modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.gtc-landing-event-modal-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #fff;
}

.gtc-landing-event-modal-header .btn-close {
    filter: invert(1);
}

.gtc-landing-event-item {
    background: #f8f9fa;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
}

.gtc-landing-event-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .gtc-landing-testimonial-photo,
    .gtc-landing-testimonial-video-preview {
        max-height: 200px;
    }

    .gtc-landing-testimonial-card {
        padding: 1rem 0.85rem 0.85rem;
    }

    .gtc-landing-testimonial-nav-label {
        display: none;
    }

    .gtc-landing-carousel-control {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.gtc-admin-shell .gtc-admin-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

main.gtc-admin-main {
    padding-top: 0.5rem !important;
}

.gtc-admin-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 244, 218, 0.95);
    backdrop-filter: blur(6px);
    padding: 0.5rem 0;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.gtc-admin-menu-btn {
    min-height: 2.75rem;
    min-width: 4.5rem;
    font-weight: 600;
}

.gtc-admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.gtc-admin-offcanvas {
    width: min(20rem, 88vw);
}

.gtc-admin-offcanvas .gtc-admin-menu .list-group-item-action {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
}

.gtc-admin-tile {
    min-height: 4.25rem;
    border-radius: 0.65rem;
}

.gtc-admin-page > .container,
.gtc-admin-page .container.my-5 {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.gtc-admin-page .row.rounded-3.border.shadow-lg {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.gtc-admin-page .display-6 {
    font-size: 1.35rem;
    padding-top: 0.5rem !important;
    padding-bottom: 0.75rem !important;
}

.gtc-admin-page .table-responsive-sm,
.gtc-admin-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gtc-admin-page .table-responsive-sm table,
.gtc-admin-page .table-responsive table {
    min-width: 520px;
    font-size: 0.9375rem;
}

.gtc-admin-page thead th {
    font-size: 0.875rem !important;
    white-space: nowrap;
}

.gtc-admin-sidebar .list-group-item {
    border-left: 3px solid transparent;
}

.gtc-admin-sidebar .list-group-item.active {
    border-left-color: #212529;
    font-weight: 600;
}

.gtc-admin-sidebar .list-group-item-action small {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
}

.gtc-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gtc-table-wrap table {
    min-width: 640px;
}

.gtc-dashboard-card {
    height: 100%;
}

.gtc-admin-shell .card-body > .table,
.gtc-admin-shell .gtc-table-wrap > .table {
    margin-bottom: 0;
}

.gtc-admin-shell .card-body:has(> table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Auth público — mobile first (login / registro) */
.gtc-auth-page {
    padding: 0.75rem 0 2rem;
    width: 100%;
}

.gtc-auth-shell {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.gtc-auth-shell--wide {
    max-width: 26rem;
}

.gtc-auth-card {
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.1);
}

.gtc-auth-card-header {
    background: #212529;
    color: #fff;
    text-align: center;
    padding: 1.25rem 1rem 1rem;
}

.gtc-auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.gtc-auth-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.gtc-auth-subtitle {
    font-size: 0.8125rem;
    margin: 0.35rem 0 0;
    opacity: 0.85;
    line-height: 1.4;
}

.gtc-auth-card-body {
    padding: 1rem 1rem 1.25rem;
}

.gtc-auth-form .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.gtc-auth-form .form-control {
    border-radius: 0.5rem;
    font-size: 16px;
    min-height: 2.75rem;
}

.gtc-auth-form .form-control-lg {
    padding: 0.625rem 0.875rem;
}

.gtc-auth-submit {
    min-height: 2.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.gtc-auth-field-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gtc-auth-alert {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.gtc-auth-alert ul {
    padding-left: 1.1rem;
}

.gtc-auth-switch {
    text-align: center;
    font-size: 0.9375rem;
    margin: 1rem 0 0;
    padding: 0 0.5rem;
}

.gtc-auth-footer-link {
    color: #212529;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gtc-auth-footer-link:hover {
    color: #000;
}

.gtc-auth-hint {
    line-height: 1.45;
}

.gtc-auth-verify-body {
    text-align: center;
}

.gtc-auth-verify-lead {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    color: #212529;
}

.gtc-auth-verify-email-wrap {
    line-height: 1.45;
}

.gtc-auth-verify-email {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    word-break: break-word;
}

@media (min-width: 576px) {
    .gtc-auth-verify-email {
        display: inline;
        margin-top: 0;
        margin-left: 0.25rem;
    }
}

@media (min-width: 576px) {
    .gtc-auth-page {
        padding: 1.5rem 0 2.5rem;
    }

    .gtc-auth-shell {
        padding: 0 1rem;
    }

    .gtc-auth-card-header {
        padding: 1.5rem 1.25rem 1.15rem;
    }

    .gtc-auth-logo {
        width: 80px;
        height: 80px;
    }

    .gtc-auth-title {
        font-size: 1.35rem;
    }

    .gtc-auth-card-body {
        padding: 1.25rem 1.35rem 1.5rem;
    }

    .gtc-auth-field-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 0.75rem;
    }

    .gtc-auth-field-grid .mb-3 {
        margin-bottom: 0.75rem !important;
    }
}

main.gtc-auth-main {
    padding-top: 0.5rem !important;
}

@media (min-width: 768px) {
    main.gtc-auth-main {
        padding-top: 1rem !important;
    }

    .gtc-auth-page {
        min-height: calc(100vh - 5.5rem);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
    }

    .gtc-auth-shell--wide {
        max-width: 32rem;
    }

    .gtc-auth-card {
        border-radius: 0.75rem;
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    }
}

/* Área cliente, pública y formularios legacy — mobile first */
main.gtc-client-main,
main.gtc-public-main,
main.gtc-landing-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.gtc-client-shell,
.gtc-public-shell {
    max-width: 72rem;
    margin: 0 auto;
}

.gtc-landing-shell {
    max-width: 100%;
}

.gtc-page-title {
    font-size: 1.35rem;
    line-height: 1.25;
}

.gtc-page-subtitle {
    font-size: 0.9375rem;
}

.gtc-page-back {
    min-height: 2.25rem;
}

.gtc-panel-card {
    border-radius: 0.65rem;
    overflow: hidden;
}

.gtc-panel-card .card-body,
.gtc-panel-card > .card {
    border: none;
    background: transparent;
}

.gtc-stack-forms .form-control,
.gtc-stack-forms .form-select {
    font-size: 16px;
    min-height: 2.5rem;
}

.gtc-stack-forms .btn {
    min-height: 2.5rem;
}

@media (max-width: 767.98px) {
    .gtc-stack-forms .row.mb-3 > [class*="col-md"],
    .gtc-stack-forms .row.mb-3 > [class*="col-lg"],
    .gtc-stack-forms .row.mb-0 > [class*="col-md"],
    .gtc-stack-forms .row.mb-0 > [class*="col-lg"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gtc-stack-forms .col-form-label.text-md-end {
        text-align: start !important;
        padding-bottom: 0.25rem;
    }

    .gtc-stack-forms [class*="offset-md"],
    .gtc-stack-forms [class*="offset-lg"] {
        margin-left: 0 !important;
    }

    .gtc-stack-forms .row.mb-3 > .col-sm-1,
    .gtc-stack-forms .row.mb-3 > .col-sm-2,
    .gtc-stack-forms .row.mb-3 > .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.35rem;
    }

    .gtc-landing-shell .display-4 {
        font-size: calc(1.35rem + 1vw);
    }

    .gtc-table-wrap table {
        min-width: 480px;
        font-size: 0.9375rem;
    }

    .gtc-table-wrap .btn {
        width: 100%;
        max-width: 12rem;
    }
}

@media (min-width: 768px) {
    .gtc-page-title {
        font-size: 1.5rem;
    }
}

/* Tarjetas de ejercicios / recetas (cliente y landing) */
.gtc-media-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gtc-media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12) !important;
}

.gtc-media-card-recipe .badge.text-bg-light,
.gtc-media-card-exercise .badge.text-bg-light {
    color: #212529 !important;
}

.gtc-media-card-exercise .gtc-media-meta-badge-tipo {
    background: #212529;
    color: #fff;
    border: 1px solid #212529;
    font-weight: 600;
}

.gtc-media-card-badge-exercise {
    background: rgba(33, 37, 41, 0.85);
}

.gtc-media-card-actions {
    padding: 0 0.85rem 0.85rem;
    background: transparent;
}

.gtc-media-card-actions-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.gtc-media-card-action-form {
    min-width: 0;
}

.gtc-media-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
}

.gtc-media-card-action-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.gtc-media-card-action-edit {
    background: #f8f9fa;
    border-color: rgba(33, 37, 41, 0.12);
    color: #212529;
}

.gtc-media-card-action-edit:hover {
    background: #212529;
    border-color: #212529;
    color: #fff;
    transform: translateY(-1px);
}

.gtc-media-card-action-delete {
    background: #fff5f5;
    border-color: rgba(220, 53, 69, 0.25);
    color: #b02a37;
}

.gtc-media-card-action-delete:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
    transform: translateY(-1px);
}

.gtc-recipe-meta-list li + li {
    margin-top: 0.25rem;
}

.gtc-recipe-modal .modal-content {
    overflow: hidden;
}

.gtc-recipe-modal-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
    margin: 0;
}

.gtc-recipe-modal-header .btn-close {
    filter: invert(1);
}

.gtc-recipe-stat-card {
    background: #fff8eb;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 0.65rem;
    padding: 0.75rem 0.85rem;
}

.gtc-recipe-stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.15rem;
}

.gtc-recipe-stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.gtc-recipe-modal-panel {
    background: #f8f9fa;
    border: 1px solid rgba(33, 37, 41, 0.06);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
}

.gtc-recipe-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #495057;
    margin-bottom: 0.5rem;
}

.gtc-recipe-modal-panel .gtc-recipe-block {
    background: #fff;
    border: 1px solid rgba(33, 37, 41, 0.06);
}

.gtc-recipe-notes {
    background: #fff;
    border-left: 3px solid #212529;
    border-radius: 0.35rem;
    padding: 0.65rem 0.85rem;
    box-shadow: inset 0 0 0 1px rgba(33, 37, 41, 0.06);
}

.gtc-media-card-trigger {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: inherit;
    cursor: pointer;
}

.gtc-media-card-trigger:focus-visible {
    outline: 2px solid #212529;
    outline-offset: 2px;
}

.gtc-media-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
    overflow: hidden;
}

.gtc-media-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gtc-media-card-badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.gtc-media-card-badge-recipe {
    background: rgba(33, 37, 41, 0.85);
}

.gtc-media-card-badge-testimonial {
    background: rgba(133, 100, 4, 0.88);
}

.gtc-testimonial-admin-modal-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #fff;
}

.gtc-testimonial-admin-modal-header .btn-close {
    filter: invert(1);
}

.gtc-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gtc-media-card-media--entity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.gtc-media-card-media--horario {
    background: linear-gradient(145deg, #495057 0%, #212529 100%);
}

.gtc-media-card-media--paciente {
    background: linear-gradient(145deg, #0d6efd 0%, #212529 100%);
}

.gtc-media-card-cita--booked .gtc-media-card-media--entity {
    background: linear-gradient(145deg, #0d6efd 0%, #084298 100%);
}

.gtc-media-card-cita--open .gtc-media-card-media--entity {
    background: linear-gradient(145deg, #6c757d 0%, #495057 100%);
}

.gtc-cita-grid {
    --bs-gutter-x: 0.4rem;
    --bs-gutter-y: 0.4rem;
}

.gtc-media-card-cita--compact .gtc-media-card-trigger {
    border-radius: 0.4rem;
}

.gtc-media-card-cita--compact.gtc-media-card {
    border-radius: 0.4rem;
}

.gtc-media-card-media--cita-compact {
    aspect-ratio: auto;
    min-height: 3.5rem;
    padding: 0.35rem 0.28rem;
    gap: 0.15rem;
}

.gtc-media-card-cita--compact .gtc-admin-entity-headline--cita {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.gtc-media-card-cita--compact .gtc-media-card-badge-cita {
    font-size: 0.5rem;
    padding: 0.12rem 0.32rem;
    margin-top: 0.05rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .gtc-media-card-media--cita-compact {
        min-height: 3.72rem;
    }

    .gtc-media-card-cita--compact .gtc-admin-entity-headline--cita {
        font-size: 0.7rem;
    }
}

.gtc-media-card-horario--inactive .gtc-media-card-media--entity {
    background: linear-gradient(145deg, #adb5bd 0%, #6c757d 100%);
}

.gtc-horario-grid {
    --bs-gutter-x: 0.4rem;
    --bs-gutter-y: 0.4rem;
}

.gtc-media-card-horario--compact .gtc-media-card-trigger {
    border-radius: 0.4rem 0.4rem 0 0;
}

.gtc-media-card-horario--compact.gtc-media-card {
    border-radius: 0.4rem;
}

.gtc-media-card-media--horario-compact {
    aspect-ratio: auto;
    min-height: 3.85rem;
    padding: 0.35rem 0.28rem;
    gap: 0.1rem;
    color: #fff;
}

.gtc-media-card-horario--active .gtc-media-card-media--horario-compact {
    background: linear-gradient(145deg, #495057 0%, #212529 100%);
}

.gtc-media-card-horario--inactive .gtc-media-card-media--horario-compact {
    background: linear-gradient(145deg, #6c757d 0%, #495057 100%);
}

.gtc-admin-entity-date--horario {
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.92;
    line-height: 1.1;
}

.gtc-media-card-horario--compact .gtc-admin-entity-kicker--horario {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gtc-media-card-horario--compact .gtc-admin-entity-headline--horario {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.gtc-media-card-horario--compact .gtc-media-card-badge-horario {
    font-size: 0.5rem;
    padding: 0.12rem 0.32rem;
    margin-top: 0.05rem;
    line-height: 1.15;
}

.gtc-media-card-horario--compact .gtc-media-card-actions {
    padding: 0.28rem 0.28rem 0.35rem;
}

.gtc-media-card-horario--compact .gtc-media-card-actions-inner {
    gap: 0.28rem;
}

.gtc-media-card-horario--compact .gtc-media-card-action {
    padding: 0.32rem 0.25rem;
    font-size: 0.5625rem;
    border-radius: 0.35rem;
    gap: 0.2rem;
}

@media (min-width: 768px) {
    .gtc-media-card-media--horario-compact {
        min-height: 4rem;
    }

    .gtc-media-card-horario--compact .gtc-admin-entity-kicker--horario {
        font-size: 0.58rem;
    }

    .gtc-admin-entity-date--horario {
        font-size: 0.52rem;
    }

    .gtc-media-card-horario--compact .gtc-admin-entity-headline--horario {
        font-size: 0.7rem;
    }

    .gtc-media-card-horario--compact .gtc-media-card-action {
        font-size: 0.625rem;
        padding: 0.35rem 0.3rem;
    }
}

.gtc-admin-entity-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.gtc-admin-entity-headline {
    font-size: clamp(1.35rem, 2vw + 0.5rem, 1.85rem);
    font-weight: 800;
    line-height: 1.1;
}

.gtc-admin-entity-avatar {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.gtc-media-card-badge-cita,
.gtc-media-card-badge-horario,
.gtc-media-card-badge-paciente {
    position: static;
    margin-top: 0.35rem;
}

.gtc-admin-entity-modal-header {
    color: #fff;
}

.gtc-admin-entity-modal-header .btn-close {
    filter: invert(1);
}

.gtc-admin-entity-modal-header--cita {
    background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
}

.gtc-admin-entity-modal-header--horario {
    background: linear-gradient(135deg, #495057 0%, #212529 100%);
}

.gtc-admin-entity-modal-header--paciente {
    background: linear-gradient(135deg, #0d6efd 0%, #212529 100%);
}

.gtc-media-card-play {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
}

.gtc-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gtc-media-modal .modal-content {
    border-radius: 0.85rem;
}

.gtc-media-modal-video video {
    object-fit: contain;
    background: #000;
}

.gtc-media-meta-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
}

.gtc-media-meta-row dt {
    font-weight: 600;
    margin: 0;
}

.gtc-media-meta-row dd {
    margin: 0;
    color: #6c757d;
}

.gtc-recipe-modal-hero {
    max-height: 16rem;
    background: #f8f9fa;
}

.gtc-recipe-modal-img {
    max-height: 16rem;
    object-fit: cover;
    display: block;
}

.gtc-recipe-block {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.75rem 0.85rem;
    white-space: pre-wrap;
    color: #495057;
}

.gtc-landing-shell .card.card-ejercicio {
    border-radius: 0.75rem;
}

.gtc-admin-modal-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #fff;
    padding: 1.1rem 1.25rem;
}

.gtc-admin-modal-header .btn-close {
    filter: invert(1);
}

.gtc-admin-form-modal .modal-body {
    padding-top: 0.5rem;
}

.gtc-multi-select-tall {
    min-height: 9.5rem;
}

.gtc-catalog-field {
    background: #f8f9fa;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
}

.gtc-catalog-field .form-select {
    background-color: #fff;
}
