@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f7faff;
  --bg-soft: #f0f5fd;
  --ink: #10213d;
  --ink-soft: #2b4567;
  --ink-muted: #5a6f8f;
  --brand: #1b2c6a;
  --brand-strong: #111e4a;
  --accent: #6fb63a;
  --accent-soft: #e5f2d6;
  --surface: #ffffff;
  --surface-2: #f7faff;
  --border: #d4deee;
  --shadow-soft: 0 10px 26px rgba(16, 33, 72, 0.07);
  --shadow-strong: 0 14px 34px rgba(13, 29, 67, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.68;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(20, 37, 77, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 37, 77, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 72%);
}

p {
  margin: 0 0 0.9rem;
}

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

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

a:hover {
  text-decoration: underline;
}

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent) 40%, white);
  outline-offset: 2px;
}

.container {
  width: min(1260px, 94vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 200;
  background: var(--brand-strong);
  color: #f5f8ff;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 82%, white);
  background: color-mix(in oklab, #ffffff 98%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: clamp(34px, 4.6vw, 50px);
  max-width: min(230px, 38vw);
  object-fit: contain;
}

.brand-meta {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--brand-strong);
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.77rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--brand);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a.is-active,
.nav-list a[aria-current="page"] {
  color: var(--brand);
}

.nav-list a.is-active::after,
.nav-list a[aria-current="page"]::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.3rem;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 999px;
}

.header-phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.95rem;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 32%, var(--brand-strong));
  background: linear-gradient(140deg, var(--brand), color-mix(in oklab, var(--brand) 70%, black));
  color: #f2f6ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(21, 36, 87, 0.28);
}

.page-shell {
  overflow: hidden;
}

.hero {
  padding: 4.4rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.3rem;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(175deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 8px;
  border: 1px solid color-mix(in oklab, var(--border) 72%, white);
  background: linear-gradient(150deg, #f2f7ff, #e8effd);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.hero h1,
.section-heading,
.page-hero h1,
.mission-card h2,
.feature-card h3,
.service-card h3,
.cyber-card h3,
.footer-title,
.contact-card h2,
.contact-panel h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  line-height: 1.14;
  margin: 1rem 0 1rem;
  color: var(--brand-strong);
}

.hero p {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 60ch;
}

.hero-promises {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-promises li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--brand) 60%, white));
}

.button-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.68rem 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), color-mix(in oklab, var(--brand) 64%, black));
  color: #f3f6ff;
  box-shadow: 0 10px 24px rgba(19, 36, 82, 0.26);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--brand);
}

.hero-media {
  position: relative;
  min-height: clamp(250px, 31vw, 420px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: linear-gradient(155deg, #e6eefc, #dbe7fb);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(0.35rem, 1vw, 0.75rem);
  filter: saturate(0.72) brightness(1.12) contrast(0.88);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.44), rgba(227, 236, 255, 0.22));
}

.section {
  padding: 4.2rem 0;
}

.section-tight {
  padding-top: 1.4rem;
  padding-bottom: 1.8rem;
}

.section-header {
  max-width: 920px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading,
.page-hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.18;
  color: var(--brand-strong);
  margin-bottom: 0.9rem;
  text-transform: none;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 76ch;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid,
.features-grid,
.services-grid,
.cyber-grid {
  display: grid;
  gap: 1.25rem;
}

.space-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.space-panel {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklab, var(--border) 76%, white);
  background:
    linear-gradient(180deg, #fafdff 0%, #eef4ff 100%);
  min-height: 118px;
  padding: 0.92rem 0.95rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.space-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.space-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 37, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 37, 77, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
}

.space-panel-label {
  margin: 0.75rem 0 0.28rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.space-panel-value {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  color: var(--brand-strong);
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

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

.trust-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.3rem;
  justify-content: center;
}

.trust-strip li {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: left;
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-strip li::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--brand) 64%, white));
  flex: 0 0 auto;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
  padding: 1rem 1rem 1.05rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.stat-value {
  margin: 0 0 0 0.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-label {
  margin: 0.25rem 0 0 0.25rem;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.86rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.mission-card,
.feature-card,
.service-card,
.cyber-card,
.contact-panel,
.contact-card,
.page-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fe 100%);
  box-shadow: var(--shadow-soft);
}

.mission-card,
.feature-card,
.service-card,
.cyber-card,
.contact-panel,
.contact-card {
  position: relative;
  overflow: hidden;
}

.mission-card::before,
.feature-card::before,
.service-card::before,
.cyber-card::before,
.contact-panel::before,
.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), color-mix(in oklab, var(--accent) 80%, white));
}

.mission-card {
  padding: 1.35rem 1.45rem;
}

.mission-card h2 {
  margin: 0 0 0.9rem;
  color: var(--brand-strong);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  text-transform: none;
}

.mission-card p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

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

.feature-card {
  padding: 1.25rem 1.3rem 1.3rem;
  min-height: 180px;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--brand-strong);
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.page-top {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-top-copy {
  padding: clamp(1rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-top-copy h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.16;
  color: var(--brand-strong);
}

.page-top-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

.page-top-media {
  margin: 0;
  border-left: 1px solid var(--border);
  background: linear-gradient(150deg, #eef4ff, #e4ecfb);
  min-height: clamp(180px, 24vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
}

.page-top-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.72) brightness(1.1) contrast(0.9);
}

.page-switch {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.page-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.72rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-switch-link:hover {
  text-decoration: none;
  border-color: color-mix(in oklab, var(--brand) 55%, white);
}

.page-switch-link.is-active,
.page-switch-link[aria-current="page"] {
  background: linear-gradient(140deg, var(--brand), color-mix(in oklab, var(--brand) 72%, black));
  border-color: color-mix(in oklab, var(--brand) 60%, black);
  color: #f3f6ff;
}

.page-hero {
  overflow: hidden;
  min-height: clamp(220px, 26vw, 360px);
  position: relative;
  padding: clamp(1rem, 2.1vw, 1.8rem);
  display: grid;
  align-items: end;
  margin-top: 2.8rem;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #e7effd;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(227, 237, 255, 0.35));
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero p {
  color: var(--brand-strong);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
}

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

.service-card,
.cyber-card {
  padding: 1.25rem 1.3rem 1.35rem;
  min-height: 0;
}

.service-card h3,
.cyber-card h3 {
  margin: 0 0 0.6rem;
  color: var(--brand-strong);
  font-size: 1.18rem;
}

.service-card p,
.cyber-card p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

.service-card ul,
.step-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.service-card li,
.step-list li {
  margin-bottom: 0.35rem;
}

.mission-card,
.feature-card,
.service-card,
.cyber-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 0 0.95rem;
  border-bottom: 1px solid var(--border);
}

.mission-card::before,
.feature-card::before,
.service-card::before,
.cyber-card::before {
  content: none;
}

.feature-card {
  min-height: 0;
}

.mission-card h2,
.feature-card h3,
.service-card h3,
.cyber-card h3 {
  margin-bottom: 0.4rem;
}

.service-card ul {
  margin-top: 0.45rem;
}

.step-list li {
  border: 0;
  border-left: 2px solid var(--border);
  background: transparent;
  border-radius: 0;
  padding: 0.2rem 0 0.45rem 0.9rem;
}

.step-list span {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.spotlight {
  margin-top: 2rem;
}

.spotlight,
.visual-break,
.cta-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.visual-break,
.cta-visual {
  margin-bottom: 1.5rem;
}

.cta-visual {
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.visual-break-media,
.cta-visual-media,
.spotlight-media {
  margin: 0;
  min-height: clamp(200px, 22vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(150deg, #eef4ff, #e2ebfb);
  transform: translateY(var(--media-shift, 0));
}

.visual-break-media img,
.cta-visual-media img,
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.72) brightness(1.1) contrast(0.9);
}

.visual-break-copy,
.cta-visual-copy,
.spotlight-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  inset: auto;
  z-index: 1;
  max-width: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: clamp(1.2rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(var(--copy-shift, 0));
}

.visual-break {
  --media-shift: -14px;
  --copy-shift: 12px;
}

.cta-visual {
  --media-shift: 12px;
  --copy-shift: -10px;
}

.spotlight {
  --media-shift: -8px;
  --copy-shift: 10px;
}

.visual-break--reverse .visual-break-media,
.cta-visual--reverse .cta-visual-media,
.spotlight--reverse .spotlight-media {
  order: 2;
}

.visual-break--reverse .visual-break-copy,
.cta-visual--reverse .cta-visual-copy,
.spotlight--reverse .spotlight-copy {
  order: 1;
}

.visual-break--reverse {
  --media-shift: 12px;
  --copy-shift: -12px;
}

.cta-visual--reverse {
  --media-shift: -12px;
  --copy-shift: 12px;
}

.spotlight--reverse {
  --media-shift: 10px;
  --copy-shift: -10px;
}

.spotlight-copy h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-strong);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.step-list span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), color-mix(in oklab, var(--brand) 66%, black));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-list p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.visual-break {
  margin-bottom: 1.5rem;
}

.visual-break::before {
  content: none;
}

.visual-break-copy {
  border-left: 3px solid color-mix(in oklab, var(--brand) 70%, white);
}

.visual-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.visual-break h2 {
  margin: 0;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.media-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.media-mosaic--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-tile {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 0;
  aspect-ratio: auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.media-tile--large {
  grid-column: span 1;
}

.media-mosaic .media-tile:nth-child(2n) {
  margin-top: 0.8rem;
}

.media-mosaic .media-tile:nth-child(3n) {
  margin-top: -0.4rem;
}

.media-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
  filter: saturate(0.72) brightness(1.1) contrast(0.9);
}

.media-tile figcaption {
  position: static;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.2rem 0.25rem 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.cta-visual {
  margin-top: 1.4rem;
}

.cta-visual::before {
  content: none;
}

.cta-visual-copy {
  border-left: 3px solid color-mix(in oklab, var(--accent) 75%, white);
}

.cta-visual-copy h2 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  color: var(--brand-strong);
}

.cta-visual-copy .btn {
  width: fit-content;
}

.contact-card,
.contact-panel {
  padding: 1.7rem;
}

.contact-card h2,
.contact-panel h2 {
  margin-top: 0;
  color: var(--brand-strong);
  font-size: 1.75rem;
}

.contact-block {
  margin-top: 1rem;
}

.contact-block p,
.contact-line {
  margin: 0.3rem 0;
  color: var(--ink-soft);
}

.form-help {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.inquiry-security-note {
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in oklab, var(--border) 78%, white);
  background: linear-gradient(145deg, #f7fbff, #edf4ff);
}

.inquiry-security-note .contact-line {
  margin: 0;
}

.inquiry-guard {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.inquiry-guard-title {
  margin: 0 0 0.35rem;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.cf-turnstile {
  margin: 0.55rem 0 0;
  min-height: 65px;
}

.inquiry-frame-wrap {
  margin-top: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #f9fcff;
}

.inquiry-frame {
  width: 100%;
  min-height: 1100px;
  border: 0;
  display: block;
  background: #ffffff;
}

.inquiry-fallback {
  margin-top: 0.8rem;
}

.inquiry-fallback a {
  color: var(--brand);
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--border) 82%, #9eb2d8);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
}

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

.form-status {
  min-height: 1.3rem;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #126112;
}

.form-status.is-error {
  color: #8d1313;
}

.site-footer {
  margin-top: 3.2rem;
  background: linear-gradient(180deg, #f5f8ff, #ecf2fd);
  color: var(--ink-soft);
  padding: 2.6rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

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

.footer-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-nav a {
  color: var(--brand);
}

.footer-meta {
  margin-top: 1.4rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-align: center;
}

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

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

@media (max-width: 980px) {
  .hero-inner,
  .contact-layout,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-media {
    min-height: 240px;
  }

  .page-top {
    grid-template-columns: 1fr;
  }

  .page-top-media {
    border-left: 0;
    border-top: 1px solid var(--border);
    min-height: 170px;
  }

  .page-switch {
    justify-content: center;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .media-tile--large {
    grid-column: span 1;
  }

  .media-mosaic .media-tile:nth-child(2n),
  .media-mosaic .media-tile:nth-child(3n) {
    margin-top: 0;
  }

  .visual-break,
  .cta-visual,
  .spotlight {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .visual-break-media,
  .cta-visual-media,
  .spotlight-media {
    min-height: 260px;
    transform: none;
  }

  .visual-break--reverse .visual-break-media,
  .cta-visual--reverse .cta-visual-media,
  .spotlight--reverse .spotlight-media {
    order: 0;
  }

  .visual-break--reverse .visual-break-copy,
  .cta-visual--reverse .cta-visual-copy,
  .spotlight--reverse .spotlight-copy {
    order: 0;
  }

  .visual-break-copy,
  .cta-visual-copy,
  .spotlight-copy {
    transform: none;
  }

  .stats-grid,
  .services-grid,
  .cyber-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .brand-logo {
    width: auto;
    height: clamp(32px, 6vw, 44px);
    max-width: min(200px, 55vw);
  }

  .brand-tagline {
    display: none;
  }

  .inquiry-frame {
    min-height: 1220px;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    top: calc(var(--header-height) - 6px);
    right: 0;
    width: min(320px, 90vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 9px;
  }

  .nav-list a.is-active::after,
  .nav-list a[aria-current="page"]::after {
    display: none;
  }

  .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .header-phone {
    margin-top: 0.3rem;
  }

  .header-phone a {
    width: 100%;
  }

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

  .stats-grid,
  .services-grid,
  .cyber-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .space-panels {
    grid-template-columns: 1fr;
  }

  .media-mosaic,
  .media-mosaic--contact {
    grid-template-columns: 1fr;
  }

  .media-tile--large {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    height: 72px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-meta {
    display: none;
  }

  .hero-copy,
  .page-hero,
  .mission-card,
  .feature-card,
  .service-card,
  .cyber-card,
  .contact-panel,
  .contact-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .page-hero {
    min-height: 190px;
  }

  .page-top-copy {
    padding: 1rem;
  }

  .page-top-copy h1 {
    font-size: clamp(1.3rem, 6vw, 1.85rem);
  }

  .page-top-media {
    min-height: 150px;
    padding: 0.4rem;
  }

  .page-switch {
    gap: 0.4rem;
  }

  .page-switch-link {
    padding: 0.35rem 0.55rem;
    font-size: 0.73rem;
  }

  .visual-break-media,
  .cta-visual-media,
  .spotlight-media {
    min-height: 170px;
    padding: 0.45rem;
  }

  .visual-break-copy,
  .cta-visual-copy,
  .spotlight-copy {
    padding: 1rem;
  }

  .inquiry-frame {
    min-height: 1360px;
  }
}

/* Large phones (for example: iPhone Pro Max class) */
@media (min-width: 641px) and (max-width: 767px) {
  .container {
    width: min(1260px, calc(100vw - 1.2rem));
  }

  .hero {
    padding: 2rem 0 2.2rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .hero-inner,
  .contact-layout {
    gap: 1rem;
  }

  .hero-copy,
  .contact-card,
  .contact-panel {
    padding: 1.1rem;
  }

  .hero-media,
  .page-top-media,
  .visual-break-media,
  .cta-visual-media,
  .spotlight-media {
    min-height: 190px;
  }

  .contact-card h2,
  .contact-panel h2 {
    font-size: 1.4rem;
  }

  .section-intro,
  .hero p,
  .page-top-copy p,
  .service-card p,
  .cyber-card p {
    font-size: 0.96rem;
  }

  .btn {
    min-height: 44px;
  }

  input,
  textarea {
    font-size: 16px;
  }
}

/* Regular phones (for example: iPhone 12/13/14 class) */
@media (max-width: 430px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    min-height: 68px;
  }

  .container {
    width: min(1260px, calc(100vw - 0.95rem));
  }

  .brand-logo {
    height: clamp(27px, 8vw, 34px);
    max-width: min(170px, 58vw);
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-list {
    top: calc(var(--header-height) - 8px);
    width: min(280px, calc(100vw - 1rem));
    right: 0.1rem;
    padding: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8.2vw, 1.9rem);
    line-height: 1.17;
  }

  .section-heading,
  .page-hero h1 {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
  }

  .page-top-copy h1 {
    font-size: clamp(1.2rem, 6.8vw, 1.55rem);
  }

  .hero-promises li {
    font-size: 0.9rem;
  }

  .button-row {
    margin-top: 1rem;
    gap: 0.55rem;
  }

  .button-row .btn {
    width: 100%;
  }

  .page-switch {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-switch-link {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font-size: 0.71rem;
  }

  .visual-break-media,
  .cta-visual-media,
  .spotlight-media {
    min-height: 160px;
    padding: 0.35rem;
  }

  .contact-layout {
    margin-top: 1.4rem;
  }

  .contact-card,
  .contact-panel {
    padding: 0.95rem;
  }

  .trust-strip {
    gap: 0.45rem 0.6rem;
  }

  .trust-strip li {
    font-size: 0.78rem;
  }

  .inquiry-frame {
    min-height: 1520px;
  }
}

/* Small phones (for example: iPhone SE class) */
@media (max-width: 360px) {
  .container {
    width: min(1260px, calc(100vw - 0.65rem));
  }

  .brand-logo {
    height: 24px;
    max-width: 145px;
  }

  .eyebrow {
    font-size: 0.6rem;
    padding: 0.32rem 0.55rem;
  }

  .hero h1 {
    font-size: 1.32rem;
  }

  .hero p,
  .section-intro,
  .service-card p,
  .cyber-card p,
  .contact-line {
    font-size: 0.89rem;
  }

  .btn {
    font-size: 0.86rem;
    padding: 0.62rem 0.7rem;
  }

  .visual-label {
    font-size: 0.64rem;
  }

  .step-list li {
    gap: 0.55rem;
    padding: 0.65rem;
  }

  .step-list span {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .inquiry-frame {
    min-height: 1660px;
  }
}

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

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