:root{
  --bg: #070A12;

  /* Superficies */
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);

  /* Texto */
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.72);
  --muted-2: rgba(255,255,255,.55);

  /* ============================
     PALETA ROCKET – DOMINANTE
     ============================ */

  /* MORADO ROSADO PROTAGONISTA (cohete) */
  --accent: #9B7CFF;

  /* LAVANDA ROSADO – glow / energía */
  --accent-glow: #D6C9FF;

  /* CIAN TECNOLÓGICO – secundario */
  --accent-2: #3FDAD0;

  /* Estados */
  --danger: #ff5c7a;

  /* UI */
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.25);

  --container: 1120px;
  --gap: 18px;
  --header-h: 72px;
}



*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(78,64,118,.28), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(22,173,164,.22), transparent 55%),
    var(--bg);
  color: var(--text);
}

a{ color:inherit; text-decoration:none; }

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

/* ================= HEADER / NAV ================= */

.header{
  position:sticky;
  top:0;
  z-index:1000;
  height: var(--header-h);

  /* Glass base (desktop) */
  background: rgba(7,10,18,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.nav{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}
.brand__mark{
  width:34px;
  height:34px;
  border-radius:10px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
}
.brand__text{ font-size:16px; }

/* Menu desktop */
.nav__menu{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav__link{
  color: var(--muted);
  font-weight:600;
  font-size:14px;
  padding:10px;
  border-radius:12px;
}
.nav__link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.nav__link--cta{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 700;
  transition: 
    background .25s ease,
    box-shadow .25s ease,
    transform .2s ease;
}
.nav__link--cta:hover{
  background: linear-gradient(
    135deg,
    #4E4076, /* violeta / púrpura principal */
    #5f4b8b  /* violeta levemente más claro */
  );
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(78,64,118,.45);
  transform: translateY(-1px);
}





/* ================= HAMBURGUESA ================= */

/* ================= HAMBURGUESA – PREMIUM iOS ================= */

/* ================= HAMBURGUESA – ESTABLE Y LIMPIA ================= */

.nav__toggle{
  display:none;
  position:relative;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:14px;
  cursor:pointer;
  z-index:1100;
}

.nav__toggle-line{
  position:absolute;
  left:50%;
  width:18px;
  height:2px;
  background: rgba(255,255,255,.85);
  border-radius:10px;
  transform: translateX(-50%);
  transition:
    transform .28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity .28s cubic-bezier(0.4, 0, 0.2, 1);
}


.nav__toggle-line:nth-child(1){ top:14px; }
.nav__toggle-line:nth-child(2){ top:21px; }
.nav__toggle-line:nth-child(3){ top:28px; }

/* Estado abierto */
.nav__toggle.is-open .nav__toggle-line:nth-child(1){
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

.nav__toggle.is-open .nav__toggle-line:nth-child(2){
  opacity:0;
}

.nav__toggle.is-open .nav__toggle-line:nth-child(3){
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* ================= MOBILE ================= */

@media (max-width:768px){

  /* Header más sólido y legible */
  .header{
    background: rgba(7,10,18,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
  }

  .nav{
    position:relative;
    z-index:1100;
  }

  .nav__toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .nav__menu{
    position:absolute;
    top: var(--header-h);
    left:16px;
    right:16px;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:14px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.12);

    /* MISMO GLASS QUE EL HEADER */
    background: rgba(7,10,18,.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: var(--shadow);
    z-index:1000;
  }

  .nav__link{
    padding:12px;
  }

  .nav__menu{
    position: absolute;
    overflow: hidden; /* CLAVE para Android */
  }

  /* CAPA DE VIDRIO REAL (fix Android) */
  .nav__menu::before{
    content:"";
    position:absolute;
    inset:0;

    background: rgba(7,10,18,.88); /* capa sólida real */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index:0;
  }

  /* CONTENIDO DEL MENÚ ARRIBA */
  .nav__menu > *{
    position: relative;
    z-index:1;
  }
}




/* HERO */
.hero{
  position:relative;
  padding: 42px 0 26px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
}
.hero__content{
  padding-top: 10px;
}
.hero__title{
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.05;
  margin: 14px 0 10px;
  letter-spacing: -0.02em;
}


.text-grad{
  background: linear-gradient(90deg, rgba(124,92,255,1), rgba(51,214,198,1));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.hero__subtitle{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 56ch;
}
.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__trust{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.trust__item{
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
}
.trust__item strong{ display:block; font-size: 13px; }
.trust__item span{ display:block; font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.hero__card{
  display:flex;
  align-items: stretch;
}
.hero__bg{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(600px 220px at 30% 0%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(600px 260px at 70% 0%, rgba(51,214,198,.12), transparent 55%);
  pointer-events:none;
  z-index:-1;
}

/* COMMON */
.section{
  padding: 54px 0;
}
.section--soft{
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{
  margin-bottom: 22px;
}
.section__kicker{
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 12px;
}

/* =============================
   TÍTULO PLATAFORMAS – CENTRADO
   ============================= */

.ad-platforms__title {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
   /* NUEVO: tamaño protagonista */
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}


.ad-platforms__title span{
  display:block;
}

/* Primera línea más fuerte */
.ad-platforms__title span:first-child{
  color: var(--text);
}

/* Segunda línea más suave pero legible */
.ad-platforms__title span:last-child{
  color: var(--muted);
  font-size: 0.9em;
}

/* =============================
   MOBILE – AJUSTE FINO
   ============================= */

@media (max-width:768px){
  .ad-platforms__title{
    font-size: 20px;
    line-height: 1.3;
  }
}

/* =============================
   REVEAL ON SCROLL – PREMIUM
   ============================= */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



.section__title{
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section__subtitle{
  margin:0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  backdrop-filter: blur(14px);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor:pointer;
  transition: transform .15s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(51,214,198,.95));
  color: #0b0e18;
  box-shadow: 0 18px 40px rgba(124,92,255,.22);
}
.btn--secondary{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
  color: var(--text);
}
.btn--sm{ padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 13px; }

.btn:hover{ filter: brightness(1.04); }
.w-full{ width:100%; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.pill__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(51,214,198,1));
  box-shadow: 0 10px 18px rgba(124,92,255,.20);
}

.checklist{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
  display:grid;
  gap: 10px;
}
.checklist li{
  position:relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.45;
}
.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(51,214,198,1));
  box-shadow: 0 10px 18px rgba(51,214,198,.14);
}

.card__head{ margin-bottom: 10px; }
.card__title{ margin:0; font-size: 18px; letter-spacing:-.01em; }
.card__desc{ margin:6px 0 0; color: var(--muted); line-height: 1.5; }
.card__foot{ margin-top: 14px; display:grid; gap:10px; }
.micro{ margin:0; font-size: 12px; color: var(--muted-2); line-height: 1.45; }

/* Logos */
.logos{
  padding: 16px 0 30px;
}
.logos__row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.logo-chip{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
}

/* Grids */
.grid{
  display:grid;
  gap: var(--gap);
}
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }

.service__title{ margin: 0 0 8px; font-size: 18px; }
.service__desc{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

.bullets{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  display:grid;
  gap: 6px;
}

/* =============================
   GRID SERVICIOS – 2x2 DESKTOP
   ============================= */

.grid--services{
  grid-template-columns: repeat(2, 1fr);
}

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.step__num{
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;

  color: var(--accent-2); /* TURQUESA DE MARCA */

  /* sutil glow premium */
  text-shadow: 0 0 12px rgba(22,173,164,.35);
}
.step__title{ margin:0 0 8px; font-size: 16px; }
.step__desc{ margin:0; color: var(--muted); line-height: 1.55; }

/* Callout */
.callout{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}
.callout__title{ margin:0 0 6px; font-size: 18px; letter-spacing:-.01em; }
.callout__desc{ margin:0; color: var(--muted); line-height: 1.55; }

/* Testimonials */
.testimonials blockquote{
  margin:0;
  color: var(--text);
  line-height: 1.6;
  font-weight: 600;
}
.testimonial figcaption{
  margin-top: 12px;
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.t-name{ font-weight: 800; font-size: 13px; }
.t-role{ color: var(--muted-2); font-size: 12px; }

/* FAQ */
.faq{
  display:grid;
  gap: 12px;
}
.faq__item summary{
  cursor:pointer;
  font-weight: 800;
  list-style:none;
  outline:none;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap);
  align-items:start;
}
.form{
  display:grid;
  gap: 14px;
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field label{
  display:block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
.field input::placeholder,
.field textarea::placeholder{
  color: rgba(255,255,255,.40);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(124,92,255,.70);
  box-shadow: 0 0 0 4px rgba(124,92,255,.16);
}
.field__error{
  display:block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,92,122,.92);
}
.checkbox{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.checkbox input{ margin-top: 4px; }

.form__success{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(51,214,198,.95);
}

.side__title{ margin: 0 0 10px; font-size: 18px; }
.divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 16px 0;
}
.side__note{ margin:0; color: var(--muted); line-height: 1.6; }

/* Footer */
.footer{
  padding: 34px 0 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr .6fr;
  gap: var(--gap);
}
.footer__desc{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 55ch;
}
.footer__col h4{
  margin: 0 0 10px;
  font-size: 14px;
}
.footer__col a{
  display:block;
  color: var(--muted);
  padding: 8px 0;
}
.footer__col a:hover{ color: var(--text); }
.footer__bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted-2);
  font-size: 12px;
}

/* Sticky CTA */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7,10,18,.72);
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  display:none;
  z-index: 1200;
}

/* Cookie */
.cookie{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 86px;
  z-index: 1300;
  display:none;
}
.cookie__inner{
  max-width: 920px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.cookie__text{
  margin:0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}
.cookie__actions{
  display:flex;
  gap: 10px;
  flex-shrink:0;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__trust{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .grid--3{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .cookie__inner{ flex-direction: column; align-items: stretch; }
  .cookie__actions{ justify-content: flex-end; }
}

@media (max-width: 768px){
  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__menu{
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{ display:flex; }
  .nav__link{ padding: 12px 12px; }

  .grid--2{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--services{
    grid-template-columns: 1fr;
  }
  .steps{ grid-template-columns: 1fr; }

  .form__row{ grid-template-columns: 1fr; }

  .callout{ flex-direction: column; align-items: stretch; }
  .sticky-cta{ display:block; }
  .cookie{ bottom: 132px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
}

/*  --------------------------
----NUEVAS SECCIONES AGREGADAS 
---------------------------- */
/* ================= PLATAFORMAS PUBLICITARIAS (LOGOS) ================= */
.ad-platforms{
  padding: 26px 0 34px;
}

.ad-platforms__marquee{
  position: relative;
  overflow: hidden;
  margin-top: 14px;

  /* look premium */
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.ad-platforms__marquee::before,
.ad-platforms__marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 70px;
  z-index: 2;
  pointer-events:none;
}

.ad-platforms__marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(7,10,18,1), rgba(7,10,18,0));
}

.ad-platforms__marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(7,10,18,1), rgba(7,10,18,0));
}

.ad-platforms__track{
  display:flex;
  white-space: nowrap;
  will-change: transform;
}

.ad-platforms__set{
  flex: 0 0 auto;
}

/* Sets (solo layout, sin animación) */
.ad-platforms__set{
  display:flex;
  align-items:center;
  gap: 26px;
  padding: 14px 18px;
}

/* Pastillas de logo */
.ad-logo{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ad-logo img{
  height: 28px;
  width: auto;
  display:block;
  opacity: .92;
  filter: saturate(1.05);
}

.ad-logo:hover img{
  opacity: 1;
}

/* Mobile tuning */
@media (max-width:768px){
  .ad-platforms{
    padding: 22px 0 28px;
  }

  .ad-platforms__marquee::before,
  .ad-platforms__marquee::after{
    width: 46px;
  }

  .ad-logo{
    height: 44px;
    padding: 9px 12px;
  }

  .ad-logo img{
    height: 24px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .ad-platforms__track{
    animation: none;
  }

  .service__title::before{
    animation: none;
  }
}




/* ==============================
   AJUSTE DE TAMAÑO – CARRUSEL LOGOS
   ============================== */

/* Desktop: leve mejora de presencia */
.ad-logo{
  height: 54px;
  padding: 12px 18px;
}

.ad-logo img{
  height: 32px;
}

/* Mobile: más grande y más claro */
@media (max-width:768px){

  .ad-platforms{
    padding: 30px 0 34px;
  }

  .ad-platforms__marquee{
    border-radius: 22px;
  }

  .ad-platforms__set{
    gap: 34px; /* más aire entre logos */
    padding: 18px 22px;
  }

  .ad-logo{
    height: 60px;              /* MÁS GRANDE */
    padding: 14px 20px;        /* más cuerpo */
  }

  .ad-logo img{
    height: 36px;              /* CLAVE: legibilidad */
  }

  .ad-platforms__marquee::before,
  .ad-platforms__marquee::after{
    width: 54px;               /* fade lateral más suave */
  }
}



/* =============================
   MEJORA DE LEGIBILIDAD EN BOTONES
   ============================= */

/* BOTÓN PRINCIPAL */
.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff; /* TEXTO BLANCO */
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.btn--primary:hover{
  filter: brightness(1.08);
}

/* BOTÓN SECUNDARIO */
.btn--secondary{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  color: #ffffff; /* TEXTO BLANCO */
}

.btn--secondary:hover{
  background: rgba(255,255,255,.16);
}

/* BOTÓN GHOST */
.btn--ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.92); /* BLANCO SUAVE */
}

.btn--ghost:hover{
  background: rgba(255,255,255,.08);
  color: #ffffff;
}

/* BOTONES EN COOKIE BANNER */
.cookie .btn{
  color: #ffffff;
}

/* BOTONES DENTRO DE TARJETAS OSCURAS */
.card .btn{
  color: #ffffff;
}

/* --------------------------
 Desplazamiento Premium menú
 -------------------------- */
 /* Overlay cuando el menú mobile está abierto */



/* =============================
   WHATSAPP FLOATING BUTTON
   ============================= */

.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 56px;
  height: 56px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius: 50%;
  z-index: 1400;

  /* Brand gradient */
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-2)
  );

  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 0 0 rgba(78,64,118,.45);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.whatsapp-float svg{
  width: 22px;
  height: 22px;
  display: block;
}


/* Hover premium */
.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 22px 46px rgba(0,0,0,.55),
    0 0 22px rgba(78,64,118,.55);
  filter: brightness(1.08);
}

/* Mobile: subirlo para no chocar con Sticky CTA */
@media (max-width:768px){
  .whatsapp-float{
    bottom: 92px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg{
    width: 24px;
    height: 24px;
  }
}

/* Respeto accesibilidad */
@media (prefers-reduced-motion: reduce){
  .whatsapp-float{
    transition: none;
  }
}

/* =============================
   FORMULARIO – MEJOR LEGIBILIDAD MOBILE
   ============================= */

@media (max-width: 768px){

  /* Labels */
  .field label{
    font-size: 15px;          /* antes 13px */
    font-weight: 700;
    margin-bottom: 8px;
  }

  /* Inputs, selects y textarea */
  .field input,
  .field select,
  .field textarea{
    font-size: 16px;          /* CLAVE: tamaño ideal mobile */
    padding: 14px 14px;       /* más aire */
    border-radius: 16px;
  }

  /* Placeholder */
  .field input::placeholder,
  .field textarea::placeholder{
    font-size: 14px;
  }

  /* Checkbox texto */
  .checkbox{
    font-size: 14px;
    line-height: 1.5;
  }

  /* Mensajes de error */
  .field__error{
    font-size: 13px;
    margin-top: 6px;
  }

  /* Texto informativo debajo del botón */
  .micro{
    font-size: 13px;
    line-height: 1.5;
  }

  /* Botón principal del formulario */
  .form .btn{
    font-size: 16px;
    padding: 14px 16px;
  }
}

/* =============================
   SELECT – FIX DESKTOP (NO MOBILE)
   ============================= */

@media (min-width: 769px){

  /* Fondo y texto del desplegable */
  .field select{
    background-color: rgba(7,10,18,.95);
    color: #ffffff;
  }

  /* Opciones del select */
  .field select option{
    background-color: rgba(7,10,18,1); /* fondo oscuro premium */
    color: #ffffff;
    font-size: 14px;
  }

  /* Hover (algunos navegadores lo respetan) */
  .field select option:hover{
    background-color: rgba(78,64,118,.85); /* violeta marca */
    color: #ffffff;
  }
}

/* =============================
   FAQ – ANIMACIÓN PREMIUM REAL
   ============================= */

.faq__item {
  border-radius: 16px;
}

.faq__item summary {
  cursor: pointer;
  position: relative;
  padding-right: 44px;
  user-select: none;
  font-weight: 800;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-2);
  transition:
    transform .35s cubic-bezier(.4,0,.2,1),
    color .25s ease;
}

.faq__item[open] summary::after {
  content: "–";
  color: var(--accent);
}

.faq__content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height .6s cubic-bezier(.4,0,.2,1),
    opacity .4s ease,
    transform .4s ease;
  will-change: max-height, opacity, transform;
}

.faq__item[open] .faq__content {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}


/* =============================
   FAQ ICONOS + / – (COLORES DE MARCA)
   ============================= */


.ad-platforms__marquee{
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* =============================
   SERVICIOS – TÍTULO CON ACENTO (LUXURY)
   Turquesa → Morado → Turquesa (barra sólida)
   ============================= */

.service__title{
  position: relative;
  padding-left: 14px;
}

.service__title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 3px;

  /* Barra sólida (no gradiente) para que “toda la barrita” cambie */
  background: var(--accent-2);

  /* Glow premium sutil */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 0 14px rgba(22,173,164,.26);

  animation: serviceBarLuxury 5.5s ease-in-out infinite;
  will-change: background-color, box-shadow, opacity;
}

/* Transición suave real: turquesa → morado → turquesa */
@keyframes serviceBarLuxury{
  0%{
    background: var(--accent-2);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06),
      0 0 14px rgba(22,173,164,.26);
    opacity: .92;
  }
  50%{
    background: var(--accent);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06),
      0 0 16px rgba(78,64,118,.32);
    opacity: 1;
  }
  100%{
    background: var(--accent-2);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06),
      0 0 14px rgba(22,173,164,.26);
    opacity: .92;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .service__title::before{
    animation: none;
  }
}


/* =============================
   ANIMACIÓN COLOR MORPHING
   Turquesa → Morado → Turquesa
   ============================= */

@keyframes serviceColorMorph{
  0%{
    background: linear-gradient(
      180deg,
      var(--accent-2),
      var(--accent)
    );
    opacity: .85;
  }

  50%{
    background: linear-gradient(
      180deg,
      var(--accent),
      var(--accent-2)
    );
    opacity: 1;
  }

  100%{
    background: linear-gradient(
      180deg,
      var(--accent-2),
      var(--accent)
    );
    opacity: .85;
  }
}


/* =============================
   TESTIMONIOS – SLIDER PREMIUM
   ============================= */

.testimonials-slider{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar{
  display: none;
}

.testimonial-card{
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

/* VIDEO */
.testimonial-media{
  position: relative;
  aspect-ratio: 9 / 16;
  background-size: cover;
  background-position: center;
}

/* Play button */
.play-btn{
  position: absolute;
  inset: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.play-btn::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,.0) 0%,
    rgba(0,0,0,.45) 100%
  );
}

.play-btn::after{
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* META */
.testimonial-meta{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-meta strong{
  font-size: 14px;
}

.testimonial-meta span{
  font-size: 12px;
  color: var(--muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .testimonials-slider{
    scroll-behavior: auto;
  }
}

/* =============================
   FIX ANCHORS CON HEADER STICKY
   ============================= */

#servicios,
#metodologia,
#resultados,
#faq,
#contacto{
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* =============================
   FORMULARIO – BORDE TITILANTE PREMIUM
   ============================= */

.form.card{
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* BORDE LUMINOSO */
.form.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  padding: 1.5px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2),
    var(--accent)
  );

  /* SOLO BORDE */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  animation: neonPulse 3.6s ease-in-out infinite;
  pointer-events:none;
  z-index:-1;
}

/* GLOW EXTERIOR SUAVE */
.form.card::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    rgba(78,64,118,.55),
    rgba(22,173,164,.55),
    rgba(78,64,118,.55)
  );

  filter: blur(20px);
  opacity: .45;

  animation: neonPulseGlow 3.6s ease-in-out infinite;
  pointer-events:none;
  z-index:-2;
}

/* =============================
   ANIMACIONES – TITILEO ELEGANTE
   ============================= */

@keyframes neonPulse{
  0%{
    opacity: .35;
  }
  50%{
    opacity: 1;
  }
  100%{
    opacity: .35;
  }
}

@keyframes neonPulseGlow{
  0%{
    opacity: .25;
    filter: blur(18px);
  }
  50%{
    opacity: .55;
    filter: blur(22px);
  }
  100%{
    opacity: .25;
    filter: blur(18px);
  }
}

/* =============================
   MOBILE – MÁS SOBRIO
   ============================= */

@media (max-width:768px){
  .form.card::after{
    opacity: .3;
    filter: blur(16px);
  }
}

/* =============================
   ACCESIBILIDAD
   ============================= */

@media (prefers-reduced-motion: reduce){
  .form.card::before,
  .form.card::after{
    animation: none;
    opacity: .6;
  }
}

/* =============================
   HERO ROCKET – INTEGRADO
   ============================= */

.hero__rocket-wrap{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* El cohete */
.hero__rocket{
  width: min(420px, 38vw);
  max-width: 480px;

  /* sensación de profundidad */
  filter:
    drop-shadow(0 40px 60px rgba(78,64,118,.45))
    drop-shadow(0 0 30px rgba(51,214,198,.35));

  transform-origin: center;
  will-change: transform;
  pointer-events: none;
}

/* Desktop: el cohete “sale” un poco del hero */
@media (min-width: 981px){
  .hero__rocket{
    transform: translateX(40px);
  }
}

/* Mobile: abajo del título, centrado */
@media (max-width: 980px){
  .hero__rocket-wrap{
    justify-content: center;
    margin-top: 24px;
  }

  .hero__rocket{
    width: 260px;
    transform: none;
  }
}

/* ===============================
   PLATAFORMAS – BORDE COLOR MARCA
   =============================== */

.ad-logo {
  transition: border-color .25s ease, box-shadow .25s ease;
}

/* Meta / Facebook */
.ad-logo[data-brand="meta"]:hover {
  border-color: #1877F2;
  box-shadow: 0 0 0 1px rgba(24,119,242,.35);
}

/* Instagram */
.ad-logo[data-brand="instagram"]:hover {
  border-color: #E1306C;
  box-shadow: 0 0 0 1px rgba(225,48,108,.35);
}

/* WhatsApp */
.ad-logo[data-brand="whatsapp"]:hover {
  border-color: #25D366;
  box-shadow: 0 0 0 1px rgba(37,211,102,.35);
}

/* TikTok */
.ad-logo[data-brand="tiktok"]:hover {
  border-color: #00F2EA;
  box-shadow: 0 0 0 1px rgba(0,242,234,.35);
}

/* Google (look premium, no circo) */
.ad-logo[data-brand="google"]:hover {
  border-color: #4285F4;
  box-shadow:
    0 0 0 1px rgba(66,133,244,.35),
    inset 0 0 0 2px rgba(234,67,53,.12);
}

/* YouTube */
.ad-logo[data-brand="youtube"]:hover {
  border-color: #FF0000;
  box-shadow: 0 0 0 1px rgba(255,0,0,.35);
}

/* Shopify */
.ad-logo[data-brand="shopify"]:hover {
  border-color: #95BF47;
  box-shadow: 0 0 0 1px rgba(149,191,71,.35);
}

/* WooCommerce */
.ad-logo[data-brand="woocommerce"]:hover {
  border-color: #7F54B3;
  box-shadow: 0 0 0 1px rgba(127,84,179,.35);
}

/* Messenger */
.ad-logo[data-brand="messenger"]:hover {
  border-color: #0084FF;
  box-shadow: 0 0 0 1px rgba(0,132,255,.35);
}

/* =========================
   Botón WhatsApp Tarjetas
   ========================= */

.btn-whatsapp {
  background: linear-gradient(135deg, #CFFFE0, #A8E6A3); /* Verde pastel suave */
  color: #0B3D2E; /* Texto contrastante, más oscuro que el fondo */
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
}

/* Efecto hover suave */
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* =========================
   Centrado del botón en la tarjeta
   ========================= */
.service .btn-whatsapp {
  display: block;           /* bloque para usar margin auto */
  margin: 1.5rem auto 0;    /* separa del listado y centra horizontalmente */
  text-align: center;       /* texto centrado dentro del botón */
}

/* Solo en escritorio (pantallas mayores a 768px) */
@media (min-width: 769px) {
  .service[data-service="Anuncios y estrategia"] .btn-whatsapp {
    margin-top: 50px; /* ajusta según se vea alineado */
  }
}

/* ================= METODOLOGÍA ================= */
.steps .step {
  background: var(--panel); /* tu color de tarjeta */
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

/* Solo para el paso 01 */
.steps .step:first-child {
  animation: floatStep 2s ease-in-out infinite;
}

/* Animación de flotación */
@keyframes floatStep {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


/* =====================================================
   FIX DEFINITIVO – ELIMINAR SCROLL HORIZONTAL
   Integración quirúrgica – no afecta diseño
   ===================================================== */

/* 1. Viewport seguro (sin romper sticky / fixed) */
html,
body{
  max-width: 100%;
  overflow-x: clip; /* mejor que hidden: no crea nuevo contexto */
}

/* Fallback navegadores antiguos */
@supports not (overflow-x: clip){
  html,
  body{
    overflow-x: hidden;
  }
}

/* 2. Contención estricta de secciones animadas */
.section,
.hero,
.footer,
.header{
  max-width: 100%;
  overflow-x: clip;
}

/* 3. Marquee de plataformas – aislamiento real */
.ad-platforms{
  position: relative;
  overflow-x: clip;
}

.ad-platforms__marquee{
  overflow-x: hidden;
}

.ad-platforms__track{
  max-width: 100%;
}

/* 4. Elementos fixed (WhatsApp / Sticky CTA) */
.whatsapp-float,
.sticky-cta,
.cookie{
  max-width: 100vw;
  overflow: clip;
}

/* 5. Seguro universal para imágenes, svg, video, iframe */
img,
svg,
video,
iframe{
  max-width: 100%;
  height: auto;
}

/* 6. Prevención de desbordes por transformaciones */
*[style*="transform"],
.reveal,
.ad-platforms__track{
  will-change: transform;
}

/* =====================================================
   FIN FIX SCROLL HORIZONTAL
   ===================================================== */


/* ===== Botón loading del FORMULARIO ===== */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  position: relative;
}

.btn.is-loading span {
  visibility: hidden;
}

.btn.is-loading::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg) translate(-50%, -50%); }
}

/* ------------------------
------- LOADER ANIMADO ---
---------------------------- */

.form__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: #fff;
  font-weight: 500;
}

.form__loading .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinSimple 0.8s linear infinite;
}

@keyframes spinSimple {
  to { transform: rotate(360deg); }
}


/* FIX: respetar atributo hidden aunque exista display:flex en .form__loading */
.form__loading[hidden]{
  display: none !important;
}

/* =========================
   COOKIE MODAL (GESTMARK)
========================= */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cookie-modal.is-visible {
  display: block;
}

/* Fondo difuminado */
.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Tarjeta central */
.cookie-card {
  position: relative;
  max-width: 420px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.05)
  );
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  text-align: center;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.cookie-text {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 24px;
}

.cookie-actions {
  display: grid;
  gap: 12px;
}

.cookie-links {
  margin-top: 16px;
}

.cookie-links a {
  font-size: 0.85rem;
  opacity: 0.75;
  text-decoration: underline;
}

/* =============================
   CHECKBOX – LINKS LEGALES
   ============================= */

.checkbox a{
  color: var(--accent-2);          /* color marca (turquesa) */
  text-decoration: underline;      /* subrayado visible */
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}

.checkbox a:hover{
  color: var(--accent);             /* morado marca al hover */
  opacity: 1;
}

.checkbox a:focus-visible{
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ----------------------
-----------FOOTER SOCIAL
_------------------------  */

/* ----------------------
   FOOTER SOCIAL
------------------------ */

.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-social a {
  color: #8fa1c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  transition: transform .25s ease;
}

.footer-social a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* =============================
   MOBILE – FOOTER SOCIAL FIX
   ============================= */

@media (max-width:768px){

  .footer-social{
    gap: 18px;
    justify-content: flex-start; /* mantiene alineación natural */
  }

  .footer-social svg{
    width: 28px;   /* ← tamaño correcto mobile */
    height: 28px;
  }

  .footer-social a:hover{
    transform: none; /* evita salto exagerado en táctil */
  }

}