:root {
  --lear-navy: #102944;
  --lear-ink: #142c44;
  --lear-paper: #f7f5ef;
  --lear-rule: #d4d9dd;
  --lear-secondary: #465970;
  --lear-editorial: "Geist", "Segoe UI", sans-serif;
}

#nav, #nav.scrolled {
  min-height: 76px;
  padding: 12px max(26px, calc((100vw - 1240px) / 2));
  gap: 28px;
  background: #102944;
  border-bottom: 1px solid #ffffff28;
  backdrop-filter: none;
}
#nav .nav-logo { margin-left: 0; flex-shrink: 0; }
#nav .nav-logo img { height: 37px; filter: none; }
#nav .nav-links { gap: clamp(12px, 1.4vw, 23px); }
#nav .nav-links a { color: #e6edf5; white-space: nowrap; }
#nav .nav-links a:hover { color: #fff; }
#nav .nav-btn { background: transparent; border: 1px solid #b9d1e6; border-radius: 3px; }
#nav .nav-toggle { border: 0; background: transparent; padding: 10px; }

.hero.hero-editorial {
  display: block;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding: clamp(126px, 13vw, 185px) clamp(24px, 5vw, 82px) 0;
  background: var(--lear-paper);
  color: var(--lear-ink);
}
.hero-editorial .hero-inner {
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(36px, 5.1vw, 82px);
  align-items: center;
}
.hero-editorial .hero-eyebrow {
  margin: 0;
  color: #24597f;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
}
.hero-editorial h1 {
  font-family: var(--lear-editorial);
  font-size: clamp(3.1rem, 5.5vw, 5.35rem);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.045em;
  margin: 24px 0;
}
.hero-editorial h1 em { color: #245e84; font-weight: 400; }
.hero-editorial .hero-desc {
  color: var(--lear-secondary);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
  margin: 0 0 30px;
}
.hero-editorial .hero-ctas { gap: 11px; margin: 0; }
.hero-editorial .hero-ctas a {
  min-height: 49px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 3px;
  font-size: .9rem;
}
.hero-editorial .btn-blue { background: #173b60; color: #fff; border: 1px solid #173b60; }
.hero-editorial .btn-blue:hover { background: #24597f; }
.hero-editorial .btn-ghost { color: #173b60; border: 1px solid #8a9dae; background: transparent; }
.hero-editorial .btn-ghost:hover { background: #e8ebec; }
.hero-editorial a:focus-visible, .stage-service-list a:focus-visible, #nav button:focus-visible {
  outline: 3px solid #528ac0;
  outline-offset: 4px;
}
.hero-product-real { margin: 0; min-width: 0; }
.hero-product-real .capture {
  padding: clamp(10px, 1.4vw, 18px);
  background: #172f48;
  box-shadow: 0 24px 58px #15324b26;
  border-radius: 5px;
}
.hero-product-real img { display: block; width: 100%; height: auto; border-radius: 2px; }
.hero-product-real figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: #42586e; font-size: .84rem; }
.hero-product-real figcaption strong { color: var(--lear-ink); font-weight: 600; }
.proof-bar { background: #102944; border-color: #ffffff28; }
.proof-bar .proof-label { color: #bdccdc; }
.proof-bar .proof-item { color: #e2ecf5; opacity: 1; }

.sol-section, .process-section, .promos-section, .contacto-section {
  color: var(--lear-ink);
  background: var(--lear-paper);
  border-color: var(--lear-rule);
  padding-block: clamp(58px, 7vw, 106px);
}
.sol-section, .promos-section { background: #edf1f4; }
.sol-header .section-sub, .process-step p, .promo-card p, .contacto-section .section-sub { color: var(--lear-secondary); }
.sol-header .tag, .process-inner .tag, .promos-header .tag, .contacto-header .tag { color: #24597f; }
.sol-header .section-title, .ya-section .section-title, .process-section .section-title,
.promos-header .section-title, .nosotros-section .section-title, .contacto-header .section-title {
  font-family: var(--lear-editorial);
  font-weight: 400;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  letter-spacing: -.035em;
}
.sol-grid { gap: 12px; }
.sol-grid .sol-card:not(:nth-child(2)), .promo-card {
  background: #fff;
  color: var(--lear-ink);
  border: 1px solid #d4dce3;
  border-radius: 4px;
  box-shadow: none;
}
.sol-grid .sol-card:not(:nth-child(2)):hover, .promo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #183b5910; }
.sol-grid .sol-card:not(:nth-child(2)) .sol-list li { color: var(--lear-secondary); }
.sol-grid .sol-card:not(:nth-child(2)) .sol-label,
.sol-grid .sol-card:not(:nth-child(2)) .sol-cta, .promo-big, .promo-tag { color: #24597f; }
.cloud-strip { background: #dfe9f1; border-color: #c7d5e0; border-radius: 4px; color: var(--lear-ink); }
.cloud-strip p, .cloud-strip .sol-label { color: var(--lear-secondary); }
.ya-section, .nosotros-section { background: #102944; padding-block: clamp(58px, 7vw, 106px); }
.ya-section .section-sub, .ya-section .ya-card p, .nosotros-section .nos-left p, .nos-feat p { color: #c5d4e4; }
.ya-section .ya-card, .nos-feat { background: #183752; border-color: #3a5973; border-radius: 4px; }
.ya-section .ya-card p, .nos-feat p, .process-step p { font-size: .94rem; }
.ya-section .ya-card h4, .nos-feat h4 { font-size: 1.02rem; }
.process-section .step-circle { color: #24597f; background: #e4edf4; border-color: #b9cbd9; }
.promo-top-bar { background: #315977; }
.promo-btn { background: #173b60; }
.contacto-section .c-form { background: #fff; border-color: #cbd6e0; border-radius: 4px; color: var(--lear-ink); }
.contacto-section .c-form .sub, .contacto-section .c-row p, .contacto-section .fg label { color: var(--lear-secondary); }
.contacto-section .c-form :is(input, select, textarea) { background: #f3f6f8; color: #18354f; border-color: #aebfce; }
.contacto-section .c-form select option { background: #fff; color: #18354f; }
.contacto-section .c-data a { color: #24597f; }
.contacto-section .btn-submit { background: #173b60; }
section[id] { scroll-margin-top: 85px; }

@media (max-width: 1120px) {
  #nav, #nav.scrolled { padding-inline: 24px; }
  #nav .nav-links { gap: 13px; }
  #nav .nav-links a { font-size: .77rem; }
  #nav .nav-btn { padding-inline: 12px; }
}
@media (max-width: 980px) {
  #nav .nav-toggle { display: flex; }
  #nav .nav-links {
    display: none;
    position: absolute;
    inset: 75px 0 auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: #102944;
    border-bottom: 1px solid #ffffff28;
  }
  #nav .nav-links.open { display: flex; }
  #nav .nav-links a { white-space: normal; padding-block: 10px; font-size: .95rem; }
  #nav .nav-links .nav-btn { margin-top: 8px; text-align: center; }
  #nav .nav-links .nav-tel { display: none; }
}
@media (max-width: 760px) {
  .hero.hero-editorial { padding-top: 117px; }
  .hero-editorial .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-editorial h1 { margin: 17px 0 18px; }
  .hero-editorial .hero-desc { margin-bottom: 23px; }
  .hero-editorial .hero-ctas a { flex: 1 1 auto; }
}

/* Apertura de producto */
.hero.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 132px clamp(22px, 5vw, 76px) clamp(30px, 4vw, 62px);
  color: #f4f7fb;
  background: radial-gradient(ellipse at 50% 115%, #284f75 0, #101e30 57%, #0c1522 83%);
}
.hero-stage .hero-inner {
  display: block;
  max-width: 1180px;
  text-align: center;
}
.hero-stage .hero-eyebrow { color: #b8c9da; font-size: .78rem; }
.hero-stage .hero-eyebrow::before { width: 18px; background: #809bb7; }
.hero-stage h1 {
  font-family: var(--lear-editorial);
  font-size: clamp(3rem, 6.2vw, 6.15rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.065em;
  color: #f7f8fa;
  margin: 21px 0 18px;
  text-wrap: balance;
}
.hero-stage h1 em { display: block; color: #a9cbe8; font-weight: inherit; font-style: normal; }
.hero-stage .hero-desc { max-width: 43rem; color: #ced9e4; margin: 0 auto 24px; }
.hero-stage .hero-ctas { justify-content: center; }
.hero-stage .btn-blue { background: #edf4fb; border-color: #edf4fb; color: #142842; }
.hero-stage .btn-blue:hover { background: #cce3f7; }
.hero-stage .btn-ghost { color: #edf4fb; border-color: #7a91aa; }
.hero-stage .btn-ghost:hover { background: #ffffff1a; }
.hero-stage .hero-product-real { margin: clamp(26px, 3.3vw, 46px) auto 0; }
.product-monitor { position: relative; padding-bottom: clamp(23px, 3.1vw, 44px); }
.product-monitor::before, .product-monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.product-monitor::before {
  bottom: 3px;
  width: clamp(53px, 8vw, 112px);
  height: clamp(19px, 3vw, 42px);
  background: linear-gradient(105deg, #263b50, #536981 48%, #2e4359);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.product-monitor::after {
  bottom: 0;
  width: clamp(110px, 18vw, 244px);
  height: 5px;
  border-radius: 50% 50% 2px 2px;
  background: #50667d;
  box-shadow: 0 7px 15px #03090f9c;
}
.hero-stage .capture {
  overflow: hidden;
  position: relative;
  display: block;
  padding: 6px 6px 14px;
  border: 1px solid #546c84;
  border-radius: 7px;
  background: #0b1420;
  box-shadow: 0 24px 54px #02081070;
}
.hero-stage .capture img {
  width: 100%;
  height: clamp(239px, 31vw, 420px);
  object-fit: cover;
  object-position: left top;
  border-radius: 2px;
}
.product-view-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
  gap: clamp(8px, 2vw, 25px);
}
.product-view-controls button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #c8d7e8;
  padding: 8px 4px;
  min-height: 44px;
  font: 500 .84rem var(--lear-editorial);
  cursor: pointer;
}
.product-view-controls button:hover { color: #fff; }
.product-view-controls button[aria-pressed="true"] {
  color: #f3f8fd;
  border-bottom-color: #a9cbe8;
}
.product-view-controls button:focus-visible {
  outline: 2px solid #b8dcff;
  outline-offset: 2px;
}

.tango-buy-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; margin-top:24px; }
.tango-buy-actions .btn-blue { padding:11px 16px; border-radius:3px; background:#173b60; }
.tango-product-link { color:#214e76; text-underline-offset:4px; font-weight:600; }
.product-example { margin:16px 0 0; padding-top:12px; border-top:1px solid #d5e0ea; color:#354b60; line-height:1.55; font-size:.92rem; }
#producto-punto-venta, #producto-estudios-contables { scroll-margin-top:95px; }
.contact-feedback { line-height:1.5; }
.contact-feedback:not(:empty) { padding:8px 0; }
#contact-error { color:#8d2430; font-weight:600; }
#contact-status { color:#234b38; }
.c-form [aria-invalid="true"] { outline:2px solid #9e2832; outline-offset:2px; }

.stage-services {
  position: relative;
  z-index: 1;
  background: #f7f5ef;
  color: #142c44;
  padding: clamp(60px, 9vw, 115px) clamp(22px, 5vw, 76px);
}
.stage-services-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(35px, 7vw, 110px);
  align-items: start;
  max-width: 1180px;
  margin: auto;
}
.stage-services h2 {
  font: 600 clamp(2.6rem, 4.8vw, 4.6rem)/1.02 var(--lear-editorial);
  letter-spacing: -.04em;
  max-width: 13ch;
  margin: 0 0 15px;
}
.stage-services p { color: #465970; font-size: 1rem; line-height: 1.6; margin: 0; }
.stage-service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c5d0d8; }
.stage-service-list a {
  display: block;
  padding: 17px 4px;
  border-bottom: 1px solid #c5d0d8;
  color: #142c44;
  text-decoration: none;
}
.stage-service-list a:hover, .stage-service-list a:focus-visible { background: #e5eef4; }
.stage-service-list strong { display: block; font-size: 1.09rem; margin-bottom: 3px; }
.stage-service-list span { display: block; color: #465970; font-size: .94rem; line-height: 1.5; }
@media (max-width: 760px) {
  .hero.hero-stage { padding-top: 115px; }
  .hero-stage h1 { font-size: clamp(2.5rem, 9.8vw, 4.4rem); }
  .hero-stage .hero-eyebrow { font-size: .67rem; }
  .hero-stage .hero-desc { max-width: 34ch; font-size: .98rem; }
  .hero-stage .hero-ctas a { flex-basis: 100%; }
  .hero-stage .capture { padding: 4px 4px 9px; }
  .hero-stage .capture img { height: clamp(150px, 47vw, 265px); }
  .stage-services-inner { grid-template-columns: 1fr; }
}

.hero-stage, .stage-services, .sol-section, .ya-section, .process-section,
.promos-section, .nosotros-section, .contacto-section, #nav {
  font-family: var(--lear-editorial);
}
.sol-section {
  background: #f0f4f7;
  border-top: 1px solid #d4dfe9;
  padding-inline: clamp(20px, 5vw, 72px);
}
.sol-section .sol-header { text-align: left; margin-bottom: 34px; }
.sol-section .sol-header .section-title {
  color: #102944;
  font-weight: 620;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}
.sol-section .sol-header .section-sub { margin-inline: 0; }
.sol-section .sol-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid #ccd8e3;
  border-radius: 5px;
  background: #fff;
}
.sol-section .sol-grid .sol-card,
.sol-section .sol-grid .sol-card:not(:nth-child(2)) {
  color: #142c44;
  background: #fff;
  padding: clamp(22px, 3vw, 38px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background-color .15s ease;
}
.sol-section .sol-grid .sol-card:nth-child(even) { border-left: 1px solid #ccd8e3; }
.sol-section .sol-grid .sol-card:nth-child(n+3) { border-top: 1px solid #ccd8e3; }
.sol-section .sol-grid .sol-card:hover { background: #f5f9fc; transform: none; box-shadow: none; }
.sol-section .sol-grid .sol-card::after, .sol-section .sol-card > img { display: none; }
.sol-section .sol-card-top { margin-bottom: 14px; }
.sol-section .sol-card h3 { color: #102944; letter-spacing: -.025em; }
.sol-section .sol-card .sol-ico { border: 0; background: transparent; width: auto; height: auto; }
.sol-section .sol-card .sol-ico svg { stroke: #426b92; }
.sol-section .sol-card .sol-label { color: #3c5771; background: transparent; padding: 0; border: 0; border-radius: 0; }
.sol-section .sol-card .sol-list li { color: #364e65; border-color: #e3ebf2; }
.sol-section .sol-card .sol-cta { color: #214e76; }
.capital-product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.capital-product-actions .sol-cta { margin: 0 !important; }
.capital-product-actions .product-details { text-decoration: underline; text-underline-offset: .22em; }
.industry-product {
  max-width: var(--max);
  margin: 18px auto 0;
  padding: clamp(22px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: #e5edf5;
  color: #142c44;
  border: 1px solid #c7d6e3;
  border-radius: 5px;
}
.industry-label { color: #395e81; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.industry-product h3 { margin: 8px 0; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.industry-product p { margin: 0; max-width: 65ch; color: #364e65; line-height: 1.6; }
.industry-cta { flex-shrink: 0; color: #173b60; border: 1px solid #839eb7; padding: 12px 16px; border-radius: 3px; text-decoration: none; font-weight: 600; }
.industry-cta:hover { background: #d8e5f0; }
.industry-cta:focus-visible, .capital-product-actions a:focus-visible { outline: 2px solid #24597f; outline-offset: 3px; }
@media (max-width: 680px) {
  .sol-section .sol-grid { grid-template-columns: 1fr; }
  .sol-section .sol-grid .sol-card:nth-child(even) { border-left: 0; }
  .sol-section .sol-grid .sol-card:nth-child(n+2) { border-top: 1px solid #ccd8e3; }
  .industry-product { flex-direction: column; align-items: flex-start; }
}
