:root {
  --negro: #161616;
  --negro-suave: #232323;
  --rojo: #b41f26;
  --rojo-claro: #d6383f;
  --crema: #f7f5f2;
  --gris: #6b6b6b;
  --borde: #e6e2dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--crema); color: var(--negro);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.contenedor { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Encabezado */
.l-header {
  position: sticky; top: 0; z-index: 20; background: var(--negro); color: #fff;
  padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.l-header .marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.l-header .marca img { height: 38px; width: auto; }
.l-header .marca span { font-weight: 800; letter-spacing: 0.02em; font-size: 1rem; }
.l-header nav { display: flex; gap: 8px; }
.l-header nav a {
  text-decoration: none; font-size: 0.82rem; font-weight: 700; color: #fff; background: var(--rojo);
  padding: 9px 12px; border-radius: 999px; white-space: nowrap;
}
.l-header nav a.secundario { background: rgba(255,255,255,0.12); }

/* Aviso de citas cerradas */
.l-aviso {
  background: #7a1418; color: #fff; text-align: center; padding: 12px 20px; font-size: 0.88rem; font-weight: 600;
}

/* Hero */
.l-hero {
  background: linear-gradient(180deg, var(--negro) 0%, var(--negro-suave) 100%);
  color: #fff; padding: 56px 20px 60px; text-align: center;
}
.l-hero.con-imagen { background-size: cover; background-position: center; position: relative; }
.l-hero.con-imagen::before { content: ""; position: absolute; inset: 0; background: rgba(15,15,15,0.72); }
.l-hero .contenedor { position: relative; }
.l-hero .logo-grande { height: 100px; width: auto; margin: 0 auto 18px; }
.l-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 0 0 8px; font-weight: 800; text-wrap: balance; }
.l-hero p.subtitulo { font-size: 1.05rem; color: #d8d2c8; margin: 0 0 28px; }
.l-hero .cta-grupo { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 14px 22px; border-radius: 10px; border: none; cursor: pointer;
}
.btn-cta.rojo { background: var(--rojo); color: #fff; }
.btn-cta.blanco { background: #fff; color: var(--negro); }
.btn-cta.fantasma { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }

/* Secciones */
section.l-seccion { padding: 52px 20px; }
section.l-seccion.alterna { background: #fff; }
.l-titulo-seccion { text-align: center; margin: 0 0 34px; }
.l-titulo-seccion .eyebrow { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acento3, var(--rojo)); margin-bottom: 8px; }
.l-titulo-seccion h2 { font-size: 1.6rem; margin: 0; font-weight: 800; }

/* Servicios */
.l-servicios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.l-servicio {
  display: flex; align-items: center; gap: 10px; background: var(--crema); border: 1px solid var(--borde);
  border-radius: 10px; padding: 14px 16px; font-size: 0.9rem; font-weight: 600;
}
.l-servicio .punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acento3, var(--rojo)); }

/* Nosotros */
.l-nosotros { max-width: 700px; margin: 0 auto; text-align: center; }
.l-nosotros p { font-size: 1.02rem; color: #3a3a3a; }

/* Ubicacion */
.l-ubicacion-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.l-datos-contacto { display: flex; flex-direction: column; gap: 18px; }
.l-dato { display: flex; gap: 12px; align-items: flex-start; }
.l-dato .icono {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--negro); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.l-dato strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gris); margin-bottom: 3px; }
.l-horarios { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.l-horarios li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--borde); gap: 10px; }
.l-mapa { border-radius: 12px; overflow: hidden; border: 1px solid var(--borde); }
.l-mapa iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Footer */
.l-footer { background: var(--negro); color: #cfcac2; padding: 34px 20px 24px; text-align: center; font-size: 0.85rem; }
.l-footer .marca-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.l-footer .marca-footer img { height: 30px; }
.l-footer .marca-footer span { color: #fff; font-weight: 800; }
.l-footer a { color: #fff; text-decoration: underline; }

/* Boton flotante de WhatsApp */
.l-whatsapp-flotante {
  position: fixed; bottom: 18px; right: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3); text-decoration: none;
}

@media (min-width: 720px) {
  .l-ubicacion-grid { grid-template-columns: 1fr 1.2fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
