:root {
  --ink: #121417;
  --muted: #5e6874;
  --line: #dfe5eb;
  --paper: #f7f9fb;
  --white: #ffffff;
  --night: #10151b;
  --blue: #0284c7;
  --teal: #10b981;
  --amber: #ffb020;
  --red: #ef5d50;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(16, 21, 27, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--night);
  font-weight: 900;
}

.brand-logo {
  height: 30px;
  width: auto;
  /* logo oficial negro sobre transparente -> blanco para la cabecera oscura */
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.nav a:hover,
.header-cta:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  margin-left: auto;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible ~ .nav-burger {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 82px) 84px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 167, 232, 0.28), transparent 28%),
    linear-gradient(135deg, #121417 0%, #1b252d 46%, #25292c 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(to top, rgba(247, 249, 251, 1), rgba(247, 249, 251, 0));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  right: clamp(-70px, -3vw, -12px);
  bottom: clamp(32px, 8vw, 98px);
  width: min(58vw, 820px);
  opacity: 0.94;
  filter: drop-shadow(0 38px 58px rgba(0, 0, 0, 0.55));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.copy-block h2,
.flow-head h2,
.message h2,
.centered-heading h2,
.install-layout h2,
.cta-layout h2,
.pain-grid h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 6vw, 6.7rem);
}

.hero-lead {
  max-width: 630px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--amber);
  color: #191204;
  box-shadow: 0 12px 32px rgba(255, 176, 32, 0.25);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.button.large {
  min-width: 210px;
  min-height: 56px;
}

.hero-proof {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 82px);
  right: clamp(20px, 6vw, 82px);
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #ffffff;
  background: rgba(13, 18, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.hero-proof span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: clamp(72px, 9vw, 118px) 0;
}

.pain-band {
  padding: 54px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pain-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.pain-grid h2,
.copy-block h2,
.flow-head h2,
.message h2,
.centered-heading h2,
.install-layout h2,
.cta-layout h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.pain-list {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.15rem;
}

.pain-list p,
.copy-block p,
.centered-heading p,
.install-layout p,
.cta-layout p {
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}

.device-shot {
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1d2328, #343a3f);
  box-shadow: var(--shadow);
}

.device-shot img {
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.38));
}

.copy-block > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.feature-grid article,
.price-card,
.flow-step {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-grid article {
  padding: 20px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 8px;
  background: #e9f8fe;
  color: #0079a8;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-grid h3,
.flow-step h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
}

.feature-grid p,
.flow-step p,
.plan-copy,
.price-card li {
  color: var(--muted);
}

.feature-grid p,
.flow-step p {
  margin: 0;
}

.flow-band {
  padding: clamp(72px, 9vw, 112px) 0;
  color: var(--white);
  background: #20272e;
}

.flow-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  gap: 0;
  align-items: stretch;
}

.flow-step {
  min-height: 190px;
  padding: 22px;
  color: var(--ink);
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf2f7;
  font-weight: 900;
}

.flow-step.accent {
  border-color: rgba(255, 176, 32, 0.75);
  box-shadow: 0 16px 42px rgba(255, 176, 32, 0.13);
}

.flow-step.accent span {
  background: var(--amber);
  color: #1b1200;
}

.flow-line {
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.55));
}

.message {
  background: var(--white);
}

.message-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

blockquote {
  margin: 0;
  padding: clamp(28px, 4vw, 46px);
  border-left: 8px solid var(--amber);
  border-radius: var(--radius);
  background: #fff7e8;
  color: #2d2312;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
}

.pricing {
  background: #eef3f7;
}

.centered-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.centered-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 430px;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
}

.price-card.featured {
  border-color: rgba(0, 167, 232, 0.55);
  transform: translateY(-10px);
  box-shadow: 0 24px 65px rgba(0, 167, 232, 0.16);
}

.plan-name {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.price span {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.plan-copy {
  min-height: 78px;
  margin: 0 0 24px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 25px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.install-band {
  padding: clamp(72px, 9vw, 112px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.92), rgba(16, 21, 27, 0.76)),
    url("assets/grandstream-ht813-front.webp") right 2vw center / min(46vw, 640px) auto no-repeat,
    #10151b;
}

.install-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.install-layout > div:first-child p:last-child,
.cta-layout p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.install-panel {
  display: grid;
  gap: 12px;
}

.mini-stat {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.mini-stat span {
  color: var(--amber);
  font-size: 1.55rem;
  font-weight: 900;
}

.mini-stat p {
  margin: 0;
}

.cta-section {
  padding: clamp(58px, 8vw, 90px) 0;
  background: var(--red);
  color: var(--white);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-layout > div {
  max-width: 760px;
}

.cta-section .section-kicker {
  color: #ffe6c0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.7);
  background: #10151b;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-burger {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 clamp(18px, 4vw, 52px);
    background: rgba(16, 21, 27, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-toggle:checked ~ .nav {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 8px;
    padding-bottom: 16px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 880px;
    align-items: flex-start;
  }

  .hero-media {
    width: min(92vw, 720px);
    right: -120px;
    bottom: 84px;
  }

  .pain-grid,
  .two-column,
  .message-layout,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .flow-steps,
  .price-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-line {
    display: none;
  }

  .price-card.featured {
    transform: none;
  }

  .install-band {
    background:
      linear-gradient(90deg, rgba(16, 21, 27, 0.94), rgba(16, 21, 27, 0.9)),
      url("assets/grandstream-ht813-front.webp") right -160px bottom 20px / 560px auto no-repeat,
      #10151b;
  }

  .cta-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    top: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 830px;
    padding: 96px 20px 120px;
  }

  .hero-media {
    width: 660px;
    right: -255px;
    bottom: 90px;
    opacity: 0.76;
  }

  .hero-proof {
    bottom: 18px;
  }

  .hero-proof span {
    min-height: 32px;
    font-size: 0.84rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .message-layout,
  .pain-grid {
    gap: 24px;
  }

  .price-card {
    min-height: auto;
    padding: 24px;
  }

  .plan-copy {
    min-height: auto;
  }

  .mini-stat {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

.button.dark {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(18, 20, 23, 0.1);
}

.whatsapp-teaser {
  background: linear-gradient(135deg, #ecfff7 0%, #f7f9fb 48%, #fff6df 100%);
  border-top: 1px solid var(--line);
}

.whatsapp-teaser-layout,
.wa-hero-layout,
.package-layout,
.use-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.whatsapp-copy h2,
.wa-copy h1,
.wa-benefits h2,
.use-layout h2,
.package-copy h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

.whatsapp-copy h2,
.wa-benefits h2,
.use-layout h2,
.package-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.whatsapp-copy p:not(.section-kicker),
.package-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.teaser-actions .button.dark {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.phone-preview {
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 22px 18px 20px;
  border: 10px solid #11161c;
  border-radius: 34px;
  background: #e7f5ec;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.phone-preview-large {
  width: min(390px, 100%);
  min-height: 610px;
}

.phone-top {
  width: 108px;
  height: 22px;
  margin: 0 auto 18px;
  border-radius: 0 0 16px 16px;
  background: #11161c;
}

.chat-date {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 5px 12px;
  border-radius: 8px;
  color: #68736f;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-bubble,
.chat-link {
  max-width: 88%;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.chat-bubble.inbound {
  background: var(--white);
  color: #1f2a2f;
}

.chat-bubble.outbound,
.chat-link {
  margin-left: auto;
  background: #dcf8c6;
  color: #203322;
}

.chat-bubble.short {
  width: fit-content;
}

.chat-link {
  border: 1px solid rgba(0, 184, 148, 0.32);
  color: #05785f;
}

.chat-media-carousel {
  position: relative;
  width: 88%;
  aspect-ratio: 16 / 9;
  margin: 12px 0 0 auto;
  border: 1px solid rgba(0, 184, 148, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: #173328;
}

.chat-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.chat-media.is-active {
  opacity: 1;
}

.chat-carousel-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.chat-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(10, 28, 22, 0.55);
  cursor: pointer;
}

.chat-carousel-dots button.is-active {
  background: #ffffff;
}

.chat-permission {
  width: 88%;
  margin: 12px 0 0 auto;
  color: #52645c;
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: right;
}

.whatsapp-page {
  background: #f5faf7;
}

.whatsapp-header {
  background: rgba(10, 28, 22, 0.88);
}

.wa-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 35, 28, 0.96), rgba(18, 20, 23, 0.92)),
    #0d221c;
  overflow: hidden;
}

.wa-copy h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 6vw, 6.3rem);
}

.wa-phone-stage {
  position: relative;
}

.wa-phone-stage::before {
  content: "WhatsApp";
  position: absolute;
  right: 0;
  top: -42px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

.wa-benefits {
  background: var(--white);
}

.wa-offer-strip {
  color: var(--white);
  background: #0a1c16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-strip-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
}

.offer-strip-layout h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.offer-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-pills span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px;
  border-radius: var(--radius);
  color: #08251e;
  background: var(--teal);
  font-weight: 900;
  text-align: center;
}

.wa-split {
  background: #edf7f2;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split-grid article,
.campaign-grid article {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.split-grid article.marketing-side {
  border-color: rgba(255, 176, 32, 0.46);
  background: #fffaf0;
}

.split-grid article.switchboard-side {
  border-color: rgba(0, 167, 232, 0.38);
  background: #f1faff;
}

.split-label {
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: #084235;
  background: rgba(0, 201, 154, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-side .split-label {
  color: #6b4700;
  background: #fff2d1;
}

.switchboard-side .split-label {
  color: #07536f;
  background: #dff5ff;
}

.split-grid h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.split-grid ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.split-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 750;
}

.split-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.marketing-side li::before {
  background: var(--amber);
}

.switchboard-side li::before {
  background: var(--blue);
}

@media (max-width: 980px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}

.split-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid rgba(2, 132, 199, 0.28);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-grid article,
.package-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
}

.pack-tiers {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.pack-tiers-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.pack-tiers > p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.pack-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pack-tier {
  padding: 12px 6px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.pack-tier b {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
}

.pack-tier span {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  color: #047857;
}

.pack-tier small {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  color: var(--muted);
}

.wa-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 22px auto 0;
}

.wa-services span {
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.benefit-grid article {
  padding: 22px;
}

.benefit-grid h3 {
  margin: 16px 0 8px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.wa-use {
  background: #102019;
  color: var(--white);
}

.use-list {
  display: grid;
  gap: 12px;
}

.use-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.use-list strong {
  color: var(--white);
}

.wa-campaigns {
  background: var(--white);
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.campaign-grid article {
  min-height: 165px;
}

.campaign-grid b,
.campaign-grid span {
  display: block;
}

.campaign-grid b {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.campaign-grid span {
  color: var(--muted);
}

.wa-package {
  background: #edf7f2;
}

.package-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.package-card {
  padding: 30px;
}

.package-includes {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #493000;
  background: #ffe5a3;
  font-size: 0.75rem;
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.package-copy .button {
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.12);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form label span {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid rgba(94, 104, 116, 0.22);
  border-radius: 8px;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.15);
}

.honey-field {
  position: absolute;
  left: -9999px;
}

.form-privacy {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.88rem !important;
}

.form-privacy a {
  color: var(--teal);
  font-weight: 850;
}

.contact-form .button {
  width: 100%;
  margin-top: 0;
  border: 0;
  cursor: pointer;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 21, 27, 0.58);
  backdrop-filter: blur(8px);
}

.success-modal.is-visible {
  display: flex;
}

.success-modal-card {
  width: min(100%, 440px);
  padding: clamp(26px, 4vw, 38px);
  text-align: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(16, 21, 27, 0.28);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from {
    transform: translateY(10px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.success-modal-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  color: #062f28;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(0, 184, 148, 0.28);
}

.success-modal-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.success-modal-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
}

.success-modal-btn {
  width: min(100%, 220px);
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .whatsapp-teaser-layout,
  .wa-hero-layout,
  .package-layout,
  .use-layout,
  .offer-strip-layout {
    grid-template-columns: 1fr;
  }

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

  .offer-pills {
    grid-template-columns: 1fr;
  }

  .wa-hero {
    min-height: auto;
    padding: 106px 0 76px;
  }

  .wa-phone-stage::before {
    right: auto;
    left: 0;
  }
}

@media (max-width: 620px) {
  .whatsapp-teaser-layout,
  .wa-hero-layout,
  .package-layout,
  .use-layout,
  .offer-strip-layout {
    gap: 28px;
  }

  .benefit-grid,
  .split-grid,
  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .phone-preview,
  .phone-preview-large {
    width: min(100%, 340px);
    min-height: 0;
    border-width: 8px;
    border-radius: 28px;
  }

  .chat-bubble,
  .chat-link {
    max-width: 94%;
    font-size: 0.92rem;
  }

  .wa-copy h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .package-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-copy,
.wa-copy,
.whatsapp-copy,
.copy-block,
.package-copy {
  min-width: 0;
}

.hero h1,
.wa-copy h1,
.pain-grid h2,
.copy-block h2,
.flow-head h2,
.message h2,
.centered-heading h2,
.install-layout h2,
.cta-layout h2,
.whatsapp-copy h2,
.wa-benefits h2,
.use-layout h2,
.package-copy h2 {
  overflow-wrap: break-word;
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
  }

  .header-cta {
    max-width: 136px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 790px;
    padding: 92px 20px 126px;
  }

  .hero-media {
    width: 500px;
    right: -260px;
    bottom: 170px;
    opacity: 0.28;
  }

  .hero h1,
  .wa-copy h1 {
    font-size: clamp(2.05rem, 10.8vw, 3.35rem);
    line-height: 1.05;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .wa-hero {
    padding: 94px 0 68px;
  }

  .wa-phone-stage::before {
    display: none;
  }
}

.wa-referral {
  background: linear-gradient(135deg, #fff9e8 0%, #f4fbf8 52%, #eef8ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.referral-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.referral-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.referral-copy > p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.referral-steps div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 184, 148, 0.18);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.referral-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #08362e;
  background: var(--teal);
  font-weight: 900;
}

.referral-steps p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.referral-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  color: #1b1608;
  background: var(--white);
  border: 1px solid rgba(255, 176, 32, 0.42);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.referral-card::before {
  content: "";
  position: absolute;
  inset: -90px -70px auto auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.22);
}

.referral-label {
  position: relative;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #6b4700;
  background: #fff2d1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referral-card h3 {
  position: relative;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.referral-card > p:not(.referral-label) {
  position: relative;
  margin: 18px 0 0;
  color: #5f4a16;
  font-weight: 800;
}

.coupon-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border: 2px dashed rgba(255, 176, 32, 0.85);
  border-radius: var(--radius);
  background: #fffaf0;
}

.coupon-row span:first-child {
  color: #0b6d58;
  font-size: 1.8rem;
  font-weight: 950;
}

.coupon-row span:last-child {
  align-self: center;
  color: #6b4700;
  font-weight: 850;
}

.referral-card small {
  position: relative;
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .referral-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-page .wa-phone-stage::before,
  .whatsapp-page .phone-top,
  .whatsapp-page .chat-date {
    display: none;
  }

  .whatsapp-page .phone-preview-large {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-areas:
      "media message"
      "media link"
      "permission permission";
    gap: 10px;
    width: min(100%, 680px);
    min-height: 0;
    padding: 12px;
    border-width: 5px;
    border-radius: 14px;
  }

  .whatsapp-page .chat-media-carousel {
    grid-area: media;
    width: 100%;
    height: 100%;
    min-height: 142px;
    margin: 0;
    object-fit: cover;
  }

  .whatsapp-page .chat-bubble.outbound {
    grid-area: message;
  }

  .whatsapp-page .chat-link {
    grid-area: link;
  }

  .whatsapp-page .chat-bubble.outbound,
  .whatsapp-page .chat-link {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .whatsapp-page .chat-permission {
    grid-area: permission;
    width: 100%;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .referral-layout {
    gap: 28px;
  }

  .referral-steps {
    grid-template-columns: 1fr;
  }

  .coupon-row {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .whatsapp-page .wa-copy h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
    max-width: 10ch;
  }

  .whatsapp-page .hero-lead {
    max-width: 31ch;
  }

  .whatsapp-page .wa-hero {
    padding: 90px 0 26px;
  }

  .whatsapp-page .wa-hero-layout {
    gap: 22px;
  }

  .whatsapp-page .wa-phone-stage::before,
  .whatsapp-page .phone-top,
  .whatsapp-page .chat-date {
    display: none;
  }

  .whatsapp-page .phone-preview-large {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas:
      "media message"
      "media link"
      "permission permission";
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 10px;
    border-width: 4px;
    border-radius: 12px;
  }

  .whatsapp-page .chat-media-carousel {
    grid-area: media;
    width: 100%;
    height: 100%;
    min-height: 118px;
    margin: 0;
    object-fit: cover;
  }

  .whatsapp-page .chat-bubble.outbound {
    grid-area: message;
  }

  .whatsapp-page .chat-link {
    grid-area: link;
  }

  .whatsapp-page .chat-bubble.outbound,
  .whatsapp-page .chat-link {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .whatsapp-page .chat-permission {
    grid-area: permission;
    width: 100%;
    margin: 0;
    font-size: 0.66rem;
    text-align: center;
  }
}

section[id] {
  scroll-margin-top: 92px;
}

/* Refined problem section */
.pain-band {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 112px) 0;
  background:
    radial-gradient(620px 340px at 8% 12%, rgba(0, 167, 232, 0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.pain-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 167, 232, 0.4), transparent);
}

.pain-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.pain-head {
  position: relative;
}

.pain-head h2 {
  max-width: 9.5ch;
}

.pain-proof {
  display: grid;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.96), rgba(32, 39, 46, 0.94));
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.16);
}

.pain-proof strong {
  color: var(--amber);
  font-size: 1.42rem;
  line-height: 1;
}

.pain-proof span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.pain-list {
  gap: 14px;
  color: var(--ink);
  font-size: 1rem;
}

.pain-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 229, 235, 0.92);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.pain-card.accent {
  border-color: rgba(255, 176, 32, 0.48);
  background: linear-gradient(135deg, #fffaf0, #ffffff 62%);
}

.pain-index {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #063443;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(0, 167, 232, 0.18);
}

.pain-card.accent .pain-index {
  background: var(--amber);
  box-shadow: 0 12px 26px rgba(255, 176, 32, 0.22);
}

.pain-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.48;
}

@media (max-width: 980px) {
  .pain-head h2 {
    max-width: 13ch;
  }
}

@media (max-width: 620px) {
  .pain-band {
    padding: 64px 0;
  }

  .pain-head h2 {
    max-width: 100%;
  }

  .pain-proof {
    margin-top: 22px;
  }

  .pain-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .pain-index {
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* Legibilidad mínima para anuncios vistos desde el móvil. */
@media (max-width: 620px) {
  body { font-size: 1.0625rem; }
  .eyebrow,
  .section-kicker,
  .plan-name,
  .plan-includes,
  .pack-tiers-label,
  .contact-form label span { font-size: .9rem; }
  .pricing-note,
  .pack-tiers > p,
  .form-privacy,
  .credit-tags span { font-size: 1rem !important; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 1rem; }
}
