:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f4f5f7;
  --border: #e3e5e8;
  --text: #1a1a1a;
  --muted: #5c6370;
  --accent: #ed1522;
  --accent-2: #c10e18;
  --ink: #111111;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--accent);
  flex-wrap: wrap;
}
.topbar > a:first-child { flex: 0 0 auto; line-height: 0; }
.topbar .logo { width: 220px; height: 86px; min-height: 86px; max-width: none; object-fit: contain; }
.topbar nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 18px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; font-weight: 800; cursor: pointer;
  font-size: 14px;
}
.btn:hover { background: var(--accent-2); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero {
  padding: 48px 0 28px;
  text-align: center;
}
.hero-logo {
  width: min(720px, 100%);
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 28px rgba(17, 17, 17, .08));
}
.tagline {
  color: var(--accent);
  letter-spacing: .28em;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: .02em;
}
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 17px; }

.section { padding: 36px 0 12px; }
.section h2 {
  font-size: 22px;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.section h2::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

.ofertas {
  display: grid;
  gap: 18px;
}
.ofertas.n1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; width: 100%; }
.ofertas.n2 { grid-template-columns: repeat(2, 1fr); }
.ofertas.n3 { grid-template-columns: repeat(3, 1fr); }

.oferta {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.oferta .foto {
  height: 210px; background: #f4f5f7;
  display: flex; align-items: center; justify-content: center;
}
.oferta .foto img { width: 100%; height: 100%; object-fit: cover; }
.oferta .foto .ph { color: #555; font-size: 13px; }
.oferta .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.oferta h3 { font-size: 18px; }
.oferta .desc { color: var(--muted); font-size: 14px; flex: 1; }
.oferta .precio {
  margin-top: 8px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.marcas-band {
  margin: 28px 0 8px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f4f5f7;
  overflow: hidden;
  position: relative;
}
.marcas-band::before,
.marcas-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.marcas-band::before { left: 0; background: linear-gradient(90deg, #f4f5f7, transparent); }
.marcas-band::after { right: 0; background: linear-gradient(270deg, #f4f5f7, transparent); }
.marcas-caption {
  text-align: center; color: var(--muted); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px;
}
.marcas-viewport { overflow: hidden; }
.marcas-track {
  display: flex; align-items: center; gap: 42px; width: max-content;
  animation: marcas-scroll 28s linear infinite;
}
.marcas-track:hover { animation-play-state: paused; }
.marca-logo {
  height: 52px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
}
.marca-logo:hover { filter: none; opacity: 1; }

@keyframes marcas-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cta {
  margin: 40px 0 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0; font-size: 22px; }
.cta p { color: var(--muted); margin-top: 6px; }

.alta {
  margin: 8px 0 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}
.alta h2 { margin: 0 0 8px; font-size: 22px; }
.alta > p { color: var(--muted); margin-bottom: 16px; max-width: 640px; }
.alta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.alta-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.alta-form label.full { grid-column: 1 / -1; }
.alta-form input, .alta-form textarea {
  font: inherit; font-weight: 400; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
}
.alta-form input:focus, .alta-form textarea:focus { outline: none; border-color: var(--accent); }
.alta-form .btn { justify-self: start; }
.alta-ok, .alta-error { padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; }
.alta-ok { background: #e8f6ec; color: #14632c; }
.alta-error { background: #fde8ea; color: #9d1220; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contacto { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.contacto a:hover { color: var(--accent); }

footer {
  padding: 28px 0 40px;
  color: #d0d0d0;
  font-size: 13px;
  text-align: center;
  background: var(--ink);
  margin-top: 40px;
}
.gestlub-credit {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 18px auto 0; color: #bdbdbd; font-size: 11px; letter-spacing: .06em;
}
.gestlub-credit:hover { color: #fff; }
.gestlub-credit img { height: 64px; width: auto; display: block; margin: 0 auto; }

.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 22px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}

@media (max-width: 860px) {
  .ofertas.n2, .ofertas.n3, .alta-form { grid-template-columns: 1fr; }
  .topbar .logo { width: 168px; height: 66px; min-height: 66px; }
  .hero { padding-top: 28px; }
  .marca-logo { height: 40px; }
}
