/* Green Gym — página institucional (usa los colores de app.css) */
html { scroll-behavior: smooth; }
body.landing { padding: 0; }
.draft { background: var(--warn); color: #241a00; text-align: center; font-size: .85rem; padding: 6px 16px; }
.draft code { background: rgba(0, 0, 0, .1); }

.l-top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: rgba(3, 3, 3, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.l-brand img { display: block; height: 34px; width: auto; }
.l-links { display: flex; gap: 18px; margin-left: auto; }
.l-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.l-links a:hover { color: var(--text); }
@media (max-width: 640px) { .l-links { display: none; } .l-top .btn { margin-left: auto; } }

.hero { text-align: center; padding: 48px 16px 56px; background: radial-gradient(ellipse at 50% 30%, #0f1a10 0%, var(--bg) 70%); }
.hero-logo { width: min(560px, 100%); height: auto; margin: 0 auto; }
.hero-frase { font-size: clamp(1.1rem, 3.6vw, 1.45rem); max-width: 560px; margin: 22px auto 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.l-section { padding: 56px 16px; }
.l-section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-wrap { max-width: 1040px; margin: 0 auto; }
.l-wrap.narrow { max-width: 680px; }
.l-section h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0 0 22px; }
.l-lead { font-size: 1.15rem; line-height: 1.6; color: #d9d6cb; text-align: center; margin: 0; }

.l-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.l-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.l-card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--green); }
.l-card p { margin: 0; color: #cfcbbf; }

.l-app { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.l-app-img { width: min(280px, 100%); margin: 0 auto; border-radius: 28%; border: 1px solid var(--line); }
.l-checks { list-style: none; padding: 0; margin: 0 0 22px; }
.l-checks li { padding: 8px 0 8px 30px; position: relative; }
.l-checks li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1a0c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 720px) { .l-app { grid-template-columns: 1fr; } .l-app-img { width: 160px; grid-row: 1; } }

.l-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.l-table th, .l-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.l-table th { font-weight: 600; }
.l-table td { text-align: right; color: var(--green); font-variant-numeric: tabular-nums; }

.l-profes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.l-profes figure { margin: 0; text-align: center; }
.l-profes img, .l-profes .avatar { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; font-size: 2.4rem; }
.l-profes figcaption { display: flex; flex-direction: column; }

.l-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.l-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

.l-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.l-info { list-style: none; padding: 0; margin: 0; }
.l-info li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.l-info li span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.l-map { width: 100%; min-height: 300px; border: 0; border-radius: var(--radius); filter: grayscale(.3) brightness(.9); }
@media (max-width: 720px) { .l-contact { grid-template-columns: 1fr; } }

.l-footer { text-align: center; padding: 32px 16px calc(env(safe-area-inset-bottom) + 32px); }
.l-footer img { margin: 0 auto 8px; }

/* Horarios por profe y turnos */
.l-sub { font-size: 1.1rem; margin: 28px 0 12px; }
.l-sub:first-of-type { margin-top: 0; }
.narrow-table { max-width: 560px; }
.l-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.l-grid { width: 100%; border-collapse: collapse; min-width: 420px; font-variant-numeric: tabular-nums; }
.l-grid th, .l-grid td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.l-grid tbody tr:last-child th, .l-grid tbody tr:last-child td { border-bottom: 0; }
.l-grid thead th { background: var(--surface); font-weight: 700; color: var(--green); }
.l-grid thead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin: 0 auto 4px; }
.l-grid tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.l-grid td span { display: block; white-space: nowrap; font-size: .92rem; line-height: 1.6; }
.l-turnos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.l-turno { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.l-turno > b { display: block; margin-bottom: 6px; }
.l-turno > div { margin-top: 6px; line-height: 2; }
.l-turno > div > .muted { display: inline-block; width: 58px; }
.l-turno .chip { margin: 0 4px 0 0; }
