@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --navy: #080e28;
  --surface: #101a39;
  --white: #f7f8ff;
  --muted: #b9c6e3;
  --cyan: #4de5f4;
  --violet: #b9a4ff;
  --line: #29395d;
  --heading: "Space Grotesk", "Trebuchet MS", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--heading); }
.shell { width: min(100% - 72px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 60; padding: 12px; background: var(--cyan); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.header { position: relative; z-index: 2; background: #090f2a; border-bottom: 1px solid #23325a; }
.header-inner, nav, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { gap: 11px; width: max-content; flex-shrink: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
.brand b { color: var(--cyan); }
nav { gap: clamp(20px, 3vw, 42px); font-size: .92rem; font-weight: 600; }
nav > a:not(.button) { color: #d0dbf3; }
nav > a:not(.button):hover, .text-link:hover { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: max-content; max-width: 100%; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; line-height: 1.3; }
.button span, .text-link span, .service a span { font-size: 1.15em; line-height: 1; }
.arrow { position: relative; display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { content: ""; position: absolute; top: -1px; right: 0; width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.primary { background: var(--cyan); color: #071631; box-shadow: 0 7px 25px #17b5d12e; }
.primary:hover { background: #9ef6ff; }
.primary:disabled { cursor: default; opacity: .6; }
.outline { border-color: #4b649d; background: #172448; color: var(--white); }
.outline:hover { border-color: var(--cyan); }
.menu-button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--white); background: var(--surface); }

.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 80% 37%, #171669, transparent 63%), radial-gradient(ellipse at 0% 0%, #142852, transparent 53%), #0a112f; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .26; pointer-events: none; background: linear-gradient(#6389d428 1px, transparent 1px), linear-gradient(90deg,#6389d428 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg,#000, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(525px, 43vw, 630px); }
.hero-copy { position: relative; z-index: 1; max-width: 680px; padding-block: 75px 90px; grid-column: 1 / -1; width: 56%; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--cyan); font-weight: 700; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span, figcaption > span { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px #43e8f4aa; }
h1 { font-size: clamp(3.05rem, 6.35vw, 6.6rem); line-height: .98; letter-spacing: -.085em; }
h1 em { display: inline-block; padding-bottom: .1em; color: var(--cyan); background: linear-gradient(94deg,#3ee8f5 4%, #9ba7ff 88%); background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
.intro { max-width: 470px; margin-top: 20px; color: #d0dcf5; font-size: clamp(1.04rem, 1.44vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 30px; }
.hero-actions .button { padding-inline: 20px; min-height: 52px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; }
.hero-visual { position: absolute; inset: 0 0 0 40%; display: flex; align-items: end; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 30%; mask-image: linear-gradient(to right, transparent 1%, #000 29%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 89%, #000 100%); mask-composite: intersect; }
figcaption { position: absolute; z-index: 1; bottom: 26px; right: clamp(8px, 3vw, 45px); display: flex; gap: 8px; align-items: center; border: 1px solid #6290df80; border-radius: 8px; padding: 8px 12px; background: #101739e8; font: 700 1rem/1.2 var(--heading); }
figcaption small { border-left: 1px solid #4b5e85; padding-left: 8px; color: #c1cfed; font: 500 .75rem/1.25 var(--body); }
.motto { border-block: 1px solid #314681; background: #0d1840; }
.motto-inner { display: flex; justify-content: center; gap: clamp(12px, 5vw, 82px); align-items: center; min-height: 62px; color: #dce8ff; font: 600 clamp(.72rem, 1.3vw, .95rem)/1.2 var(--heading); text-transform: uppercase; letter-spacing: .15em; }
.motto i { width: 5px; height: 5px; flex: 0 0 auto; background: var(--cyan); transform: rotate(45deg); }
.motto i:nth-of-type(2) { background: var(--violet); }

.section { padding-block: clamp(57px, 8vw, 108px) 0; scroll-margin-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-heading .eyebrow, .academy .eyebrow, .project .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4rem); letter-spacing: -.06em; line-height: 1.02; }
.section-heading > p { max-width: 285px; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service { --service-accent: var(--cyan); min-width: 0; display: flex; flex-direction: column; align-items: flex-start; min-height: 228px; padding: clamp(21px, 2.45vw, 33px); border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(142deg,#152146,#0e1835 80%); }
.service:nth-child(3n + 2) { --service-accent: var(--violet); }
.service:nth-child(3n + 3) { --service-accent: #8dc3ff; }
.service:hover, .service:focus-within { border-color: var(--service-accent); }
.service h3 { margin: 16px 0 6px; font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.035em; line-height: 1.15; }
.service p { margin-bottom: 16px; color: var(--muted); }
.service a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin-top: auto; color: var(--service-accent); font-size: .9rem; font-weight: 700; }
.service a:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon { position: relative; display: grid; place-items: center; width: 43px; height: 43px; color: var(--service-accent); border: 1px solid #92aaff38; border-radius: 10px; background: #87a2ff14; }
.icon::before, .icon::after { content: ""; position: absolute; }
.icon-web::before, .icon-media::before { width: 21px; height: 16px; border: 1.5px solid; border-radius: 3px; }
.icon-web::after { width: 20px; height: 6px; top: 14px; border-bottom: 1.5px solid; }
.icon-store::before { width: 17px; height: 15px; bottom: 10px; border: 1.5px solid; border-radius: 2px; }
.icon-store::after { top: 13px; width: 21px; height: 6px; border: 1.5px solid; border-radius: 2px; background: #233052; }
.icon-chat::before { width: 21px; height: 15px; border: 1.5px solid; border-radius: 5px; }
.icon-chat::after { width: 5px; height: 5px; bottom: 11px; left: 14px; border: solid; border-width: 0 0 1.5px 1.5px; transform: skewY(-35deg); background: #233052; }
.icon-app::before { width: 8px; height: 8px; top: 11px; left: 11px; border: 1px solid; border-radius: 2px; box-shadow: 10px 0 currentColor, 0 10px currentColor; }
.icon-app::after { width: 8px; height: 8px; bottom: 12px; right: 12px; border: 1px solid; border-radius: 2px; }
.icon-avatar::before { width: 8px; height: 8px; top: 10px; border: 1.5px solid; border-radius: 50%; }
.icon-avatar::after { width: 16px; height: 9px; bottom: 10px; border: 1.5px solid; border-radius: 7px 7px 2px 2px; }
.icon-media::after { border: 4px solid transparent; border-left: 6px solid currentColor; left: 18px; }

.academy { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(22px, 6vw, 78px); padding: clamp(24px, 5.5vw, 70px); border: 1px solid #43467a; border-radius: 21px; background: radial-gradient(ellipse at 0% 100%,#252166,transparent 67%), linear-gradient(115deg,#171942,#121b43); }
.academy-copy > p:last-child, .project-copy > p:last-child { max-width: 380px; margin-top: 17px; color: var(--muted); }
.lessons { border-top: 1px solid #4a527e; }
details { border-bottom: 1px solid #4a527e; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; font-weight: 700; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.2em; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 16px 2px; color: var(--muted); }
.project { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(26px, 7vw, 100px); padding-bottom: clamp(55px, 8vw, 110px); }
form { display: grid; gap: 9px; }
label { font-size: .91rem; font-weight: 700; }
select, textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #43557e; border-radius: 8px; color: var(--white); background: #111b38; }
textarea { resize: vertical; }
textarea::placeholder { color: #9fadce; }
form > label:not(:first-child) { margin-top: 4px; }
.form-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-top: 8px; }
.form-action p, noscript p { color: var(--muted); font-size: .85rem; }
.form-result { display: grid; gap: 8px; margin-top: 12px; }
.footer { border-top: 1px solid var(--line); background: #0c1530; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-block: 25px; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer .brand { font-size: 1.1rem; }

@media (max-width: 950px) {
  .hero-visual { inset-inline: 37% -2%; }
  .hero-copy { width: 64%; }
  .service { padding: 19px; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .header .brand img { width: 40px; height: 40px; }
  nav { flex-wrap: wrap; gap: 12px 20px; }
  .menu-button:not([hidden]) + nav { position: absolute; top: 100%; left: 0; right: 0; align-items: flex-start; padding: 13px 18px 18px; background: #101a39; border-bottom: 1px solid var(--line); }
  .menu-button:not([hidden]) + nav > a:not(.button) { display: flex; align-items: center; min-height: 46px; }
  .menu-button[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-copy { width: 100%; padding-block: 53px 17px; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 5.15rem); letter-spacing: -.075em; }
  .hero-actions { margin-top: 23px; }
  .intro { margin-top: 12px; }
  .hero-visual { position: relative; inset: auto; margin-inline: -18px; height: clamp(235px, 70vw, 420px); }
  .hero-visual img { object-position: center 28%; mask-image: linear-gradient(90deg,transparent 7%,#000 22%,#000 94%,transparent), linear-gradient(180deg,transparent 0%,#000 19%); }
  figcaption { bottom: 12px; right: 18px; }
  .motto-inner { min-height: 53px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .academy, .project { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .motto-inner { gap: 9px; letter-spacing: .09em; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 13px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .service p { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Extend the existing brand and layouts with commercial sections. */
input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eyebrow { font-size: .875rem; letter-spacing: .1em; }
.eyebrow > span, figcaption > span { display: none; }
nav { gap: clamp(16px, 2.5vw, 32px); font-size: .95rem; }
.button { min-height: 48px; }
.hero-copy { padding-block: 70px 80px; }
.hero-copy .eyebrow { max-width: 490px; }
.intro { max-width: 480px; }
.hero-actions { gap: 18px 24px; }
.hero-actions .text-link { min-height: 48px; }
figcaption small { font-size: .875rem; }
.motto-inner { font-size: .9rem; }
.service { min-height: 320px; }
.service h3 { line-height: 1.2; }
.service .service-benefit { color: #e0e9fb; font-size: .925rem; margin-bottom: 22px; }
.service a { min-height: 44px; font-size: .925rem; }
.portfolio-note { max-width: 760px; margin: -7px 0 22px; font-size: .9rem; color: var(--muted); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.portfolio-filters button { min-height: 44px; padding: 8px 15px; font: 600 .9rem/1.3 var(--body); border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); }
.portfolio-filters button:hover { border-color: var(--cyan); }
.portfolio-filters [aria-pressed="true"] { border-color: var(--cyan); color: var(--navy); background: var(--cyan); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #0e1835; }
.project-image { overflow: hidden; background: #162347; border-bottom: 1px solid var(--line); }
.project-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-card-copy { padding: 24px; }
.project-meta { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.demo-tag { padding: 3px 9px; border: 1px solid #48608c; border-radius: 5px; color: #d2dcf5; }
.project-card h3 { margin: 14px 0 9px; font-size: 1.7rem; letter-spacing: -.04em; }
.project-card p { max-width: 480px; color: var(--muted); }
.project-card .text-link { margin-top: 16px; min-height: 44px; color: var(--cyan); }
.section-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.section-cta p { color: var(--muted); }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style-position: inside; }
.process-steps li { border-top: 2px solid #314c7d; padding-top: 18px; color: var(--cyan); }
.process-steps li::marker { font: 600 1.2rem var(--heading); }
.process-steps h3 { margin: 12px 0 10px; color: var(--white); font-size: 1.2rem; line-height: 1.25; }
.process-steps p { color: var(--muted); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution { display: flex; flex-direction: column; align-items: start; padding: 30px 25px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(140deg,#132143,#101833); }
.solution:nth-child(2) { border-color: #527597; }
.solution h3 { font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }
.solution p { margin-top: 15px; color: var(--muted); }
.solution ul { margin: 22px 0 28px; padding-left: 20px; color: #dce6fc; }
.solution li + li { margin-top: 8px; }
.solution li::marker { color: var(--cyan); }
.solution .button { margin-top: auto; }
.lesson-heading { margin-block: 12px; font-size: .875rem; color: var(--violet); font-weight: 700; }
.school-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.school-topics article { padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.upcoming { color: var(--violet); font-size: .875rem; }
.school-topics h3 { margin-block: 10px 8px; font-size: 1.15rem; line-height: 1.3; }
.school-topics p { color: var(--muted); font-size: .95rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding-block: 35px; border-block: 1px solid var(--line); }
.about-grid h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.about-grid h2 em { color: var(--cyan); font-style: normal; }
.about-copy { display: grid; gap: 18px; color: var(--muted); }
.about-copy .about-motto { color: var(--cyan); font-weight: 700; }
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
.faq-list { border-top: 1px solid #4a527e; }
.faq-list summary { min-height: 64px; }
.project { padding-bottom: 90px; }
.contact-direct { display: grid; justify-items: start; gap: 14px; margin-top: 26px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form-field { display: grid; align-content: start; gap: 6px; }
form { gap: 14px; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid #43557e; border-radius: 8px; color: var(--white); background-color: #111b38; }
input::placeholder, textarea::placeholder { color: #9fadce; opacity: 1; }
select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg,transparent 50%,#b9c6e3 50%),linear-gradient(135deg,#b9c6e3 50%,transparent 50%); background-size: 6px 6px; background-position: calc(100% - 18px) 52%,calc(100% - 12px) 52%; background-repeat: no-repeat; }
.optional { color: var(--muted); font-size: .875rem; font-weight: 400; }
.field-error { color: #ffb5be; font-size: .875rem; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #ffb5be; }
.field-help, .form-privacy { color: var(--muted); font-size: .875rem; }
.form-privacy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.form-result { padding: 18px; border: 1px solid #43557e; border-radius: 12px; background: var(--surface); }
#brief { font-size: .9rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 34px 24px; }
.footer-top p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.footer-top nav { flex-wrap: wrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }



.privacy-page { padding-block: 60px 90px; max-width: 820px; }
.privacy-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.privacy-page h2 { margin-block: 32px 12px; font-size: 1.5rem; letter-spacing: -.03em; }
.privacy-page p, .privacy-page li { color: var(--muted); }
.privacy-page p + p { margin-top: 12px; }
.privacy-page a { color: var(--cyan); text-decoration: underline; }
.privacy-pending { margin-top: 25px; padding: 18px; border: 1px solid #6d5b9a; border-radius: 10px; background: #201a43; }
@media (max-width: 1050px) {
  .process-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solutions-grid { gap: 12px; }
  .solution { padding: 24px 20px; }
}
@media (max-width: 740px) {
  .hero-copy { padding-block: 44px 20px; }
  .hero-copy .eyebrow { max-width: 100%; }
  .eyebrow { font-size: .875rem; letter-spacing: .06em; }
  .intro { max-width: 590px; }
  .portfolio-grid, .solutions-grid, .about-grid, .faq-section { grid-template-columns: 1fr; }
  .portfolio-grid { gap: 20px; }
  .school-topics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-card-copy { padding: 20px; }
  .faq-section { gap: 24px; }
  .about-grid { padding-block: 28px; }



  .footer-bottom { padding-bottom: 80px; }
  .motto-inner { font-size: .82rem; letter-spacing: .075em; }
}
@media (max-width: 430px) {
  .form-grid, .school-topics { grid-template-columns: 1fr; }
  .process-steps { gap: 20px; }
  .process-steps h3 { font-size: 1.1rem; }
  .service { min-height: auto; padding: 24px; }
  .service p { margin-bottom: 12px; }
  .section-cta { padding: 20px; }
  .motto-inner { font-size: .8rem; gap: 8px; letter-spacing: .045em; }
  .hero-actions { gap: 8px 18px; }
  .hero-actions .button { padding-inline: 18px; }
  .footer-top nav { display: grid; gap: 14px; }
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: .95rem;
}
.footer-contact > a { min-height: 44px; display: flex; align-items: center; }
.footer-contact > a:hover { color: var(--cyan); }

/* Compact social buttons with a glossy finish. */
.social-orb {
  --orb-size: 44px;
  --orb-top: #78adff;
  --orb-mid: #1877f2;
  --orb-bottom: #123b95;
  --orb-light: #d5e7ffb3;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--orb-size);
  height: var(--orb-size);
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 15%, var(--orb-light), transparent 45%),
    linear-gradient(145deg, var(--orb-top), var(--orb-mid) 55%, var(--orb-bottom));
  color: #fff;
  box-shadow: inset 1px 2px 3px #ffffff80, inset -2px -4px 6px #0004, 0 4px 12px #0005;
  transition: transform .18s ease, box-shadow .18s ease;
}
.social-orb::before {
  content: "";
  position: absolute;
  inset: 6% 12% 49%;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff85, #ffffff05);
  pointer-events: none;
}
.social-orb:hover {
  transform: translateY(-2px);
  box-shadow: inset 1px 2px 3px #ffffff90, inset -2px -4px 6px #0004, 0 6px 16px #0007;
}
.header-facebook { margin-left: auto; }
.facebook-symbol {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font: 700 36px/1 Arial, sans-serif;
  text-shadow: 0 2px 2px #0005;
}
.whatsapp-float {
  --orb-size: 56px;
  --orb-top: #71ec9c;
  --orb-mid: #20bc61;
  --orb-bottom: #087c3d;
  --orb-light: #d5ffe5b3;
  position: fixed;
  z-index: 3;
  right: 22px;
  bottom: max(20px, env(safe-area-inset-bottom));
}
.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px #0004);
}
.footer-bottom { padding-right: 76px; }
@media (max-width: 740px) {
  .header-inner { gap: 12px; }
  .header-facebook { --orb-size: 42px; }
  .whatsapp-float { --orb-size: 52px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .whatsapp-float svg { width: 29px; height: 29px; }
  .footer-bottom { padding-right: 0; }
}
@media (max-width: 430px) {
  .header-inner { gap: 10px; }
  .header .brand { gap: 8px; font-size: 1.15rem; }
  .header .brand img { width: 36px; height: 36px; }
  .header-facebook { --orb-size: 40px; }
  .header-facebook .facebook-symbol { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-orb { transition: none; }
  .social-orb:hover { transform: none; }
}

/* Service artwork stays separate from readable, selectable descriptions. */
.service {
  overflow: hidden;
  padding: 0;
  min-height: 0;
  align-items: stretch;
  box-shadow: 0 8px 24px #00000012;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.service-image {
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 3 / 2;
  background: #080f25;
  border-bottom: 1px solid #29395d;
}
.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.65,.3,1);
}
.service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.1vw, 29px);
}
.service-copy h3 { margin-top: 0; margin-bottom: 12px; }
.service-copy p { margin-bottom: 14px; }
.service-copy .service-benefit { margin-bottom: 20px; }
.service-copy a { gap: 12px; padding-block: 8px; }
.service-copy a::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.service:focus-within { box-shadow: 0 0 0 1px var(--service-accent), 0 12px 30px #0003; }
@media (hover: hover) and (pointer: fine) {
  .service:hover { transform: translateY(-5px); box-shadow: 0 16px 36px #0004; }
  .service:hover .service-image img { transform: scale(1.035); }
  .service-copy a:hover::after { transform: translateX(3px) rotate(45deg); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; gap: 20px; }
  .service-copy { padding: 24px; }
  .service-copy h3 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service, .service-image img, .service-copy a::after { transition: none; }
  .service:hover, .service:hover .service-image img { transform: none; }
  .service-copy a:hover::after { transform: rotate(45deg); }
}


/* Seamless brand ribbon: two equal groups share one continuous track. */
.motto { position: relative; overflow: hidden; }
.motto-window { overflow: hidden; margin-right: 64px; mask-image: linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent); }
.motto-track { display: flex; width: max-content; animation: motto-slide 30s linear infinite; will-change: transform; }
.motto-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: clamp(24px,4vw,70px);
  min-width: max(100vw,760px);
  min-height: 62px;
  padding-inline: clamp(24px,4vw,70px);
  color: #dce8ff;
  font: 600 .9rem/1.2 var(--heading);
  text-transform: uppercase;
  letter-spacing: .15em;
}
.motto-group span { white-space: nowrap; }
.motto-toggle {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #4b649d;
  border-radius: 50%;
  background: #13234b;
  color: var(--cyan);
  font-size: .85rem;
}
.motto-toggle:hover { border-color: var(--cyan); background: #1c315e; }
.motto.is-paused .motto-track { animation-play-state: paused; }
@media (hover: hover) {
  .motto-window:hover .motto-track { animation-play-state: paused; }
}
@keyframes motto-slide { to { transform: translateX(-50%); } }
@media (max-width: 740px) {
  .motto-group { min-height: 53px; font-size: .82rem; }
  .motto-window { margin-right: 52px; }
  .motto-toggle { right: 12px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .motto-track { animation: none; width: 100%; will-change: auto; }
  .motto-window { margin-right: 0; mask-image: none; }
  .motto-group { min-width: 0; width: 100%; padding-inline: 18px; gap: 8px; font-size: clamp(.7rem,2.5vw,.9rem); letter-spacing: .045em; }
  .motto-group[aria-hidden="true"], .motto-group i:last-child, .motto-toggle { display: none; }
}

/* Circular service gallery and touch-friendly floating descriptions. */
.services { column-gap: clamp(22px,5vw,72px); row-gap: 38px; padding-block: 14px 8px; }
.service, .service:hover, .service:focus-within {
  display: block;
  padding: 0;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  transition: none;
}
.service .service-heading { margin: 0; font-size: clamp(1.15rem,1.8vw,1.45rem); line-height: 1.3; letter-spacing: -.025em; }
.service-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 8px 10px 12px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: center;
}
.service-orb { position: relative; display: block; width: min(100%,290px); aspect-ratio: 1; border-radius: 50%; }
.service-orb::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--service-accent);
  border-radius: 50%;
  box-shadow: 0 0 16px color-mix(in srgb,var(--service-accent) 40%,transparent), inset 0 0 12px color-mix(in srgb,var(--service-accent) 22%,transparent);
  animation: service-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}
.service:nth-child(2n) .service-orb::before { animation-delay: -.8s; }
.service:nth-child(3n) .service-orb::before { animation-delay: -1.6s; }
.service .service-image { display: block; width: 100%; height: 100%; aspect-ratio: 1; border: 1px solid #43557c; border-radius: 50%; background: #080f25; }
.service .service-image img { object-fit: contain; border-radius: 50%; transform: none; }
.service-title { display: block; max-width: 310px; }
.service-trigger:focus-visible { outline: 2px solid var(--service-accent); outline-offset: 7px; }
@keyframes service-glow { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .service-trigger:hover .service-image img { transform: scale(1.055); }
  .service-trigger:hover .service-title { color: var(--service-accent); }
  .service-trigger:hover .service-orb::before { animation-play-state: paused; opacity: 1; }
}
.service-dialog {
  position: fixed;
  inset: 0;
  width: min(560px,calc(100% - 32px));
  max-height: min(85dvh,720px);
  margin: auto;
  padding: clamp(24px,4vw,38px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--service-accent);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%,#25215788,transparent 65%),#101a39;
  color: var(--white);
  box-shadow: 0 24px 90px #0009;
}
.service-dialog::backdrop { background: #03071bcc; backdrop-filter: blur(7px); }
.service-dialog[open] { animation: service-reveal .2s ease-out; }
.service-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.service .service-dialog-top .eyebrow { margin: 0; color: var(--service-accent); font-size: .78rem; }
.service-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #6676a3; border-radius: 50%; background: #ffffff08; color: var(--white); font-size: 1.75rem; line-height: 1; }
.service-dialog-close:hover { border-color: var(--service-accent); color: var(--service-accent); }
.service-dialog h2 { margin-bottom: 20px; font-size: clamp(1.7rem,5vw,2.3rem); line-height: 1.12; letter-spacing: -.04em; }
.service .service-description p { margin-bottom: 16px; line-height: 1.65; font-size: 1rem; }
.service .service-description .service-benefit { margin-bottom: 26px; font-size: 1rem; color: #e0e9fb; }
.service .service-consult { margin-top: 0; padding: 13px 18px; min-height: 48px; color: #071631; background: var(--service-accent); font-size: .95rem; }
.service .service-consult:hover { text-decoration: none; filter: brightness(1.1); }
html:has(.service-dialog[open]) { overflow: hidden; }
@keyframes service-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 740px) {
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; row-gap: 28px; }
  .service-trigger { gap: 20px; padding-inline: 4px; }
  .service-orb { max-width: 230px; }
}
@media (max-width: 430px) {
  .services { column-gap: 20px; }
  .service .service-heading { font-size: 1rem; }
  .service-trigger { gap: 17px; }
  .service-orb::before { inset: -4px; }
  .service-dialog { border-radius: 20px; }
  .service .service-consult { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .service-orb::before, .service-dialog[open] { animation: none; opacity: 1; }
  .service-trigger .service-image img { transition: none; }
  .service-trigger:hover .service-image img { transform: none; }
}

/* Circular project links open the corresponding live demonstration. */
.portfolio-grid { grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: 32px; row-gap: 36px; padding-block: 16px 10px; }
.project-card { --project-accent: var(--cyan); min-width: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.project-card:nth-child(2n) { --project-accent: var(--violet); }
.project-card:nth-child(3n) { --project-accent: #8dc3ff; }
.project-launch { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; padding: 8px 5px 12px; border-radius: 18px; text-align: center; }
.project-orb { position: relative; display: block; width: min(100%,250px); aspect-ratio: 1; border: 1px solid #43557c; border-radius: 50%; background: #101a39; }
.project-orb::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--project-accent);
  border-radius: 50%;
  box-shadow: 0 0 16px color-mix(in srgb,var(--project-accent) 40%,transparent), inset 0 0 12px color-mix(in srgb,var(--project-accent) 22%,transparent);
  animation: service-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}
.project-card:nth-child(2n) .project-orb::before { animation-delay: -.8s; }
.project-card:nth-child(3n) .project-orb::before { animation-delay: -1.6s; }
.project-orb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; border-radius: 50%; }
.project-card .project-launch h3 { max-width: 280px; margin: 0; font-size: clamp(1.15rem,1.8vw,1.45rem); line-height: 1.3; letter-spacing: -.025em; }
.project-launch:focus-visible { outline-color: var(--project-accent); outline-offset: 7px; }
@media (hover: hover) and (pointer: fine) {
  .project-launch:hover h3 { color: var(--project-accent); }
  .project-launch:hover .project-orb::before { animation-play-state: paused; opacity: 1; }
}
@media (max-width: 950px) {
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 36px; }
}
@media (max-width: 430px) {
  .portfolio-grid { column-gap: 22px; row-gap: 28px; }
  .project-launch { padding-inline: 4px; gap: 20px; }
  .project-card .project-launch h3 { font-size: 1rem; }
  .project-orb::before { inset: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-orb::before { animation: none; opacity: 1; }
}

/* Videos load only after a visitor chooses a preview. */
button.project-launch { border: 0; background: none; color: var(--white); font: inherit; cursor: pointer; }
.project-video-title { max-width: 280px; font: 700 clamp(1.15rem,1.8vw,1.45rem)/1.3 var(--heading); letter-spacing: -.025em; }
.project-video .project-orb img { object-position: 50% 28%; }
.project-play { position: absolute; left: 50%; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; transform: translateX(-50%); border: 1px solid #d7faffaa; border-radius: 50%; background: #0a143bcb; color: #fff; box-shadow: 0 4px 18px #0006; font-size: 1rem; }
.project-launch:hover .project-video-title { color: var(--project-accent); }
.portfolio-video-dialog { width: min(470px,calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 16px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #748bd5; border-radius: 22px; background: #101a39; color: var(--white); box-shadow: 0 24px 90px #0009; }
.portfolio-video-dialog::backdrop { background: #03071be6; backdrop-filter: blur(7px); }
.portfolio-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.portfolio-video-heading h2 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.025em; }
.portfolio-player { display: block; width: 100%; height: min(68dvh,680px); aspect-ratio: 9 / 16; object-fit: contain; border-radius: 12px; background: #03071b; }
.video-status { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.video-status:empty { display: none; }
.video-direct { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--cyan); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
html:has(.portfolio-video-dialog[open]) { overflow: hidden; }
@media (max-width: 430px) {
  .project-video-title { font-size: 1rem; }
  .project-play { width: 40px; height: 40px; bottom: 12px; font-size: .85rem; }
  .portfolio-video-dialog { padding: 12px; border-radius: 18px; }
}

/* Remove poster intrinsic height from the circular thumbnail layout. */
.project-orb { flex-shrink: 0; }
.project-orb img { position: absolute; inset: 0; }


/* Páginas de servicio: se comparte la identidad y la navegación existentes. */
/* Cabecera corporativa: controles compactos y panel visual de servicios. */
.header { z-index: 30; background: linear-gradient(105deg, #090f2a 25%, #101735 100%); border-bottom-color: #748bca24; box-shadow: 0 8px 30px #02061518; }
.header-inner { min-height: 90px; gap: 28px; }
.header .brand { gap: 12px; font-size: 1.3rem; letter-spacing: .025em; }
.header .brand img { width: 50px; height: 50px; filter: drop-shadow(0 0 10px #44cff526); }
.header #nav { position: relative; gap: 4px; padding: 5px; border: 1px solid #a8bfff1c; border-radius: 18px; background: #17234345; font-size: .925rem; }
.header #nav > a:not(.social-orb), .header .nav-services > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: 12px; font-weight: 600; line-height: 1.3; color: #d0dbf3; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.header #nav > a:not(.social-orb):not(.button):hover { background: #9aaeff0b; color: #fff; }
.header #nav > a[aria-current="page"], .header .nav-services > summary.current-section { color: var(--cyan); background: #4de5f40d; }
.header #nav > a.button { margin-left: 8px; padding-inline: 19px; border-color: #789dd94d; background: linear-gradient(135deg, #24416b, #202a50); color: #f7fbff; box-shadow: inset 0 1px #d1eaff0a; }
.header #nav > a.button:hover { border-color: #74ddef8a; background: #293d63; }
.header #nav .header-facebook { --orb-size: 38px; flex-shrink: 0; min-height: 38px; margin: 0 7px 0 3px; }
.header .header-facebook .facebook-symbol { font-size: 31px; }
.nav-services { position: static; border: 0; }
.header .nav-services > summary { gap: 10px; }
.header .nav-services > summary::after { content: ''; width: 6px; height: 6px; margin: -3px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); font-size: 1rem; transition: transform .18s ease; }
.header .nav-services[open] > summary, .header .nav-services > summary:hover { color: var(--cyan); border-color: #4de5f438; background: #4de5f40c; }
.header .nav-services[open] > summary::after { content: ''; transform: rotate(225deg); margin-top: 3px; }
.header .nav-services > summary:focus-visible { outline: 2px solid #7eeefa; outline-offset: 3px; }
.services-menu { position: absolute; top: calc(100% + 12px); left: auto; right: 0; transform: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; width: 560px; padding: 16px; border: 1px solid #879bda44; border-radius: 21px; background: linear-gradient(140deg, #182344fa, #0e1734fc 75%); box-shadow: 0 25px 65px #0008, inset 0 1px #c0e9ff13; z-index: 10; }
.services-menu::before { content: ''; position: absolute; top: -1px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, transparent, #72dfed9c, #ae9af08a, transparent); }
.services-menu-label { grid-column: 1 / -1; padding: 0 9px 8px; margin: 0; color: #9baecf; font-size: .875rem; font-weight: 500; }
.services-menu a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 11px 10px; border: 1px solid transparent; border-radius: 12px; font-size: 1rem; transition: background .18s ease, border-color .18s ease; }
.services-menu a:hover, .services-menu a:focus-visible, .services-menu a[aria-current="page"] { background: #779dff0d; border-color: #7f9bc538; }
.services-menu a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 0; }
.menu-service-icon { flex: 0 0 37px; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #4de5f42e; border-radius: 11px; background: #4de5f40a; color: #71e4ef; }
.menu-service-icon svg { width: 21px; height: 21px; }
.services-menu a:nth-of-type(2n) .menu-service-icon { color: #b7a5f8; border-color: #b7a5f833; background: #b7a5f80c; }
.menu-service-copy { display: grid; gap: 4px; min-width: 0; }
.menu-service-copy strong { color: #f3f7ff; font-size: .925rem; font-weight: 600; line-height: 1.3; }
.menu-service-copy small { color: #a2b2d0; font-size: .8125rem; line-height: 1.35; }
.services-menu a:hover .menu-service-copy strong, .services-menu a[aria-current="page"] .menu-service-copy strong { color: var(--cyan); }
.services-menu .all-services { grid-column: 1 / -1; justify-content: center; min-height: 44px; margin-top: 6px; border: 1px solid #4de5f42d; border-radius: 11px; background: #4de5f40a; color: var(--cyan); font-size: .875rem; font-weight: 600; }
.service a.service-trigger { display: flex; margin: 0; color: var(--white); font: inherit; text-decoration: none; }
.service a.service-trigger:hover { text-decoration: none; }
.breadcrumbs { padding-top: 24px; color: var(--muted); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 14px; color: #788cb8; }
.breadcrumbs a:hover { color: var(--cyan); text-decoration: underline; }
.service-hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); padding-block: 50px 16px; }
.service-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.06em; max-width: 720px; }
.service-hero .intro { max-width: 610px; font-size: 1.125rem; }
.service-visual { overflow: hidden; border: 1px solid #43557e; border-radius: 22px; background: #101933; box-shadow: 0 20px 60px #05081955; }
.service-visual img { display: block; width: 100%; height: auto; }
.service-options h2 { max-width: 920px; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.capabilities article { padding: 28px; border-top: 2px solid var(--cyan); background: linear-gradient(130deg,#142044,#101932); border-radius: 0 0 12px 12px; }
.capabilities article:nth-child(2) { border-color: var(--violet); }
.capabilities h3 { font-size: 1.35rem; margin-bottom: 12px; }
.capabilities p, .scope-note, .service-approach p, .sample p, .flow-example p, .service-contact p, .school-preview-action p, .school-closing > p { color: var(--muted); }
.scope-note { margin-top: 24px; padding-left: 18px; border-left: 2px solid #526b9c; max-width: 950px; }
.samples-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.sample { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sample > img { display: block; width: 100%; height: auto; aspect-ratio: 1348 / 926; object-fit: cover; }
.sample > div { padding: 25px; }
.sample h3 { margin-top: 12px; font-size: 1.6rem; }
.sample p { margin-block: 10px 20px; }
.service-approach { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(26px,6vw,90px); align-items: start; }
.service-approach h2 { font-size: clamp(2rem,3.7vw,3.4rem); }
.service-approach p { margin-top: 18px; }
.service-approach .text-link { margin-top: 20px; }
.service-approach aside { border: 1px solid #43467a; border-radius: 16px; padding: 28px; background: radial-gradient(ellipse at 0% 100%,#252166,transparent 85%),#101a39; }
.service-approach aside h3 { font-size: 1.4rem; }
.flow-example { padding: clamp(24px,4vw,45px); border: 1px solid var(--line); border-radius: 18px; background: #101a39; }
.flow-example ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; list-style: none; margin: 25px 0; padding: 0; }
.flow-example li { border-left: 2px solid #4b649d; padding-left: 18px; }
.flow-example strong { font-family: var(--heading); font-size: 1.25rem; }
.flow-example li p { margin-top: 8px; }
.flow-example + .text-link { margin-top: 20px; }
.service-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 700px; }
.service-contact { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 34px; padding: clamp(26px,4vw,50px); border: 1px solid #445b86; border-radius: 20px; background: linear-gradient(125deg,#192652,#121936); }
.service-contact h2 { font-size: clamp(2rem,3vw,3rem); }
.service-contact p { margin-top: 16px; }
.service-contact > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 30px 60px; }
.related > p { width: 100%; color: var(--muted); }
.related-link { border: 1px solid var(--line); border-radius: 9px; padding: 12px 16px; font-weight: 600; }
.related-link:hover { border-color: var(--cyan); color: var(--cyan); }
.school-preview-action { display: grid; gap: 20px; }
.school-hero { padding-top: 55px; }
.school-hero h1 { font-size: clamp(2.8rem,6vw,5.8rem); }
.school-hero .intro { max-width: 720px; }
.school-closing { padding-bottom: 80px; }
.school-closing .button { margin-top: 22px; }
.footer-top nav { flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .header .brand { font-size: 1.2rem; }
  .header .brand img { width: 44px; height: 44px; }
  .header #nav > a:not(.social-orb), .header .nav-services > summary { padding-inline: 11px; }
}
@media (max-width: 960px) {
  .capabilities { gap: 12px; }
  .capabilities article { padding: 22px; }
  .header-inner { min-height: 78px; flex-wrap: wrap; }
  .menu-button { display: flex; align-items: center; gap: 9px; min-height: 44px; margin-left: auto; padding: 10px 14px; border-color: #7a96cf40; border-radius: 12px; background: #172343; font-size: .9rem; }
  .menu-button::before { content: ''; width: 16px; height: 12px; border-block: 1.5px solid #aec5e5; background: linear-gradient(#aec5e5,#aec5e5) center / 16px 1.5px no-repeat; }
  .menu-button[aria-expanded="true"] { color: var(--cyan); border-color: #4de5f460; }
  .header #nav { flex-basis: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 5px 10px; padding: 12px; }
  .header .menu-button:not([hidden]) + #nav { position: absolute; top: calc(100% + 8px); left: 18px; right: 18px; display: grid; align-items: start; max-height: calc(100dvh - 105px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #5b70a15e; border-radius: 17px; padding: 12px; background: #101a36; box-shadow: 0 20px 45px #0007; }
  .header .menu-button[aria-expanded="false"]:not([hidden]) + #nav { display: none; }
  .header #nav > a:not(.header-facebook) { grid-column: 1 / -1; justify-content: flex-start; padding-inline: 12px; }
  .header #nav > a:nth-child(2) { grid-column: 2; grid-row: 1; }
  .header #nav .nav-services { grid-column: 1 / -1; grid-row: 2; }
  .header .nav-services > summary { justify-content: flex-start; padding-right: 12px; }
  .header #nav .header-facebook { grid-column: 1; grid-row: 1; z-index: 1; margin: 3px 2px 0 0; }
  .header #nav > a.button { margin: 5px 0 0; justify-content: center; width: 100%; }
  .header #nav .services-menu { position: static; transform: none; display: grid; grid-template-columns: 1fr; width: 100%; margin-block: 8px; padding: 10px 7px 7px; border-radius: 13px; background: #080f2666; box-shadow: none; }
  .services-menu a { min-height: 65px; padding: 8px; }
  .services-menu-label { padding: 2px 8px 5px; font-size: .8125rem; }
  .services-menu .all-services { min-height: 44px; }
}
@media (max-width: 740px) {
  .service-hero { grid-template-columns: 1fr; padding-top: 36px; }
  .service-hero h1 { font-size: clamp(2.35rem,8.4vw,3.5rem); }
  .service-visual { max-width: 560px; }
  .capabilities, .service-approach, .service-contact { grid-template-columns: 1fr; }
  .flow-example ol { grid-template-columns: 1fr; gap: 22px; }
  .samples-grid { grid-template-columns: 1fr; }
  .service-hero .hero-actions { gap: 20px; }
  .service-video-grid { gap: 20px 12px; }
  .school-hero { padding-top: 36px; }
  .breadcrumbs { padding-top: 20px; }
  .school-closing { padding-bottom: 55px; }
}
@media (max-width: 430px) {
  .header-inner { min-height: 74px; }
  .header .brand { font-size: 1.15rem; gap: 9px; }
  .header .brand img { width: 42px; height: 42px; }
  .header .menu-button:not([hidden]) + #nav { left: 12px; right: 12px; }
  .related-link { width: 100%; }
  .service-contact > div:last-child > a { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .header #nav a, .header .nav-services > summary, .header .nav-services > summary::after { transition: none; }
}
