/* Promociones X7 — x7designstudio.com
   Mobile-first. Colors and gradients match the original site. */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/roboto-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 300; font-style: italic; font-display: swap; src: url(/fonts/roboto-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/roboto-latin-700-normal.woff2) format("woff2"); }

:root {
  --sky-top: #e1f4fd;
  --sky-bottom: #23b0dc;
  --btn-shadow: 0 3px 11px rgb(3 158 203);
  --content: 420px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: #000;
  background: linear-gradient(to bottom, var(--sky-top), var(--sky-bottom)) var(--sky-bottom);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: currentColor; }

/* ---------- Header cover + logo ---------- */
.hero { position: relative; }
.hero-bg {
  width: 100%;
  height: clamp(200px, 36vw, 465px);
  object-fit: cover;
  object-position: center;
}
.hero-logo {
  width: 100px; height: 100px;
  margin: -50px auto 0;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 3px 11px rgb(0 0 0 / .25);
}

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 40px);
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* ---------- Intro ---------- */
.intro { text-align: center; padding-top: 16px; }
h1, h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 12px;
}
.intro p { font-size: 15px; line-height: 1.4; margin: 0; }

/* ---------- Client slider ---------- */
.clients { position: relative; margin: 24px 0 8px; padding-bottom: 34px; }
.track {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: none;
}
.track::-webkit-scrollbar { display: none; }
.track li { flex: 0 0 100%; scroll-snap-align: center; }
.track img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }

.nav {
  position: absolute; top: calc(50% - 34px); transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .55); color: #0a5a8a;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.nav svg { width: 12px; height: 18px; }
.nav.prev { left: -6px; }
.nav.next { right: -6px; }
.clients:hover .nav, .nav:focus-visible { opacity: 1; }
@media (hover: none) { .nav { display: none; } }

.dots {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
}
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .55); cursor: pointer;
}
.dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 360px; height: 48px;
  padding: 0 52px;
  border-radius: 50px;
  border: 1px solid rgb(130 203 255);
  box-shadow: var(--btn-shadow);
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: .2px;
  text-shadow: 0 1px 1px rgb(0 0 0 / .2);
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn svg { position: absolute; left: 20px; width: 22px; height: 22px; }
.btn svg.wide { width: 28px; left: 18px; }

.btn-text     { background: linear-gradient(#009dff, #0007c9); }
.btn-whatsapp { background: linear-gradient(to top, #0a6819, #59d264); border-color: #58d263; }
.btn-facebook { background: linear-gradient(#56b3ec, #0050c9); }
.btn-call     { background: linear-gradient(#fec465, #f26522); border-color: #fec062; margin-top: 10px; }
.btn-cash     { background: linear-gradient(to top, #26b13c, #59d264); border-color: #58d263; }
.btn-store    { background: linear-gradient(to top, #ef0000, #ff8661); border-color: #ff8661; box-shadow: 0 3px 11px rgb(0 0 0 / .5); max-width: 300px; }

.note {
  margin: -2px 0 6px;
  color: #fff; text-align: center;
  font-size: 14px; line-height: 1.45;
}

/* ---------- Store banner ---------- */
.store { position: relative; display: grid; place-items: center; margin-bottom: 30px; }
.store-bg {
  width: 100%;
  height: clamp(148px, 28vw, 354px);
  object-fit: cover;
}
.store .btn-store { position: absolute; top: 58%; transform: translateY(-50%); width: 72%; }
.store .btn-store:active { transform: translateY(calc(-50% + 1px)); }

/* ---------- Personal / social ---------- */
.personal {
  position: relative; overflow: hidden;
  padding: 28px 16px 22px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 30%, rgb(255 60 170 / .55) 0 22px, transparent 60px),
    radial-gradient(circle at 85% 70%, rgb(255 80 160 / .45) 0 30px, transparent 80px),
    radial-gradient(circle at 60% 15%, rgb(190 90 255 / .35) 0 18px, transparent 55px),
    radial-gradient(circle at 35% 90%, rgb(255 120 200 / .30) 0 14px, transparent 45px),
    linear-gradient(160deg, #3b0f6b, #24073f 60%, #3a0a52);
}
.personal h2 { margin-bottom: 18px; }
.social {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.social a {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 15px;
  border: 2px solid rgb(255 255 255 / .9);
  color: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / .4), inset 0 12px 18px rgb(255 255 255 / .18);
  transition: transform .15s;
}
.social a:hover { transform: translateY(-2px); }
.social svg { width: 28px; height: 28px; }
.s-facebook  { background: linear-gradient(#3b8cff, #0b55d6); }
.s-messenger { background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280); }
.s-instagram { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.s-tiktok    { background: #111; }
.s-tiktok svg { filter: drop-shadow(-1.5px -1.5px 0 #25f4ee) drop-shadow(1.5px 1.5px 0 #fe2c55); }
.s-x         { background: #111; }
.copy { margin: 20px 0 0; color: rgb(255 255 255 / .6); font-size: 13px; }

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
  :root { --content: 680px; }
  h1, h2 { font-size: 40px; }
  .intro p { font-size: 16px; }
  .btn { max-width: 400px; height: 52px; font-size: 18px; }
  .note { font-size: 15px; max-width: 440px; }
  .hero-logo { width: 150px; height: 150px; margin-top: -75px; }
  .intro { padding-top: 24px; }
  .clients { margin-top: 32px; }
  .social { gap: 18px; }
  .social a { width: 60px; height: 60px; }
  .personal { padding: 40px 16px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .track { scroll-behavior: auto; }
  .btn, .social a { transition: none; }
}
