/* ─── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --navy: #0b1228;
  --navy2: #0f172a;
  --blue: #0ea5e9;
  --cyan: #38bdf8;
  --light: #f0f6ff;
  --muted: #94a3b8;
  --slate: #475569;
  --border: rgba(14, 165, 233, 0.15);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
}

/* ─── HERO ADS ─────────────────────────────────────────── */
.ads-hero {
  background: var(--band-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}
.ads-hero::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}
.ads-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}
.ads-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ads-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.ads-hero-kicker span {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.ads-hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1.04;
  margin-bottom: 22px;
}
.ads-hero-title span {
  color: var(--blue);
}
.ads-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.ads-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.btn-primary {
  background: var(--blue-btn);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-btn-hover);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--outline-border);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.ads-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ads-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.ads-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Hero visual */
.ads-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ads-platforms-card {
  background: #0f1e3a;
  border-radius: 24px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  padding: 32px;
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
}
.ads-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ads-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f0f6ff;
}
.ads-card-status {
  font-size: 10px;
  font-weight: 600;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.ads-card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}
.ads-platform-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.ads-platform-row.meta {
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.2);
}
.ads-platform-row.google {
  background: rgba(234, 67, 53, 0.08);
  border: 1px solid rgba(234, 67, 53, 0.15);
}
.ads-platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.ads-platform-icon.meta-icon {
  background: #1877f2;
  color: #fff;
  font-size: 14px;
}
.ads-platform-icon.google-icon {
  background: var(--surface);
  color: #ea4335;
  font-size: 13px;
  font-weight: 900;
}
.ads-platform-name {
  font-size: 13px;
  font-weight: 700;
  color: #f0f6ff;
}
.ads-platform-sub {
  font-size: 11px;
  color: #94a3b8;
}
.ads-platform-metric {
  margin-left: auto;
  text-align: right;
}
.ads-platform-num {
  font-size: 16px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.ads-platform-lbl {
  font-size: 10px;
  color: #94a3b8;
}
.ads-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.ads-mini-stat {
  background: rgba(14, 165, 233, 0.07);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.ads-mini-num {
  font-size: 17px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.5px;
}
.ads-mini-lbl {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}
.ads-floating-badge {
  position: absolute;
  background: #0f172a;
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #f0f6ff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.ads-floating-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge-tl {
  top: 20px;
  left: -28px;
  z-index: 3;
}
.badge-br {
  bottom: 40px;
  right: -24px;
  z-index: 3;
}
@media (max-width: 900px) {
  .ads-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ads-hero-visual {
    display: none;
  }
}

/* ─── SECTION BASE ─────────────────────────────────────── */
.section {
  padding: 96px 40px;
  background: var(--section-bg-alt);
}
.section.bg-light {
  background: var(--section-bg);
}
.section.bg-dark {
  background: var(--band-bg);
}
.section.bg-navy2 {
  background: var(--navy2);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-kicker {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kicker);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-title span {
  color: var(--blue);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.7;
}
.text-center {
  text-align: center;
}
.text-light {
  color: var(--text);
}

/* ─── PRICING ──────────────────────────────────────────── */
.ads-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .ads-plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ads-plans-grid {
    grid-template-columns: 1fr;
  }
}
.ads-plan-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1.5px solid var(--card-border);
  position: relative;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.ads-plan-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1);
}
.ads-plan-card.featured {
  background: var(--featured-bg);
  border-color: var(--blue);
  box-shadow: 0 24px 64px rgba(14, 165, 233, 0.22);
}
.ads-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.ads-plan-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ads-plan-card.featured .ads-plan-label {
  color: var(--text-muted);
}
.ads-plan-name {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.ads-plan-card.featured .ads-plan-name {
  color: var(--text);
}
.ads-plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 14px;
}
.ads-plan-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 6px;
}
.ads-plan-card.featured .ads-plan-currency {
  color: var(--cyan);
}
.ads-plan-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}
.ads-plan-card.featured .ads-plan-amount {
  color: var(--text);
}
.ads-plan-period {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 8px;
}
.ads-plan-card.featured .ads-plan-period {
  color: var(--text-muted);
}
.ads-plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ads-plan-card.featured .ads-plan-desc {
  color: var(--text-muted);
}
.ads-plan-divider {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 20px;
}
.ads-plan-card.featured .ads-plan-divider {
  background: var(--card-border);
}
.ads-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
  flex: 1;
}
.ads-plan-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.ads-plan-card.featured .ads-plan-features li {
  color: var(--text-muted);
}
.ads-check {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
}
.ads-plan-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.ads-plan-btn.primary {
  background: var(--blue-btn);
  color: #fff;
}
.ads-plan-btn.primary:hover {
  background: var(--blue-btn-hover);
}
.ads-plan-btn.outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--card-border);
}
.ads-plan-btn.outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.ads-plan-btn.dark {
  background: var(--blue-btn);
  color: #fff;
}
.ads-plan-btn.dark:hover {
  background: var(--blue-btn-hover);
}
.ads-plans-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}
.ads-plans-note span {
  color: var(--blue);
  font-weight: 600;
}

/* ─── PROCESS / TIMELINE ───────────────────────────────── */
.ads-process-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.ads-process-wrap::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 44px;
  bottom: 44px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(14, 165, 233, 0.1));
}
.ads-step {
  display: flex;
  gap: 28px;
  position: relative;
  margin-bottom: 32px;
}
.ads-step:last-child {
  margin-bottom: 0;
}
.ads-step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  background: var(--blue-btn);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  position: relative;
  z-index: 1;
}
.ads-step-body {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  padding: 28px 32px;
  flex: 1;
  transition: all 0.25s;
}
.ads-step-body:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.08);
}
.ads-step-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.ads-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.ads-step-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ads-step-bullets li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ads-step-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.ads-step-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
@media (max-width: 600px) {
  .ads-process-wrap::before {
    display: none;
  }
  .ads-step {
    gap: 16px;
  }
  .ads-step-num {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 12px;
  }
  .ads-step-body {
    padding: 20px;
  }
}

/* ─── NOTAS / A TENER EN CUENTA ───────────────────────── */
.ads-notes-card {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--card-border);
  padding: 40px 44px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(11, 18, 40, 0.06);
  position: relative;
  overflow: hidden;
}
.ads-notes-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.ads-notes-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ads-notes-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ads-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ads-notes-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ads-notes-bullet {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.ads-notes-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 600px) {
  .ads-notes-card {
    padding: 28px 24px;
  }
}

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--blue);
}
.faq-q {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  /* reset de button para conservar el aspecto original del div */
  width: 100%;
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
}
.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--section-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item.open .faq-toggle {
  background: var(--blue-btn);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-a {
  max-height: 640px;
  padding: 0 24px 22px;
}

/* ─── CTA FINAL ────────────────────────────────────────── */
.cta-section {
  background: var(--band-bg);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1), transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.cta-title span {
  color: var(--blue);
}
.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE UTILS ─────────────────────────────────── */
@media (max-width: 600px) {
  .section {
    padding: 64px 20px;
  }
  .ads-hero {
    padding: 90px 20px 60px;
  }
}

/* ═══ TRANSICIONES, BORDES Y ANIMACIONES (paleta celeste + tema) ═══ */
.seam { height: 120px; pointer-events: none; }
.seam-dark-light {
  background: linear-gradient(to bottom, var(--band-bg) 0%, color-mix(in srgb, var(--band-bg), var(--section-bg)) 50%, var(--section-bg) 100%);
}
.seam-light-dark {
  background: linear-gradient(to bottom, var(--section-bg) 0%, color-mix(in srgb, var(--section-bg), var(--band-bg)) 50%, var(--band-bg) 100%);
}
@media (max-width: 768px) { .seam { height: 72px; } }
.section, .seam { transition: background-color 0.3s ease; }

.ads-plan-card, .ads-step-body, .ads-notes-card, .faq-item {
  box-shadow: 0 1px 2px rgba(11, 18, 40, 0.04), 0 6px 16px rgba(11, 18, 40, 0.05);
}

@media (prefers-reduced-motion: no-preference) {
  .ads-card-status-dot { animation: dot-pulse 2.4s ease-in-out infinite; }
  @keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  }
}

.ads-notes-icon { transition: transform 0.25s ease; }
.ads-notes-card:hover .ads-notes-icon { transform: scale(1.08); }
