/* Página "Cómo llegar" (views/pages/address.php): cabecera, aviso importante, dirección, horarios y mapa. */

.addr-page { padding-top: 8px; padding-bottom: 0; }
.addr-page .crumbs { margin-bottom: 6px; }

/* ---------- Cabecera ---------- */
.addr-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 18px;
  margin-bottom: 10px; padding: 14px 22px; border-radius: 24px;
  background: linear-gradient(135deg, hsl(140 80% 96%), hsl(140 65% 89%)); border: 1px solid hsl(140 45% 83%);
}
.addr-hero::before { content: ""; position: absolute; right: -50px; top: -100px; width: 240px; height: 240px; border-radius: 50%; background: hsl(140 70% 84% / .55); pointer-events: none; }
.addr-hero > * { position: relative; z-index: 1; }
.addr-hero-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #fff; font-size: 1.8rem; box-shadow: 0 12px 24px -12px hsl(140 60% 30% / .5); }
.addr-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.035em; }
.addr-hero-tx p { margin: .15rem 0 0; color: hsl(140 25% 28%); }

/* ---------- Aviso "Importante" ---------- */
.important {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; padding: 12px 18px;
  background: #fffbeb; border: 1px solid #fde68a; border-left: 5px solid #f59e0b; border-radius: 16px;
}
.important-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fef3c7; font-size: 1.2rem; }
.important strong { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #92400e; }
.important p { margin: 2px 0 0; font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: #451a03; }

/* ---------- Dirección, horarios y mapa ---------- */
.addr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; }
.addr-card { padding: 18px 20px; background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); border-radius: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.addr-card h2 { margin: 0 0 6px; padding: 0; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.addr-card h2::after { display: none; }
.addr-card h2 + .hours { margin-top: 0; }
.addr-line { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.addr-actions .btn { padding: .6rem 1.1rem; font-size: .95rem; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: .95rem; text-align: left; }
.hours td { text-align: right; font-weight: 700; }
.hours td.off { font-weight: 600; color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--brand-soft); }
.hours tr.is-today th { border-radius: 10px 0 0 10px; }
.hours tr.is-today td { border-radius: 0 10px 10px 0; }
.hours em { margin-left: 6px; padding: .05rem .5rem; border-radius: 999px; background: var(--brand); font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #1a2600; }

.hours-exc { margin-top: 12px; padding: 10px 14px; background: #f8fafc; border-radius: 14px; font-size: .9rem; }
.hours-exc ul { list-style: none; margin: 6px 0 0; padding: 0; }
.hours-exc li { padding: 2px 0; color: #475569; }
.hours-exc li span { display: inline-block; min-width: 46px; font-weight: 800; color: var(--ink); }

.map { min-height: 340px; overflow: hidden; background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); border-radius: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .addr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .addr-hero { padding: 12px 14px; border-radius: 20px; gap: 6px 12px; }
  .addr-hero-ico { width: 48px; height: 48px; border-radius: 15px; font-size: 1.5rem; }
  .addr-hero h1 { font-size: 1.6rem; }
  .addr-hero-tx p { font-size: .88rem; }
    .important { gap: 10px; padding: 10px 12px; }
  .important-ico { width: 32px; height: 32px; font-size: 1rem; }
  .important p { font-size: .95rem; }
  .addr-card { padding: 14px; }
  .addr-line { font-size: 1.1rem; }
  .addr-actions { margin-bottom: 14px; }
  .addr-actions .btn { flex: 1 1 auto; }
  .map, .map iframe { min-height: 300px; }
}
