:root {
  --verde-oscuro: #1d5841;
  --verde: #55b165;
  --verde-claro: #8fe3a0;
  --celeste: #1fb6e8;
  --texto: #10261c;
  --fondo: #ffffff;
  --fondo-suave: #eef8f0;
  --borde: rgba(29, 88, 65, 0.14);
  --sombra: 0 10px 30px rgba(29, 88, 65, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texto);
  background-color: var(--fondo);
  line-height: 1.6;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--celeste);
  color: var(--verde-oscuro);
}

.contenedor {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Cartel de pruebas */
.cartel-pruebas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  background-color: #ffd400;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

body.con-cartel {
  padding-top: 2.5rem;
}

/* Portada */
.portada {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background-color: var(--verde-oscuro);
  color: var(--fondo);
}

.portada::before,
.portada::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.portada::before {
  top: -140px;
  right: -110px;
  width: 320px;
  height: 320px;
  background: var(--celeste);
  opacity: 0.18;
}

.portada::after {
  bottom: -160px;
  left: -100px;
  width: 280px;
  height: 280px;
  background-color: var(--fondo);
  opacity: 0.05;
}

.portada .contenedor {
  position: relative;
  z-index: 1;
}

.portada h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.portada-servicio {
  max-width: 30ch;
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, 4.2vw, 1.3rem);
  line-height: 1.4;
}

.portada-destacado {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--verde-claro);
  border-radius: 999px;
  background-color: var(--verde-oscuro);
  color: var(--verde-claro);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.portada-direccion {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Botón de WhatsApp */
.boton-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 26rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 0.65rem;
  background-color: var(--verde);
  color: var(--texto);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.boton-whatsapp:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.boton-whatsapp:active {
  transform: translateY(0);
}

.boton-whatsapp:focus-visible {
  outline: 3px solid var(--celeste);
  outline-offset: 3px;
}

.portada .boton-whatsapp {
  margin-bottom: 1.25rem;
}

/* Secciones */
.seccion {
  padding: 2.75rem 0;
}

.seccion-suave {
  background-color: var(--fondo-suave);
}

.seccion h2 {
  position: relative;
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  color: var(--verde-oscuro);
  font-size: clamp(1.5rem, 5.5vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.seccion h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.25rem;
  height: 4px;
  border-radius: 999px;
  background: var(--celeste);
}

/* Qué reparamos */
.reparamos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.bloque-servicio {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--borde);
  border-top: 4px solid var(--celeste);
  border-radius: 0.85rem;
  background-color: var(--fondo);
  box-shadow: var(--sombra);
}

.bloque-servicio h3 {
  margin: 0 0 0.75rem;
  color: var(--verde-oscuro);
  font-size: 1.2rem;
}

.bloque-servicio ul {
  margin: 0;
  padding-left: 1.2rem;
}

.bloque-servicio li {
  margin-bottom: 0.4rem;
}

.bloque-servicio li:last-child {
  margin-bottom: 0;
}

.bloque-servicio li::marker {
  color: var(--verde-oscuro);
}

.aviso {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--celeste);
  border-radius: 0.5rem;
  background-color: var(--fondo-suave);
  color: var(--verde-oscuro);
  font-weight: 600;
}

/* Cómo trabajamos */
.pasos {
  counter-reset: paso;
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.pasos li {
  counter-increment: paso;
  position: relative;
  padding: 1rem 1rem 1rem 3.8rem;
  border: 1px solid var(--borde);
  border-radius: 0.8rem;
  background-color: var(--fondo);
  box-shadow: var(--sombra);
}

.pasos li::before {
  content: counter(paso);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--verde-oscuro);
  color: var(--fondo);
  font-size: 0.95rem;
  font-weight: 700;
}

.nota {
  margin: 0 0 0.85rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--borde);
  border-radius: 0.7rem;
  background-color: var(--fondo);
}

.nota:last-child {
  margin-bottom: 0;
}

.nota-garantia {
  border-left: 4px solid var(--verde);
}

/* Moto mandado */
.panel-moto {
  padding: 1.35rem;
  border: 1px solid var(--borde);
  border-radius: 0.9rem;
  background-color: var(--fondo-suave);
}

.panel-moto p {
  margin: 0;
  font-size: 1.05rem;
}

/* Por qué OberFix */
.ventajas {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ventajas li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border: 1px solid var(--borde);
  border-radius: 0.7rem;
  background-color: var(--fondo);
}

.ventajas li::before {
  content: "✓";
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--verde);
  color: var(--fondo);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

/* Dónde y cuándo */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.info-card {
  padding: 1.25rem;
  border: 1px solid var(--borde);
  border-radius: 0.85rem;
  background-color: var(--fondo);
  box-shadow: var(--sombra);
}

.info-card h3 {
  margin: 0 0 0.6rem;
  color: var(--verde-oscuro);
  font-size: 1.15rem;
}

.info-card p,
.info-card ul {
  margin: 0;
}

.info-card ul {
  padding-left: 1.2rem;
}

.info-card li {
  margin-bottom: 0.5rem;
}

.info-card li:last-child {
  margin-bottom: 0;
}

.info-card li::marker {
  color: var(--verde-oscuro);
}

/* Cierre */
.contacto {
  background-color: var(--fondo-suave);
  color: var(--texto);
}

.contacto p {
  margin: 0 0 1.35rem;
  font-size: 1.1rem;
}

.contacto p a {
  color: var(--verde-oscuro);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Pie */
.pie {
  padding: 1.5rem 0 96px;
  background-color: var(--fondo-suave);
}

.pie p {
  margin: 0;
  color: var(--texto);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

/* Botón flotante de WhatsApp */
.boton-flotante {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--verde-oscuro);
  border-radius: 999px;
  background-color: var(--verde);
  color: var(--texto);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.boton-flotante:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.boton-flotante:active {
  transform: translateY(0);
}

.boton-flotante:focus-visible {
  outline: 3px solid var(--celeste);
  outline-offset: 3px;
}

.boton-flotante svg {
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .portada {
    padding: 3.5rem 0 4rem;
  }

  .portada-servicio {
    max-width: 40ch;
  }

  .seccion {
    padding: 3.5rem 0;
  }

  .reparamos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ventajas {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .boton-whatsapp,
  .boton-flotante {
    transition: none;
  }
}
