/* =========================================================
   Macaw Digital Pro — Base de marca (landings de campaña)
   Unbounded (display) + Poppins (body) · tricolor amarillo/azul/rojo
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --black: #272727;
  --yellow: #f9d026;
  --blue: #3a86cc;
  --red: #e84242;
  --yellow-soft: #fbe277;
  --yellow-pale: #fdf0c0;
  --blue-soft: #8bb3dd;
  --blue-pale: #c4d9ef;
  --red-soft: #f09393;
  --red-pale: #f8caca;
  --g900: #272727;
  --g700: #585858;
  --g500: #8a8a8a;
  --g300: #bdbdbd;
  --g200: #e5e5e5;
  --g100: #f5f5f5;
  --g50: #fafafa;
  --container: 1200px;
  --radius: 24px;
  --pill: 9999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: 'Unbounded', sans-serif;
  margin: 0;
  color: var(--black);
  text-wrap: balance
}

h1 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em
}

h2 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-size: clamp(30px, 4.2vw, 50px)
}

h3 {
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(22px, 2.4vw, 30px)
}

p {
  margin: 0;
  text-wrap: pretty
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px
}

@media(max-width:900px) {
  .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px))
  }
}

.section {
  padding: 104px 0;
  position: relative
}

@media(max-width:768px) {
  .section {
    padding: 72px 0
  }
}

.eyebrow {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  display: inline-block
}

.eyebrow.blue {
  color: var(--blue)
}

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--g700);
  font-weight: 400
}

.accent {
  color: var(--red)
}

.accent.blue {
  color: var(--blue)
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
  
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  position: relative;
  overflow: hidden
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 208, 38, .4)
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .6), transparent);
  transition: left .8s var(--ease)
}

.btn-primary:hover::before {
  left: 130%
}

.btn-dark {
  background: var(--black);
  color: var(--white)
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22)
}

.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black)
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white)
}

.btn .arrow {
  transition: transform .25s var(--ease)
}

.btn:hover .arrow {
  transform: translateX(3px)
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s
}

.hdr.scrolled {
  border-bottom-color: var(--g200)
}

.hdr-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px 28px
}

.hdr-logo {
  justify-self: start;
  flex-shrink: 0;
  line-height: 0
}

.hdr-logo img {
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain
}

.hdr-nav {
  display: flex;
  gap: 26px;
  justify-self: center;
  margin-left: 0
}

.hdr-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--g900);
  position: relative;
  padding: 6px 0
}

.hdr-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease)
}

.hdr-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left
}

.hdr-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
  flex-shrink: 0
}

@media(max-width:960px) {
  .hdr-nav {
    display: none
  }

  .hdr-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px))
  }

  .hdr-logo img {
    height: 32px
  }

  .hdr-actions .btn {
    white-space: nowrap
  }
}

/* Diana / target 🎯 */
.diana {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: -.08em
}

.diana::before,
.diana::after {
  content: "";
  position: absolute;
  border-radius: 50%
}

.diana::before {
  inset: 16%;
  background: var(--yellow)
}

.diana::after {
  inset: 36%;
  background: var(--black)
}

/* Formas geométricas / destellos */
.sparkle {
  color: var(--yellow);
  display: inline-block;
  line-height: 1
}

.shape {
  position: absolute;
  pointer-events: none
}

.s-circle {
  border-radius: 50%
}

.s-square {
  border-radius: 6px
}

.s-tri {
  width: 0;
  height: 0;
  border-left: var(--w, 26px) solid transparent;
  border-right: var(--w, 26px) solid transparent;
  border-bottom: calc(var(--w, 26px)*1.5) solid var(--c, var(--red))
}

/* Subrayado a mano */
.uwave {
  position: relative;
  display: inline-block;
  white-space: nowrap
}

.uwave svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.16em;
  width: 100%;
  height: .36em;
  overflow: visible
}

/* Formulario de conversión */
.tgf-form {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none
}

.tgf-form .step {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .04);
  padding: 28px;
  overflow: hidden
}

.tgf-form h3 {
  font-size: 20px;
  margin-bottom: 6px
}

.tgf-form .fine {
  font-size: 13px;
  color: var(--g500);
  margin-bottom: 18px
}

.field {
  margin-bottom: 12px
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--g700);
  margin-bottom: 6px
}

.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--g200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--g50);
  transition: border-color .2s, background .2s
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white)
}

.tgf-form .btn {
  width: 100%;
  margin-top: 6px
}

.form-note {
  font-size: 12px;
  color: var(--g500);
  text-align: center;
  margin-top: 12px
}

.form-ok {
  display: none;
  text-align: center;
  padding: 20px 8px
}

.form-ok .diana {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px
}

.form-ok h3 {
  margin-bottom: 8px
}

/* Trust inline */
.trust-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--g700)
}

.trust-inline .trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.trust-inline .trust-sep {
  color: var(--g300)
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 16px
}

.trust-inline strong {
  color: var(--black)
}

/* Logos strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 48px
}

.logo-item {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--g500);
  opacity: .75;
  white-space: nowrap;
  transition: opacity .2s, color .2s
}

.logo-item:hover {
  opacity: 1;
  color: var(--g900)
}

/* Pilares 3 col */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

@media(max-width:900px) {
  .pillars {
    grid-template-columns: 1fr
  }
}

.pillar {
  border-radius: var(--radius);
  padding: 34px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .08)
}

.p-yellow {
  background: var(--yellow-pale)
}

.p-red {
  background: var(--red-pale)
}

.p-blue {
  background: var(--blue-pale)
}

.pillar .pillar-illo {
  height: 148px;
  margin: -8px -8px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform .5s var(--ease);
  transform-origin: center bottom
}

.pillar:hover .pillar-illo {
  transform: translateY(-4px) scale(1.03)
}

.pillar .pillar-illo svg {
  width: 100%;
  height: 100%;
  display: block
}

.pillar .anim-rotate,
.pillar .anim-pulse,
.pillar .anim-rise,
.pillar .anim-shift,
.pillar .anim-pop {
  transform-box: fill-box;
  transform-origin: center
}

.pillar:hover .anim-rotate {
  animation: illo-spin 2.4s linear infinite
}

.pillar:hover .anim-pulse {
  animation: illo-pulse 1.1s ease-in-out infinite
}

.pillar:hover .anim-rise {
  animation: illo-rise 1.5s ease-in-out infinite
}

.pillar:hover .anim-shift {
  animation: illo-shift 1.3s ease-in-out infinite
}

.pillar:hover .anim-pop {
  animation: illo-pop .95s ease-in-out infinite
}

.pillar:hover .anim-pop.d1 {
  animation-delay: .15s
}

.pillar:hover .anim-pop.d2 {
  animation-delay: .3s
}

.pillar:hover .anim-pop.d3 {
  animation-delay: .45s
}

.pillar:hover .anim-lines {
  animation: illo-lines 1.6s ease-in-out infinite
}

@keyframes illo-spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes illo-pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }
}

@keyframes illo-rise {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

@keyframes illo-shift {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(7px)
  }
}

@keyframes illo-pop {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.14)
  }
}

@keyframes illo-lines {

  0%,
  100% {
    opacity: .35
  }

  50% {
    opacity: .65
  }
}

@media(prefers-reduced-motion:reduce) {
  .pillar:hover .pillar-illo {
    transform: none
  }

  .pillar:hover .anim-rotate,
  .pillar:hover .anim-pulse,
  .pillar:hover .anim-rise,
  .pillar:hover .anim-shift,
  .pillar:hover .anim-pop,
  .pillar:hover .anim-lines {
    animation: none
  }
}

.pillar h3 {
  font-size: 21px;
  margin-bottom: 10px
}

.pillar p {
  color: var(--g700);
  font-size: 15px
}

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: s
}

@media(max-width:820px) {
  .steps {
    grid-template-columns: 1fr
  }
}

.step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--g200);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .07)
}

.step .n {
  counter-increment: s;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  margin-bottom: 18px
}

.step .n::before {
  content: counter(s)
}

.step h4 {
  font-family: 'Unbounded';
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px
}

.step p {
  color: var(--g700);
  font-size: 14.5px
}

/* Stats / resultados */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

@media(max-width:820px) {
  .stat-grid {
    grid-template-columns: 1fr
  }

}

.stat-card {
  border-radius: var(--radius);
  padding: 34px 30px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.sc-yellow {
  background: var(--yellow-pale)
}

.sc-blue {
  background: var(--blue-pale)
}

.sc-dark {
  background: var(--black);
  color: var(--white)
}

.stat-card .big {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 10px
}

.stat-card .cap {
  font-size: 14.5px;
  color: var(--g700)
}

.sc-dark .cap {
  color: rgba(255, 255, 255, .75)
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto
}

.faq-item {
  border-top: 1px solid var(--g200)
}

.faq-item:last-child {
  border-bottom: 1px solid var(--g200)
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--black);
  transition: color .2s
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary:hover {
  color: var(--red)
}

.faq-item summary .q {
  flex: 1
}

.faq-item summary .ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  position: relative;
  transition: .3s var(--ease)
}

.faq-item summary .ico::before,
.faq-item summary .ico::after {
  content: "";
  position: absolute;
  background: var(--black);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.faq-item summary .ico::before {
  width: 13px;
  height: 2px
}

.faq-item summary .ico::after {
  width: 2px;
  height: 13px
}

.faq-item[open] summary .ico {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: rotate(180deg)
}

.faq-item[open] summary .ico::after {
  opacity: 0
}

.faq-item .a {
  padding: 0 54px 26px 0
}

.faq-item .a p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--g700)
}

@media(max-width:640px) {
  .faq-item .a {
    padding-right: 0
  }
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  margin-bottom: 64px
}

@media(max-width:820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px
  }
}

.footer img {
  height: 40px;
  margin-bottom: 20px
}

.footer .contact {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.9
}

.footer .contact a:hover {
  color: var(--yellow)
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

@media(max-width:560px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr)
  }
}

.footer-col h6 {
  font-family: 'Unbounded';
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 16px
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 9px;
  transition: color .2s
}

.footer-col a:hover {
  color: var(--yellow)
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .5)
}

.tricolor {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 7px
}

.tricolor .y {
  background: var(--yellow)
}

.tricolor .b {
  background: var(--blue)
}

.tricolor .r {
  background: var(--red)
}

/* Reveal (solo below-the-fold; el hero se garantiza aparte) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

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

/* Failsafe: el contenido del hero SIEMPRE visible (no depende del JS) + entrada por CSS */
.hero .reveal {
  opacity: 1;
  transform: none;
  animation: heroUp .8s var(--ease) both
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

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

@media (max-width: 967px) {

  .stat-card .big{
    font-size: 32px;
  }
  .in .reveal h2{
    font-size: 24px;
  }
}


@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 15px 20px;
    font-size: 14px;
  }
  .stat-card .big{
    font-size: 32px;
  }

  .cta-band {
  
    padding: 24px !important;
  
}
}



  .stat-card {
    padding: 24px 20px;
  }

/* ===== Selector de país + teléfono internacional (form) ===== */
.intl-tel{position:relative;display:flex;align-items:stretch;gap:8px}
.intl-tel>input[type="tel"]{flex:1;min-width:0}
.intl-cc-trigger{display:flex;align-items:center;gap:7px;flex-shrink:0;padding:0 12px;border:1.5px solid var(--g200);border-radius:12px;background:var(--g50);cursor:pointer;font-family:inherit;line-height:1;transition:border-color .2s,background .2s}
.intl-cc-trigger:hover{border-color:var(--blue-soft)}
.intl-cc-trigger:focus{outline:none;border-color:var(--blue);background:var(--white)}
.intl-cc-flag{width:26px;height:auto;aspect-ratio:4/3;max-height:19px;object-fit:cover;border-radius:2px;display:block}
.intl-cc-dial{font-size:14px;font-weight:600;color:var(--g700);font-variant-numeric:tabular-nums}
.intl-cc-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--g500,#8a90a0)}
.intl-cc-panel{position:absolute;left:0;top:calc(100% + 6px);z-index:60;width:min(21rem,calc(100vw - 2.5rem));max-height:16rem;display:flex;flex-direction:column;overflow:hidden;border:1.5px solid var(--g200);border-radius:12px;background:var(--white);box-shadow:0 14px 30px rgba(15,23,42,.16)}
.intl-cc-panel.intl-hidden{display:none}
.intl-tel .intl-cc-search{width:100%;border:0;border-bottom:1.5px solid var(--g200);border-radius:0;padding:11px 13px;font-family:inherit;font-size:14px;color:var(--black);background:var(--white);outline:none}
.intl-tel .intl-cc-search:focus{border-color:var(--g200);border-bottom-color:var(--blue);background:var(--white)}
.intl-cc-list{list-style:none;margin:0;padding:5px 0;overflow-y:auto;max-height:13rem;-webkit-overflow-scrolling:touch}
.intl-cc-item{display:flex;align-items:center;gap:9px;width:100%;padding:8px 13px;cursor:pointer;font-size:14px;line-height:1.25;color:var(--black)}
.intl-cc-item:hover{background:var(--g100,#f1f5f9)}
.intl-cc-item-flag{width:23px;height:16px;object-fit:cover;border-radius:2px;flex-shrink:0;display:block}
.intl-cc-item-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.intl-cc-item-dial{color:var(--g500,#64748b);font-weight:600;font-variant-numeric:tabular-nums}
.field.err .intl-cc-trigger{border-color:var(--red)}
