/* LubriLópez — móvil primero. Colores sacados del logo y la fachada:
   azul #010894 · amarillo #fbca03 · rojo #cd0102. El verde es solo del botón de WhatsApp. */

:root {
  --azul: #010894;
  --azul-noche: #000660;
  --amarillo: #fbca03;
  --rojo: #cd0102;
  --carbon: #010894;          /* títulos en el azul del logo */
  --texto: #1d2033;
  --suave: #4a4f63;
  --crema: #fff8dc;           /* amarillo muy suave para fondos */
  --linea: #ece4c4;
  --wa: #1fa855;
  --wa-oscuro: #178a45;
  --radio: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: #fff;
}

h1, h2, h3 { line-height: 1.2; color: var(--carbon); margin: 0 0 .6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.contenedor { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.centro { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  transition: background .15s, transform .15s;
}
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-oscuro); transform: translateY(-1px); }
.btn--grande { font-size: 1.1rem; padding: 16px 28px; width: 100%; max-width: 420px; }
.btn--chico  { font-size: .9rem; padding: 8px 16px; }
.ico { width: 24px; height: 24px; flex-shrink: 0; }

.enlace { color: var(--rojo); font-weight: 700; text-decoration: none; }
.enlace:hover { text-decoration: underline; }

/* ---------- Barra ---------- */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid var(--linea);
}
.barra__fila { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.marca { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--azul); text-decoration: none; }
.marca img { width: 44px; height: 44px; }
.marca span { color: var(--rojo); }

/* Franjas azul-rojo, como las del letrero y la fachada */
.franja { height: 14px; background: linear-gradient(var(--azul) 0 50%, var(--rojo) 50% 100%); }

/* ---------- Hero ---------- */
.hero { background: var(--amarillo); padding: 40px 0 48px; }
.hero__grid { display: grid; gap: 32px; }
.antetitulo {
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--azul);
}
.hero h1 span { color: var(--rojo); }
.hero__sub { font-size: 1.1rem; color: var(--texto); margin-bottom: 1.5em; }

.confianza { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.confianza li { padding-left: 1.4em; position: relative; }
.confianza li::before { content: "✓"; position: absolute; left: 0; color: var(--rojo); font-weight: 800; }

/* ---------- Fotos ---------- */
.foto { width: 100%; border-radius: var(--radio); object-fit: cover; aspect-ratio: 4 / 3; }
.foto--ancha { aspect-ratio: 16 / 9; height: auto; margin-top: 32px; display: block; }
.foto--falta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px);
  border: 2px dashed #c9c9c9; color: #888; font-weight: 700; padding: 20px;
}

/* ---------- Secciones ---------- */
.seccion { padding: 56px 0; }
.seccion--clara { background: var(--crema); }
.seccion--oscura { background: var(--azul); color: #e8eaff; }
.seccion--oscura h2, .seccion--oscura h3 { color: #fff; }

.servicios { display: grid; gap: 16px; }
.servicio {
  border: 1px solid var(--linea); border-left: 4px solid var(--rojo);
  border-radius: var(--radio); padding: 20px;
}
.servicio p { margin: 0; color: var(--suave); }

.razones { display: grid; gap: 28px; }
.razon h3 { color: #fff; border-top: 4px solid var(--amarillo); padding-top: 14px; }
.razon p { margin: 0; }

/* ---------- Testimonios ---------- */
.calificacion { font-size: 1.1rem; margin-top: -.4em; }
.calificacion strong { color: #e0a100; }
.testimonios { display: grid; gap: 16px; margin: 24px 0; }
.testimonio {
  margin: 0; background: var(--crema); border-radius: var(--radio); padding: 22px;
}
.testimonio p { font-size: 1.02rem; }
.testimonio footer { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--suave); line-height: 1.35; }
.testimonio strong { color: var(--carbon); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--rojo); color: #fff; font-weight: 700; font-size: .85rem;
}

.cta-medio {
  margin-top: 40px; text-align: center; padding: 28px 20px;
  border: 2px solid var(--wa); border-radius: var(--radio);
}
.cta-medio p { font-size: 1.25rem; font-weight: 700; color: var(--carbon); }

/* ---------- Pasos ---------- */
.pasos { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; gap: 16px; }
.pasos li { counter-increment: paso; position: relative; padding-left: 52px; min-height: 38px; }
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rojo); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Ubicación ---------- */
.ubicacion { display: grid; gap: 28px; }
.direccion { font-size: 1.15rem; }
.horario { border-collapse: collapse; width: 100%; max-width: 380px; margin-bottom: 1.2em; }
.horario th, .horario td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--linea); }
.horario th { font-weight: 600; padding-right: 16px; }
.mapa { width: 100%; height: 300px; border: 0; border-radius: var(--radio); }

/* ---------- Final y pie ---------- */
.final { background: var(--azul); color: #fff; padding: 56px 0; text-align: center; }
.final h2 { color: var(--amarillo); }
.final p { font-size: 1.1rem; opacity: .95; }

.pie { background: var(--azul-noche); color: #c5c8e8; padding: 28px 0 96px; font-size: .9rem; text-align: center; }
.pie p { margin: .3em 0; }
.pie .redes { margin-top: 14px; line-height: 1.8; }
.pie .redes strong { color: #fff; }
.pie a { color: #fff; }

/* ---------- Botón flotante (celular) ---------- */
.flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.flotante svg { width: 32px; height: 32px; }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 800px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 72px 0; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .btn--grande { width: auto; }
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .razones { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .testimonios { grid-template-columns: repeat(2, 1fr); }
  .ubicacion { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .mapa { height: 380px; }
  .flotante { display: none; }
  .pie { padding-bottom: 28px; }
}

/* ---------- Fotos reales ---------- */
.foto--retrato {
  aspect-ratio: auto; height: auto; max-width: 420px; justify-self: center;
  border: 4px solid #fff; box-shadow: 0 10px 28px rgba(1, 8, 148, .25);
}
.juancho {
  display: flex; align-items: center; gap: 16px; margin-bottom: 1.2em;
  background: var(--crema); border-left: 4px solid var(--amarillo);
  padding: 12px 16px; border-radius: 8px;
}
.juancho img { width: 120px; height: 150px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.juancho p { margin: 0; }

/* ---------- Nuestra historia ---------- */
.historia { max-width: 760px; }
.historia__intro { font-size: 1.1rem; }
.linea { list-style: none; padding: 0; margin: 28px 0; border-left: 3px solid var(--rojo); }
.linea li { position: relative; padding: 0 0 22px 24px; }
.linea li::before {
  content: ""; position: absolute; left: -9px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--amarillo); border: 3px solid var(--azul);
}
.linea__anio { display: block; font-weight: 800; color: var(--azul); }
.linea p { margin: 0; }
.historia__cita {
  margin: 0; padding: 22px 24px; border-radius: var(--radio);
  background: var(--azul); color: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1.45;
}

/* ---------- Textos de apertura y nota ---------- */
.lead { font-size: 1.2rem; font-weight: 700; color: var(--amarillo); margin-top: -.3em; }
.intro { max-width: 760px; font-size: 1.05rem; }
.seccion--oscura .intro { margin-bottom: 32px; }
.nota {
  margin-top: 28px; padding: 18px 20px; border-radius: var(--radio);
  background: #fff; border-left: 4px solid var(--azul);
}
.nota h3 { margin-bottom: .3em; }
.nota p { margin: 0; }

.razon .marcas {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2);
  font-size: .92rem; color: #c9cdf5;
}
.razon .marcas__titulo { display: block; margin-bottom: 4px; color: #fff; font-size: 1rem; }

/* ---------- Foto del hero con sello ---------- */
.hero__foto { position: relative; margin: 0 auto; width: 100%; max-width: 440px; }
.hero__foto img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 5px solid #fff; box-shadow: 0 14px 34px rgba(1, 8, 148, .28);
}
.sello {
  position: absolute; top: -14px; left: -10px;
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--rojo); color: #fff; font-weight: 800; font-size: 1.45rem; line-height: 1;
  border: 4px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); transform: rotate(-10deg);
}
.sello small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.hero__foto figcaption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--azul); color: #fff; font-weight: 700; font-size: .9rem;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
.juancho { display: flex; }
.juancho img {
  width: 130px; height: 162px; object-fit: cover;
  border-radius: 8px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(1, 8, 148, .2);
}
@media (min-width: 800px) { .juancho img { width: 150px; height: 187px; } }

/* ---------- Foto del patio y video de llegada ---------- */
.foto--patio { aspect-ratio: 4 / 3; }
.llegada { margin: 0 0 1.4em; max-width: 220px; }
.llegada video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 12px; border: 4px solid #fff; background: var(--crema);
  box-shadow: 0 8px 22px rgba(1, 8, 148, .2);
}
.llegada figcaption { margin-top: 8px; font-size: .9rem; font-weight: 700; color: var(--azul); }

/* ---------- Medios de pago ---------- */
.pagos {
  margin: 0 0 1.2em; padding: 16px 18px; border-radius: var(--radio);
  background: var(--azul); color: #fff;
}
.pagos h3 { color: var(--amarillo); font-size: 1.05rem; margin-bottom: .5em; }
.pagos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pagos li span { display: inline-block; width: 1.6em; }
