:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #e9f0ee;
  --ink: #172124;
  --muted: #5e6c70;
  --line: rgba(23, 33, 36, 0.14);
  --teal: #12343b;
  --teal-soft: #d8e8e6;
  --green: #2f6b4f;
  --red: #b84d45;
  --gold: #c89c42;
  --blue: #335c81;
  --shadow: 0 22px 60px rgba(18, 52, 59, 0.12);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg) 38%, #edf2f0 100%);
  background-size: 48px 48px, auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--blue));
  pointer-events: none;
}

body,
button,
input,
textarea {
  font: 16px/1.5 Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

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

.shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 247, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  outline: 0;
  color: var(--teal);
  background: rgba(18, 52, 59, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.magnetic-link {
  will-change: transform;
}

.button-small {
  min-height: 42px;
  padding: 0 14px;
  background: white;
}

.button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.button-secondary {
  background: white;
  color: var(--teal);
}

.hero {
  padding: 38px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lead,
.section-copy p,
.section-heading p,
.closing p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.hero-stats div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dfe9e7;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "Panel comercial privado";
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(18, 52, 59, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(18, 52, 59, 0.08);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: top left;
  transform: translateY(var(--hero-shift, 0));
  transition: transform 180ms linear;
}

.signal-band {
  border-block: 1px solid var(--line);
  background: var(--teal);
  color: white;
}

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

.signal-grid div {
  min-height: 118px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.signal-grid div:last-child {
  border-right: 0;
}

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

.signal-grid strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.signal-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: #eef3f1;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 100px;
}

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

.feature-card,
.price-card,
.showcase-item,
.outcome-list div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.reveal-group,
.feature-card,
.showcase-item,
.price-card,
.timeline li,
.faq-list details,
.outcome-list div,
.signal-grid div {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-group.is-visible,
.feature-card.is-visible,
.showcase-item.is-visible,
.price-card.is-visible,
.timeline li.is-visible,
.faq-list details.is-visible,
.outcome-list div.is-visible,
.signal-grid div.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
}

.feature-card:hover,
.showcase-item:hover,
.price-card:hover,
.outcome-list div:hover {
  border-color: rgba(18, 52, 59, 0.28);
  box-shadow: 0 18px 42px rgba(18, 52, 59, 0.1);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.feature-card p,
.price-card li,
.outcome-list p,
.faq-list p,
.timeline span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.showcase-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(18, 52, 59, 0.08);
}

.showcase-item::before {
  content: "Demo CRM seguros";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(18, 52, 59, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(18, 52, 59, 0.08);
}

.showcase-wide {
  grid-row: span 2;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}

.showcase-item:not(.showcase-wide) img {
  max-height: 294px;
}

.showcase-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.showcase-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 40px;
  align-items: start;
}

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

.outcome-list div {
  padding: 24px;
}

.outcome-list strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
}

.section-pricing {
  background: #152f35;
  color: white;
}

.section-pricing .section-heading p,
.section-pricing .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-offer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(200, 156, 66, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.pricing-offer strong {
  color: var(--gold);
}

.pricing-offer span {
  color: rgba(255, 255, 255, 0.76);
}

.price-card {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 28px;
  color: var(--ink);
}

.price-card-featured {
  border-color: rgba(200, 156, 66, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.featured-label {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--gold);
  color: #241c0b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price-top span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price-top p {
  min-height: 72px;
  color: var(--muted);
}

.price,
.monthly {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.price del,
.monthly del {
  display: inline-block;
  margin-bottom: 6px;
  color: #8a9699;
  font-size: 1rem;
  font-weight: 750;
}

.price strong,
.monthly strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.monthly strong {
  color: var(--green);
}

.price span,
.monthly span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: white;
}

.timeline li:nth-child(2),
.timeline li:nth-child(4) {
  border-left-color: var(--gold);
}

.timeline strong {
  color: var(--teal);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 40px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.closing {
  padding: 66px 0;
  background: var(--teal);
  color: white;
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.closing h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.closing p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.closing .eyebrow {
  color: var(--gold);
}

.closing .button-primary {
  border-color: white;
  background: white;
  color: var(--teal);
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-grid,
  .section-grid,
  .outcomes-grid,
  .faq-grid,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

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

  .showcase-wide {
    grid-row: auto;
  }

  .price-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand {
    min-width: 0;
  }

  .button-small {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-stats,
  .feature-list,
  .signal-grid,
  .pricing-grid,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .signal-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child,
  .signal-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .showcase-item figcaption,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .showcase-item figcaption {
    display: block;
  }

  .showcase-item span {
    display: block;
    margin-top: 4px;
  }

  .closing .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-group,
  .feature-card,
  .showcase-item,
  .price-card,
  .timeline li,
  .faq-list details,
  .outcome-list div,
  .signal-grid div {
    opacity: 1;
    transform: none;
  }

  .hero-visual img {
    transform: none;
  }
}
