:root {
  scroll-padding-top: 118px;
  --black: #030405;
  --black-2: #080a0f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.13);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.48);
  --blue: #2457e6;
  --blue-2: #5d82ff;
  --service-red: #e21f2f;
  --service-red-dark: #b31320;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --blue-shadow: 0 18px 55px rgba(36, 87, 230, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--black);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  pointer-events: none;
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  background-image:
    linear-gradient(rgba(255,255,255,0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 66%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: #fff; background: var(--blue); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { position: relative; overflow: hidden; padding: 110px 0; background: var(--black); border-top: 1px solid rgba(255,255,255,0.08); }
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 16%, rgba(36,87,230,0.18), transparent 32%);
}
.section > * { position: relative; }
.eyebrow { color: var(--blue-2); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.22em; margin: 0 0 18px; text-transform: uppercase; }
.section-heading { max-width: 880px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2 { margin: 0; color: var(--white); font-size: clamp(2.5rem, 6vw, 5.8rem); line-height: 0.95; letter-spacing: -0.06em; text-transform: uppercase; }
.section-heading p:not(.eyebrow) { margin: 24px 0 0; max-width: 720px; color: var(--muted); font-size: 1.08rem; font-weight: 650; line-height: 1.8; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0 12px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.5) 62%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  transition: padding 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { padding-top: 12px; background: linear-gradient(180deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.7) 72%, rgba(0,0,0,0) 100%); }
.navbar { width: min(1320px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 3vw, 42px); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 72px; border-radius: 999px; transition: transform 0.2s ease, filter 0.2s ease; }
.brand:hover { transform: translateY(-1px); filter: drop-shadow(0 10px 30px rgba(36,87,230,0.28)); }
.brand img { width: clamp(162px, 16vw, 232px); max-height: 68px; object-fit: contain; }
.site-menu {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18,20,27,0.92), rgba(4,6,12,0.9));
  box-shadow: 0 18px 60px rgba(0,0,0,0.42), 0 0 0 1px rgba(36,87,230,0.12), 0 0 48px rgba(36,87,230,0.12);
  backdrop-filter: blur(22px);
}
.site-menu a:not(.nav-call), .language-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  background: transparent;
  font-size: clamp(0.72rem, 0.74vw, 0.86rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  padding: 0 clamp(12px, 1.08vw, 19px);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.site-menu a:not(.nav-call):hover, .site-menu a:not(.nav-call):focus-visible, .language-button:hover, .language-button:focus-visible {
  color: #fff;
  border-color: rgba(93,130,255,0.42);
  background: rgba(36,87,230,0.16);
  box-shadow: 0 10px 28px rgba(36,87,230,0.16);
}
.site-menu a.is-active:not(.nav-call), .site-menu a[aria-current="page"]:not(.nav-call) {
  color: #fff;
  border-color: rgba(93,130,255,0.62);
  background: linear-gradient(135deg, rgba(36,87,230,0.95), rgba(10,162,255,0.76));
  box-shadow: 0 14px 36px rgba(36,87,230,0.34), inset 0 1px 0 rgba(255,255,255,0.22);
}
.language-button, .nav-call, .button { border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,0.08); }
.language-button { min-width: 54px; cursor: pointer; }
.nav-call {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  border-color: rgba(255,255,255,0.82);
  color: #05070d;
  box-shadow: 0 12px 34px rgba(255,255,255,0.12);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-call:hover, .nav-call:focus-visible { color: #fff; background: var(--blue); border-color: var(--blue-2); box-shadow: var(--blue-shadow); transform: translateY(-1px); }
.menu-toggle { display: none; width: 54px; height: 50px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; background: linear-gradient(180deg, rgba(18,20,27,0.92), rgba(4,6,12,0.9)); box-shadow: 0 14px 38px rgba(0,0,0,0.4); padding: 13px 15px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 100%; margin: 4px 0; background: #fff; border-radius: 999px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
:focus-visible { outline: 3px solid rgba(93,130,255,0.9); outline-offset: 3px; }

.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.52; transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 74% 36%, rgba(36,87,230,0.34), transparent 30%), linear-gradient(90deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.86) 44%, rgba(0,0,0,0.44) 100%), linear-gradient(0deg, #000 0%, transparent 34%); }
.hero-inner { position: relative; min-height: 100vh; padding: 130px 0 30px; display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: center; }
.hero-copy h1 { white-space: pre-line; margin: 0; max-width: 860px; color: var(--white); font-size: clamp(4rem, 9.5vw, 8.1rem); line-height: 0.86; letter-spacing: -0.075em; text-transform: uppercase; }
.hero-text { margin: 32px 0 0; max-width: 680px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 650; line-height: 1.8; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 24px; font-size: 0.82rem; font-weight: 1000; letter-spacing: 0.13em; text-transform: uppercase; transition: 0.2s ease; cursor: pointer; }
.button.primary { background: var(--blue); border-color: var(--blue); box-shadow: var(--blue-shadow); }
.button.secondary { background: rgba(255,255,255,0.08); }
.button:hover { transform: translateY(-2px); border-color: var(--blue-2); background: #315fff; }
.hero-logo-card { align-self: end; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); padding: 18px; box-shadow: var(--shadow); }
.hero-logo-card img { border-radius: 22px; border: 1px solid rgba(255,255,255,0.1); }
.hero-logo-card p { margin: 18px 0 2px; text-align: center; color: var(--soft); font-size: 0.8rem; font-weight: 1000; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-trust { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.glass-card { min-height: 150px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); padding: 22px; transition: 0.2s ease; }
.glass-card:hover, .feature-card:hover, .review-card:hover { border-color: rgba(93,130,255,0.8); background: rgba(36,87,230,0.12); transform: translateY(-4px); }
.glass-card span { color: var(--blue-2); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.2em; }
.glass-card strong { display: block; margin-top: 22px; color: #fff; font-size: 1.18rem; font-weight: 1000; text-transform: uppercase; }
.glass-card p { margin: 7px 0 0; color: var(--muted); font-weight: 700; }

.split-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 50px; align-items: center; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.mini-stats div, .feature-card, .review-card, .service-form { border: 1px solid var(--line); border-radius: 28px; background: var(--panel); padding: 24px; box-shadow: 0 18px 60px rgba(0,0,0,0.18); }
.mini-stats strong { display: block; color: #fff; font-size: 1.55rem; font-weight: 1000; text-transform: uppercase; }
.mini-stats span { display: block; margin-top: 4px; color: var(--muted); font-weight: 700; }
.image-frame { position: relative; margin: 0; }
.image-frame::before { content: ""; position: absolute; inset: -16px; border-radius: 34px; background: rgba(36,87,230,0.18); filter: blur(26px); }
.image-frame img { position: relative; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.image-frame figcaption, .gallery-grid figcaption { margin-top: 12px; color: var(--soft); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.16em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 260px; transition: 0.2s ease; }
.feature-card span { display: block; width: 42px; height: 42px; margin-bottom: 34px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: var(--blue-shadow); }
.feature-card h3, .service-card h3, .service-form h3 { margin: 0; color: #fff; font-size: 1.35rem; line-height: 1.1; font-weight: 1000; }
.feature-card p, .service-card p, .service-form p { color: var(--muted); font-weight: 650; line-height: 1.75; }


.services-section { background: radial-gradient(circle at 12% 20%, rgba(36,87,230,0.14), transparent 26%), #000; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card {
  --media-h: 214px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 505px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  background: #12141a;
  box-shadow: 0 22px 70px rgba(0,0,0,0.48);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.service-card img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: var(--media-h);
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04) brightness(0.88);
  transform-origin: center;
  transition: transform 0.8s ease, filter 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: var(--media-h);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.04) 48%, rgba(0,0,0,0.5) 100%), radial-gradient(circle at 82% 16%, rgba(36,87,230,0.3), transparent 35%);
}
.service-card::after {
  content: attr(data-service-index);
  position: absolute;
  top: calc(var(--media-h) + 28px);
  left: 28px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93,130,255,0.72);
  border-radius: 14px;
  color: var(--blue-2);
  background: rgba(36,87,230,0.08);
  box-shadow: 0 12px 30px rgba(36,87,230,0.16);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
}
.service-card div {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 88px 28px 28px;
  background: linear-gradient(180deg, #12141a 0%, #0e1015 100%);
  transition: transform 0.28s ease;
}
.service-kicker {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 3;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #0aa2ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(36,87,230,0.34);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}
.service-card h3 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
  text-wrap: balance;
}
.service-card p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.7;
}
.service-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 11px 18px;
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card a::after { content: ">"; color: var(--blue-2); font-size: 0.95rem; line-height: 1; }
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(93,130,255,0.82);
  box-shadow: 0 30px 90px rgba(0,0,0,0.58), 0 16px 52px rgba(36,87,230,0.24);
}
.service-card:hover img { transform: scale(1.06); filter: saturate(1.12) contrast(1.08) brightness(0.98); }
.service-card:hover div { transform: translateY(-2px); }
.service-card:hover a { border-color: var(--blue-2); background: rgba(36,87,230,0.18); box-shadow: 0 12px 32px rgba(36,87,230,0.18); transform: translateY(-2px); }

.gallery-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 340px; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); }
.gallery-large { grid-row: span 2; }
.gallery-large img { height: 100%; min-height: 700px; }
.recognition-card { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(93,130,255,0.55); border-radius: 30px; background: rgba(36,87,230,0.16); box-shadow: var(--blue-shadow); padding: 30px; }
.recognition-card p { margin: 0; color: var(--blue-2); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.22em; text-transform: uppercase; }
.recognition-card h3 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 0.92; text-transform: uppercase; }
.recognition-card strong { color: #fff; font-size: 1.4rem; }
.recognition-card span { color: var(--muted); font-weight: 650; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { transition: 0.2s ease; }
.review-card div { color: var(--blue-2); letter-spacing: 0.08em; }
.review-card blockquote { margin: 26px 0; color: #fff; font-size: 1.45rem; line-height: 1.25; font-weight: 950; }
.review-card p { margin: 0; color: var(--soft); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.14em; text-transform: uppercase; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list p { margin: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 18px; }
.contact-list span { display: block; color: var(--blue-2); font-size: 0.76rem; font-weight: 1000; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-list strong, .contact-list a { display: block; color: #fff; margin-top: 6px; font-weight: 850; }
iframe { width: 100%; height: 320px; margin-top: 30px; border: 1px solid var(--line); border-radius: 28px; filter: grayscale(1) invert(0.9); background: var(--panel); }
.service-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-form h3, .service-form p, .service-form .full { grid-column: 1 / -1; }
.service-form h3 { font-size: 2rem; }
.service-form p { margin-top: 0; }
.service-form label { display: grid; gap: 8px; color: #fff; font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.13em; text-transform: uppercase; }
.service-form input, .service-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,0.65); color: #fff; outline: none; padding: 14px 15px; min-height: 52px; transition: 0.2s ease; }
.service-form textarea { min-height: 150px; resize: vertical; }
.service-form input::placeholder, .service-form textarea::placeholder { color: rgba(255,255,255,0.36); }
.service-form input:focus, .service-form textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(36,87,230,0.18); }
.service-form button.full { width: 100%; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.1); background: #000; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 40px; padding: 56px 0; }
.footer-grid img { width: 220px; margin-bottom: 16px; }
.footer-grid h3 { margin: 0 0 16px; color: var(--soft); font-size: 0.8rem; font-weight: 1000; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 9px; color: var(--muted); font-weight: 650; }
.copyright { margin: 0; border-top: 1px solid rgba(255,255,255,0.1); padding: 18px; text-align: center; color: var(--soft); font-size: 0.9rem; font-weight: 650; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1140px) {
  .site-header { padding-top: 14px; }
  .navbar { width: min(100% - 34px, 1180px); min-height: 70px; }
  .brand img { width: clamp(150px, 28vw, 210px); max-height: 62px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .site-menu {
    position: fixed;
    left: 17px;
    right: 17px;
    top: 92px;
    z-index: 110;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: calc(100svh - 112px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(14,16,22,0.98), rgba(0,0,0,0.98));
    box-shadow: 0 26px 80px rgba(0,0,0,0.64), 0 0 44px rgba(36,87,230,0.16);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .site-menu a:not(.nav-call), .language-button, .nav-call { width: 100%; min-height: 54px; justify-content: center; text-align: center; padding: 0 18px; font-size: 0.92rem; }
  .hero-inner, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-logo-card { display: none; }
  .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large img { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .section { padding: 82px 0; }
  .navbar { width: min(100% - 30px, 1180px); }
  .brand img { width: 152px; }
  .hero-inner { padding-top: 116px; }
  .hero-copy h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .hero-trust, .feature-grid, .review-grid, .mini-stats, .service-form { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { --media-h: 190px; min-height: auto; }
  .service-card div { padding: 84px 22px 24px; }
  .service-card::after { top: calc(var(--media-h) + 22px); left: 22px; width: 40px; height: 40px; font-size: 0.72rem; }
  .service-kicker { top: 14px; left: 16px; }
  .section-heading h2 { font-size: clamp(2.2rem, 13vw, 4rem); }
}


@media (max-width: 420px) {
  .navbar { width: min(100% - 22px, 1180px); gap: 10px; }
  .brand img { width: 136px; }
  .menu-toggle { width: 50px; height: 48px; }
  .site-menu { left: 11px; right: 11px; top: 84px; border-radius: 24px; }
  .hero-copy h1 { font-size: clamp(2.72rem, 15.4vw, 4.2rem); letter-spacing: -0.065em; }
  .hero-actions, .contact-actions { width: 100%; }
  .button, .contact-actions .button { width: 100%; }
  .service-card a { width: 100%; justify-content: center; text-align: center; }
}

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

/* Final mobile/responsive hardening pass: prevents horizontal clipping and improves tap targets. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body { overflow-x: hidden; }
}

body.menu-open { overflow: hidden; }

.navbar,
.site-menu,
.hero-inner,
.hero-copy,
.section-shell,
.section-heading,
.split-grid,
.service-grid,
.service-card,
.feature-grid,
.review-grid,
.gallery-grid,
.contact-grid,
.footer-grid,
.glass-card,
.feature-card,
.review-card,
.service-form,
.contact-list {
  min-width: 0;
}

.hero {
  min-height: 100svh;
  overflow-x: clip;
}

.hero-inner {
  min-height: 100svh;
  max-width: 100%;
}

.hero-copy h1,
.section-heading h2,
.recognition-card h3,
.review-card blockquote {
  max-width: 100%;
}

@media (max-width: 680px) {
  :root { scroll-padding-top: 96px; }

  .site-header {
    padding-top: max(12px, env(safe-area-inset-top));
    background: linear-gradient(180deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0) 100%);
  }

  .navbar {
    width: calc(100% - 28px);
    min-height: 66px;
  }

  .brand {
    min-height: 58px;
  }

  .brand img {
    width: clamp(128px, 38vw, 152px);
    max-height: 58px;
  }

  .menu-toggle {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.48), 0 0 0 1px rgba(93,130,255,0.12);
  }

  .site-menu {
    left: 14px;
    right: 14px;
    top: calc(82px + env(safe-area-inset-top));
    max-height: calc(100svh - 100px - env(safe-area-inset-top));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-menu a:not(.nav-call),
  .language-button,
  .nav-call {
    min-height: 56px;
    line-height: 1.2;
    touch-action: manipulation;
  }

  .section-shell {
    width: calc(100% - 28px);
  }

  .hero-bg {
    object-position: 58% center;
    transform: none;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 78% 34%, rgba(36,87,230,0.32), transparent 32%),
      linear-gradient(90deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.82) 58%, rgba(0,0,0,0.58) 100%),
      linear-gradient(0deg, #000 0%, transparent 42%);
  }

  .hero-inner {
    min-height: 100svh;
    padding: calc(118px + env(safe-area-inset-top)) 0 52px;
    align-items: start;
  }

  .hero-eyebrow {
    max-width: 100%;
    font-size: clamp(0.64rem, 3vw, 0.78rem);
    line-height: 1.55;
    letter-spacing: 0.15em;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 {
    white-space: normal;
    max-width: 100%;
    font-size: clamp(2.18rem, 11.5vw, 3.35rem);
    line-height: 0.95;
    letter-spacing: -0.052em;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 24px;
    font-size: clamp(0.98rem, 4.2vw, 1.08rem);
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .button,
  .contact-actions .button {
    min-height: 54px;
    padding-inline: 18px;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  .hero-trust {
    gap: 12px;
  }

  .glass-card,
  .feature-card,
  .review-card,
  .recognition-card {
    border-radius: 22px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 11.2vw, 3.45rem);
    line-height: 1;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .section-heading p:not(.eyebrow),
  .feature-card p,
  .service-card p,
  .service-form p,
  .footer-grid p,
  .footer-grid a {
    overflow-wrap: break-word;
  }

  .contact-list strong,
  .contact-list a {
    overflow-wrap: anywhere;
  }

  .footer-grid a {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
  }

  iframe {
    height: min(320px, 60svh);
  }
}

@media (max-width: 420px) {
  .navbar {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .brand img {
    width: clamp(124px, 36vw, 138px);
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .site-menu {
    left: 12px;
    right: 12px;
    top: calc(80px + env(safe-area-inset-top));
  }

  .hero-inner {
    padding-top: calc(112px + env(safe-area-inset-top));
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.8vw, 2.82rem);
    line-height: 0.98;
    letter-spacing: -0.046em;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .service-card {
    border-radius: 24px;
  }
}

@media (max-width: 360px) {
  .section-shell,
  .navbar {
    width: calc(100% - 22px);
  }

  .brand img {
    width: 120px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 12px 14px;
  }

  .hero-copy h1 {
    font-size: clamp(1.86rem, 10.4vw, 2.35rem);
  }

  .hero-eyebrow {
    letter-spacing: 0.12em;
  }
}
