:root {
  --ink-950: #0d1b2a;
  --ink-900: #102033;
  --ink-800: #16324a;
  --teal-800: #155e75;
  --teal-600: #1f9fc2;
  --cyan-400: #33c5e6;
  --green-500: #38a169;
  --amber-400: #f4b942;
  --amber-300: #ffd166;
  --text: #172033;
  --muted: #627285;
  --soft: #f3f7fa;
  --soft-2: #eaf1f5;
  --line: #d8e2ea;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(13, 27, 42, 0.11);
  --shadow-strong: 0 26px 70px rgba(13, 27, 42, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--soft);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern", "liga", "calt";
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

h1,
h2,
h3 {
  color: var(--ink-950);
  font-weight: 850;
  letter-spacing: 0;
}

p,
span,
a,
strong,
input,
select,
textarea,
button {
  letter-spacing: 0;
}

a {
  color: inherit;
}

section {
  padding: 80px 8%;
}

.site-header {
  align-items: center;
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 17px 8%;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo img {
  display: block;
  height: auto;
  width: 168px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
}

.main-nav a {
  color: #dce8ef;
  font-size: 14px;
  font-weight: 760;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  transition: color 0.22s ease;
}

.main-nav a::after {
  background: linear-gradient(90deg, var(--amber-400), var(--cyan-400));
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: width 0.24s ease;
  width: 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.hero {
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0.97) 0%, rgba(13, 27, 42, 0.88) 42%, rgba(21, 94, 117, 0.78) 100%),
    url("../img/fondo-hero-datqon.png") center/cover;
  color: var(--white);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(115deg, rgba(51, 197, 230, 0.08) 1px, transparent 1px),
    linear-gradient(160deg, rgba(244, 185, 66, 0.06) 1px, transparent 1px);
  background-size: 110px 110px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.hero > * {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: 86vh;
}

.about-hero {
  padding-bottom: 92px;
  padding-top: 96px;
}

.eyebrow {
  color: #aeeeff;
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.04;
  margin-bottom: 22px;
  max-width: 780px;
}

h1 span {
  color: var(--amber-400);
}

.hero p {
  color: #e7f2f7;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 720px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  gap: 9px;
  font-size: 15px;
  font-weight: 820;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-300));
  box-shadow: 0 14px 28px rgba(244, 185, 66, 0.22);
  color: #132235;
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(244, 185, 66, 0.28);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  color: var(--text);
  padding: 32px;
}

.hero-panel h2 {
  color: var(--ink-950);
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 20px;
}

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.metric {
  background: linear-gradient(180deg, #f8fcfd, #eef8fb);
  border: 1px solid rgba(31, 159, 194, 0.18);
  border-radius: 7px;
  padding: 18px;
}

.metric > i {
  align-items: center;
  background: rgba(31, 159, 194, 0.12);
  border-radius: 7px;
  color: var(--teal-600);
  display: inline-flex;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  margin-bottom: 10px;
  width: 38px;
}

.metric strong {
  color: var(--ink-950);
  display: block;
  font-size: 21px;
  margin-bottom: 4px;
}

.metric span {
  color: #526274;
  font-size: 13px;
  font-weight: 720;
}

.section-title {
  margin: 0 auto 44px;
  max-width: 830px;
  min-width: 0;
  text-align: center;
  width: 100%;
}

.section-title h2,
.split h2 {
  color: var(--ink-950);
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.section-title p,
.split p {
  color: var(--muted);
  font-size: 16px;
}

.intro-band,
.process,
.identity {
  background: var(--white);
}

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

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

.solution-card {
  background: #f8fcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 250px;
  padding: 30px;
}

.solution-card.primary {
  background: linear-gradient(135deg, var(--ink-950), var(--teal-800));
  color: var(--white);
}

.solution-card i {
  color: var(--teal-600);
  font-size: 28px;
  margin-bottom: 18px;
}

.solution-card.primary i {
  color: var(--amber-400);
}

.solution-card h3 {
  color: var(--ink-950);
  font-size: 24px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.solution-card.primary h3,
.solution-card.primary p {
  color: var(--white);
}

.solution-card p {
  color: var(--muted);
}

.partner-strip {
  align-items: stretch;
  background: var(--white);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.partner-card {
  background: linear-gradient(135deg, #f8fcfd, #eef8fa);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.partner-card h2 {
  color: var(--ink-950);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.partner-card p {
  color: var(--muted);
  max-width: 760px;
}

.solution .eyebrow,
.contact .eyebrow {
  color: var(--teal-800);
}

.partner-points {
  display: grid;
  gap: 14px;
}

.partner-points div {
  background: var(--ink-950);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--white);
  padding: 22px;
}

.partner-points i {
  color: var(--amber-400);
  font-size: 22px;
  margin-bottom: 12px;
}

.partner-points strong,
.partner-points span {
  display: block;
}

.partner-points strong {
  font-size: 18px;
  margin-bottom: 4px;
}

.partner-points span {
  color: #d7edf3;
  font-size: 14px;
}

.split {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split > *,
.contact > *,
.card,
.sector,
.report-item,
.identity-card,
.approach-item {
  min-width: 0;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-item,
.sector,
.approach-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}

.proof-item strong,
.approach-item strong {
  color: var(--teal-800);
  display: block;
  margin-bottom: 5px;
}

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

.card,
.identity-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 220px;
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.identity-card:hover {
  border-color: rgba(31, 159, 194, 0.45);
  box-shadow: 0 24px 54px rgba(13, 27, 42, 0.15);
  transform: translateY(-4px);
}

.tag,
.identity-card > span:not(.icon-badge) {
  background: #e8f7fa;
  border-radius: 7px;
  color: var(--teal-800);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 16px;
  min-height: 32px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.icon-badge {
  align-items: center;
  background: linear-gradient(135deg, rgba(51, 197, 230, 0.16), rgba(56, 161, 105, 0.14));
  border: 1px solid rgba(31, 159, 194, 0.18);
  border-radius: 8px;
  color: var(--teal-800);
  display: inline-flex;
  font-size: 20px;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.card h3,
.identity-card h3 {
  color: var(--ink-950);
  font-size: 21px;
  line-height: 1.22;
  margin-bottom: 10px;
}

.card p,
.identity-card p {
  color: var(--muted);
  font-size: 15px;
}

.reporting {
  background:
    linear-gradient(135deg, rgba(13, 27, 42, 0.98), rgba(21, 94, 117, 0.95)),
    url("../img/fondo-hero-datqon.png") center/cover;
  color: var(--white);
}

.reporting .section-title h2,
.reporting .section-title p {
  color: var(--white);
}

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

.report-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
}

.report-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  min-height: 128px;
  padding: 20px;
}

.report-item strong {
  color: var(--amber-400);
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.report-item span {
  color: #d7edf3;
  font-size: 14px;
}

.sectors,
.approach,
.scope {
  background: var(--soft-2);
}

.scope-layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

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

.scope-list.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scope-list span {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-950);
  display: inline-flex;
  font-weight: 760;
  gap: 11px;
  min-height: 66px;
  padding: 18px;
}

.scope-list i {
  color: var(--teal-600);
  font-size: 20px;
  width: 24px;
}

.scope-note {
  background: var(--ink-950);
  border-radius: 8px;
  color: var(--white);
  padding: 30px;
}

.scope-note h3 {
  color: var(--white);
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.scope-note p {
  color: #d7edf3;
}

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

.sector strong {
  color: var(--ink-950);
  display: block;
  font-size: 19px;
  line-height: 1.24;
  margin-bottom: 8px;
}

.sector-icon {
  color: var(--teal-600);
  display: block;
  font-size: 24px;
  margin-bottom: 14px;
}

.sector span,
.approach-item span {
  color: var(--muted);
  font-size: 15px;
}

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

.step {
  background: linear-gradient(180deg, #f8fcfd, #eef8fb);
  border: 1px solid rgba(31, 159, 194, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 210px;
  overflow: hidden;
  padding: 30px 24px;
  position: relative;
}

.step span {
  color: rgba(31, 159, 194, 0.12);
  display: block;
  font-size: 126px;
  font-weight: 850;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 0;
}

.step strong {
  color: var(--ink-950);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.cta {
  background: linear-gradient(135deg, var(--ink-950), var(--teal-800));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.45rem);
  line-height: 1.16;
  margin-bottom: 14px;
}

.cta p {
  color: #d7edf3;
  margin: 0 auto 26px;
  max-width: 760px;
}

.contact {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.contact-info h2 {
  color: var(--ink-950);
  font-size: 36px;
  line-height: 1.18;
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-row {
  color: #526274;
  display: grid;
  gap: 10px;
  grid-template-columns: 118px 1fr;
  margin-bottom: 13px;
}

.contact-row strong {
  align-items: center;
  color: var(--ink-950);
  display: inline-flex;
  gap: 7px;
}

.contact-row a {
  color: var(--teal-800);
  font-weight: 760;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

form {
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid,
.approach-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid #cbd7df;
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  margin-bottom: 14px;
  outline: none;
  padding: 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(51, 197, 230, 0.16);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: -2px 0 14px;
}

button {
  background: var(--teal-800);
  border: none;
  border-radius: 7px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 820;
  min-height: 48px;
  transition: background 0.22s ease, transform 0.22s ease;
  width: 100%;
}

button:hover {
  background: #0f4e61;
  transform: translateY(-1px);
}

footer {
  background: var(--ink-950);
  color: #cbd5df;
  font-size: 14px;
  padding: 24px 8%;
  text-align: center;
}

@media (max-width: 1080px) {
  .home-hero,
  .solution-grid,
  .partner-strip,
  .split,
  .scope-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .cards,
  .scope-list,
  .scope-list.wide,
  .sector-grid,
  .identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    column-gap: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 8px;
    width: 100%;
  }

  .main-nav a {
    font-size: 13px;
  }

  section {
    padding: 58px 6%;
  }

  .home-hero {
    gap: 34px;
    min-height: auto;
    padding-top: 64px;
  }

  .about-hero {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .section-title h2,
  .split h2,
  .cta h2,
  .contact-info h2 {
    font-size: 28px;
  }

  .cards,
  .scope-list,
  .scope-list.wide,
  .sector-grid,
  .identity-grid,
  .report-grid,
  .steps,
  .metric-grid,
  .form-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .contact-row {
    gap: 2px;
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .identity-card,
  button {
    transition: none;
  }
}

@media (max-width: 520px) {
  .logo img {
    width: 150px;
  }

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

  h1 {
    font-size: 28px;
    max-width: 340px;
  }

  .hero p {
    font-size: 16px;
    max-width: 340px;
  }

  .hero-panel,
  form {
    padding: 22px;
  }

  .hero-panel h2 {
    font-size: 22px;
  }

  .home-hero > div,
  .hero-panel,
  .section-title {
    max-width: calc(100vw - 48px);
    width: 100%;
  }

  .section-title h2,
  .cta h2 {
    font-size: 25px;
  }
}
