@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brandscheid Social";
  src: url("./assets/fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eef2fb;
  --bg-strong: #e6ebfb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-dark: #1c275a;
  --text: #18233f;
  --muted: #5d6887;
  --line: rgba(24, 35, 63, 0.1);
  --brand-primary: #5a52a3;
  --brand-secondary: #2e3995;
  --brand-sky: #87c9f0;
  --brand-gold: #f4b400;
  --brand-leaf: #8ec63f;
  --brand-deep: #18245b;
  --shadow: 0 18px 60px rgba(35, 49, 109, 0.16);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(90, 82, 163, 0.2), transparent 28%),
    radial-gradient(circle at right 12% top 18%, rgba(135, 201, 240, 0.22), transparent 24%),
    radial-gradient(circle at left 28% bottom 14%, rgba(244, 180, 0, 0.1), transparent 20%),
    linear-gradient(180deg, #f4f7fe 0%, #eef3fc 42%, #e8eefb 100%);
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.28s ease;
  animation: page-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(0);
}

body.is-transitioning {
  opacity: 0;
  transform: translateY(10px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

iframe {
  border: 0;
}

.site-shell,
.legal-page {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-shell {
  padding-bottom: 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.header-navigation {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-frame {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(135, 201, 240, 0.16), rgba(90, 82, 163, 0.12));
  border: 1px solid rgba(90, 82, 163, 0.14);
  box-shadow: 0 10px 28px rgba(35, 49, 109, 0.12);
  flex: 0 0 auto;
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(0.96);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--brand-deep);
}

.brand-subline {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--brand-deep);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-contact-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 35, 63, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(35, 49, 109, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-action-link:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 57, 149, 0.2);
  color: var(--brand-secondary);
}

.header-action-link-primary {
  background: linear-gradient(135deg, rgba(90, 82, 163, 0.14), rgba(135, 201, 240, 0.16));
}

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

.main-nav a:hover {
  transform: translateY(-1px);
}

.page-hero,
.hero,
.feature-card,
.reason-card,
.reference-card,
.contact-card,
.contact-note,
.service-card,
.info-card,
.map-card,
.value-card,
.timeline article {
  backdrop-filter: blur(16px);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  padding: 18px 0 24px;
}

.hero {
  align-items: stretch;
}

.page-hero {
  align-items: start;
}

.hero-copy,
.page-hero-copy {
  padding-top: 16px;
}

.eyebrow,
.card-label,
.section-heading h2 + p,
.stat-label,
.feature-card span,
.timeline strong,
.service-card span,
.contact-badge,
.legal-meta {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}

.hero h1,
.page-hero h1,
.section-heading h2,
.contact-card h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-text,
.page-hero-text,
.section-intro,
.contact-card > p,
.contact-note p,
.service-card p,
.feature-card p,
.reason-card p,
.reference-copy p,
.info-card p,
.value-card p,
.timeline p,
.legal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.page-hero-text {
  margin: 22px 0 0;
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 35, 63, 0.08);
}

.button-tertiary {
  background: rgba(46, 57, 149, 0.08);
  color: var(--brand-secondary);
}

.trust-list,
.service-list,
.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-list li,
.service-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.trust-list li::before,
.service-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.5em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-gold));
}

.page-contact-inline {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.page-contact-inline a {
  color: var(--brand-secondary);
}

.hero-panel,
.page-hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  grid-auto-rows: max-content;
}

.hero-card,
.page-hero-card,
.feature-card,
.reason-card,
.service-card,
.info-card,
.map-card,
.contact-card,
.contact-note,
.reference-card,
.value-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card,
.page-hero-card,
.feature-card,
.reason-card,
.service-card,
.info-card,
.map-card,
.contact-card,
.contact-note,
.value-card {
  padding: 24px;
}

.hero-card-main,
.page-hero-card-main,
.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
    linear-gradient(130deg, rgba(90, 82, 163, 0.1), rgba(135, 201, 240, 0.12));
}

.hero-card-accent,
.page-hero-card-accent,
.contact-note,
.cta-band {
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(244, 180, 0, 0.26), transparent 34%),
    linear-gradient(140deg, #26347d 0%, #1a2250 100%);
}

.card-label,
.contact-badge,
.stat-label {
  margin: 0 0 14px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-grid,
.stats-strip,
.feature-grid,
.reasons-grid,
.references-grid,
.services-grid,
.info-grid,
.values-grid,
.contact-grid,
.link-cards {
  display: grid;
  gap: 18px;
}

.service-grid,
.feature-grid,
.reasons-grid,
.references-grid,
.services-grid,
.info-grid,
.values-grid,
.contact-grid,
.link-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.section-heading + .service-grid,
.section-heading + .stats-strip,
.section-heading + .feature-grid,
.section-heading + .reasons-grid,
.section-heading + .references-grid,
.section-heading + .services-grid,
.section-heading + .info-grid,
.section-heading + .values-grid,
.section-heading + .contact-grid,
.section-heading + .link-cards {
  margin-top: 26px;
}

.service-grid article,
.stats-strip article,
.feature-card,
.reason-card,
.service-card,
.info-card,
.value-card {
  border-radius: var(--radius-md);
}

.service-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.service-grid h2,
.feature-card h3,
.reason-card h3,
.service-card h3,
.reference-copy h3,
.timeline h3,
.info-card h3,
.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.service-grid p {
  margin: 0;
  line-height: 1.7;
}

.stats-strip article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(24, 35, 63, 0.06);
}

.stats-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1.45rem;
}

.section {
  padding: 82px 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}

.page-hero h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.9rem);
}

.feature-card,
.reason-card,
.service-card,
.info-card,
.value-card {
  border: 1px solid rgba(24, 35, 63, 0.07);
}

.feature-card span,
.service-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-sky);
  letter-spacing: 0.1em;
}

.reference-card {
  overflow: hidden;
  padding: 0;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(180deg, rgba(237, 242, 253, 0.92), rgba(223, 232, 250, 0.7));
}

.reference-copy {
  padding: 20px 22px 24px;
}

.reference-card.image-top img {
  object-position: center top;
}

.reference-card.image-centered img {
  object-position: center 42%;
}

.reference-card .project-slides img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(180deg, rgba(237, 242, 253, 0.92), rgba(223, 232, 250, 0.7));
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.project-shot {
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 35, 63, 0.08);
  box-shadow: var(--shadow);
}

.project-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(180deg, rgba(237, 242, 253, 0.9), rgba(223, 232, 250, 0.68));
}

.project-slideshow {
  position: relative;
}

.project-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(237, 242, 253, 0.9), rgba(223, 232, 250, 0.68));
}

.project-slides img {
  display: none;
  width: 100%;
  height: 100%;
}

.project-slides img.is-active {
  display: block;
}

.project-shot .project-slides img.is-active {
  min-height: 320px;
}

.project-slideshow-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slideshow-button,
.slideshow-dots button {
  pointer-events: auto;
}

.slideshow-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 35, 63, 0.7);
  color: #fff;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 19, 48, 0.18);
}

.slideshow-dots {
  display: inline-flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(11, 19, 48, 0.12);
}

.slideshow-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 55, 127, 0.22);
  cursor: pointer;
}

.slideshow-dots button.is-active {
  background: var(--brand-secondary);
}

.project-shot-copy {
  padding: 16px 18px 18px;
}

.project-shot-copy h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.project-shot-copy p {
  min-height: 84px;
  margin: 0;
  color: var(--muted);
}

.logo-panel-card {
  display: grid;
  gap: 18px;
}

.logo-panel-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-panel-card .brand-mark-frame {
  width: 88px;
  height: 88px;
}

.logo-panel-card .brand-name {
  font-size: clamp(1.75rem, 2.4vw, 2.3rem);
}

.logo-panel-card .brand-subline {
  font-size: 0.92rem;
}

.section-dark,
.cta-band {
  margin-top: 82px;
  padding: 42px 36px 36px;
  border-radius: var(--radius-xl);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(244, 180, 0, 0.22), transparent 24%),
    radial-gradient(circle at bottom right, rgba(135, 201, 240, 0.16), transparent 24%),
    linear-gradient(135deg, #2a377f 0%, #18224c 100%);
}

.section-dark .eyebrow,
.cta-band .eyebrow {
  color: #f7cf56;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.timeline article {
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline strong {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 2rem;
  color: #f7cf56;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.contact-grid {
  align-items: start;
}

.contact-grid > * {
  height: 100%;
}

.contact-card,
.map-card {
  display: flex;
  flex-direction: column;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.contact-links a,
.contact-links span {
  font-weight: 800;
}

.map-card iframe {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-md);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(46, 57, 149, 0.08);
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(46, 57, 149, 0.14);
}

.social-link::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  font-family: "Brandscheid Social", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.social-link.instagram::before {
  content: "\f16d";
}

.social-link.facebook::before {
  content: "\f39e";
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.95fr);
  gap: 24px 32px;
  align-items: start;
  margin-top: 18px;
  padding: 32px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(90, 82, 163, 0.08), rgba(135, 201, 240, 0.12));
  box-shadow: var(--shadow);
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-frame-footer {
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.brand-text-footer .brand-name {
  font-size: 1.45rem;
}

.brand-text-footer .brand-subline {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.footer-brand p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-contact,
.footer-meta {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-brand {
  max-width: 560px;
}

.footer-contact {
  grid-column: 2;
  grid-row: 1;
}

.footer-meta {
  grid-column: 2;
  grid-row: 2;
}

.footer-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.footer-contact a,
.footer-address {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.footer-contact a:hover {
  color: var(--brand-secondary);
}

.footer-address {
  margin: 0;
}

.footer-meta-group {
  display: grid;
  gap: 10px;
}

.compact-list {
  gap: 10px;
  margin-top: 18px;
}

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

.footer-links a,
.footer-legal a {
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  color: var(--brand-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.text-link:hover {
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.footer-links a:hover,
.footer-legal a:hover,
.legal-back:hover {
  color: var(--brand-secondary);
}

.legal-page {
  padding: 32px 0 48px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 22px;
  font-weight: 800;
}

.legal-page h1 {
  margin-bottom: 20px;
}

.legal-page h2 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.legal-card {
  margin-top: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 35, 63, 0.08);
  box-shadow: var(--shadow);
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card h3 {
  margin: 20px 0 12px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.legal-card ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.legal-card li {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-note {
  background: rgba(28, 39, 90, 0.95);
  color: #fff;
}

.legal-note p {
  color: rgba(255, 255, 255, 0.86);
}

.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .stats-strip,
  .timeline,
  .cta-band,
  .site-footer,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .feature-grid,
  .reasons-grid,
  .references-grid,
  .project-gallery,
  .services-grid,
  .info-grid,
  .values-grid,
  .link-cards {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

  .header-navigation {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 22px 24px;
  }

  .footer-contact,
  .footer-meta {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .legal-page {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    position: relative;
    z-index: 10;
    padding: 10px 0 6px;
    background: rgba(244, 247, 254, 0.84);
    backdrop-filter: blur(16px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark-frame {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-subline {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 11px 16px;
  }

  .header-navigation {
    display: contents;
  }

  .header-contact-links {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav a {
    width: 100%;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero,
  .page-hero {
    gap: 22px;
    padding-top: 12px;
  }

  .hero-copy,
  .page-hero-copy {
    padding-top: 4px;
  }

  .hero h1,
  .page-hero h1,
  .section-heading h2,
  .contact-card h2,
  .legal-page h1 {
    font-size: clamp(2rem, 11vw, 3.3rem);
    line-height: 1;
  }

  .hero-text,
  .page-hero-text {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .page-hero-actions {
    gap: 12px;
  }

  .hero-actions .button,
  .page-hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .section,
  .contact-grid {
    padding-top: 56px;
  }

  .hero-card,
  .page-hero-card,
  .feature-card,
  .reason-card,
  .service-card,
  .info-card,
  .map-card,
  .contact-card,
  .contact-note,
  .value-card,
  .timeline article,
  .legal-card {
    padding: 20px;
  }

  .reference-copy {
    padding: 18px 18px 20px;
  }

  .logo-panel-lockup {
    gap: 14px;
  }

  .logo-panel-card .brand-mark-frame {
    width: 68px;
    height: 68px;
  }

  .section-dark,
  .cta-band {
    margin-top: 64px;
    padding: 24px 16px;
    border-radius: 28px;
  }

  .map-card iframe {
    min-height: 320px;
  }
}
