:root {
  --yellow: #ffbd59;
  --gray: #626264;
  --blue: #3d83c2;
  --green: #00bf63;
  --red: #fd525a;
  --ink: #08111f;
  --ink-2: #0c192c;
  --ink-3: #12243d;
  --paper: #f5f7fb;
  --paper-2: #eaf0f7;
  --white: #ffffff;
  --muted: #aeb9c8;
  --muted-dark: #526174;
  --line: rgba(255, 255, 255, .13);
  --dark-line: rgba(8, 17, 31, .12);
  --glass: rgba(255, 255, 255, .08);
  --shadow: 0 30px 90px rgba(0, 0, 0, .28);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 6%, rgba(61, 131, 194, .28), transparent 26rem),
    radial-gradient(circle at 94% 8%, rgba(253, 82, 90, .18), transparent 24rem),
    linear-gradient(135deg, var(--ink) 0%, #101b30 48%, #07101f 100%);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  opacity: .45;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  width: 760px;
  height: 260px;
  right: -240px;
  bottom: -100px;
  border: 42px solid rgba(61, 131, 194, .18);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: -1;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.header,
main,
.footer {
  width: min(100% - 36px, 1440px);
  margin-inline: auto;
}

.top-ribbon {
  width: min(100%, var(--max));
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #dbe7f7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.top-ribbon span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  padding: 8px 11px;
  border-radius: 999px;
}

.navbar {
  position: relative;
  z-index: 10;
  width: min(100%, var(--max));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 142px;
  height: auto;
  background: white;
  border-radius: 22px;
  padding: 8px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  color: #e8eff8;
  font-size: 14px;
  font-weight: 900;
  transition: background .2s ease, transform .2s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  color: white;
  background: linear-gradient(135deg, var(--blue), #2a6fa9);
  box-shadow: 0 14px 30px rgba(61, 131, 194, .32);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  width: min(100%, var(--max));
  min-height: 720px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #dce8f7;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.eyebrow span {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--yellow);
  box-shadow: 23px 12px 0 var(--green), 50px -3px 0 var(--gray), 78px 9px 0 var(--blue);
  margin-right: 84px;
}

.hero h1,
.section-heading h2,
.challenge-copy h2,
.stack-copy h2,
.method-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -.065em;
  line-height: .92;
}

.hero h1 {
  font-size: clamp(38px, 5.8vw, 72px);
  max-width: 780px;
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #c4d0df;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red), #e9404a);
  color: white;
  box-shadow: 0 22px 54px rgba(253, 82, 90, .28);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255,255,255,.07);
  color: white;
}

.btn-card {
  background: var(--ink);
  color: white;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-tags span {
  color: #eaf2fb;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 52px;
  background:
    radial-gradient(circle at 28% 16%, rgba(61, 131, 194, .5), transparent 17rem),
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -110px;
  top: 42px;
  width: 320px;
  height: 320px;
  border-radius: 52px;
  background: linear-gradient(135deg, rgba(61,131,194,.92), rgba(61,131,194,.22));
  transform: rotate(14deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -90px;
  width: 560px;
  height: 240px;
  border: 32px solid rgba(61,131,194,.62);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.security-orbit {
  position: relative;
  width: 390px;
  height: 320px;
  z-index: 2;
}

.sq {
  position: absolute;
  display: block;
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(0,0,0,.28);
}

.sq-yellow { width: 46px; height: 46px; left: 6px; top: 12px; background: var(--yellow); }
.sq-green { width: 42px; height: 42px; left: 88px; top: 82px; background: var(--green); }
.sq-red { width: 76px; height: 76px; left: 0; top: 168px; background: var(--red); }
.sq-gray { width: 70px; height: 70px; left: 122px; top: 40px; background: var(--gray); }
.sq-blue { width: 118px; height: 96px; left: 204px; top: 98px; background: var(--blue); }

.orbit-line {
  position: absolute;
  left: -28px;
  top: 148px;
  width: 396px;
  height: 170px;
  border-bottom: 20px solid var(--blue);
  border-left: 18px solid var(--blue);
  border-radius: 50%;
  transform: rotate(-15deg);
  opacity: .9;
}

.scan-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 158px;
  z-index: 5;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 30px;
  background: rgba(8, 17, 31, .76);
  backdrop-filter: blur(18px);
}

.scan-label {
  display: inline-flex;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 12px;
}

.scan-card h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.scan-card p {
  margin: 14px 0 0;
  color: #c4d1e2;
  line-height: 1.6;
}

.scan-metrics {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  z-index: 5;
}

.scan-metrics div {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  padding: 14px;
}

.scan-metrics strong {
  color: var(--green);
  font-size: 13px;
}

.scan-metrics span {
  color: #eaf2fb;
  font-size: 13px;
  font-weight: 900;
}

.metric-band,
.section {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
}

.metric-band div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: none;
}

.metric-band strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.05em;
  line-height: .95;
}

.metric-band span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.section {
  margin-top: 120px;
}

.challenge {
  display: grid;
  grid-template-columns: 130px minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.section-kicker {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
  font-size: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.challenge-copy h2,
.section-heading h2,
.stack-copy h2,
.method-copy h2,
.contact-copy h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
}

.challenge-copy p,
.section-heading p,
.stack-copy p,
.method-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: #c3cfdd;
  font-size: 16px;
  line-height: 1.62;
}

.challenge-grid {
  display: grid;
  gap: 16px;
}

.challenge-grid article,
.service-card,
.timeline article,
.use-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.065);
}

.challenge-grid article {
  padding: 25px;
}

.challenge-grid article::after,
.use-grid article::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 140px;
  height: 140px;
  background: rgba(61,131,194,.16);
  border-radius: 42px;
  transform: rotate(18deg);
}

.challenge-grid span,
.service-card > span,
.stack-grid span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
}

.challenge-grid h3,
.service-card h3,
.package-card h3,
.timeline h3,
.use-grid h3 {
  margin: 12px 0 0;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.challenge-grid h3,
.service-card h3,
.use-grid h3 {
  font-size: 21px;
}

.challenge-grid p,
.service-card p,
.timeline p,
.use-grid p {
  margin: 12px 0 0;
  color: #c1cede;
  line-height: 1.58;
}

.section-heading {
  max-width: 860px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.services {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 8%, rgba(0,191,99,.12), transparent 22rem),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 390px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 180px;
  height: 180px;
  border: 26px solid rgba(61,131,194,.16);
  border-radius: 50%;
}

.service-featured {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,189,89,.18), transparent 18rem),
    linear-gradient(145deg, rgba(61,131,194,.42), rgba(8,17,31,.58));
}

.icon-shape {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 17px;
  background: var(--blue);
  color: white;
  font-weight: 950;
  font-size: 22px;
  box-shadow: 18px 10px 0 rgba(0,191,99,.2);
}

.service-card:nth-child(1) .icon-shape { background: var(--red); }
.service-card:nth-child(2) .icon-shape { background: var(--green); }
.service-card:nth-child(4) .icon-shape { background: var(--yellow); color: var(--ink); }
.service-card:nth-child(5) .icon-shape { background: var(--gray); }
.service-card:nth-child(6) .icon-shape { background: var(--blue); }

.service-card ul,
.package-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.service-card li,
.package-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.38;
  font-weight: 800;
}

.service-card li {
  color: #eef5ff;
}

.service-card li::before,
.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--green);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.package-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(145deg, var(--paper), #e7edf6);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.package-card::before {
  content: "";
  position: absolute;
  right: -88px;
  top: -88px;
  width: 210px;
  height: 210px;
  border-radius: 52px;
  transform: rotate(18deg);
  background: rgba(61,131,194,.18);
}

.package-card::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: -30px 28px 0 var(--green), -58px -8px 0 var(--gray), -84px 20px 0 var(--red);
}

.package-card.preferred {
  background:
    radial-gradient(circle at 85% 8%, rgba(255,189,89,.26), transparent 18rem),
    linear-gradient(145deg, #11243d, #091422);
  color: white;
  transform: translateY(-18px);
}

.package-card.preferred::before {
  background: rgba(253,82,90,.2);
}

.package-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}

.preferred .package-label {
  color: var(--yellow);
}

.package-card h3 {
  position: relative;
  z-index: 1;
  font-size: 27px;
  margin-top: 54px;
}

.package-subtitle {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted-dark);
  line-height: 1.5;
  font-weight: 800;
}

.preferred .package-subtitle {
  color: #c6d3e4;
}

.package-time {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 22px 0 0;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 950;
}

.preferred .package-time {
  background: var(--red);
}

.package-card ul {
  position: relative;
  z-index: 1;
  color: #384455;
}

.preferred ul {
  color: #edf4ff;
}

.package-card .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
}

.microsoft-stack {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(8,17,31,.2), rgba(8,17,31,.88)),
    radial-gradient(circle at 0 100%, rgba(255,189,89,.18), transparent 24rem),
    rgba(255,255,255,.07);
  border: 1px solid var(--line);
}

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

.stack-grid div {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.065);
}

.stack-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.stack-grid p {
  margin: 12px 0 0;
  color: #c1cede;
  line-height: 1.52;
}

.method {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(var(--yellow), var(--blue), var(--green), var(--red));
  opacity: .72;
}

.timeline article {
  padding: 26px 26px 26px 82px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 28px;
  width: 24px;
  height: 24px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  z-index: 2;
}

.timeline span {
  color: var(--yellow);
  font-weight: 950;
  font-size: 13px;
}

.timeline h3 {
  font-size: 22px;
}

.use-cases {
  padding: 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--paper), var(--paper-2));
  color: var(--ink);
  box-shadow: 0 26px 80px rgba(0,0,0,.16);
}

.use-cases .eyebrow,
.use-cases .section-heading p {
  color: #475569;
}

.use-cases .section-heading h2 {
  color: var(--ink);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.use-grid article {
  min-height: 260px;
  padding: 24px;
  border-color: rgba(8,17,31,.12);
  background: white;
}

.use-grid h3 {
  margin-top: 0;
}

.use-grid p {
  color: #526174;
}

.contact {
  display: grid;
  grid-template-columns: .9fr .82fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 70px;
  padding: 48px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 90% 12%, rgba(61,131,194,.18), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  color: #e6eef9;
  line-height: 1.55;
}

.contact-note strong {
  color: var(--yellow);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
  background: white;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #293548;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8,17,31,.14);
  border-radius: 18px;
  background: #f7f9fc;
  color: var(--ink);
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61,131,194,.14);
  background: white;
}

.contact-form .btn {
  width: 100%;
  border: none;
}

.footer {
  width: min(100% - 36px, var(--max));
  margin-bottom: 34px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  color: #c8d4e4;
}

.footer-brand img {
  width: 130px;
}

.footer p {
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 900;
}

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

@media (max-width: 1120px) {
  .hero,
  .challenge,
  .microsoft-stack,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 0;
  }

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

  .section-kicker {
    writing-mode: initial;
    transform: none;
  }

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

  .package-card.preferred {
    transform: none;
  }

  .metric-band,
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-band div:nth-child(2) {
    border-right: none;
  }

  .metric-band div:nth-child(1),
  .metric-band div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .header,
  main {
    width: min(100% - 24px, 1440px);
  }

  .top-ribbon {
    justify-content: flex-start;
  }

  .navbar {
    border-radius: 0;
    padding: 10px 0;
  }

  .brand img {
    width: 118px;
    border-radius: 17px;
  }

  .nav-button {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 999px;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(8,17,31,.98);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 56px);
  }

  .hero-lead,
  .challenge-copy p,
  .section-heading p,
  .stack-copy p,
  .method-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-visual,
  .services,
  .microsoft-stack,
  .use-cases,
  .contact {
    border-radius: 32px;
    padding: 24px;
  }

  .security-orbit {
    width: 320px;
    height: 272px;
    transform: scale(.86);
    transform-origin: left top;
  }

  .scan-card {
    left: 20px;
    right: 20px;
    bottom: 164px;
    padding: 22px;
  }

  .scan-metrics {
    left: 20px;
    right: 20px;
    bottom: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .package-grid,
  .stack-grid,
  .metric-band,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:last-child {
    border-bottom: none;
  }

  .section {
    margin-top: 84px;
  }

  .package-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .btn {
    width: 100%;
  }

  .eyebrow {
    display: flex;
    align-items: flex-start;
  }

  .eyebrow span {
    margin-right: 66px;
    box-shadow: 20px 11px 0 var(--green), 43px -2px 0 var(--gray), 64px 8px 0 var(--blue);
  }

  .challenge-copy h2,
  .section-heading h2,
  .stack-copy h2,
  .method-copy h2,
  .contact-copy h2 {
    font-size: clamp(28px, 8.5vw, 40px);
  }

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

  .scan-card h2 {
    font-size: 22px;
  }

  .scan-metrics {
    grid-template-columns: 1fr;
  }

  .scan-card {
    bottom: 330px;
  }

  .service-card {
    min-height: auto;
  }

  .contact-form {
    padding: 18px;
  }

  .footer {
    width: min(100% - 24px, var(--max));
  }
}

/* Ajustes solicitados: menú no flotante y títulos más pequeños */
.navbar {
  position: relative;
  top: auto;
  backdrop-filter: none;
}
.hero h1,
.section-heading h2,
.challenge-copy h2,
.stack-copy h2,
.method-copy h2,
.contact-copy h2 {
  letter-spacing: -0.045em;
}


/* === Navegación de servicios con páginas internas === */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .8;
}

.sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 17, 31, .98);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 30;
}

.has-menu:hover .sub-menu,
.has-menu:focus-within .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sub-menu a {
  border-radius: 12px;
  padding: 11px 12px;
  white-space: nowrap;
  font-size: 13px;
}

.sub-menu a:hover {
  color: var(--yellow);
  background: rgba(255,255,255,.07);
}

.service-menu-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.service-link:hover {
  background: rgba(255,255,255,.09);
}

/* === Páginas internas de servicios === */
.detail-header {
  padding-bottom: 6px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 52px;
}

.detail-copy,
.detail-aside,
.service-panel-card,
.process-strip article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.065);
  border-radius: var(--radius-lg);
}

.detail-copy {
  padding: 44px;
  min-height: 420px;
  background:
    radial-gradient(circle at 92% 8%, rgba(61,131,194,.22), transparent 22rem),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.052em;
}

.detail-copy p:not(.eyebrow) {
  max-width: 860px;
  margin: 22px 0 0;
  color: #c4d0df;
  font-size: 17px;
  line-height: 1.64;
}

.detail-aside {
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 16%, rgba(253,82,90,.18), transparent 16rem),
    linear-gradient(145deg, rgba(8,17,31,.72), rgba(8,17,31,.4));
}

.detail-aside::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 42px;
  background: rgba(61,131,194,.28);
  transform: rotate(18deg);
}

.detail-aside p {
  position: relative;
  margin: 0;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}

.detail-aside h2 {
  position: relative;
  margin: 18px 0 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.detail-aside ul {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-aside li {
  position: relative;
  padding-left: 22px;
  color: #e7effb;
  line-height: 1.42;
  font-weight: 800;
}

.detail-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--green);
}

.service-panels {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 8%, rgba(0,191,99,.12), transparent 22rem),
    rgba(255,255,255,.055);
}

.service-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.service-panel-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 230px;
}

.service-panel-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(61,131,194,.14);
  border-radius: 50%;
}

.service-panel-card span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}

.service-panel-card h3 {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.service-panel-card p {
  margin: 14px 0 0;
  color: #c3cfdd;
  line-height: 1.6;
}

.detail-process {
  padding: 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--paper), var(--paper-2));
  color: var(--ink);
}

.detail-process .eyebrow,
.detail-process .section-heading p {
  color: #475569;
}

.detail-process .section-heading h2 {
  color: var(--ink);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.process-strip article {
  min-height: 150px;
  padding: 20px;
  background: white;
  border-color: rgba(8,17,31,.11);
}

.process-strip span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.process-strip h3 {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.16;
  letter-spacing: -.03em;
}

.detail-cta {
  margin-bottom: 70px;
}

/* Ajustes adicionales solicitados: títulos más contenidos */
.hero h1 {
  font-size: clamp(34px, 4.8vw, 62px);
}
.challenge-copy h2,
.section-heading h2,
.stack-copy h2,
.method-copy h2,
.contact-copy h2 {
  font-size: clamp(28px, 3.55vw, 44px);
}
.service-card h3,
.challenge-grid h3,
.use-grid h3 {
  font-size: 19px;
}

@media (max-width: 1120px) {
  .service-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-hero,
  .process-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-item {
    display: grid;
  }
  .sub-menu {
    position: static;
    min-width: 0;
    padding: 4px 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .sub-menu a {
    white-space: normal;
    color: #dbe7f7;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
  }
  .service-menu-grid,
  .service-panel-grid {
    grid-template-columns: 1fr;
  }
  .detail-copy,
  .detail-aside,
  .service-panels,
  .detail-process {
    padding: 24px;
    border-radius: 32px;
  }
  .detail-copy h1 {
    font-size: clamp(30px, 9vw, 46px);
  }
}
