@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #121110;
  --bg-soft: #191715;
  --surface: #201d1a;
  --surface-2: #28231f;
  --text: #f7f1ea;
  --muted: #bdb2a8;
  --quiet: #8f857c;
  --border: rgba(243, 215, 193, 0.14);
  --border-strong: rgba(237, 170, 120, 0.34);
  --accent: #b75429;
  --accent-bright: #edaa78;
  --accent-soft: rgba(207, 106, 60, 0.14);
  --shadow: 0 28px 80px rgba(49, 24, 11, 0.38);
  --radius: 18px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f6f2;
  --bg-soft: #f0ece6;
  --surface: #ffffff;
  --surface-2: #f4efe9;
  --text: #231d19;
  --muted: #665d56;
  --quiet: #837970;
  --border: rgba(91, 64, 48, 0.16);
  --border-strong: rgba(166, 75, 34, 0.34);
  --accent: #a64b22;
  --accent-bright: #c96637;
  --accent-soft: rgba(166, 75, 34, 0.1);
  --shadow: 0 28px 80px rgba(67, 41, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Reserva espacio para la barra fija, incluso cuando ocupa dos filas. */
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 82% 5%, var(--accent-soft), transparent 30rem),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 64px 64px, 64px 64px, auto;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 34rem);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--accent);
  color: #fffaf6;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.nav-inner,
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span {
  color: var(--accent-bright);
}

.brand > .brand-name {
  color: var(--text);
}

@media (max-width: 720px) {
  .site-nav .nav-inner { gap: 12px; flex-wrap: wrap; padding-block: 10px; }
  .site-nav .brand { gap: 6px; font-size: 17px; }
  .site-nav .brand img { width: 28px; height: 28px; }
  .site-nav .nav-actions { gap: 8px; margin-left: auto; }
  .site-nav .button { padding-inline: 12px; font-size: 13px; }
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent-bright);
}

.theme-toggle {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: 700 12px/1 "Manrope", sans-serif;
  transition: transform 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: #fffaf6;
  box-shadow: 0 15px 32px -18px var(--accent-bright);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.breadcrumbs {
  padding-top: 30px;
  color: var(--quiet);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--border-strong);
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  min-height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 54px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.6vw, 60px);
  line-height: 1.02;
}

h1 span {
  color: var(--accent-bright);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

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

.screen-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-frame::before {
  content: "";
  display: block;
  height: 11px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--surface-2));
}

.screen-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top left;
}

.signal-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.signal-item {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px;
}

.signal-item + .signal-item {
  border-left: 1px solid var(--border);
}

.signal-item strong {
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.signal-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section-compact {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2,
.editorial-copy h2,
.cta-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.section-header p,
.editorial-copy p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 74px;
  align-items: start;
}

.editorial-copy {
  position: sticky;
  top: 118px;
}

.outcome-list {
  display: grid;
  gap: 0;
}

.outcome {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.outcome:first-child {
  border-top: 1px solid var(--border);
}

.outcome-index {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.outcome h3 {
  margin-bottom: 7px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.outcome p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
}

.screen-frame picture,
.gallery picture {
  display: block;
}

.gallery figure:last-child {
  margin-top: 56px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  object-fit: contain;
  object-position: top left;
  box-shadow: var(--shadow);
}

.gallery figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.capability-group {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px;
}

.capability-group:nth-child(2) {
  background: linear-gradient(145deg, var(--accent-soft), var(--surface));
}

.capability-group:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
  background:
    radial-gradient(circle at 90% 20%, var(--accent-soft), transparent 22rem),
    var(--surface);
}

.capability-group h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.capability-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-group li {
  position: relative;
  padding: 11px 0 11px 23px;
  color: var(--muted);
}

.capability-group li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--accent-bright);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 72px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 118px;
}

.faq-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.7vw, 46px);
  line-height: 1.08;
}

.faq-intro p {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  position: relative;
  cursor: pointer;
  padding: 25px 48px 25px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 8px;
  color: var(--accent-bright);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 720px;
  margin: 0;
  padding: 0 42px 25px 0;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.related-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.related-card:nth-child(2) {
  background: linear-gradient(145deg, var(--accent-soft), var(--surface));
}

.related-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 170px;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.related-card small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.related-card h3 {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 25px;
  line-height: 1.15;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%, rgba(237, 170, 120, 0.2), transparent 20rem),
    var(--surface);
  padding: 48px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 720px;
}

.cta-panel p {
  max-width: 640px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-soft) 76%, transparent);
  padding: 58px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 72px;
  padding-bottom: 38px;
}

.footer-about p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-links a,
.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--quiet);
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .editorial-grid,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 40px;
  }

  .editorial-copy,
  .faq-intro {
    position: static;
  }

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

  .signal-item:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border);
  }

  .signal-item:nth-child(2) {
    border-left: 0;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-actions .button-secondary {
    display: none;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-compact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .signal-grid,
  .gallery,
  .capability-grid,
  .capability-group:nth-child(3),
  .related-grid,
  .cta-panel,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .signal-item:first-child {
    grid-column: auto;
    min-height: auto;
    border-bottom: 1px solid var(--border);
    border-left: 0;
    padding: 22px 0;
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .gallery figure:last-child {
    margin-top: 0;
  }

  .capability-group:nth-child(3),
  .related-card:nth-child(3) {
    grid-column: auto;
  }

  .capability-group,
  .related-card {
    padding: 24px;
  }

  .related-card,
  .related-card:nth-child(3) {
    min-height: 180px;
  }

  .cta-panel {
    padding: 30px;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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

}

/* Formato comercial compartido por las siete páginas de producto. */
body.commercial-page {
  background: var(--bg);
}

.commercial-page::before {
  display: none;
}

.commercial-page .hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 64px 72px;
}

.commercial-illustration { display: block; min-width: 0; }
.commercial-illustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.commercial-page h1 {
  max-width: 15ch;
  font-size: clamp(44px, 5.6vw, 80px);
  text-wrap: balance;
}

.commercial-page .hero-copy > p {
  max-width: 52ch;
}

.buying-moments {
  border-top: 1px solid var(--border-strong);
  padding-block: 32px 48px;
}

.buying-moments h2 {
  max-width: none;
  margin-bottom: 28px;
  font-size: 28px;
  line-height: 1.15;
}

.buying-moments dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.buying-moments dl > div { padding-block: 18px; border-top: 1px solid var(--border); }
.buying-moments dt { font-weight: 700; font-size: 15px; }
.buying-moments dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.commercial-page .editorial-grid {
  border-top: 1px solid var(--border);
}

.commercial-page .outcome {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.commercial-page .ordered-outcomes .outcome {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
}

.commercial-page .capability-group {
  background: none;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
}

.commercial-page .cta-panel {
  background: var(--bg-soft);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .commercial-page .hero { grid-template-columns: minmax(0, 1fr); }
  .commercial-page h1 { max-width: 17ch; }
  .commercial-illustration { width: 100%; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .commercial-page .hero { padding-block: 40px 64px; gap: 48px; }
  .commercial-page h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .commercial-page .section { padding-block: 64px; }
  .buying-moments h2 { font-size: 26px; }
  .buying-moments dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media print {
  .site-nav,
  .hero-actions,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }
}
