/* ============================================================
   LOADS MARKETING — Landing Page
   Paleta basada en el logo: morado + dorado sobre tinta oscura
   Tipografía: Outfit (display) · Inter (cuerpo) · Fraunces (acento)
   ============================================================ */

:root {
  /* Color */
  --ink:        #1B1033;
  --ink-2:      #2A1A4A;
  --purple:     #6A2DAE;
  --purple-br:  #8A3FFC;
  --purple-soft:#EDE3FB;
  --gold:       #F7A623;
  --gold-2:     #FFC152;
  --gold-soft:  #FCE9C6;
  --cream:      #F8F4EE;
  --paper:      #FFFFFF;
  --line:       #E7DECB;

  /* Type */
  --f-display: 'Outfit', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-accent:  'Fraunces', Georgia, serif;

  /* Misc */
  --r:    22px;
  --r-sm: 14px;
  --shadow-hard: 7px 7px 0 var(--ink);
  --shadow-soft: 0 26px 60px -28px rgba(27,16,51,.5);
  --container: 1200px;
}

/* ----------  Base  ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

a { text-decoration: none; }
img { max-width: 100%; }

.container { max-width: var(--container); }

/* Reusable accent type */
.accent-serif {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
}

/* marker highlight behind words (multiline-safe) */
.mark-title {
  background-image: linear-gradient(transparent 56%, var(--gold) 56%, var(--gold) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .04em;
}
.mark--purple {
  background-image: linear-gradient(transparent 56%, rgba(138,63,252,.32) 56%, rgba(138,63,252,.32) 90%, transparent 90%);
}

/* sparkle decoration */
.spark {
  display: inline-block;
  color: var(--purple-br);
  line-height: 1;
}

/* ----------  Buttons  ---------- */
.btn-loads {
  --bg: var(--purple);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  cursor: pointer;
}
.btn-loads:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--fg);
}
.btn-loads:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-loads .arrow {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: .8rem;
}
.btn-loads--gold  { --bg: var(--gold); --fg: var(--ink); }
.btn-loads--gold .arrow { background: var(--purple); color: #fff; }
.btn-loads--wa    { --bg: #25D366; --fg: #08331b; }
.btn-loads--ghost { --bg: transparent; --fg: #fff; box-shadow: 4px 4px 0 var(--gold); }
.btn-loads--ghost .arrow { background: var(--gold); }

/* ----------  Navbar  ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1000;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(248,244,238,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: .65rem; padding-bottom: .65rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__brand img { height: 50px; width: auto; display: block; }
.nav__actions { display: flex; align-items: center; gap: .7rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700;
  color: var(--ink);
  padding: .55rem 1.05rem;
  border-radius: 100px;
  border: 2px solid var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav__phone:hover { background: var(--ink); color: #fff; }
.nav__phone i { color: var(--purple); }
.nav__phone:hover i { color: var(--gold); }

/* ----------  Section scaffolding  ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--ink { background: var(--ink); color: #fff; }
.section--purple { background: var(--purple); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem;
  color: var(--purple);
  background: var(--purple-soft);
  padding: .4rem .9rem;
  border-radius: 100px;
}
.section--ink .eyebrow, .section--purple .eyebrow {
  color: var(--gold); background: rgba(247,166,35,.14);
}

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%,
      color-mix(in oklab, var(--purple) 22%, transparent),
      transparent 60%),
    radial-gradient(900px 500px at 0% 10%,
      color-mix(in oklab, var(--gold-soft) 28%, transparent),
      transparent 60%),
    linear-gradient(180deg, var(--paper), color-mix(in oklab, var(--gold) 8%, var(--paper)));


}
.hero__blob {
  position: absolute; z-index: 0;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .5;
}
.hero__blob--1 { width: 460px; height: 460px; background: radial-gradient(circle at 30% 30%, var(--purple-soft), transparent 70%); top: -120px; right: -120px; }
.hero__blob--2 { width: 360px; height: 360px; background: radial-gradient(circle at 30% 30%, var(--gold-soft), transparent 70%); bottom: -140px; left: -120px; }
.hero .container { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 1rem 0 1.2rem;
}
.hero__lead { font-size: 1.15rem; color: #4b3d63; max-width: 30ch; }
.hero__badge { margin-top: 1.8rem; display: inline-block; }
.hero__badge img {
  max-width: 190px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero__art { position: relative; }
.hero__art img { position: relative; z-index: 2; }
.hero__sticker {
  position: absolute; z-index: 3;
  font-family: var(--f-display); font-weight: 800;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--purple);
  border-radius: 14px;
  padding: .5rem .85rem;
  font-size: .9rem;
  display: flex; align-items: center; gap: .45rem;
}
.hero__sticker i { color: var(--gold); }
.hero__sticker--a { top: 6%; left: 2%; transform: rotate(-6deg); }
.hero__sticker--b { bottom: 10%; right: 0; transform: rotate(5deg); box-shadow: 4px 4px 0 var(--gold); }
.hero__sticker--b i { color: var(--purple-br); }
.hero__spark {
  position: absolute; z-index: 1;
  font-size: 2.4rem; color: var(--purple-br);
}
.hero__spark--1 { top: 4%; right: 18%; }
.hero__spark--2 { bottom: 2%; left: 4%; color: var(--gold); font-size: 1.8rem; }

/* ----------  Marquee ticker  ---------- */
.ticker {
  background: var(--ink);
  color: var(--gold);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  padding: .85rem 0;
}
.ticker__track {
  display: flex; gap: 0;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker__item {
  font-family: var(--f-display);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.ticker__item .dot { color: var(--purple-br); margin: 0 1.4rem; font-size: 1.3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ----------  About  ---------- */
.about__img-wrap { position: relative; }
.about__img-wrap img {
  border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--gold);
  border: 2px solid rgba(255,255,255,.12);
}
.about__spark { position: absolute; bottom: -22px; right: -14px; font-size: 3rem; color: var(--gold); }
.about__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.about__title em { color: var(--gold); font-family: var(--f-accent); font-style: italic; font-weight: 400; }
.about__text { font-size: 1.18rem; color: rgba(255,255,255,.82); }
.about__text b { color: var(--gold); font-weight: 700; }

/* ----------  Section heading shared  ---------- */
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem,5vw,4rem); }
.head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1rem 0 .8rem; }
.head p { color: #5a4d72; font-size: 1.12rem; margin: 0; }
.section--ink .head p, .section--purple .head p { color: rgba(255,255,255,.8); }

/* ----------  Solutions cards  ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.sol-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 1.4rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-hard);
  transition: transform .18s ease, box-shadow .18s ease;
}
.sol-card:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--ink); }
.sol-card:nth-child(1) { background: var(--purple-soft); }
.sol-card:nth-child(2) { background: var(--gold-soft); }
.sol-card:nth-child(3) { background: #E6F0FF; }
.sol-card:nth-child(4) { background: #FBE4F1; }
.sol-card__media {
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--ink);
  margin-bottom: 1.1rem;
  aspect-ratio: 16/11;
  background: #fff;
}
.sol-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.sol-card h3 { font-size: 1.32rem; }
.sol-card__arrow {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  transition: transform .18s ease, background .18s ease;
}
.sol-card:hover .sol-card__arrow { background: var(--purple); transform: rotate(45deg); }
.sol-card__link {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--f-display); font-weight: 700;
  color: var(--purple);
  display: inline-flex; align-items: center; gap: .4rem;
}
.sol-card__link:hover { color: var(--ink); }

/* ----------  Goal / meta features  ---------- */
.goal__intro h2 { font-size: clamp(2rem,4.5vw,3rem); }
.goal__intro h2 em { color: var(--gold); font-family: var(--f-accent); font-style: italic; font-weight: 400; }
.goal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.goal-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r);
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: transform .18s ease, background .18s ease;
}
.goal-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.goal-card img { width: 150px; height: auto; margin: 0 auto .4rem; }
.goal-card h5 { font-family: var(--f-display); font-weight: 700; font-size: 1.06rem; color: #fff; }
.goal-num {
  font-family: var(--f-display); font-weight: 800;
  color: var(--gold); font-size: .9rem; letter-spacing: .1em;
  display: block; margin-bottom: .4rem;
}

/* ----------  Clients / cases  ---------- */
.cases { background: var(--cream); }
.logo-swiper { padding: .5rem 0 4rem; }
.logo-cell {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  height: 130px;
  display: grid; place-items: center;
  padding: 1.4rem;
  box-shadow: 4px 4px 0 var(--purple-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-cell:hover { transform: translateY(-4px); box-shadow: 4px 4px 0 var(--gold); }
.logo-cell img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }
.swiper-pagination-bullet { background: var(--purple); opacity: .35; }
.swiper-pagination-bullet-active { background: var(--purple); opacity: 1; }

/* ----------  Industries  ---------- */
.ind__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.6rem; }
.ind__head h2 { font-size: clamp(1.9rem,4vw,2.8rem); }
.ind__head h2 em { color: var(--gold); font-family: var(--f-accent); font-style: italic; font-weight: 400; }
/* ----------  Industries marquee  ---------- */
.ind-marquee {
  position: relative;
  overflow: hidden;
  /* desvanecido en ambos bordes */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ind-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: ind-scroll 38s linear infinite;
}
.ind-marquee:hover .ind-marquee__track { animation-play-state: paused; }

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

.ind-chip {
  display: flex; align-items: center; gap: .8rem;
  flex: none;            /* no se encoge dentro del marquee */
  white-space: nowrap;   /* el texto no se parte */
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  padding: .85rem 1.3rem;
  font-family: var(--f-display); font-weight: 600;
  color: #fff;
  transition: border-color .16s ease, background .16s ease;
}
.ind-chip:hover { border-color: var(--gold); background: rgba(247,166,35,.1); }
.ind-chip i {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: .95rem;
}
/* ----------  Contact  ---------- */
.contact { position: relative; overflow: hidden; }
.contact__blob {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(10px);
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--purple-soft), transparent 70%);
  top: -80px; left: -120px; opacity: .7;
}
.contact .container { position: relative; z-index: 2; }
.contact-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.contact-card__form { padding: clamp(1.6rem, 4vw, 2.8rem); }
.contact-card__side {
  background: var(--ink);
  color: #fff;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
  height: 100%;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: .85rem; margin-bottom: .35rem; color: var(--ink);
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--f-body); font-size: 1rem;
  padding: .85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(138,63,252,.14);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info__icon {
  flex: none; width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--gold); color: var(--ink);
  font-size: 1.2rem;
}
.contact-info h3 { font-size: 1.25rem; color: #fff; }
.contact-info p, .contact-info a { color: rgba(255,255,255,.78); margin: 0; }
.contact-info a:hover { color: var(--gold); }
.form-note { margin-top: .8rem; font-size: .9rem; min-height: 1.2rem; }
.form-note.ok  { color: #1a9d5a; font-weight: 600; }
.form-note.err { color: #d63b3b; font-weight: 600; }

/* ----------  Footer  ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 3rem 0 2.4rem; text-align: center; }
.footer__brand img { height: 56px; margin-bottom: 1rem; }
.footer a { color: var(--gold); }
.footer a:hover { color: var(--gold-2); }
.footer__divider { height: 1px; background: rgba(255,255,255,.12); margin: 1.6rem auto; max-width: 320px; }

/* ----------  Float WhatsApp  ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366; color: #fff;
  font-size: 1.6rem;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ----------  Reveal animations  ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------  Responsive  ---------- */
@media (max-width: 991px) {
  .sol-grid { grid-template-columns: repeat(2,1fr); }
  .goal-grid { grid-template-columns: repeat(2,1fr); }
  .ind-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  .nav__phone span { display: none; }
  .hero__lead { max-width: none; }
  .hero__art { margin-top: 2.5rem; }
  .head { margin-bottom: 2.4rem; }
}
@media (max-width: 575px) {
  .sol-grid, .goal-grid, .ind-grid { grid-template-columns: 1fr; }
}

/* ----------  Reduced motion  ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
