/* ============================================================================
   Training Camp 2027 · Oropesa del Mar
   La cabecera usa la común (.page-hero, en styles.css). Aquí solo el contenido.
   ============================================================================ */

.tc-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.tc-section--soft { background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); }
.tc-section--warm { background: linear-gradient(135deg, #fff8e1 0%, #fff3d6 100%); }

.tc-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}
.tc-head h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--cycling-primary, #b73434);
    margin: 0 0 0.5rem;
}
.tc-head p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Tarjetas genéricas (qué es, destino) */
.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.tc-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    text-align: center;
}
.tc-card__icon { font-size: 2.5rem; line-height: 1; margin-bottom: 0.75rem; }
.tc-card h3 { color: var(--cycling-primary, #b73434); font-size: 1.2rem; margin: 0 0 0.5rem; }
.tc-card p { color: #555; line-height: 1.55; margin: 0; font-size: 0.98rem; }

/* Disciplinas: carretera y MTB */
.tc-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
}
.tc-group {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--tc-accent, #b73434);
}
.tc-group--road { --tc-accent: #b73434; }
.tc-group--mtb { --tc-accent: #2e7d32; }
.tc-groups--2 { max-width: 800px; }
.tc-group__icon { font-size: 2.4rem; line-height: 1; }
.tc-group h3 { margin: 0.6rem 0 0.4rem; font-size: 1.3rem; color: var(--tc-accent); }
.tc-group p { margin: 0 0 0.9rem; color: #555; line-height: 1.55; }
.tc-group ul { margin: 0; padding-left: 1.1rem; color: #444; line-height: 1.6; font-size: 0.95rem; }
.tc-note {
    max-width: 720px;
    margin: 1.75rem auto 0;
    text-align: center;
    color: #444;
    background: #fff;
    border: 2px dashed rgba(183, 52, 52, 0.35);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

/* Programa */
.tc-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 950px;
    margin: 0 auto;
}
.tc-day {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}
.tc-day__date {
    display: inline-block;
    background: var(--cycling-primary, #b73434);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}
.tc-day h3 { margin: 0 0 0.35rem; font-size: 1.15rem; color: #222; }
.tc-day p { margin: 0; color: #555; line-height: 1.5; font-size: 0.95rem; }

/* Lo que aprendimos en 2026 */
.tc-learned {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 0.9rem;
}
.tc-learned li {
    list-style: none;
    background: #fff;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #444;
    line-height: 1.5;
}
.tc-learned { padding: 0; }
.tc-learned strong { color: #222; }

/* ----------------------------------------------------------------------------
   Formulario
   ---------------------------------------------------------------------------- */
.tc-form {
    max-width: 720px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 20px;
    padding: clamp(1.5rem, 5vw, 3rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.tc-field { margin: 0 0 1.5rem; border: 0; padding: 0; min-width: 0; }
.tc-field > label:not(.tc-option),
.tc-field > legend {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    padding: 0;
}
.tc-field .required { color: #c0392b; margin-left: 0.2rem; }
.tc-help { display: block; font-weight: 400; color: #666; font-size: 0.9rem; margin-top: 0.15rem; }
.tc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .tc-row { grid-template-columns: 1fr; } }

.tc-form input[type="text"],
.tc-form input[type="tel"],
.tc-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tc-form textarea { min-height: 90px; resize: vertical; }
.tc-form input:focus,
.tc-form textarea:focus {
    outline: none;
    border-color: #b73434;
    box-shadow: 0 0 0 4px rgba(183, 52, 52, 0.12);
}

/* Opciones (radio y checkbox) en forma de tarjeta */
.tc-options { display: grid; gap: 0.75rem; }
.tc-options--2 { grid-template-columns: repeat(2, 1fr); }
.tc-options--3 { grid-template-columns: repeat(3, 1fr); }
.tc-options--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) {
    .tc-options--2,
    .tc-options--3 { grid-template-columns: 1fr; }
    .tc-options--4 { grid-template-columns: 1fr 1fr; }
}
.tc-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.tc-option:hover { border-color: #b73434; background: #fdf5f5; }
.tc-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.tc-option:has(input:checked) { border-color: #b73434; background: rgba(183, 52, 52, 0.06); }
.tc-option:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(183, 52, 52, 0.2); }
.tc-option__icon { font-size: 1.5rem; flex-shrink: 0; }
.tc-option__text { flex: 1; }
.tc-option__text strong { display: block; color: #333; }
.tc-option__text small { display: block; color: #666; line-height: 1.35; margin-top: 0.1rem; }
.tc-option__mark {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-option--check .tc-option__mark { border-radius: 6px; }
.tc-option:has(input:checked) .tc-option__mark { border-color: #b73434; background: #b73434; }
.tc-option:has(input:checked) .tc-option__mark::after { content: '✓'; color: #fff; font-size: 0.8rem; font-weight: 700; }
.tc-option--extra { margin-top: 0.75rem; }
.tc-option--compact { justify-content: center; text-align: center; font-weight: 600; color: #333; }
.tc-option--stack { flex-direction: column; text-align: center; gap: 0.4rem; padding: 1.1rem 0.75rem; }
.tc-option--stack .tc-option__mark { position: absolute; top: 0.6rem; right: 0.6rem; }

.tc-submit {
    width: 100%;
    padding: 1.05rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b0000 0%, var(--cycling-primary, #b73434) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.25);
    transition: transform 0.2s, opacity 0.2s;
}
.tc-submit:hover { transform: translateY(-2px); }
.tc-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.tc-privacy { margin: 1rem 0 0; font-size: 0.88rem; color: #666; text-align: center; line-height: 1.5; }

[hidden] { display: none !important; }
