/* ===================================================================
   AVANSSUN — Hoja de estilos principal
   Paleta exacta del deck/brochure · Mobile-first · Sin framework
   =================================================================== */

/* --- Variables de marca -------------------------------------------- */
:root {
  /* Fondos oscuros */
  --bg-dark:      #13111F;
  --bg-dark2:     #1A1726;
  --bg-darkest:   #0F0D1A;
  --indigo-deep:  #2E1A6B;
  --indigo-mid:   #3B1E8F;

  /* Fondos claros */
  --bg-cream:     #F4F1EA;
  --bg-white:     #FFFFFF;

  /* Acentos principales */
  --purple:       #8E2DA8;
  --magenta:      #C0249E;
  --purple-light: #A73EC0;

  /* Acentos funcionales (barras laterales de tarjetas) */
  --acc-purple:   #8E2DA8;
  --acc-orange:   #E08A3C;
  --acc-green:    #5E9E7B;

  /* Texto */
  --text-dark:    #1A1A1A;
  --text-light:   #FFFFFF;
  --text-muted-d: #C9C7D6;  /* sobre fondos oscuros */
  --text-muted-l: #6B6578;  /* sobre fondos claros */

  /* Tipografía */
  --font-head:    'Archivo', 'Arial Black', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  /* Espaciado */
  --section-py:   6rem;
  --section-py-sm:3.5rem;

  /* Radios */
  --radius-sm:    .5rem;
  --radius-md:    1rem;
  --radius-lg:    1.5rem;

  /* Sombras */
  --shadow-card:  0 4px 32px rgba(0,0,0,.25);
  --shadow-hover: 0 8px 48px rgba(192,36,158,.25);

  /* Transición estándar */
  --transition:   .25s cubic-bezier(.4,0,.2,1);
}

/* --- Reset y base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Tipografía ---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;800;900&family=Inter:wght@400;500;600&display=swap');

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { line-height: 1.7; }

/* --- Layout -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { padding-block: var(--section-py-sm); }
@media (min-width: 768px) { .section { padding-block: var(--section-py); } }

/* Secciones oscuras */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section--dark2 {
  background: var(--bg-dark2);
  color: var(--text-light);
}
/* Secciones claras */
.section--cream {
  background: var(--bg-cream);
  color: var(--text-dark);
}
.section--white {
  background: var(--bg-white);
  color: var(--text-dark);
}

/* --- Títulos de sección -------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: .75rem;
}
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--purple));
  border-radius: 99px;
  margin-top: .6rem;
}
.section-title--center { text-align: center; }
.section-title--center::after { margin-inline: auto; }

/* --- Botones ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(192,36,158,.4);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(192,36,158,.55); }

.btn--outline {
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn--outline:hover { border-color: var(--magenta); background: rgba(192,36,158,.1); }

.btn--outline-dark {
  border: 2px solid var(--purple);
  color: var(--purple);
}
.btn--outline-dark:hover { background: var(--purple); color: #fff; }

.btn--ghost {
  color: var(--text-muted-d);
  border: 1.5px solid rgba(201,199,214,.3);
}
.btn--ghost:hover { border-color: var(--magenta); color: var(--magenta); }

.btn--sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* --- Badge --------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--promo {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: 0 2px 12px rgba(192,36,158,.4);
}
.badge--promo::before {
  content: '✦';
  font-size: .65rem;
}

/* ===================================================================
   BARRA DE PROMO (banner superior)
   =================================================================== */
#promo-bar {
  background: linear-gradient(90deg, var(--indigo-deep), var(--purple) 50%, var(--magenta));
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  position: relative;
}
#promo-bar .promo-bar__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
#promo-bar .promo-bar__close:hover { opacity: 1; }

/* ===================================================================
   HEADER / NAVEGACIÓN
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header--scrolled {
  background: rgba(19,17,31,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: .04em;
}
.logo__tagline {
  font-size: .65rem;
  color: var(--text-muted-d);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Nav links */
.nav { display: none; }
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted-d);
    transition: color var(--transition);
  }
  .nav__link:hover { color: #fff; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Selector de idioma */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 600;
}
.lang-switcher a {
  color: var(--text-muted-d);
  transition: color var(--transition);
  padding: .2rem .35rem;
}
.lang-switcher a:hover,
.lang-switcher a.active { color: var(--magenta); }
.lang-switcher span { color: rgba(201,199,214,.35); }

/* Hamburger mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 99px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(13,11,24,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
}
.mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted-d);
  cursor: pointer;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: 7rem;
  padding-bottom: 4rem;
}

/* Fondo degradé tipo deck */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(142,45,168,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(46,26,107,.6) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(192,36,158,.2) 0%, transparent 55%),
    linear-gradient(160deg, #13111F 0%, #1A1726 40%, #2E1A6B 100%);
}

/* Líneas decorativas (estilo deck) */
.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(142,45,168,.04) 60px,
      rgba(142,45,168,.04) 61px
    );
  pointer-events: none;
}

/* Orbe luminoso */
.hero__orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,36,158,.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* Forma diagonal inferior */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__badge { margin-bottom: 1.5rem; }
.hero__title {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--magenta); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted-d);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero__stat span {
  font-size: .85rem;
  color: var(--text-muted-d);
}

/* Imagen/visual del lado derecho del hero (desktop) */
.hero__visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
  opacity: .18;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) { .hero__visual { display: block; } }

/* ===================================================================
   TRUST BAR (logos de clientes)
   =================================================================== */
.trust-bar {
  background: var(--bg-dark2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-block: 1.75rem;
  overflow: hidden;
}
.trust-bar__label {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted-d);
  margin-bottom: 1.25rem;
}
.trust-bar__track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-bar__client {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  color: rgba(201,199,214,.45);
  white-space: nowrap;
  transition: color var(--transition);
}
.trust-bar__client:hover { color: rgba(201,199,214,.8); }

/* ===================================================================
   PLANES (PROTAGONISTA)
   =================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}

.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Barra lateral de color (estilo brochure) */
.plan-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--plan-accent, var(--acc-purple));
}
.plan-card--featured {
  border: 2px solid var(--purple);
}
.plan-card--featured::after {
  content: 'Más popular';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 999px;
}

.plan-card__body { padding: 2rem 2rem 2rem 2.25rem; flex: 1; }
.plan-card__badge { margin-bottom: .75rem; }
.plan-card__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.plan-card__desc {
  font-size: .9rem;
  color: var(--text-muted-l);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Precio */
.plan-card__price {
  margin-bottom: 1.5rem;
}
.plan-card__price-amount {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}
.plan-card__price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted-l);
  vertical-align: super;
}
.plan-card__price-ref {
  font-size: .8rem;
  color: var(--text-muted-l);
  margin-top: .35rem;
}
.plan-card__price-note {
  font-size: .78rem;
  color: var(--text-muted-l);
  margin-top: .5rem;
  font-style: italic;
}

/* Features */
.plan-card__features { margin-bottom: 1.75rem; }
.plan-card__feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .45rem 0;
  font-size: .9rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.plan-card__feature:last-child { border-bottom: none; }
.plan-card__feature-icon {
  color: var(--acc-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.plan-card__footer { padding: 0 2rem 2rem 2.25rem; }
.plan-card__cta { width: 100%; justify-content: center; }

/* Nota de transparencia de cobro (visible en español) */
.checkout-note {
  background: rgba(142,45,168,.07);
  border: 1px solid rgba(142,45,168,.18);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .82rem;
  color: var(--text-muted-l);
  margin-top: 2rem;
  line-height: 1.6;
}
.checkout-note strong { color: var(--purple); }

/* ===================================================================
   VALUE PROPS (por qué tu web con Avanssun)
   =================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}
.value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.value-item__icon {
  width: 48px;
  height: 48px;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: rgba(192,36,158,.12);
  border: 1px solid rgba(192,36,158,.2);
}
.value-item__text {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* ===================================================================
   PORTFOLIO
   =================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-dark2);
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19,17,31,.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__name {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
}

/* Placeholder (sin imagen aún) */
.portfolio-item--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--bg-dark2);
  border: 1px solid rgba(255,255,255,.06);
}
.portfolio-item--placeholder span {
  font-size: .75rem;
  color: var(--text-muted-d);
  text-align: center;
  padding: .5rem;
}

/* ===================================================================
   PROCESO (cómo trabajamos)
   =================================================================== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--magenta), var(--purple), transparent);
}
@media (min-width: 768px) {
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .process-steps::before { display: none; }
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0;
  }
}

.process-step__num {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(192,36,158,.4);
  position: relative;
  z-index: 1;
}
.process-step__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .35rem;
}
.process-step__desc {
  font-size: .88rem;
  color: var(--text-muted-d);
  line-height: 1.6;
}

/* ===================================================================
   TESTIMONIOS
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--card-accent, var(--acc-purple));
}
.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--acc-purple);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card__text {
  font-size: .9rem;
  color: var(--text-dark);
  line-height: 1.7;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-dark);
}
.testimonial-card__role {
  font-size: .78rem;
  color: var(--text-muted-l);
}
.testimonial-card__stars {
  color: #f59e0b;
  letter-spacing: .1em;
  font-size: .9rem;
}

/* ===================================================================
   UPSELL (secundario — agencia 360°)
   =================================================================== */
.upsell {
  background: var(--bg-dark2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}
.upsell__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.upsell__text {
  font-size: .95rem;
  color: var(--text-muted-d);
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.upsell__services {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.upsell__tag {
  padding: .3rem .85rem;
  background: rgba(142,45,168,.12);
  border: 1px solid rgba(142,45,168,.2);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text-muted-d);
  transition: var(--transition);
}
.upsell__tag:hover { background: rgba(142,45,168,.25); color: #fff; }

/* Modelos de trabajo */
.models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 600px) { .models-grid { grid-template-columns: repeat(3, 1fr); } }

.model-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.model-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--model-acc, var(--acc-purple));
}
.model-card__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  margin-bottom: .4rem;
}
.model-card__desc {
  font-size: .83rem;
  color: var(--text-muted-d);
  line-height: 1.5;
}

/* ===================================================================
   FAQ (acordeón)
   =================================================================== */
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .97rem;
  color: var(--text-dark);
  user-select: none;
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--purple); }
.faq-item__icon {
  font-size: 1.3rem;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-item__a {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}
.faq-item__a p {
  font-size: .9rem;
  color: var(--text-muted-l);
  line-height: 1.7;
}

/* ===================================================================
   FORMULARIO DE CONTACTO / LEAD
   =================================================================== */
.contact-form {
  max-width: 560px;
  margin: 2rem auto 0;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted-d);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: #fff;
  font-size: .95rem;
  transition: border-color var(--transition), background var(--transition);
}
.form-control::placeholder { color: rgba(201,199,214,.4); }
.form-control:focus {
  border-color: var(--magenta);
  background: rgba(255,255,255,.1);
}
textarea.form-control { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-msg {
  text-align: center;
  margin-top: .75rem;
  font-size: .88rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
}
.form-msg--ok { background: rgba(94,158,123,.12); color: #5E9E7B; border: 1px solid rgba(94,158,123,.3); }
.form-msg--err { background: rgba(224,138,60,.1); color: var(--acc-orange); border: 1px solid rgba(224,138,60,.3); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 3rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand__tagline {
  font-size: .88rem;
  color: var(--text-muted-d);
  margin-top: .75rem;
  max-width: 240px;
  line-height: 1.6;
}
.footer-col__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted-d);
  margin-bottom: .9rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .88rem;
  color: rgba(201,199,214,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--magenta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom__copy {
  font-size: .8rem;
  color: rgba(201,199,214,.4);
}

/* ===================================================================
   WHATSAPP FLOTANTE
   =================================================================== */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-btn svg { width: 28px; height: 28px; }

/* ===================================================================
   SCROLL REVEAL (clases AOS-like manuales como fallback)
   =================================================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="150"] { transition-delay: .15s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="250"] { transition-delay: .25s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }

/* ===================================================================
   UTILIDADES
   =================================================================== */
.text-center { text-align: center; }
.text-magenta { color: var(--magenta); }
.text-muted { color: var(--text-muted-d); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

/* Ocultar pero accesible para lectores */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Honeypot anti-bot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
}
