@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy-950: #06172f;
  --navy-900: #0a2142;
  --navy-800: #10335f;
  --navy-700: #16477f;
  --navy-600: #1d5c9f;
  --blue-100: #dcecff;
  --blue-50: #f2f7fd;
  --ink: #142238;
  --muted: #5e6d82;
  --line: #dbe4ef;
  --white: #ffffff;
  --surface: #f7f9fc;
  --success: #2f7a63;
  --warning: #bd842a;
  --shadow-sm: 0 10px 30px rgba(6, 23, 47, 0.08);
  --shadow-md: 0 22px 60px rgba(6, 23, 47, 0.13);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--navy-700);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-sm {
  padding: 74px 0;
}

.section-soft {
  background: var(--surface);
}

.section-navy {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 18%, rgba(49, 113, 181, 0.32), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(44, 91, 143, 0.25), transparent 28%),
    var(--navy-950);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.section-navy .eyebrow,
.cta-panel .eyebrow {
  color: #9bc7f7;
}

.display,
h1,
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.9rem);
}

h2 {
  font-size: clamp(2.55rem, 4.5vw, 4.8rem);
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.section-navy .lead {
  color: rgba(255,255,255,0.72);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 54px;
}

.section-head > div:first-child {
  max-width: 760px;
}

.section-head .lead {
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 12px 30px rgba(10, 33, 66, 0.22);
}

.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: 0 16px 34px rgba(10, 33, 66, 0.28);
}

.btn-light {
  color: var(--navy-950);
  background: var(--white);
}

.btn-light:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.15);
}

.btn-outline {
  color: var(--navy-900);
  border-color: var(--line);
  background: rgba(255,255,255,0.75);
}

.btn-outline:hover {
  border-color: var(--navy-700);
  background: var(--blue-50);
}

.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.06);
}

.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.1);
}

.icon-arrow {
  width: 16px;
  transition: transform .25s ease;
}

.btn:hover .icon-arrow,
.text-link:hover .icon-arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-size: .9rem;
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.site-header.scrolled {
  border-color: rgba(10,33,66,.08);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 36px rgba(6,23,47,.08);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 15px;
  background: var(--white);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word strong {
  color: var(--navy-950);
  font-size: 1rem;
  letter-spacing: .12em;
}

.brand-word span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 11px 15px;
  border-radius: var(--radius-pill);
  color: #4d5c70;
  font-size: .86rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-900);
  background: var(--blue-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  min-height: 45px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--blue-50);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: var(--radius-pill);
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 98px;
  background:
    radial-gradient(circle at 90% 15%, rgba(72, 137, 205, .18), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
}

.hero::after {
  content: '';
  position: absolute;
  right: -170px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(16,51,95,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(16,51,95,.025), 0 0 0 160px rgba(16,51,95,.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 64px;
}

.hero-copy h1 {
  max-width: 820px;
  color: var(--navy-950);
}

.hero-copy h1 em {
  color: var(--navy-700);
  font-style: italic;
}

.hero-copy .lead {
  margin: 26px 0 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 32px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.hero-trust svg {
  width: 18px;
  color: var(--navy-700);
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-card-main {
  position: absolute;
  inset: 30px 0 35px 52px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 170px 38px 170px 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 10%, rgba(75, 145, 219, .38), transparent 28%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-md);
}

.hero-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-logo-panel {
  position: absolute;
  top: 54px;
  left: 52px;
  right: 52px;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 32px;
  border-radius: 110px 26px 110px 26px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.hero-logo-panel img {
  width: min(100%, 330px);
  max-height: 190px;
  object-fit: contain;
}

.hero-card-content {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 55px;
}

.hero-card-content p {
  max-width: 380px;
  margin-top: 12px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.hero-card-content strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.05rem;
  font-weight: 400;
  line-height: 1.1;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(10,33,66,.08);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.float-card svg {
  width: 21px;
  color: var(--navy-700);
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.float-card strong {
  display: block;
  margin-top: 2px;
  color: var(--navy-950);
  font-size: .88rem;
}

.float-one {
  top: 0;
  right: -8px;
}

.float-two {
  left: 0;
  bottom: 0;
}

/* Stats */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -35px;
}

.stats-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat {
  position: relative;
  padding: 29px 30px;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: var(--line);
}

.stat strong {
  display: block;
  color: var(--navy-900);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

/* Cards and grids */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 72px 24px 72px 24px;
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(16,51,95,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(16,51,95,.025);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #bfd1e5;
  box-shadow: var(--shadow-md);
}

.icon-bubble {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--navy-700);
  background: var(--blue-50);
}

.icon-bubble svg {
  width: 26px;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--navy-950);
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
}

.service-card .text-link {
  position: absolute;
  left: 34px;
  bottom: 32px;
  z-index: 2;
}

/* Why us */
.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 82px;
}

.image-shape {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 170px 34px 170px 34px;
  background:
    radial-gradient(circle at 28% 20%, rgba(87,149,214,.35), transparent 30%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-md);
}

.image-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
}

.shape-copy {
  position: absolute;
  inset: auto 42px 48px;
  z-index: 2;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 70px 22px 70px 22px;
  color: var(--white);
  background: rgba(4,18,38,.7);
  backdrop-filter: blur(16px);
}

.shape-copy small {
  display: block;
  margin-bottom: 10px;
  color: #a9d0f7;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.shape-copy strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.shape-copy p {
  margin-top: 12px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.list-check {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.check-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--navy-700);
  background: var(--blue-50);
}

.check-icon svg {
  width: 21px;
}

.check-item h3 {
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 1rem;
}

.check-item p {
  color: var(--muted);
  font-size: .88rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 64px 22px 64px 22px;
  background: rgba(255,255,255,.055);
}

.process-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #b9d9fa;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.28rem;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.process-card p {
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}

/* Industries */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy-900);
  background: var(--white);
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(6,23,47,.05);
}

.industry-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-600);
}

/* Testimonial */
.quote-card {
  position: relative;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 110px 28px 110px 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  color: var(--blue-100);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: .55;
}

.quote-card blockquote {
  max-width: 870px;
  margin-top: 16px;
  color: var(--navy-950);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
  line-height: 1.25;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-800);
  font-weight: 800;
}

.quote-author strong,
.quote-author span {
  display: block;
}

.quote-author strong {
  color: var(--navy-950);
  font-size: .9rem;
}

.quote-author span {
  color: var(--muted);
  font-size: .76rem;
}

/* FAQ */
.faq-wrap {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item.open {
  border-color: #b6cde4;
  box-shadow: 0 14px 32px rgba(6,23,47,.07);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  text-align: left;
  font-size: .97rem;
  font-weight: 800;
}

.faq-plus {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy-700);
  background: var(--blue-50);
  font-size: 1.25rem;
  transition: transform .25s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: .91rem;
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 58px 62px;
  border-radius: 120px 28px 120px 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(73,139,210,.35), transparent 25%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-md);
}

.cta-panel::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255,255,255,.025);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

.cta-copy h2 {
  font-size: clamp(2.35rem, 4vw, 4.2rem);
}

.cta-copy p {
  max-width: 590px;
  margin-top: 16px;
  color: rgba(255,255,255,.68);
}

.cta-panel .button-row {
  position: relative;
  z-index: 2;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 25%, rgba(73,139,210,.38), transparent 28%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -130px;
  top: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero h1 {
  font-size: clamp(3.25rem, 6.8vw, 6.4rem);
}

.page-hero .lead {
  margin-top: 24px;
  color: rgba(255,255,255,.72);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.62);
  font-size: .8rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb svg {
  width: 13px;
}

/* Services page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 58px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 100px 28px 100px 28px;
  background: var(--white);
}

.service-detail + .service-detail {
  margin-top: 28px;
}

.service-detail:nth-child(even) {
  grid-template-columns: .72fr 1fr;
}

.service-detail:nth-child(even) .service-detail-copy {
  order: 2;
}

.service-detail:nth-child(even) .service-detail-aside {
  order: 1;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--navy-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.service-detail h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 3.5vw, 3.65rem);
}

.service-detail-copy > p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #39495f;
  font-size: .91rem;
}

.feature-list li::before {
  content: '✓';
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-700);
  font-size: .7rem;
  font-weight: 900;
}

.service-detail-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  padding: 34px;
  border-radius: 78px 22px 78px 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(72,137,205,.35), transparent 28%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
}

.service-detail-aside .icon-bubble {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.service-detail-aside small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-detail-aside strong {
  display: block;
  margin-top: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.05rem;
  font-weight: 400;
  line-height: 1.12;
}

.service-detail-aside p {
  margin-top: 13px;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
}

/* About */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 62px 22px 62px 22px;
  background: var(--white);
}

.value-card .number {
  margin-bottom: 44px;
  color: var(--blue-100);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem;
}

.value-card h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
}

.value-card p {
  color: var(--muted);
  font-size: .86rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 6px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-700);
  box-shadow: 0 0 0 1px var(--line);
  font-size: .75rem;
  font-weight: 800;
}

.timeline-content {
  padding: 0 0 28px;
}

.timeline-content h3 {
  margin-bottom: 8px;
  color: var(--navy-950);
}

.timeline-content p {
  color: var(--muted);
  font-size: .9rem;
}

.team-note {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 84px 24px 84px 24px;
  background: var(--blue-50);
}

.team-note h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.team-note p {
  color: var(--muted);
}

/* Resources */
.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 72px 24px 72px 24px;
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease;
}

.resource-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.resource-cover {
  position: relative;
  min-height: 175px;
  padding: 25px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(83,151,219,.4), transparent 34%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
}

.resource-cover span {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.resource-cover strong {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 24px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.72rem;
  font-weight: 400;
  line-height: 1.12;
}

.resource-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 25px 28px 28px;
}

.resource-body p {
  color: var(--muted);
  font-size: .87rem;
}

.resource-body .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.alert-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px;
  border: 1px solid #d8e4f1;
  border-radius: 28px;
  background: var(--blue-50);
}

.alert-note svg {
  flex: 0 0 auto;
  width: 23px;
  color: var(--navy-700);
}

.alert-note h3 {
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: .95rem;
}

.alert-note p {
  color: var(--muted);
  font-size: .84rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 38px;
  align-items: stretch;
}

.contact-info {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: 110px 28px 110px 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 12%, rgba(77,145,214,.4), transparent 27%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
}

.contact-info::after {
  content: '';
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.024);
}

.contact-info h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.45rem, 4.3vw, 4.25rem);
}

.contact-info > p {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  color: rgba(255,255,255,.68);
}

.contact-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
  margin-top: 38px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background: rgba(255,255,255,.055);
}

.contact-item .icon-bubble {
  width: 48px;
  height: 48px;
  margin: 0;
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: rgba(255,255,255,.52);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-item strong {
  margin-top: 2px;
  font-size: .87rem;
}

.contact-form-shell {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-form-shell h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.45rem);
}

.contact-form-shell > p {
  margin: 11px 0 28px;
  color: var(--muted);
  font-size: .9rem;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--navy-950);
  font-size: .78rem;
  font-weight: 800;
}

.form-control {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

textarea.form-control {
  min-height: 140px;
  padding-top: 15px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29,92,159,.11);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.form-note {
  color: var(--muted);
  font-size: .72rem;
}

.form-status {
  display: none;
  margin-top: 17px;
  padding: 13px 16px;
  border-radius: 16px;
  color: #1d5d4b;
  background: #e9f6f0;
  font-size: .82rem;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 112px;
  padding: 76px 0 28px;
  color: var(--white);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr .9fr;
  gap: 48px;
  padding-bottom: 54px;
}

.footer-brand .brand-word strong {
  color: var(--white);
}

.footer-brand .brand-word span {
  color: rgba(255,255,255,.5);
}

.footer-brand p {
  max-width: 350px;
  margin-top: 22px;
  color: rgba(255,255,255,.58);
  font-size: .87rem;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a,
.footer-links span {
  color: rgba(255,255,255,.58);
  font-size: .84rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.42);
  font-size: .74rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Utilities / reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

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

/* Responsive */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 0;
  }

  .nav-link {
    padding-inline: 11px;
  }

  .hero-grid,
  .split-grid {
    gap: 42px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-card-main {
    left: 20px;
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr .8fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr .8fr .8fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 76px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 15px;
    right: 15px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 14px 16px;
  }

  .hero-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 600px;
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-card-main {
    inset: 28px 18px 38px 46px;
  }

  .stats-shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: grid;
  }

  .image-shape {
    min-height: 520px;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-copy,
  .service-detail:nth-child(even) .service-detail-aside {
    order: initial;
  }

  .service-detail-aside {
    min-height: 300px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 50px 44px;
  }

  .contact-info {
    min-height: 600px;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .section-sm {
    padding: 56px 0;
  }

  .brand-logo {
    width: 49px;
    height: 49px;
  }

  .brand-word span {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.7rem);
  }

  .hero {
    padding: 46px 0 80px;
  }

  .hero-copy .lead {
    margin-top: 21px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 15px;
  }

  .hero-card-main {
    inset: 32px 4px 32px 14px;
    border-radius: 110px 25px 110px 25px;
  }

  .hero-logo-panel {
    top: 39px;
    left: 27px;
    right: 27px;
    min-height: 184px;
    padding: 22px;
    border-radius: 85px 21px 85px 21px;
  }

  .hero-logo-panel img {
    max-height: 150px;
  }

  .hero-card-content {
    left: 30px;
    right: 28px;
    bottom: 34px;
  }

  .hero-card-content strong {
    font-size: 1.62rem;
  }

  .float-card {
    padding: 12px 14px;
  }

  .float-one {
    top: 4px;
    right: 0;
  }

  .float-two {
    left: 0;
    bottom: 0;
  }

  .float-card span {
    font-size: .58rem;
  }

  .float-card strong {
    font-size: .76rem;
  }

  .stats-strip {
    margin-top: -22px;
  }

  .stats-shell {
    grid-template-columns: 1fr;
    border-radius: 34px;
  }

  .stat {
    padding: 24px 26px;
  }

  .stat:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .stat::after {
    display: none;
  }

  .card-grid-3,
  .card-grid-2,
  .process-grid,
  .values-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-card,
  .process-card,
  .resource-card {
    border-radius: 52px 20px 52px 20px;
  }

  .service-card {
    min-height: 320px;
    padding: 28px;
  }

  .service-card .text-link {
    left: 28px;
  }

  .image-shape {
    min-height: 490px;
    border-radius: 110px 24px 110px 24px;
  }

  .shape-copy {
    inset: auto 22px 26px;
    padding: 26px;
    border-radius: 55px 18px 55px 18px;
  }

  .quote-card {
    padding: 36px 28px;
    border-radius: 72px 22px 72px 22px;
  }

  .quote-mark {
    font-size: 6rem;
  }

  .cta-panel {
    padding: 42px 28px;
    border-radius: 80px 22px 80px 22px;
  }

  .page-hero {
    padding: 68px 0 62px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .service-detail {
    padding: 30px 23px;
    border-radius: 70px 22px 70px 22px;
  }

  .service-detail-aside {
    min-height: 290px;
    padding: 28px;
    border-radius: 58px 20px 58px 20px;
  }

  .team-note {
    padding: 30px 26px;
    border-radius: 60px 20px 60px 20px;
  }

  .contact-info {
    min-height: auto;
    padding: 40px 26px 110px;
    border-radius: 78px 22px 78px 22px;
  }

  .contact-form-shell {
    padding: 32px 22px;
    border-radius: 32px;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-footer {
    display: grid;
  }

  .site-footer {
    margin-top: 78px;
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ===== TEMA OSCURO AUTOMÁTICO ===== */
/*
   Se activa automáticamente cuando el celular o la computadora
   tienen seleccionado el modo oscuro.
*/
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    /* Colores adaptados para modo oscuro */
    --navy-950: #eef6ff;
    --navy-900: #d9eaff;
    --navy-800: #164d80;
    --navy-700: #69b5ff;
    --navy-600: #79c2ff;
    --blue-100: #7fbaf2;
    --blue-50: #102b49;
    --ink: #edf4fc;
    --muted: #9fb1c6;
    --line: #263d58;
    --surface: #081b31;
    --success: #65c6a3;
    --warning: #e4b565;
    --shadow-sm: 0 12px 34px rgba(0, 0, 0, .28);
    --shadow-md: 0 26px 72px rgba(0, 0, 0, .42);

    --dark-bg: #051426;
    --dark-surface: #091c32;
    --dark-card: #0d233d;
    --dark-card-hover: #112b49;
  }

  body {
    color: var(--ink);
    background: var(--dark-bg);
  }

  ::selection {
    color: #04101f;
    background: #83c5ff;
  }

  /* Encabezado y navegación */
  .site-header {
    background: rgba(5, 20, 38, .86);
  }

  .site-header.scrolled {
    border-color: rgba(129, 189, 244, .14);
    background: rgba(5, 20, 38, .96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
  }

  .nav-link {
    color: #aab9cb;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #eef6ff;
    background: var(--blue-50);
  }

  .menu-toggle {
    color: #eef6ff;
    background: var(--blue-50);
  }

  /* El fondo blanco del logo se conserva para no perder contraste */
  .brand-logo,
  .hero-logo-panel {
    background: #ffffff;
  }

  /* Botones */
  .btn-primary:hover {
    background: #2169a9;
  }

  .btn-light {
    color: #06172f;
    background: #ffffff;
  }

  .btn-outline {
    color: #dcecff;
    border-color: var(--line);
    background: rgba(13, 35, 61, .78);
  }

  .btn-outline:hover {
    border-color: #69b5ff;
    background: var(--dark-card-hover);
  }

  /* Fondo principal de la portada */
  .hero {
    background:
      radial-gradient(circle at 90% 15%, rgba(60, 140, 224, .2), transparent 31%),
      linear-gradient(180deg, #06172b 0%, #081b31 100%);
  }

  .hero::after,
  .service-card::after {
    border-color: rgba(105, 181, 255, .14);
  }

  .hero::after {
    box-shadow:
      0 0 0 80px rgba(45, 109, 173, .04),
      0 0 0 160px rgba(45, 109, 173, .025);
  }

  /* Tarjetas y superficies claras */
  .float-card,
  .stats-shell,
  .service-card,
  .industry-pill,
  .quote-card,
  .faq-item,
  .service-detail,
  .value-card,
  .resource-card,
  .contact-form-shell {
    border-color: var(--line);
    background: var(--dark-card);
  }

  .float-card {
    background: rgba(13, 35, 61, .94);
  }

  .service-card:hover,
  .resource-card:hover {
    border-color: rgba(105, 181, 255, .55);
    background: var(--dark-card-hover);
  }

  .faq-item.open {
    border-color: rgba(105, 181, 255, .6);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
  }

  .industry-pill {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  }

  .section-soft {
    background: var(--surface);
  }

  .team-note,
  .alert-note {
    border-color: var(--line);
    background: var(--blue-50);
  }

  .feature-list li {
    color: var(--muted);
  }

  /* Bloques que deben conservar un azul marino profundo */
  .section-navy {
    background:
      radial-gradient(circle at 8% 18%, rgba(49, 113, 181, .32), transparent 26%),
      radial-gradient(circle at 90% 80%, rgba(44, 91, 143, .25), transparent 28%),
      #031020;
  }

  .hero-card-main {
    background:
      radial-gradient(circle at 22% 10%, rgba(75, 145, 219, .38), transparent 28%),
      linear-gradient(145deg, #164d80, #031020);
  }

  .image-shape {
    background:
      radial-gradient(circle at 28% 20%, rgba(87, 149, 214, .35), transparent 30%),
      linear-gradient(150deg, #15528b, #031020);
  }

  .cta-panel {
    background:
      radial-gradient(circle at 90% 10%, rgba(73, 139, 210, .35), transparent 25%),
      linear-gradient(135deg, #164d80, #031020);
  }

  .page-hero {
    background:
      radial-gradient(circle at 85% 25%, rgba(73, 139, 210, .38), transparent 28%),
      linear-gradient(145deg, #164d80, #031020);
  }

  .service-detail-aside {
    background:
      radial-gradient(circle at 80% 12%, rgba(72, 137, 205, .35), transparent 28%),
      linear-gradient(145deg, #15528b, #031020);
  }

  .resource-cover {
    background:
      radial-gradient(circle at 80% 10%, rgba(83, 151, 219, .4), transparent 34%),
      linear-gradient(145deg, #15528b, #031020);
  }

  .contact-info {
    background:
      radial-gradient(circle at 20% 12%, rgba(77, 145, 214, .4), transparent 27%),
      linear-gradient(145deg, #15528b, #031020);
  }

  .site-footer,
  .skip-link {
    background: #020d1a;
  }

  /* Formularios */
  .form-control {
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
  }

  .form-control::placeholder {
    color: #71859c;
  }

  .form-control:focus {
    border-color: #69b5ff;
    background: var(--dark-card-hover);
    box-shadow: 0 0 0 4px rgba(105, 181, 255, .14);
  }

  .form-status {
    color: #9fe2c8;
    background: #0c332b;
  }

  /* Ajustes pequeños de contraste */
  .timeline-dot {
    border-color: var(--dark-bg);
  }

  .alert-note h3,
  .team-note h3,
  .form-group label,
  .faq-question,
  .quote-card blockquote,
  .quote-author strong,
  .service-card h3,
  .check-item h3,
  .value-card h3,
  .timeline-content h3,
  .float-card strong,
  .hero-copy h1,
  .brand-word strong {
    color: #eef6ff;
  }

  @media (max-width: 920px) {
    .nav-menu {
      border-color: var(--line);
      background: rgba(9, 28, 50, .98);
    }
  }
}
/* ===== PARCHE: LOGO SIN FONDO ===== */

.brand-logo {
  background: transparent !important;
  border-radius: 0;
}

.hero-logo-panel {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}

.hero-logo-panel img {
  background: transparent !important;
}
/* ===== PARCHE: LOGO VISIBLE EN TEMA OSCURO ===== */

@media (prefers-color-scheme: dark) {

  /* Logo pequeño del encabezado */
  img.brand-logo,
  .brand-logo img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.95;
  }

  /* Logo grande de la portada */
  .hero-logo-panel img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.9;
    drop-shadow: 0 8px 25px rgba(88, 166, 255, 0.18);
  }

}
/* ===== PARCHE: NUEVO DISEÑO PARA LOS RECUADROS DE SERVICIOS ===== */

/* Card principal */
.service-detail,
.service-detail:nth-child(even) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 34px;
  padding: 38px;
  border: 1px solid #d8e2ee;
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 48px rgba(6, 23, 47, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-detail:hover {
  transform: translateY(-4px);
  border-color: #bfd3e8;
  box-shadow: 0 24px 60px rgba(6, 23, 47, 0.12);
}

/* Barra decorativa superior */
.service-detail::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-700), rgba(29, 92, 159, 0));
}

/* Corrige la alternancia para que sea consistente */
.service-detail .service-detail-copy,
.service-detail .service-detail-aside {
  order: initial;
}

.service-detail:nth-of-type(even) {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.service-detail:nth-of-type(even) .service-detail-copy {
  order: 2;
}

.service-detail:nth-of-type(even) .service-detail-aside {
  order: 1;
}

/* Texto principal */
.service-kicker {
  margin-bottom: 14px;
  color: var(--navy-700);
  font-size: .72rem;
  letter-spacing: .16em;
}

.service-detail h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.service-detail-copy > p {
  max-width: 780px;
  font-size: .98rem;
  line-height: 1.75;
}

/* Lista de servicios en formato más elegante */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-list li {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 15px;
  border: 1px solid #e4ebf3;
  border-radius: 18px;
  background: rgba(242, 247, 253, 0.8);
  color: #33465e;
  font-size: .9rem;
  line-height: 1.55;
}

.feature-list li::before {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  box-shadow: 0 8px 18px rgba(10, 33, 66, 0.16);
}

/* Recuadro lateral */
.service-detail-aside {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 14%, rgba(117, 181, 245, 0.28), transparent 30%),
    linear-gradient(160deg, #174f86 0%, #0a2142 58%, #06172f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.service-detail-aside::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 24px rgba(255,255,255,0.03);
}

.service-detail-aside .icon-bubble {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.service-detail-aside .icon-bubble svg {
  width: 24px;
  height: 24px;
}

.service-detail-aside small {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.68);
  font-size: .7rem;
  letter-spacing: .16em;
}

.service-detail-aside strong {
  margin-top: 0;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  line-height: 1.08;
}

.service-detail-aside p {
  margin-top: 10px;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

/* ===== TEMA OSCURO ===== */
@media (prefers-color-scheme: dark) {
  .service-detail,
  .service-detail:nth-child(even) {
    border-color: rgba(105, 181, 255, 0.14);
    background: linear-gradient(180deg, rgba(13, 35, 61, 0.98) 0%, rgba(8, 27, 49, 0.98) 100%);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  }

  .service-detail:hover {
    border-color: rgba(105, 181, 255, 0.3);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.35);
  }

  .service-detail::before {
    background: linear-gradient(90deg, #69b5ff, rgba(105, 181, 255, 0));
  }

  .feature-list li {
    border-color: rgba(105, 181, 255, 0.12);
    background: rgba(255,255,255,0.03);
    color: #d8e6f5;
  }

  .service-detail-aside {
    border-color: rgba(105, 181, 255, 0.14);
    background:
      radial-gradient(circle at 82% 14%, rgba(117, 181, 245, 0.2), transparent 30%),
      linear-gradient(160deg, #15528b 0%, #0a2340 60%, #031020 100%);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .service-detail,
  .service-detail:nth-child(even),
  .service-detail:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .service-detail:nth-of-type(even) .service-detail-copy,
  .service-detail:nth-of-type(even) .service-detail-aside {
    order: initial;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .service-detail h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .service-detail-aside {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .service-detail,
  .service-detail:nth-child(even) {
    padding: 22px;
    border-radius: 24px;
  }

  .feature-list li {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: .88rem;
  }

  .service-detail-aside {
    border-radius: 22px;
  }

  .service-detail-aside strong {
    font-size: 1.6rem;
  }
}
/* ==================================================
   PARCHE: TEXTO MÁS GRANDE Y SERVICIOS MÁS PAREJOS
================================================== */

/* Mantiene ambas partes alineadas */
.service-detail,
.service-detail:nth-child(even),
.service-detail:nth-of-type(even) {
  align-items: stretch;
}

/* Área principal del servicio */
.service-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Número y categoría */
.service-kicker {
  margin-bottom: 16px;
  font-size: 0.82rem !important;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

/* Títulos principales */
.service-detail h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 3.5vw, 3.8rem) !important;
  line-height: 1.02;
}

/* Descripción principal */
.service-detail-copy > p {
  max-width: 780px;
  font-size: 1.05rem !important;
  line-height: 1.8;
}

/* Lista de características */
.feature-list {
  gap: 13px;
  margin-top: 28px;
}

.feature-list li {
  min-height: 68px;
  align-items: center;
  padding: 16px 17px !important;
  font-size: 0.96rem !important;
  line-height: 1.5;
}

/* Círculos de las palomitas */
.feature-list li::before {
  width: 24px;
  height: 24px;
  font-size: 0.76rem;
}

/* Recuadro azul lateral */
.service-detail-aside {
  height: 100%;
  min-height: 410px;
  padding: 36px !important;
}

/* Ícono */
.service-detail-aside .icon-bubble {
  width: 58px;
  height: 58px;
}

.service-detail-aside .icon-bubble svg {
  width: 27px;
  height: 27px;
}

/* Texto RESULTADO */
.service-detail-aside small {
  font-size: 0.78rem !important;
  line-height: 1.4;
}

/* Título del resultado */
.service-detail-aside strong {
  max-width: 420px;
  margin-top: 12px;
  font-size: clamp(2rem, 2.7vw, 2.65rem) !important;
  line-height: 1.08;
}

/* Explicación del resultado */
.service-detail-aside p {
  max-width: 440px;
  margin-top: 16px;
  font-size: 1rem !important;
  line-height: 1.7;
}


/* ==================================
   AJUSTE PARA TABLET
================================== */

@media (max-width: 980px) {

  .service-detail h2 {
    font-size: clamp(2.2rem, 6vw, 3.2rem) !important;
  }

  .service-detail-copy > p {
    font-size: 1rem !important;
  }

  .service-detail-aside {
    min-height: 330px;
  }

  .service-detail-aside strong {
    font-size: 2.15rem !important;
  }
}


/* ==================================
   AJUSTE PARA CELULAR
================================== */

@media (max-width: 640px) {

  .service-kicker {
    font-size: 0.72rem !important;
  }

  .service-detail h2 {
    font-size: 2.15rem !important;
    line-height: 1.05;
  }

  .service-detail-copy > p {
    font-size: 0.96rem !important;
    line-height: 1.7;
  }

  .feature-list li {
    min-height: auto;
    padding: 15px !important;
    font-size: 0.92rem !important;
  }

  .service-detail-aside {
    min-height: 300px;
    padding: 27px !important;
  }

  .service-detail-aside strong {
    font-size: 1.9rem !important;
  }

  .service-detail-aside p {
    font-size: 0.94rem !important;
  }
}
/* ==================================================
   PARCHE: CORREGIR PORTADA / HERO EN ESCRITORIO
   Texto a la izquierda y tarjeta a la derecha
================================================== */

@media (min-width: 981px) {

  .hero {
    padding-top: 76px;
    padding-bottom: 110px;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr) !important;
    align-items: center !important;
    gap: 70px !important;
  }

  .hero-copy {
    max-width: 620px;
    grid-column: 1;
  }

  .hero-visual {
    grid-column: 2;
    width: 100%;
  }

  .hero-card-main {
    min-height: 520px;
    width: 100%;
    margin: 0;
  }

  .hero-logo-panel {
    max-width: 360px;
    margin-inline: auto;
  }

  .stats-shell {
    margin-top: 34px;
  }
}


/* ==================================================
   TABLET Y CELULAR: QUE SE ACOMODE ABAJO
================================================== */

@media (max-width: 980px) {

  .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .hero-copy,
  .hero-visual {
    grid-column: auto;
    max-width: 100%;
  }

  .hero-card-main {
    min-height: 430px;
  }
}

@media (max-width: 640px) {

  .hero {
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .hero-grid {
    gap: 32px !important;
  }

  .hero-card-main {
    min-height: 360px;
  }
}

/* ===== PORTADA MÁS AMPLIA Y EQUILIBRADA ===== */

@media (min-width: 1100px) {

  .hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 70px 0 100px;
  }

  .hero .container {
    width: min(calc(100% - 70px), 1320px);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 78px;
  }

  .hero-copy h1 {
    font-size: clamp(4.8rem, 6.2vw, 7.4rem);
    line-height: 0.96;
  }

  .hero-copy .lead {
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.8;
  }

  .hero-visual {
    min-height: 640px;
  }

  .hero-card-main {
    inset: 20px 0 30px 25px;
  }

  .hero-logo-panel img {
    width: min(100%, 390px);
  }

  .hero-card-content strong {
    font-size: 2.35rem;
  }

}