/* =========================================================
   We Love Digital · estilo moderno y atrevido
   Tinta negra + rosa eléctrico + lima, letras grandes
   ========================================================= */

:root {
  --ink: #0F0E10;
  --ink-2: #1C1A1F;
  --paper: #F7F4EF;
  --muted: #5E5A63;
  --line: #E3DED6;
  --pink: #FF2E7E;
  --pink-soft: #FFD6E6;
  --lime: #D7FF3B;
  --on-ink: #F7F4EF;
  --on-ink-muted: rgba(247, 244, 239, .7);

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 16px 28px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: transparent; }
.btn-small { padding: 10px 18px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(247, 244, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.heart { color: var(--pink); display: inline-block; margin: 0 1px; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--pink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) var(--gutter) clamp(56px, 8vw, 100px); }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 14px; background: #fff;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 9.5vw, 150px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 28px 0;
}
.hl-pink { color: var(--pink); }
.hl-lime { background: var(--lime); padding: 0 .12em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-sub { font-size: clamp(18px, 2vw, 22px); max-width: 620px; color: var(--muted); }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px;
  margin-top: 48px; font-size: 15px; color: var(--muted);
}
.hero-facts li::before { content: '♥ '; color: var(--pink); }
.hero-facts strong { color: var(--ink); }

/* ---------- Cinta ---------- */
.ribbon {
  background: var(--pink); color: #fff;
  border-block: 2px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  transform: rotate(-1.5deg); margin: 0 -20px;
}
.ribbon-track { display: inline-flex; animation: scroll 28s linear infinite; }
.ribbon-track span { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3vw, 32px); padding: 14px 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 10vw, 128px) var(--gutter); }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 900px;
  margin: 14px 0 48px;
}
.group-title { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 40px 0 18px; }

.section-pink { background: var(--pink-soft); border-block: 2px solid var(--ink); }
.section-dark { background: var(--ink); color: var(--on-ink); }
.section-dark .eyebrow { color: var(--lime); }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card h4 { font-family: var(--display); font-size: 22px; font-weight: 700; }
.card p { color: var(--muted); }
.card strong { color: var(--ink); }
.card-featured { background: var(--lime); }
.card-featured p { color: var(--ink); }
.card-dark { background: var(--ink); color: var(--on-ink); box-shadow: 6px 6px 0 var(--pink); }
.card-dark p { color: var(--on-ink-muted); }
.badge {
  position: absolute; top: -14px; right: 20px;
  background: var(--pink); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px;
}
.price { margin-top: auto; padding-top: 12px; font-family: var(--display); font-size: 34px; font-weight: 900; color: inherit !important; letter-spacing: -.02em; }
.price span { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; opacity: .7; margin-right: 4px; }
.price small { font-size: 16px; font-weight: 500; }

.terms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.terms li { border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; background: #fff; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Por qué ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.reason-num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 24px; border: 2px solid var(--ink); }
.reason h4 { font-family: var(--display); font-size: 22px; margin: 18px 0 8px; }
.reason p { color: var(--ink-2); }

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 4px solid var(--ink); padding-top: 18px; }
.step-num { font-family: var(--display); font-weight: 900; font-size: 48px; color: var(--pink); line-height: 1; }
.steps h4 { font-family: var(--display); font-size: 20px; margin: 14px 0 6px; }
.steps p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(247, 244, 239, .2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-family: var(--display); font-size: clamp(17px, 2vw, 21px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; color: var(--lime); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--on-ink-muted); padding: 0 0 22px; max-width: 720px; }

/* ---------- Contacto ---------- */
.contact-title { font-size: clamp(40px, 8vw, 104px); }
.form { display: grid; gap: 18px; max-width: 620px; margin-top: 40px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400;
  padding: 14px 16px;
  border: 2px solid var(--ink); border-radius: 14px;
  background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--pink); outline-offset: 2px; }
.form .btn { justify-self: start; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: 64px var(--gutter) 40px; }
.logo-big { font-size: clamp(40px, 9vw, 120px); display: block; margin-bottom: 20px; }
.footer .note { color: var(--on-ink-muted); }

/* ---------- WhatsApp flotante ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
  .cards, .cards-2, .reasons { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .logo { font-size: 18px; }
  .btn-small { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 360px) {
  .header .btn-small { display: none; }
}
