/* Manitas 360 - estilos compartidos por todas las paginas */
:root {
  --amarillo: #FFC20E;
  --amarillo-oscuro: #E5A800;
  --negro: #111111;
  --gris: #1E1E1E;
  --gris-claro: #F4F4F2;
  --texto: #222;
  --blanco: #fff;
  --whatsapp: #25D366;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--texto); background: var(--blanco); line-height: 1.6; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; line-height: 1.05; letter-spacing: .5px; }
a { color: inherit; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Franja de peligro amarillo/negro */
.franja { height: 14px; background: repeating-linear-gradient(-45deg, var(--amarillo) 0 18px, var(--negro) 18px 36px); }

/* Cabecera */
header { background: var(--negro); color: var(--blanco); position: sticky; top: 0; z-index: 50; }
.cabecera { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 28px; text-decoration: none; text-transform: uppercase; }
.logo img { display: block; height: 56px; width: auto; }
nav a { white-space: nowrap; text-decoration: none; margin-left: 18px; font-weight: 600; font-size: 15px; opacity: .85; }
nav a:hover { opacity: 1; color: var(--amarillo); }
.btn-llamar-top { background: var(--amarillo); color: var(--negro); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 8px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-wa { background: var(--whatsapp); color: var(--blanco); }
.btn-tel { background: var(--amarillo); color: var(--negro); }
.btn-negro { background: var(--negro); color: var(--amarillo); }

/* Portada */
.hero { background: var(--negro); color: var(--blanco); padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.etiqueta { display: inline-block; background: var(--amarillo); color: var(--negro); font-weight: 700; padding: 6px 12px; border-radius: 4px; font-size: 14px; margin-bottom: 20px; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--amarillo); }
.hero p { font-size: 19px; opacity: .9; margin-bottom: 32px; max-width: 560px; }
.botones { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.sello { background: var(--amarillo); color: var(--negro); border-radius: 50%; width: 320px; height: 320px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 10px solid var(--blanco); box-shadow: 0 0 0 10px var(--amarillo); transform: rotate(-6deg); }
.sello .precio { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 120px; line-height: .9; }
.sello .precio small { font-size: 56px; }
.sello .por { font-weight: 700; font-size: 22px; text-transform: uppercase; }
.sello .nota { font-size: 14px; max-width: 200px; margin-top: 6px; }
/* Portada con la foto del técnico de fondo: oscura a la izquierda (donde va el texto) y clara a la derecha */
.hero { padding-top: 0; }
.portada { padding: 90px 0 110px;
  background:
    linear-gradient(0deg, var(--negro) 0%, rgba(17,17,17,0) 30%),
    linear-gradient(90deg, rgba(17,17,17,.96) 0%, rgba(17,17,17,.85) 38%, rgba(17,17,17,.35) 65%, rgba(17,17,17,.15) 100%),
    url("imagenes/portada.jpg") 60% 20% / cover no-repeat; }
.hero h1, .hero .portada p { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-sello { align-self: end; justify-self: end; }
.hero-sello .sello { width: 210px; height: 210px; border-width: 7px; box-shadow: 0 0 0 7px var(--amarillo), 0 10px 30px rgba(0,0,0,.5); }
.hero-sello .sello .precio { font-size: 80px; }
.hero-sello .sello .precio small { font-size: 38px; }
.hero-sello .sello .por { font-size: 17px; }
.hero-sello .sello .nota { font-size: 12px; max-width: 140px; margin-top: 2px; }

/* Secciones */
section { padding: 80px 0; }
.titulo { text-align: center; margin-bottom: 48px; }
.titulo h2 { font-size: clamp(36px, 5vw, 54px); }
.titulo h2 span { background: var(--amarillo); padding: 0 8px; }
.titulo p { font-size: 18px; color: #555; margin-top: 10px; }

/* La hora 39 */
.hora { background: var(--amarillo); }
.hora .titulo h2 span { background: var(--negro); color: var(--amarillo); }
.hora .titulo p { color: var(--negro); }
.ejemplo { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: stretch; }
.tarea { background: var(--blanco); border-radius: 12px; padding: 24px; text-align: center; border: 3px solid var(--negro); }
.tarea .icono { font-size: 40px; }
.tarea h3 { font-size: 24px; margin-top: 8px; }
.tarea p { color: #666; font-size: 14px; }
.total { background: var(--negro); color: var(--amarillo); border-radius: 12px; padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.total .grande { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 64px; line-height: 1; }
.total p { color: var(--blanco); font-size: 14px; }
.hora .explicacion { text-align: center; font-size: 19px; max-width: 760px; margin: 36px auto 0; font-weight: 600; color: var(--negro); }

/* Servicios */
.servicios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.servicios-grid .servicio { display: block; }
.servicio { background: var(--gris-claro); border-radius: 12px; padding: 28px 22px; border-top: 6px solid var(--amarillo); transition: transform .15s; }
.servicio:hover { transform: translateY(-4px); }
.servicio .icono { width: 68px; height: 68px; background: var(--negro); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icono svg { width: 40px; height: 40px; fill: none; stroke: var(--amarillo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tarea .icono { width: 64px; height: 64px; margin: 0 auto; background: var(--negro); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tarea .icono svg { width: 36px; height: 36px; }
.servicio h3 { font-size: 24px; margin-bottom: 6px; }
.servicio p { font-size: 15px; color: #555; }
.servicio-otro { background: var(--negro); text-decoration: none; }
.servicio-otro .icono { background: var(--amarillo); }
.servicio-otro .icono svg { stroke: var(--negro); }
.servicio-otro h3 { color: var(--amarillo); }
.servicio-otro p { color: #ccc; }

/* Condiciones */
.condiciones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.condicion { background: var(--gris-claro); border-radius: 12px; padding: 22px; border-left: 6px solid var(--amarillo); }
.condicion b { display: block; font-size: 18px; margin-bottom: 6px; }
.condicion p { color: #555; font-size: 15px; }
@media (max-width: 900px) { .condiciones-grid { grid-template-columns: 1fr; } }

/* Bono 3+1 */
.bono { background: var(--negro); color: var(--blanco); }
.bono-caja { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: var(--gris); border: 3px solid var(--amarillo); border-radius: 16px; padding: 40px; }
.bono-horas { display: flex; gap: 10px; }
.bono-horas div { width: 78px; height: 96px; border-radius: 10px; background: var(--amarillo); color: var(--negro); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 40px; line-height: 1; }
.bono-horas div small { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; margin-top: 6px; text-transform: uppercase; }
.bono-horas .gratis { background: transparent; color: var(--amarillo); border: 3px dashed var(--amarillo); }
.bono h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.bono h2 em { font-style: normal; color: var(--amarillo); }
.bono p { color: #ccc; font-size: 17px; margin-bottom: 10px; }
.bono .precio-bono { color: var(--blanco); font-weight: 700; font-size: 19px; }
.bono .precio-bono b { color: var(--amarillo); }

/* Sello "desplazamiento incluido" */
.incluido { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--amarillo); color: var(--amarillo); border-radius: 30px; padding: 6px 14px; font-weight: 700; font-size: 15px; margin-bottom: 28px; }

/* Para quién */
.clientes { background: var(--negro); color: var(--blanco); }
.clientes .titulo p { color: #bbb; }
.clientes .titulo h2 span { color: var(--negro); }
.clientes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cliente { background: var(--gris); border-radius: 12px; padding: 32px; border-left: 6px solid var(--amarillo); }
.cliente h3 { color: var(--amarillo); font-size: 28px; margin-bottom: 8px; }
.cliente p { color: #ccc; }

/* Cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: paso; }
.paso { text-align: center; padding: 0 12px; }
.paso .num { width: 72px; height: 72px; border-radius: 50%; background: var(--amarillo); color: var(--negro); font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 4px solid var(--negro); }
.paso h3 { font-size: 26px; margin-bottom: 6px; }
.paso p { color: #555; }

/* Galería */
.galeria { background: var(--gris-claro); }
.galeria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.foto-otro { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.foto-otro-texto { color: #ccc; font-weight: 600; padding: 16px; }
.foto-otro-texto b { display: block; color: var(--amarillo); font-family: "Barlow Condensed", sans-serif; font-size: 30px; text-transform: uppercase; margin-bottom: 4px; }
.foto { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin: 0; background: var(--negro); border-bottom: 6px solid var(--amarillo); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.foto:hover img { transform: scale(1.05); }
.foto figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--negro); color: var(--amarillo); font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 20px; padding: 4px 12px; border-radius: 6px; }

/* Contacto */
.contacto { background: var(--negro); color: var(--blanco); text-align: center; }
.contacto h2 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 14px; }
.contacto h2 em { font-style: normal; color: var(--amarillo); }
.contacto p { font-size: 19px; color: #ccc; max-width: 620px; margin: 0 auto 32px; }
.contacto .botones { justify-content: center; }
.fotos-wa { display: flex; align-items: center; gap: 18px; text-align: left; max-width: 620px; margin: 0 auto 32px; background: var(--gris); border: 2px solid var(--amarillo); border-radius: 12px; padding: 20px 24px; }
.fotos-wa-icono { font-size: 40px; }
.datos-contacto { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 16px; color: #ccc; font-weight: 600; font-size: 16px; }
.contacto-hero { margin-top: 56px; padding-top: 48px; border-top: 1px solid #333; scroll-margin-top: 80px; }
.fotos-wa strong { display: block; color: var(--amarillo); font-size: 19px; margin-bottom: 4px; }
.fotos-wa span { color: #ccc; font-size: 16px; }
.contacto .telefono { margin-top: 28px; font-family: "Barlow Condensed", sans-serif; font-size: 40px; font-weight: 800; color: var(--amarillo); letter-spacing: 1px; }

/* Dónde trabajamos */
.zona-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
#mapa { height: 420px; border-radius: 12px; border: 4px solid var(--negro); box-shadow: 8px 8px 0 var(--amarillo); z-index: 0; }
.zona-info h3 { font-size: 30px; margin-bottom: 10px; }
.zona-info > p { color: #555; margin-bottom: 18px; }
.pueblos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; list-style: none; }
.pueblos li { background: var(--gris-claro); border-left: 4px solid var(--amarillo); padding: 4px 10px; border-radius: 4px; font-size: 14px; font-weight: 600; }
.zona-datos { display: grid; gap: 8px; margin-bottom: 24px; font-weight: 600; }
.zona-datos small { font-weight: 400; color: #666; }
@media (max-width: 900px) { .zona-grid { grid-template-columns: 1fr; } #mapa { height: 320px; } }

footer { background: #000; color: #888; text-align: center; padding: 24px 20px; font-size: 14px; }

/* Botón flotante WhatsApp */
.wa-flotante { position: fixed; right: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 50%; background: var(--whatsapp); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 100; animation: latido 2.5s infinite; }
.wa-flotante svg { width: 34px; height: 34px; fill: #fff; }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* Pantallas medianas: menú más compacto para que quepa en una línea */
@media (max-width: 1100px) {
  nav a { margin-left: 12px; font-size: 14px; }
  .logo img { height: 46px; }
}

/* Móvil */
@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .botones { justify-content: center; }
  .sello { width: 250px; height: 250px; }
  .sello .precio { font-size: 90px; }
  .portada { padding: 60px 0 80px;
    background:
      linear-gradient(0deg, var(--negro) 0%, rgba(17,17,17,.55) 45%, rgba(17,17,17,.7) 100%),
      url("imagenes/portada.jpg") 58% top / cover no-repeat; }
  .hero-sello { justify-self: center; }
  .hero-sello .sello { width: 170px; height: 170px; }
  .hero-sello .sello .precio { font-size: 64px; }
  .hero-sello .sello .precio small { font-size: 30px; }
  .hero-sello .sello .por { font-size: 14px; }
  .hero-sello .sello .nota { font-size: 10px; max-width: 110px; }
  .ejemplo { grid-template-columns: 1fr 1fr; }
  .total { grid-column: span 2; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .clientes-grid, .pasos { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .foto figcaption { font-size: 16px; left: 8px; bottom: 8px; }
  .bono-caja { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; gap: 28px; }
  .bono-horas { justify-content: center; }
  .bono-horas div { width: 64px; height: 80px; font-size: 32px; }
}
@media (max-width: 520px) {
  .servicios-grid, .ejemplo { grid-template-columns: 1fr; }
  .total { grid-column: auto; }
  .btn { width: 100%; justify-content: center; }    .btn-llamar-top { display: none; }
  .logo img { height: 46px; }
  section { padding: 60px 0; }
}

/* Tarjetas de servicio que llevan a su página */
a.servicio { text-decoration: none; color: inherit; }
.servicio .mas { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--amarillo); }

/* Pie con enlaces a los servicios */
.pie-servicios { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; }
.pie-servicios a { color: #bbb; text-decoration: none; font-weight: 600; }
.pie-servicios a:hover { color: var(--amarillo); }

/* ===== Páginas de cada servicio ===== */
.miga { font-size: 14px; color: #aaa; margin-bottom: 18px; }
.miga a { color: var(--amarillo); text-decoration: none; }
.hero-servicio { padding: 64px 0 72px; }
.hero-servicio .hero-grid { grid-template-columns: 1.2fr 1fr; }
.hero-servicio h1 { font-size: clamp(40px, 6vw, 68px); }
.foto-servicio { border-radius: 14px; overflow: hidden; border: 5px solid var(--amarillo); aspect-ratio: 4 / 3; transform: rotate(1.5deg); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.foto-servicio img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trabajos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; max-width: 900px; margin: 0 auto; }
.trabajos li { background: var(--gris-claro); border-left: 6px solid var(--amarillo); border-radius: 8px; padding: 14px 18px; font-weight: 600; }
.trabajos li::before { content: "✔"; margin-right: 10px; color: var(--amarillo-oscuro); }
.nota-centro { text-align: center; margin-top: 28px; color: #555; }
.nota-centro a, .zona-texto a { font-weight: 700; color: var(--negro); text-decoration-color: var(--amarillo); text-decoration-thickness: 3px; }
.tarea .icono span { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 32px; color: var(--amarillo); }
.preguntas { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.preguntas details { background: var(--gris-claro); border-radius: 10px; padding: 18px 22px; border-left: 6px solid var(--amarillo); }
.preguntas summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.preguntas details p { margin-top: 10px; color: #444; }
.zona-texto { max-width: 820px; margin: 0 auto; text-align: center; font-size: 18px; }
.otros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.otros a { background: var(--negro); color: var(--amarillo); text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 8px; }
.otros a:hover { background: var(--amarillo); color: var(--negro); }
.contacto-final { padding: 72px 0; }
@media (max-width: 900px) {
  .hero-servicio .hero-grid { grid-template-columns: 1fr; }
  .foto-servicio { max-width: 480px; margin: 0 auto; transform: none; }
  .trabajos { grid-template-columns: 1fr; }
}
