:root {
  --bg-main: #0c1a0e;
  --bg-deep: #060f07;
  --bg-soft: #121f13;
  --bg-card: #1b2c1d;
  --border: #2c4530;
  --border-soft: rgba(120, 170, 124, .2);
  --text-main: #f8fafc;
  --text-soft: #d1fae5;
  --text-muted: #8fa694;
  --primary: #10b981;
  --primary-bright: #34d399;
  --primary-dark: #064e3b;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --danger: #ef4444;
  --shadow: 0 28px 90px rgba(0, 0, 0, .38);
  --container: 1200px;
  --gutter: 20px;
  --nav-height: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, .45);
  outline-offset: 4px;
}

/* ── SKIP LINK ── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--bg-deep);
  background: var(--primary-bright);
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

/* ── CONTAINER ── */
.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

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

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(12, 26, 14, .88);
  border-bottom: 1px solid rgba(120, 170, 124, .14);
  backdrop-filter: blur(20px);
  transition: background .3s ease, box-shadow .3s ease;
}

.site-nav.scrolled {
  background: rgba(12, 26, 14, .96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 1.12rem;
  font-weight: 900;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-menu {
  position: fixed;
  top: var(--nav-height);
  left: 16px;
  right: 16px;
  display: none;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(13, 22, 14, .98);
  box-shadow: var(--shadow);
  z-index: 79;
}

body.menu-open .nav-menu {
  display: grid;
}

.nav-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 800;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, .06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  display: none;
  color: var(--text-muted);
  font-weight: 800;
  text-decoration: none;
  font-size: .92rem;
}

.nav-login:hover {
  color: var(--primary-bright);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: .88rem;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(249, 115, 22, .28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 20px 42px rgba(249, 115, 22, .34);
}

.btn-secondary {
  color: var(--primary-bright);
  background: transparent;
  border-color: rgba(52, 211, 153, .6);
}

.btn-secondary:hover {
  color: var(--bg-deep);
  background: var(--primary-bright);
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 999px;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, .1);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  background: radial-gradient(circle at 70% 0%, #1a3320 0%, var(--bg-main) 46%, var(--bg-deep) 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('campo.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.06);
  filter: blur(4px) saturate(0.5) brightness(0.32);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .065) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 76%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 72px 0 82px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text-main);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.hero-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.78;
}

.hero-copy p strong {
  color: var(--text-main);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 800;
}

.hero-proof span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, .14);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* ── DEVICE SHELL (hero visual) ── */
.device-shell {
  width: min(100%, 420px);
  padding: 16px;
  border: 1px solid rgba(120, 170, 124, .22);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(27, 44, 29, .9), rgba(6, 15, 7, .94));
  box-shadow: var(--shadow);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(3, 8, 4, .62);
  border: 1px solid rgba(120, 170, 124, .18);
}

.device-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.device-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}

.device-brand strong,
.device-brand span {
  display: block;
}

.device-brand strong {
  font-size: .95rem;
}

.device-brand span {
  color: var(--text-muted);
  font-size: .76rem;
}

.live-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, .14);
  font-size: .74rem;
  font-weight: 900;
}

.live-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-bright);
  margin-right: 6px;
}

.alert-preview {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid rgba(120, 170, 124, .18);
  border-radius: 22px;
  background: rgba(6, 15, 7, .88);
}

.alert-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, .14);
  font-size: .72rem;
  font-weight: 900;
}

.alert-preview h2 {
  margin-top: 12px;
  font-size: 1.2rem;
}

.alert-preview p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.alert-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.alert-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, .06);
  font-size: .8rem;
  font-weight: 800;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.signal-row div {
  padding: 16px;
  border-radius: 18px;
  background: var(--primary-dark);
}

.signal-row strong,
.signal-row span {
  display: block;
}

.signal-row strong {
  color: var(--primary-bright);
  font-size: 1.8rem;
  line-height: 1;
}

.signal-row span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
}

/* ── TRUST STRIP ── */
.trust-strip {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-deep);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-grid span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .03);
  font-size: .84rem;
  font-weight: 800;
}

/* ── SECTIONS ── */
.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.section-head p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

/* ── METRICS GRID ── */
.metrics-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.metric-card {
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, .4);
}

.metric-card strong {
  display: block;
  color: var(--primary-bright);
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card h3 {
  margin-top: 14px;
  font-size: 1.2rem;
}

.metric-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  gap: 20px;
}

.step-card {
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-card);
  transition: transform .2s ease, border-color .2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, .4);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.65;
  margin: 0;
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 16px;
  background: rgba(16, 185, 129, .07);
}

.how-note-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.how-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.72;
}

/* ── WHATSAPP SECTION ── */
.wa-section {
  background: var(--bg-deep);
  border-block: 1px solid rgba(148, 163, 184, .12);
}

.wa-layout {
  display: grid;
  gap: 52px;
  align-items: center;
}

.wa-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.wa-copy p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.wa-benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.wa-benefits li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.6;
}

.wa-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-bright);
  font-weight: 900;
}

.wa-phone-wrap {
  display: flex;
  justify-content: center;
}

/* Phone frame */
.wa-phone {
  width: min(100%, 310px);
  border: 10px solid #151c2e;
  border-radius: 42px;
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(148, 163, 184, .08);
}

.wa-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: #075e54;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}

.wa-status-icons {
  letter-spacing: -2px;
  color: rgba(255, 255, 255, .7);
  font-size: .6rem;
}

.wa-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #075e54;
  color: #fff;
}

.wa-back-btn,
.wa-more-btn {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  flex-shrink: 0;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: .88rem;
  flex-shrink: 0;
}

.wa-contact-info {
  flex: 1;
  min-width: 0;
}

.wa-contact-info strong {
  display: block;
  color: #fff;
  font-size: .88rem;
}

.wa-contact-info span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
}

.wa-chat {
  background: #e5ddd5;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-date-sep {
  text-align: center;
  font-size: .68rem;
  color: rgba(0, 0, 0, .5);
  background: rgba(255, 255, 255, .62);
  padding: 3px 10px;
  border-radius: 8px;
  width: fit-content;
  margin: 0 auto;
  font-weight: 700;
}

.wa-bubble {
  border-radius: 8px;
  padding: 8px 10px 4px;
  max-width: 94%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

.wa-in {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  align-self: flex-start;
}

.wa-out {
  background: #dcf8c6;
  border-radius: 8px 0 8px 8px;
  align-self: flex-end;
}

.wa-bubble p {
  margin: 0 0 4px;
  color: #1a1a1a;
  font-size: .76rem;
  line-height: 1.5;
}

.wa-bubble b {
  color: #111;
}

.wa-msg-label {
  font-weight: 900 !important;
  color: #128c7e !important;
  font-size: .7rem !important;
  margin-bottom: 5px !important;
}

.wa-msg-intro {
  margin-bottom: 6px !important;
  font-size: .75rem !important;
}

.wa-alert-item {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, .05);
  border-radius: 6px;
  margin: 4px 0;
}

.wa-num {
  color: #128c7e;
  font-weight: 900;
  font-size: .74rem;
  flex-shrink: 0;
}

.wa-alert-item b {
  display: block;
  font-size: .74rem;
  color: #111;
}

.wa-alert-item p {
  font-size: .68rem !important;
  color: #555 !important;
  margin: 2px 0 !important;
}

.wa-link {
  display: block;
  color: #128c7e;
  font-size: .66rem;
  font-weight: 900;
  margin-top: 2px;
}

.wa-prompt-text {
  font-size: .7rem !important;
  font-style: italic;
  color: #667268 !important;
  margin-top: 5px !important;
}

.wa-bubble-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.wa-ts {
  font-size: .62rem;
  color: #aaa;
}

/* ── ALERT TYPES ── */
.alert-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.alert-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 800;
  font-size: .94rem;
  transition: border-color .2s ease, background .2s ease;
}

.alert-type-chip:hover {
  border-color: rgba(16, 185, 129, .45);
  background: rgba(16, 185, 129, .07);
}

.sources-expand {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}

.sources-expand summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 0 20px;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.sources-expand summary::-webkit-details-marker {
  display: none;
}

.sources-expand summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--bg-deep);
  background: var(--primary-bright);
  flex-shrink: 0;
  font-weight: 900;
}

.sources-expand[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
}

.sources-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-soft);
}

.sources-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .03);
  font-size: .82rem;
  font-weight: 800;
}

/* ── MIA SECTION ── */
.mia-section {
  background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, .08), transparent 60%), var(--bg-deep);
  border-block: 1px solid rgba(148, 163, 184, .12);
}

.mia-eyebrow {
  border-color: rgba(52, 211, 153, .4);
  background: rgba(52, 211, 153, .12);
}

.mia-quote {
  margin: 0 auto 40px;
  max-width: 760px;
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: rgba(16, 185, 129, .07);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.7;
}

.mia-quote p {
  margin: 0;
}

.mia-grid {
  display: grid;
  gap: 16px;
}

.mia-card {
  padding: 26px;
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mia-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, .55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.mia-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.mia-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mia-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ── B2C BENEFITS ── */
.b2c-benefits {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.b2c-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg-card);
  font-weight: 800;
  font-size: .98rem;
  color: var(--text-main);
}

.b2c-benefit::before {
  content: "✓";
  color: var(--primary-bright);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, .4);
}

.price-card.featured {
  border-color: rgba(16, 185, 129, .55);
  background: linear-gradient(180deg, rgba(6, 78, 59, .3), var(--bg-card));
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--bg-deep);
  background: var(--primary-bright);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-tag {
  display: block;
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.featured-tag {
  color: var(--primary-bright);
}

.price-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.price {
  margin: 4px 0 14px;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-main);
}

.price-beta {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.price small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.price-card > p {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0 0 14px;
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-bright);
  font-weight: 900;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin: 24px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.7;
}

.pricing-note a {
  color: var(--primary-bright);
  text-decoration: none;
  font-weight: 800;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* B2B link in section-head */
.section-head p a {
  color: var(--primary-bright);
  text-decoration: none;
  font-weight: 800;
}

.section-head p a:hover {
  text-decoration: underline;
}

/* ── B2B SECTION ── */
.b2b-section {
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, .14), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--bg-deep));
  border-block: 1px solid rgba(148, 163, 184, .14);
}

.b2b-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.b2b-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.b2b-copy > p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 1.06rem;
  line-height: 1.78;
}

.price-banner {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
}

.price-banner strong,
.price-banner span {
  display: block;
}

.price-banner strong {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
}

.price-banner span {
  margin-top: 8px;
  color: #a7f3d0;
  font-size: .9rem;
}

.check-list.bright {
  margin: 24px 0 30px;
}

.check-list.bright li {
  color: #d1fae5;
}

/* Dashboard */
.dashboard {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 20px;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(120, 170, 124, .14);
  background: #030a04;
}

.dashboard-top span {
  color: var(--text-muted);
  font-weight: 800;
}

.dashboard-top strong {
  color: var(--primary-bright);
}

.dashboard-grid {
  display: grid;
  gap: 1px;
  background: rgba(148, 163, 184, .12);
}

.dashboard-grid article {
  padding: 24px;
  background: var(--bg-main);
}

.dashboard-grid span,
.dashboard-grid strong,
.dashboard-grid p {
  display: block;
}

.dashboard-grid span {
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dashboard-grid strong {
  margin-top: 10px;
  font-size: 2.4rem;
  line-height: 1;
}

.dashboard-grid p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: .86rem;
}

/* ── TRUST SECTION ── */
.trust-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.trust-card {
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-card);
}

.trust-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 14px;
}

.trust-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.trust-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px;
  border-left: 4px solid rgba(148, 163, 184, .3);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .03);
}

.trust-disclaimer p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.72;
}

/* ── FAQ ── */
.faq-section {
  background: var(--bg-soft);
}

.faq-grid {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-grid details {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq-grid details[open] {
  border-color: rgba(16, 185, 129, .4);
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 0 20px;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 850;
  font-size: .98rem;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--bg-deep);
  background: var(--primary-bright);
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.1rem;
}

.faq-grid details[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
}

.faq-grid p {
  margin: 0;
  padding: 4px 20px 22px;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.75;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 86px 0;
  background: radial-gradient(circle at 20% 0%, rgba(249, 115, 22, .14), transparent 34%), var(--bg-main);
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.final-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.final-cta h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.final-cta p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.final-actions {
  display: grid;
  gap: 12px;
  align-content: center;
}

/* ── FOOTER ── */
.site-footer {
  padding: 58px 0 32px;
  border-top: 1px solid rgba(148, 163, 184, .12);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.footer-brand-col .brand img {
  width: 46px;
  height: 46px;
}

.footer-brand {
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  margin-top: 9px;
  color: rgba(148, 163, 184, .7);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--primary-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: .82rem;
}

/* ── RESPONSIVE ── */
@media (min-width: 620px) {
  :root {
    --gutter: 28px;
  }

  .hero-actions,
  .final-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .alert-meta,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2c-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sources-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 36px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    z-index: auto;
  }

  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    min-height: 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .9rem;
  }

  .nav-login {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wa-layout {
    grid-template-columns: 1fr 320px;
  }

  .mia-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b2b-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

@media (max-width: 440px) {
  :root {
    --gutter: 16px;
    --nav-height: 66px;
  }

  .brand span {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .nav-actions .btn {
    width: auto;
    min-height: 40px;
    padding-inline: 12px;
    font-size: .8rem;
  }

  .hero-grid {
    padding: 52px 0 48px;
  }

  /* Ocultar device shell en móvil pequeño para que los CTAs no queden ocultos */
  .hero-visual {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .metric-card,
  .step-card,
  .price-card,
  .mia-card {
    padding: 22px;
  }
}

/* ── PAGE HERO (páginas interiores) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(120, 170, 124, .14);
  background: radial-gradient(circle at 30% 0%, #1a3320 0%, var(--bg-main) 50%, var(--bg-deep) 100%);
  padding: 72px 0 80px;
  text-align: center;
}

.page-hero-inner {
  position: relative;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.page-hero > p,
.page-hero-inner > p {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 26px;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 800;
}

.page-hero-meta span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, .14);
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: .82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--primary-bright);
}

/* ── CCAA GRID (hub PAC) ── */
.ccaa-grid {
  display: grid;
  gap: 14px;
}

.ccaa-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: var(--bg-card);
  transition: transform .2s ease, border-color .2s ease;
}

.ccaa-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, .45);
}

.ccaa-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ccaa-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.ccaa-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.ccaa-profile {
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}

.ccaa-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.ccaa-link-int {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .12);
  color: var(--primary-bright);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  transition: background .2s ease;
}

.ccaa-link-int:hover {
  background: rgba(52, 211, 153, .22);
}

.ccaa-link-ext {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.ccaa-link-ext:hover {
  border-color: rgba(52, 211, 153, .4);
  color: var(--primary-bright);
}

/* ── CCAA COMMUNITY PAGE ── */
.ccaa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ccaa-emoji-big {
  font-size: 3rem;
  line-height: 1;
}

.fact-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.fact-card {
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-card);
}

.fact-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.fact-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.official-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.official-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 800;
  font-size: .94rem;
  transition: border-color .2s ease, background .2s ease;
}

.official-link:hover {
  border-color: rgba(52, 211, 153, .45);
  background: rgba(52, 211, 153, .05);
  color: var(--primary-bright);
}

.official-link span {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 620px) {
  .ccaa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ccaa-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

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

/* ── WhatsApp floating button ─────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wa-fab-tooltip {
  position: absolute;
  right: 66px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s, transform .2s;
}
.wa-fab:hover .wa-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 500px) {
  .wa-fab { bottom: 18px; right: 16px; width: 50px; height: 50px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab-tooltip { display: none; }
}

/* ── Artículos relacionados ───────────────────────────── */
.related-articles {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 52px 0 60px;
}
.related-articles h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s, transform .15s;
}
.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.related-card .related-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary-bright);
}
.related-card h4 {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.45;
}
.related-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-bright);
  text-decoration: none;
}
.related-more:hover { text-decoration: underline; }
