/* Reutiliza los tokens de color (:root) definidos en panel.css */

body { line-height: 1.55; }
a { text-decoration: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- HERO TOPBAR (logo + links, dentro del hero oscuro) ---------- */
.hero-topbar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 640px; margin: 0 auto; padding-bottom: 34px; gap: 16px; flex-wrap: wrap;
}
.hero-logo-small { height: 58px; width: auto; display: block; }
.hero-topbar-links { display: flex; align-items: center; gap: 16px; }
.hero-panel-link { font-size: 12.5px; color: var(--text-on-dark-dim); font-weight: 600; }
.hero-panel-link:hover { color: var(--accent-strong); }
.btn-wa-small {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25A85B; color: #fff; border-radius: 8px;
  padding: 8px 14px; font-weight: 600; font-size: 12.5px;
}
.btn-wa-small svg { width: 14px; height: 14px; }

/* ---------- HERO ---------- */
.hero {
  background: var(--bg-sidebar); color: var(--text-on-dark);
  padding: 26px 28px 60px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(79,166,242,0.22), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(79,166,242,0.14), transparent 50%);
}
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 62%; width: 60px;
  background: linear-gradient(100deg, transparent 40%, rgba(79,166,242,0.85) 40%, rgba(79,166,242,0.85) 58%, transparent 58%);
  opacity: 0.28; pointer-events: none;
}
.hero-inner { position: relative; max-width: 620px; margin: 0 auto; }
.hero .eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); font-weight: 600; }
.hero h1 { font-size: 30px; margin-top: 10px; color: #fff; line-height: 1.15; }
.hero p { color: #AEBAC4; font-size: 14.5px; margin-top: 14px; max-width: 460px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25A85B; color: #fff; border: none; padding: 12px 22px; border-radius: 9px;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-ghost {
  background: transparent; color: var(--text-on-dark); border: 1px solid rgba(241,245,248,0.28);
  padding: 12px 20px; border-radius: 9px; font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.hero-badges { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.hero-badge {
  font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 100px;
  background: rgba(255,255,255,0.08); color: var(--text-on-dark-dim); border: 1px solid rgba(255,255,255,0.12);
}
.hero-badge.urgencias { background: var(--success-soft); color: var(--success); border-color: transparent; }

/* ---------- SERVICIOS ---------- */
.section { padding: 46px 0; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head .eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); font-weight: 700; }
.section-head h2 { font-size: 22px; margin-top: 6px; }

.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.servicio-card {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 16px; box-shadow: var(--shadow);
}
.servicio-card .icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.servicio-card .icon svg { width: 18px; height: 18px; color: var(--accent-strong); }
.servicio-card h3 { font-size: 13.5px; text-transform: none; letter-spacing: 0; font-family: "IBM Plex Sans"; font-weight: 700; }
.servicio-card p { font-size: 12px; color: var(--text-secondary); margin: 5px 0 0; }

/* ---------- INFO / CONTACTO ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 22px; box-shadow: var(--shadow);
}
.info-card .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); font-weight: 700; margin-bottom: 8px; }
.info-card .direccion { font-size: 16px; font-weight: 600; }
.info-card .tel { font-size: 16px; font-weight: 600; font-family: "IBM Plex Mono"; margin-top: 4px; }
.horarios { width: 100%; border-collapse: collapse; }
.horarios td { padding: 5px 0; font-size: 13px; border-bottom: 1px dashed var(--border); }
.horarios td:first-child { color: var(--text-secondary); }
.horarios td:last-child { text-align: right; font-family: "IBM Plex Mono"; font-size: 12.5px; }
.horarios tr:last-child td { border-bottom: none; }
.cerrado-finde { font-size: 11.5px; color: var(--text-faint); margin-top: 8px; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-sidebar); color: var(--text-on-dark-dim);
  padding: 26px 28px; text-align: center; font-size: 12px;
}
footer .panel-link { color: var(--accent-on-dark); font-weight: 600; }
footer .marca { margin-top: 6px; opacity: 0.6; }
