/* ===== Variables ===== */
:root {
  --ink: #14202b;
  --ink-soft: #2a3947;
  --paper: #f3f5f7;
  --white: #ffffff;
  --accent: #ff6a2b;
  --wa: #0f8a45;
  --wa-dark: #0b6e37;
  --text: #1c2833;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ===== Botón fijo superior ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
.btn-wa, .btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.topbar-in {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}
.btn-call-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--wa);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.btn-call-top:hover { background: var(--wa-dark); }

/* ===== Título ===== */
.hero {
  padding: 148px 20px 40px; /* 148px = espacio de la barra fija (2 botones) */
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.4rem, 5.6vw, 2.2rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero h1 span:nth-child(2) { color: #6ec6ff; }
.marca {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(2.8rem, 14vw, 5rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--accent);
}

/* ===== Secciones ===== */
.ubicacion, .servicios {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 20px 8px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
address { font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; }

.mapa {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe4e8;
}
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.link-mapa {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ===== Servicios ===== */
.servicios article {
  background: var(--white);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 14px;
}
.servicios h3 { font-size: 1.2rem; margin-bottom: 4px; }
.servicios p { color: #3b4a58; }

/* ===== Cierre ===== */
.cierre {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 28px 20px 40px;
  display: grid;
  gap: 12px;
}
.cierre p { font-weight: 700; font-size: 1.15rem; text-align: center; }
.btn-call { background: var(--wa); color: var(--white); }
.btn-call:hover { background: var(--wa-dark); }

/* ===== Escritorio ===== */
@media (min-width: 720px) {
  .servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .servicios h2 { grid-column: 1 / -1; margin-bottom: 0; }
  .servicios article { margin-top: 0; }
  .cierre { grid-template-columns: 1fr 1fr; }
  .cierre p { grid-column: 1 / -1; }
  .mapa { aspect-ratio: 16 / 9; }
  .ubicacion, .servicios, .cierre { max-width: 900px; }
  .hero h1, .marca { max-width: 900px; }
}
