/* ============================================================
   FASTY PILOTO — estilos propios de piloto.fasty.fit
   (escena VR, reconocimientos, agenda y bloqueo de Tu caso/Tour).
   Se carga DESPUÉS de styles.css y solo usa sus tokens.
   ============================================================ */

/* ---------- FASTY VR ---------- */
.scene-vr {
    background: var(--gray-bg);
    padding: calc(var(--nav-height) + 5rem) 2rem 6rem;
}
.vr-inner { max-width: 1180px; margin: 0 auto; }
.vr-header { text-align: center; margin-bottom: 3rem; }
.vr-header .focus-desc { max-width: 720px; margin: 0 auto; }

.vr-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.vr-shot {
    margin: 0;
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    display: flex; flex-direction: column;
}
.vr-shot img {
    width: 100%; height: 420px; object-fit: cover; object-position: center;
}
.vr-shot--wide img { object-position: 30% center; }
.vr-shot figcaption {
    padding: 0.9rem 1.1rem 1.1rem;
    font-size: 0.9rem; line-height: 1.45; color: var(--gray-dark);
}

.vr-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.vr-card {
    background: var(--pure-white);
    border-radius: 18px;
    padding: 1.5rem 1.4rem;
    border: 1px solid rgba(0,0,0,0.05);
}
.vr-card-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--orange); background: var(--orange-subtle);
    padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.vr-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.vr-card p { font-size: 0.95rem; line-height: 1.55; color: var(--gray-dark); }

/* ---------- Reconocimientos ---------- */
.scene-awards {
    background: var(--pure-white);
    padding: 6rem 2rem;
}
.awards-inner { max-width: 1040px; margin: 0 auto; }
.awards-header { text-align: center; margin-bottom: 3rem; }
.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.award-card {
    border-radius: 22px;
    overflow: hidden;
    background: var(--gray-bg);
    display: flex; flex-direction: column;
    box-shadow: 0 18px 50px rgba(0,0,0,0.07);
}
.award-card--photo > img {
    width: 100%; height: 340px; object-fit: cover; object-position: center 25%;
}
.award-card--corfo { background: #f1fafe; }   /* mismo fondo que el logo */
.award-logo {
    height: 340px;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
}
.award-logo img { width: min(320px, 80%); height: auto; }
.award-body { padding: 1.4rem 1.6rem 1.7rem; position: relative; }
.award-step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--orange); color: #fff; font-weight: 700; font-size: 0.85rem;
    margin-bottom: 0.7rem;
}
.award-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.award-body p { font-size: 0.98rem; line-height: 1.55; color: var(--gray-dark); }

@media (max-width: 900px) {
    .vr-gallery { grid-template-columns: 1fr 1fr; }
    .vr-shot--wide { grid-column: 1 / -1; }
    .vr-shot img { height: 320px; }
    .vr-cards { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .scene-vr { padding: calc(var(--nav-height) + 3rem) 1.1rem 4rem; }
    .scene-awards { padding: 4rem 1.1rem; }
    .vr-gallery { grid-template-columns: 1fr; }
    .vr-shot img { height: 280px; }
    .award-card--photo > img, .award-logo { height: 260px; }
}

/* ---------- Gate "Agendar reunión" (reemplaza Tu caso + Tour) ---------- */
.agenda-gate {
    background: radial-gradient(circle at 20% 10%, #2b2b2e 0%, var(--black) 65%);
    color: var(--pure-white);
    padding: calc(var(--nav-height) + 6rem) 2rem 7rem;
}
.agenda-gate-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.agenda-gate .focus-title { color: var(--pure-white); }
.agenda-gate-desc { color: rgba(255,255,255,0.75); font-size: 1.08rem; line-height: 1.6; margin: 0 auto 2rem; max-width: 620px; }
.agenda-gate-list { list-style: none; padding: 0; margin: 0 auto 2.4rem; max-width: 520px; text-align: left; display: grid; gap: 0.8rem; }
.agenda-gate-list li { display: flex; gap: 0.85rem; align-items: flex-start; color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.45; }
.agenda-gate-list li span {
    flex: 0 0 26px; height: 26px; border-radius: 50%;
    background: var(--orange); color: #fff; font-weight: 700; font-size: 0.85rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.agenda-gate-btn, .agenda-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--orange); color: #fff; border: 0; cursor: pointer;
    font: 600 1.05rem var(--font); padding: 0.95rem 2.2rem; border-radius: 999px;
    box-shadow: 0 10px 30px rgba(255,136,0,0.35);
    transition: background .15s, transform .05s, opacity .15s;
}
.agenda-gate-btn:hover, .agenda-btn:hover { background: #e67a00; }
.agenda-gate-btn:active, .agenda-btn:active { transform: scale(0.98); }
.agenda-btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.agenda-gate-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 1rem; }

/* ---------- Modal agenda ---------- */
html.agenda-open, html.agenda-open body { overflow: hidden; }
.agenda-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.agenda-modal[hidden] { display: none; }
.agenda-backdrop { position: absolute; inset: 0; background: rgba(10,10,12,0.62); backdrop-filter: blur(4px); }
.agenda-card {
    position: relative; width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
    background: var(--pure-white); color: var(--black); border-radius: 22px;
    padding: 2rem 1.8rem 1.8rem; box-shadow: 0 30px 90px rgba(0,0,0,0.35);
    font-family: var(--font);
}
.agenda-x { position: absolute; top: 0.7rem; right: 0.9rem; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--gray); cursor: pointer; }
.agenda-title { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.agenda-sub { color: var(--gray-dark); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.1rem; }
.agenda-sub a { color: var(--orange); text-decoration: underline; word-break: break-all; }
.agenda-label { font-weight: 600; font-size: 0.95rem; margin: 1rem 0 0.6rem; }
.agenda-resumen { font-weight: 600; color: var(--black); margin-bottom: 1rem; }
.agenda-link { border: 0; background: none; color: var(--orange); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.agenda-error { color: #c62828; background: #fdecea; border-radius: 10px; padding: 0.6rem 0.8rem; font-size: 0.92rem; margin-bottom: 1rem; }
.agenda-error-inline { color: #c62828; font-weight: 600; }
.agenda-dias { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
.agenda-dia {
    flex: 0 0 auto; border: 1.5px solid var(--gray-light); background: #fff; border-radius: 12px;
    padding: 0.55rem 0.8rem; font: 600 0.9rem var(--font); cursor: pointer; text-transform: capitalize;
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem; color: var(--black);
}
.agenda-dia small { font-weight: 400; font-size: 0.72rem; color: var(--gray); text-transform: none; }
.agenda-dia.is-selected, .agenda-hora.is-selected { border-color: var(--orange); background: var(--orange-subtle); color: var(--black); }
.agenda-horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 0.5rem; margin-bottom: 1.4rem; }
.agenda-hora { border: 1.5px solid var(--gray-light); background: #fff; border-radius: 10px; padding: 0.55rem 0; font: 600 0.95rem var(--font); cursor: pointer; color: var(--black); }
.agenda-dia:hover, .agenda-hora:hover { border-color: var(--orange-light); }
.agenda-card .agenda-btn { width: 100%; }
.agenda-form { display: grid; gap: 0.85rem; }
.agenda-form label { display: grid; gap: 0.3rem; font-size: 0.88rem; font-weight: 600; color: var(--gray-dark); }
.agenda-form input, .agenda-form textarea {
    font: 400 1rem var(--font); padding: 0.7rem 0.8rem; border: 1.5px solid var(--gray-light); border-radius: 10px; outline: none; color: var(--black);
}
.agenda-form input:focus, .agenda-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.agenda-legal { font-size: 0.78rem; color: var(--gray); line-height: 1.4; }
.agenda-spinner { width: 34px; height: 34px; margin: 1.4rem auto; border-radius: 50%; border: 3px solid var(--gray-light); border-top-color: var(--orange); animation: agenda-spin 0.8s linear infinite; }
@keyframes agenda-spin { to { transform: rotate(360deg); } }
.agenda-ok-icon { width: 56px; height: 56px; border-radius: 50%; background: #e8f5e9; color: #2e7d32; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; }
.agenda-btn--google { background: #fff; color: var(--black); border: 1.5px solid var(--gray-light); box-shadow: none; }
.agenda-btn--google:hover { background: var(--gray-bg); }

/* Mis reuniones */
.mis-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.mis-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 0.8rem; align-items: start; padding: 0.8rem; border: 1px solid var(--gray-light); border-radius: 12px; font-size: 0.9rem; }
.mis-when { display: flex; flex-direction: column; text-transform: capitalize; color: var(--gray-dark); font-size: 0.82rem; }
.mis-when strong { font-size: 1.1rem; color: var(--black); }
.mis-who a { color: var(--orange); }
.mis-who p { margin-top: 0.3rem; color: var(--gray-dark); }
.mis-meet { background: var(--orange); color: #fff; border-radius: 999px; padding: 0.3rem 0.8rem; font-weight: 600; font-size: 0.82rem; }
.mis-empty { color: var(--gray); text-align: center; padding: 1rem; }

@media (max-width: 560px) {
    .agenda-gate { padding: calc(var(--nav-height) + 3.5rem) 1.2rem 5rem; }
    .agenda-card { padding: 1.6rem 1.2rem 1.3rem; border-radius: 18px; }
    .mis-item { grid-template-columns: 1fr; }
}

/* Gate: visitante que ya agendó */
.agenda-gate-ya {
    background: rgba(255,136,0,0.12); border: 1px solid rgba(255,136,0,0.35);
    color: rgba(255,255,255,0.92); border-radius: 14px;
    padding: 0.9rem 1.1rem; margin: 0 auto 1.4rem; max-width: 560px; font-size: 0.98rem; line-height: 1.5;
}
.agenda-gate-btn--ghost { background: transparent; border: 1.5px solid var(--orange); color: var(--orange); box-shadow: none; }
.agenda-gate-btn--ghost:hover { background: rgba(255,136,0,0.12); }
