:root {
  --marketing-navy: #082f5b;
  --marketing-deep: #061f3e;
  --marketing-blue: #0b63a5;
  --marketing-teal: #149aac;
  --marketing-pale: #eff8fa;
  --marketing-border: #d9e4eb;
}

.marketing-body,
.access-body {
  background: #fff;
  color: #0d2948;
}

.marketing-body .topbar,
.access-body .topbar,
.marketing-body > .skip-link + .topbar,
.access-body > .skip-link + .topbar {
  display: none;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  width: min(100% - 64px, 1500px);
  min-height: 92px;
  margin: 0 auto;
  gap: 32px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: var(--marketing-deep);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.08;
  text-decoration: none;
}

.site-brand img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.site-brand--text {
  color: var(--marketing-navy);
  text-decoration: none;
}

.site-brand--text span {
  font-family: Georgia, 'Times New Roman', serif;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 50px);
}

.site-nav a {
  padding: 34px 0 30px;
  border-bottom: 2px solid transparent;
  color: #183a5c;
  font-size: 0.82rem;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: var(--marketing-teal);
}

.site-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid var(--marketing-navy);
  border-radius: 5px;
  background: linear-gradient(135deg, #0a4778, #075f91);
  box-shadow: 0 10px 24px rgba(4, 49, 88, 0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.marketing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(4, 49, 88, 0.2);
}

.marketing-button--outline {
  border-color: #7fa5c1;
  background: #fff;
  box-shadow: none;
  color: var(--marketing-navy);
}

.marketing-button--large {
  min-height: 52px;
  padding-inline: 30px;
}

.marketing-button--light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  width: min(100% - 64px, 1500px);
  min-height: 680px;
  margin: 0 auto;
  padding: 70px 0 86px;
  gap: clamp(48px, 6vw, 98px);
}

.marketing-kicker {
  color: var(--marketing-teal);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marketing-hero h1,
.marketing-section h2,
.capability-section h2,
.industry-section h2,
.marketing-cta h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.marketing-hero h1 {
  max-width: 650px;
  margin: 18px 0 22px;
  font-size: clamp(3.3rem, 5.3vw, 6rem);
  line-height: 0.98;
}

.marketing-hero__copy > p {
  max-width: 620px;
  margin: 0;
  color: #526d88;
  font-size: 1.12rem;
  line-height: 1.75;
}

.marketing-hero__actions {
  display: flex;
  align-items: center;
  margin-top: 36px;
  gap: 28px;
}

.text-link {
  color: var(--marketing-navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  margin-left: 8px;
  color: var(--marketing-teal);
}

.marketing-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.marketing-proof li {
  display: grid;
  padding: 0 20px;
  border-left: 1px solid var(--marketing-border);
  gap: 5px;
}

.marketing-proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.marketing-proof b {
  font-size: 0.8rem;
}

.marketing-proof span {
  color: #6f8295;
  font-size: 0.7rem;
  line-height: 1.4;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 62px 1fr;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid #d3e0e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(23, 70, 102, 0.16);
}

.preview-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px 10px;
  background: linear-gradient(180deg, #0a416d, #052f59);
  gap: 25px;
}

.preview-rail b {
  color: #fff;
  font-size: 0.75rem;
}

.preview-rail span {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
}

.preview-main {
  padding: 22px;
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
}

.preview-title span {
  padding: 7px 10px;
  border: 1px solid var(--marketing-border);
  border-radius: 4px;
  color: #668099;
  font-size: 0.64rem;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  gap: 12px;
}

.preview-kpis article,
.preview-charts article {
  padding: 15px;
  border: 1px solid #e2e9ee;
  border-radius: 6px;
}

.preview-kpis small,
.preview-kpis strong,
.preview-kpis em {
  display: block;
}

.preview-kpis small { color: #668099; font-size: 0.61rem; }
.preview-kpis strong { margin-top: 7px; font-size: 1.35rem; }
.preview-kpis em { margin-top: 5px; color: #209b70; font-size: 0.58rem; font-style: normal; }

.preview-charts {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  min-height: 210px;
  margin-top: 12px;
  gap: 12px;
}

.preview-charts b { font-size: 0.68rem; }

.line-chart div {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 130px;
  margin-top: 25px;
  border-bottom: 1px solid #dce5eb;
  background: repeating-linear-gradient(to top, transparent 0 32px, #edf2f5 33px);
}

.line-chart i {
  width: 8%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #0b79bd, #2bb1bb);
}

.line-chart i:nth-child(1) { height: 24%; }
.line-chart i:nth-child(2) { height: 46%; }
.line-chart i:nth-child(3) { height: 38%; }
.line-chart i:nth-child(4) { height: 63%; }
.line-chart i:nth-child(5) { height: 75%; }
.line-chart i:nth-child(6) { height: 88%; }

.donut-card {
  display: grid;
  align-content: start;
  justify-items: center;
}

.css-donut {
  width: 102px;
  height: 102px;
  margin-top: 35px;
  border-radius: 50%;
  background: conic-gradient(#0b74ae 0 38%, #22a9b7 38% 66%, #f49e49 66% 82%, #dbe6ec 82%);
  box-shadow: inset 0 0 0 25px #fff;
}

.preview-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  gap: 8px;
}

.preview-bottom span {
  padding: 13px 7px;
  border-radius: 5px;
  background: #f2f7fa;
  color: #55728c;
  font-size: 0.62rem;
  text-align: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px max(32px, calc((100% - 1500px) / 2));
  background: linear-gradient(90deg, #f3fafb, #edf7fa);
}

.trust-strip article {
  display: flex;
  align-items: center;
  padding: 6px 28px;
  border-left: 1px solid #cbdde4;
  gap: 15px;
}

.trust-strip article:first-child { border-left: 0; }
.trust-strip article > span { color: var(--marketing-navy); font-size: 1.8rem; }
.trust-strip b, .trust-strip small { display: block; }
.trust-strip b { font-size: 0.76rem; }
.trust-strip small { margin-top: 4px; color: #687f92; font-size: 0.66rem; }

.marketing-section {
  width: min(100% - 64px, 1380px);
  margin: 0 auto;
  padding: 110px 0;
}

.marketing-section__heading {
  max-width: 750px;
  margin: 0 auto 48px;
  text-align: center;
}

.marketing-section h2,
.capability-section h2,
.industry-section h2 {
  margin: 12px 0;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 1.05;
}

.marketing-section__heading p,
.capability-section > div:first-child p {
  color: #637b90;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-grid article {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--marketing-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 70, 99, 0.05);
}

.product-grid .product-card--featured {
  border-color: #7ac3cb;
  background: linear-gradient(145deg, #fff, #f1fbfb);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #edf6f9;
  color: var(--marketing-navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-grid h3 { margin: 25px 0 10px; font-size: 1.15rem; }
.product-grid p { min-height: 72px; color: #61798d; line-height: 1.65; }
.product-grid a { color: var(--marketing-blue); font-size: 0.8rem; font-weight: 850; text-decoration: none; }

.capability-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  padding: 90px max(32px, calc((100% - 1380px) / 2));
  background: linear-gradient(120deg, #eff9fa, #f9fcfd);
  gap: 80px;
}

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

.capability-grid article {
  display: grid;
  min-height: 125px;
  padding: 24px;
  border: 1px solid #d9e8ec;
  border-radius: 7px;
  background: rgba(255,255,255,.76);
}

.capability-grid b { color: var(--marketing-teal); font-family: Georgia, serif; font-size: 1.7rem; }
.capability-grid span { align-self: end; color: #49677e; font-size: 0.8rem; }

.industry-section {
  width: min(100% - 64px, 1380px);
  margin: 0 auto;
  padding: 90px 0;
  text-align: center;
}

.industry-section > div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 40px;
  border: 1px solid var(--marketing-border);
  border-radius: 8px;
}

.industry-section span {
  padding: 30px 15px;
  border-left: 1px solid var(--marketing-border);
  color: #365875;
  font-size: 0.78rem;
  font-weight: 800;
}

.industry-section span:first-child { border-left: 0; }

.marketing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 54px max(32px, calc((100% - 1380px) / 2));
  background: linear-gradient(115deg, #063563, #075584);
  color: #fff;
  gap: 40px;
}

.marketing-cta h2 { margin: 9px 0 0; font-size: clamp(2rem, 3vw, 3.2rem); }
.marketing-cta .marketing-kicker { color: #72d6dd; }

.marketing-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr auto;
  align-items: center;
  padding: 55px max(32px, calc((100% - 1380px) / 2));
  border-bottom: 1px solid #e1e8ed;
  gap: 35px;
}

.site-brand--footer img { width: 42px; height: 42px; }
.marketing-footer p { color: #6a8193; font-size: 0.77rem; line-height: 1.6; }
.marketing-footer > div:nth-of-type(2) { display: flex; gap: 20px; }
.marketing-footer a { color: #3a5b75; font-size: 0.74rem; text-decoration: none; }
.marketing-footer small { color: #8193a0; font-size: 0.67rem; }

/* Acceso por servicio */
.access-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 20%, rgba(27, 159, 179, .09), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f6fafc 100%);
}

.access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 56px, 1400px);
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid #eef2f5;
}

.access-header a:last-child { color: #40617d; font-size: .78rem; text-decoration: none; }

.access-layout {
  display: grid;
  grid-template-columns: minmax(440px, .9fr) minmax(480px, .75fr);
  align-items: center;
  justify-content: center;
  width: min(100% - 56px, 1280px);
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 60px 0 80px;
  gap: clamp(60px, 9vw, 130px);
}

.access-intro h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
}

.access-intro > p { max-width: 520px; color: #607991; font-size: 1rem; line-height: 1.65; }

.service-list {
  display: grid;
  margin-top: 36px;
  gap: 14px;
}

.service-choice {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  min-height: 98px;
  padding: 17px;
  border: 1px solid #d8e3ea;
  border-radius: 9px;
  background: rgba(255,255,255,.85);
  color: #153652;
  text-decoration: none;
  gap: 18px;
}

.service-choice--selected { border: 2px solid #4fa5d1; box-shadow: 0 12px 28px rgba(26,103,151,.08); }
.service-choice > span:first-child { display: grid; place-items:center; width:58px; height:58px; border-radius:12px; background:#eef5fa; color:#075b99; font-weight:900; }
.service-choice b, .service-choice small { display:block; }
.service-choice small { margin-top:6px; color:#6c8295; line-height:1.45; }
.service-choice > i { color:#1467a3; font-size:1.4rem; font-style:normal; }

.access-note { display:flex; margin-top:28px; padding:20px; border-radius:8px; background:#eef7fa; color:#49677e; font-size:.78rem; line-height:1.55; gap:15px; }
.access-note b { color:#173c5c; }

.access-card {
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid #d6e1e8;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 70px rgba(28,63,91,.13);
}

.access-lock { display:grid; place-items:center; width:82px; height:82px; margin:0 auto; border-radius:50%; background:#edf5fb; color:#07548f; font-size:2rem; }
.access-card h2 { margin:22px 0 5px; font-family:Georgia,serif; font-size:2rem; text-align:center; }
.access-card > p { margin:0 0 28px; color:#718699; text-align:center; }
.access-card .form-stack { gap:17px; }
.access-card .button--primary { min-height:52px; margin-top:7px; background:linear-gradient(135deg,#073c6c,#075a8c); }
.access-security { display:flex; align-items:center; justify-content:center; margin-top:24px; color:#7a8d9e; font-size:.72rem; gap:8px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display:none; }
  .marketing-hero { grid-template-columns: 1fr; padding-top:50px; }
  .marketing-hero__copy { max-width:780px; }
  .dashboard-preview { max-width:850px; }
  .trust-strip { grid-template-columns:repeat(2,1fr); }
  .trust-strip article:nth-child(3) { border-left:0; }
  .product-grid { grid-template-columns:1fr; }
  .product-grid article { min-height:0; }
  .capability-section { grid-template-columns:1fr; }
  .industry-section > div { grid-template-columns:repeat(3,1fr); }
  .industry-section span:nth-child(4) { border-left:0; }
  .marketing-footer { grid-template-columns:1fr 1fr; }
  .access-layout { grid-template-columns:1fr; max-width:720px; }
}

@media (max-width: 720px) {
  .site-header { width:min(100% - 28px,1500px); min-height:76px; }
  .site-brand span { display:none; }
  .site-brand img { width:42px; height:42px; }
  .site-actions .marketing-button:last-child { display:none; }
  .marketing-hero { width:min(100% - 28px,1500px); min-height:auto; padding:55px 0; }
  .marketing-hero h1 { font-size:clamp(3rem,14vw,4.4rem); }
  .marketing-hero__actions { align-items:stretch; flex-direction:column; }
  .marketing-proof { grid-template-columns:1fr; gap:18px; }
  .marketing-proof li { padding:0; border:0; }
  .dashboard-preview { grid-template-columns:45px 1fr; min-height:430px; }
  .preview-kpis { grid-template-columns:1fr; }
  .preview-kpis article:nth-child(n+2) { display:none; }
  .preview-charts { grid-template-columns:1fr; }
  .donut-card { display:none; }
  .preview-bottom { grid-template-columns:repeat(2,1fr); }
  .trust-strip { grid-template-columns:1fr; padding:22px 18px; }
  .trust-strip article { border-left:0; border-top:1px solid #cbdde4; }
  .trust-strip article:first-child { border-top:0; }
  .marketing-section,.industry-section { width:min(100% - 28px,1380px); padding:72px 0; }
  .product-grid article { padding:26px; }
  .capability-section { padding:72px 18px; gap:35px; }
  .capability-grid { grid-template-columns:1fr; }
  .industry-section > div { grid-template-columns:repeat(2,1fr); }
  .industry-section span:nth-child(odd) { border-left:0; }
  .industry-section span:nth-child(4) { border-left:1px solid var(--marketing-border); }
  .marketing-cta { align-items:flex-start; flex-direction:column; padding:45px 22px; }
  .marketing-footer { grid-template-columns:1fr; padding:42px 22px; }
  .marketing-footer > div:nth-of-type(2) { flex-wrap:wrap; }
  .access-header { width:min(100% - 28px,1400px); }
  .access-layout { width:min(100% - 28px,1280px); padding:40px 0; }
  .access-intro h1 { font-size:3rem; }
  .service-choice { grid-template-columns:48px 1fr auto; min-height:88px; padding:13px; }
  .service-choice > span:first-child { width:48px; height:48px; }
  .access-card { padding:28px 20px; }
}

.validation-page {
  display: grid;
  min-height: calc(100vh - 92px);
  padding: 70px 22px;
  place-items: start center;
  background: radial-gradient(circle at 50% 0, #eaf8fa, #f8fbfc 45%, #fff 100%);
}

.validation-card {
  width: min(720px, 100%);
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--marketing-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(22,63,91,.12);
  text-align: center;
}

.validation-mark {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: #fff3df;
  color: #d87a0d;
  font-size: 2.2rem;
  font-weight: 900;
}

.validation-mark--valid { background:#e8f8ed; color:#168a42; }
.validation-card h1 { margin:12px 0; font-family:Georgia,serif; font-size:clamp(2.2rem,6vw,4.2rem); letter-spacing:-.045em; }
.validation-card > p { max-width:560px; margin:0 auto 30px; color:#637c91; line-height:1.65; }
.validation-details { display:grid; grid-template-columns:1fr 1fr; margin:30px 0; border:1px solid #dfe8ee; border-radius:9px; text-align:left; }
.validation-details div { padding:18px; border-bottom:1px solid #e4ebef; }
.validation-details div:nth-child(odd) { border-right:1px solid #e4ebef; }
.validation-details div:nth-last-child(-n+2) { border-bottom:0; }
.validation-details dt { color:#6d8497; font-size:.65rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.validation-details dd { margin:7px 0 0; color:#153a59; font-weight:800; }
.validation-details small { display:block; margin-top:5px; color:#71889b; font-size:.66rem; font-weight:500; }
.validation-code { display:grid; margin-bottom:30px; padding:17px; border-radius:7px; background:#f0f7fa; gap:7px; }
.validation-code span { color:#6a8194; font-size:.65rem; }
.validation-code code { color:#075692; font-size:1rem; }
.validation-form { display:grid; grid-template-columns:1fr auto; align-items:end; margin:30px 0; gap:10px; text-align:left; }
.validation-form label { display:grid; gap:7px; }
.validation-form label span { color:#294b66; font-size:.72rem; font-weight:800; }

@media (max-width: 600px) {
  .validation-details { grid-template-columns:1fr; }
  .validation-details div:nth-child(odd) { border-right:0; }
  .validation-details div:nth-last-child(2) { border-bottom:1px solid #e4ebef; }
  .validation-form { grid-template-columns:1fr; }
}
