/* Galicia Promos — solo beneficios / sin flujos de pago */

:root {
  --naranja: #ff6200;
  --naranja-oscuro: #d95200;
  --ink: #151515;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --paper: #ffffff;
  --wash: #f3f4f6;
  --shell-rojo: #dd1d21;
  --pedidos-rosa: #ea1d2c;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Figtree", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Top bar —— */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1.35rem 0;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: lowercase;
}

.brand span {
  color: var(--naranja);
}

.top-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 560;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s;
}

.top-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a120c;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) both;
}

@keyframes heroDrift {
  from {
    transform: scale(1.12) translateY(1.5%);
  }
  to {
    transform: scale(1.02) translateY(0);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.45) 0%, rgba(18, 12, 8, 0.15) 38%, rgba(18, 12, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(18, 12, 8, 0.55) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 4.5rem;
  color: #fff;
  max-width: 34rem;
}

.hero-copy h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.hero-copy p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--naranja);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 4px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--naranja-oscuro);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* —— Promo bands —— */
.band {
  padding: 5.5rem 0;
}

.band + .band {
  border-top: 1px solid var(--line);
}

.band--wash {
  background: var(--wash);
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem 4rem;
  align-items: center;
}

.band-grid.flip {
  grid-template-columns: 1.15fr 1fr;
}

.band-grid.flip .band-text {
  order: 2;
}

.band-grid.flip .band-visual {
  order: 1;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 0.85rem;
}

.kicker.pedidos {
  color: var(--pedidos-rosa);
}

.kicker.shell {
  color: var(--shell-rojo);
}

.band-text h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.band-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.25rem;
}

.band-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.band-text li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.band-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--naranja);
  border-radius: 1px;
}

.band-text.pedidos li::before {
  background: var(--pedidos-rosa);
}

.band-text.shell li::before {
  background: var(--shell-rojo);
}

.band-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.promo-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.1rem;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.promo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 20%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.promo-panel > * {
  position: relative;
  z-index: 1;
}

.promo-panel--pedidos {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(145deg, #ea1d2c 0%, #b01420 100%);
  min-height: 320px;
}

.promo-panel--shell {
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 210, 0, 0.25), transparent 45%),
    linear-gradient(150deg, #dd1d21 0%, #8f1013 100%);
  min-height: 320px;
}

.promo-panel--food {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #ff6200 0%, #b84500 100%);
  min-height: 300px;
}

.promo-panel .big {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 0.35rem;
}

.promo-panel .label {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.95;
  max-width: 16rem;
}

.promo-panel .note {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* —— Cómo funciona —— */
.howto {
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.howto h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  max-width: 20rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding-top: 0.25rem;
  border-top: 2px solid var(--ink);
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--naranja);
  margin: 1rem 0 0.75rem;
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Términos —— */
.terms {
  padding: 4.5rem 0 5rem;
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.terms h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.terms .lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.terms-box {
  max-width: 48rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.terms-box ol {
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.terms-box li::marker {
  font-weight: 700;
  color: var(--naranja);
}

.disclaimer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Footer —— */
.foot {
  padding: 1.75rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.foot strong {
  color: #fff;
  font-weight: 700;
}

.foot a:hover {
  color: #fff;
}

/* —— Responsive —— */
@media (max-width: 880px) {
  .band-grid,
  .band-grid.flip {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .band-grid.flip .band-text,
  .band-grid.flip .band-visual {
    order: unset;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-copy {
    padding-bottom: 3.25rem;
  }

  .band {
    padding: 4rem 0;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .promo-panel {
    min-height: 240px !important;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
