@import url('https://fonts.bunny.net/css?family=manrope:400,500,600,700,800|outfit:500,600,700,800');

:root {
  --brand: #18c9dc;
  --brand-deep: #0796aa;
  --accent: #0b7893;
  --accent-deep: #07566d;
  --ink: #08243d;
  --ink-soft: #29445a;
  --page-bg: #f4f8fa;
  --page-bg-2: #eaf2f5;
  --card-bg: #ffffff;
  --muted: #637487;
  --line: rgba(8, 36, 61, .14);
  --white-line: rgba(255, 255, 255, .18);
  --success: #087f5b;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-button: "Manrope", system-ui, sans-serif;
  --font-size-base: 15px;
  --font-size-h1: 60px;
  --font-size-h2: 40px;
  --font-size-small: 11px;
  --radius: 8px;
  --radius-lg: 10px;
  --section-y: 78px;
  --container: 1160px;
  --header-h: 102px;
  --shadow-sm: 0 14px 38px rgba(5, 32, 49, .10);
  --shadow-lg: 0 22px 64px rgba(5, 32, 49, .19);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page-bg);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--accent); }

.__sos_builder_booting body { opacity: 0; }
.__sos_builder_ready body { opacity: 1; transition: opacity .35s ease; }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section-white { background: #fff; }
.section-paper { background: var(--page-bg); }
.section-paper-2 { background: var(--page-bg-2); }
.section-dark { color: #fff; background: var(--ink); }
.section-blue { color: #fff; background: var(--accent); }

.scroll-progress {
  position: fixed;
  z-index: 1001;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: var(--brand);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-h);
  border-bottom: 1px solid rgba(16, 35, 46, .08);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px) saturate(150%);
}
.header-shell {
  width: min(1320px, calc(100% - 36px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { width: clamp(136px, 12vw, 170px); height: auto; }
.primary-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.primary-nav ul a:hover::after,
.primary-nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-family: var(--font-button);
  font-size: 13px;
  font-weight: 800;
  transition: transform .3s var(--ease), background-color .3s ease;
}
.header-call::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 106, 43, .16);
}
.header-call:hover { background: var(--accent); transform: translateY(-2px); }
.nav-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
  position: absolute;
  left: 50%;
  width: 21px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle-lines { top: 50%; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; left: 50%; }
.nav-toggle-lines::before { transform: translate(-50%, -7px); }
.nav-toggle-lines::after { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translate(-50%, 0) rotate(-45deg); }

/* Typography and UI */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(40px, 6vw, var(--font-size-h1)); }
h2 { font-size: clamp(30px, 4vw, var(--font-size-h2)); }
h3 { font-size: clamp(21px, 2.1vw, 30px); }
p { margin: 0; }
.display-title { max-width: 980px; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
.page-title { max-width: 930px; font-size: clamp(38px, 5vw, 62px); }
.page-lead { max-width: 720px; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; color: var(--muted); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 62px;
}
.section-heading h2 { max-width: 800px; }
.section-lead { max-width: 620px; color: var(--muted); font-size: 16px; }
.section-dark .section-lead, .section-blue .section-lead { color: rgba(255, 255, 255, .72); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-button);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 38px; height: 2px; background: currentColor; }
.section-kicker.is-orange { color: var(--brand); }
.section-kicker.is-light { color: #fff; }
.section-kicker.is-dark { color: var(--ink); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 15px 24px;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 17px;
  font-family: var(--font-button);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  cursor: pointer;
  transition: color .35s ease, border-color .35s ease, background-color .35s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.button::after {
  content: "↗";
  font-size: 18px;
  line-height: 1;
  transition: transform .35s var(--ease);
}
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(255, 106, 43, .22); }
.button:hover::after { transform: translate(3px, -3px); }
.button-blue { background: var(--accent); border-color: var(--accent); }
.button-blue:hover { box-shadow: 0 16px 32px rgba(49, 85, 245, .22); }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: #fff; border-color: #fff; }
.button-outline { color: var(--ink); background: transparent; border-color: var(--line); }
.button-outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: none; }
.button-outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.42); }
.button-outline-light:hover { color: var(--ink); background: #fff; border-color: #fff; box-shadow: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}
.text-link::after { content: "↗"; font-size: 18px; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translate(3px, -3px); }

/* Home hero */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: 62px 0 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 20%, rgba(49, 85, 245, .12), transparent 25%),
    radial-gradient(circle at 87% 23%, rgba(255, 106, 43, .15), transparent 27%),
    var(--page-bg);
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(16,35,46,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(16,35,46,.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.home-hero-inner { position: relative; min-height: 760px; }
.hero-backword {
  position: absolute;
  z-index: -1;
  top: 42%;
  left: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 35, 46, .1);
  font-family: var(--font-heading);
  font-size: clamp(130px, 20vw, 320px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .8;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  user-select: none;
}
.hero-copy {
  position: relative;
  z-index: 5;
  width: min(860px, 80%);
  margin-inline: auto;
  padding-top: 66px;
  text-align: center;
}
.hero-copy .section-kicker { justify-content: center; }
.hero-copy .section-kicker::after { content: ""; width: 38px; height: 2px; background: currentColor; }
.hero-title { margin-inline: auto; font-size: clamp(44px, 6vw, 78px); line-height: 1; }
.hero-lead { max-width: 730px; margin: 28px auto 0; color: var(--ink-soft); font-size: clamp(17px, 1.55vw, 21px); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.hero-photo {
  position: absolute;
  overflow: hidden;
  background: #d9d5cc;
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.home-hero:hover .hero-photo img { transform: scale(1.035); }
.hero-photo-auto {
  left: -1%;
  bottom: 7%;
  width: 31%;
  height: 55%;
  border-radius: 42px 130px 42px 130px;
  transform: rotate(-2.5deg);
}
.hero-photo-build {
  right: -1.5%;
  top: 6%;
  width: 30%;
  height: 56%;
  border-radius: 130px 42px 130px 42px;
  transform: rotate(2.5deg);
}
.hero-photo-detail {
  right: 17%;
  bottom: 1%;
  width: 18%;
  height: 29%;
  border: 10px solid var(--page-bg);
  border-radius: 100px 30px 100px 30px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.hero-caption {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  padding: 14px 17px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.3;
}
.hero-caption::before { content: ""; width: 10px; height: 10px; flex: 0 0 auto; background: var(--brand); border-radius: 50%; }
.hero-caption-auto { left: 22%; bottom: 10%; }
.hero-caption-build { right: 21%; top: 10%; }
.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-bottom > :last-child { text-align: right; }
.hero-scroll { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.hero-scroll::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.service-marquee { overflow: hidden; color: #fff; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.service-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.service-marquee span {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px 22px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
}
.service-marquee span::after { content: "✦"; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Branch cards */
.branch-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.branch-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.branch-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 30, .95) 0%, rgba(8,22,30,.18) 70%, rgba(8,22,30,.05));
}
.branch-card[data-branch="auto"] { border-bottom-left-radius: 150px; }
.branch-card[data-branch="build"] { border-top-right-radius: 150px; }
.branch-card-media { position: absolute; z-index: -2; inset: 0; }
.branch-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.branch-card:hover .branch-card-media img { transform: scale(1.06); }
.branch-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px;
}
.branch-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.branch-number { font-family: var(--font-heading); font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.branch-type-line { width: 80px; height: 2px; background: var(--brand); }
.branch-card[data-branch="build"] .branch-type-line { background: var(--accent); }
.branch-card h3 { max-width: 520px; font-size: clamp(30px, 3.3vw, 46px); }
.branch-card p { max-width: 540px; margin: 18px 0 25px; color: rgba(255,255,255,.78); }
.branch-card .text-link { color: #fff; }

/* Services */
.services-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.service-filter {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
}
.service-filter:hover, .service-filter.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.service-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  position: relative;
  min-height: 285px;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16,35,46,.08);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
  transition: transform .35s var(--ease), background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background: var(--page-bg-2);
  border-bottom-left-radius: 20px;
}
.service-card[data-branch="auto"]::after,
.service-card[data-branch="build"]::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border: 28px solid rgba(49,85,245,.08);
  border-radius: 50%;
}
.service-card[data-branch="build"]::after { border-color: rgba(255,106,43,.1); }
.service-card:hover { z-index: 2; color: #fff; background: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow-sm); }
.service-card[hidden] { display: none; }
.service-number { display: block; margin-bottom: 52px; color: var(--accent); font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.service-card[data-branch="build"] .service-number { color: var(--brand); }
.service-card h3 { margin-bottom: 14px; font-size: 25px; letter-spacing: -.035em; }
.service-card p { color: var(--muted); font-size: 15px; transition: color .3s ease; }
.service-card:hover p { color: rgba(255,255,255,.68); }

/* Why */
.why-stage { position: relative; overflow: hidden; background: var(--ink); }
.why-stage::before {
  content: "02";
  position: absolute;
  top: -30px;
  right: -10px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  font-family: var(--font-heading);
  font-size: clamp(220px, 36vw, 560px);
  font-weight: 800;
  line-height: .8;
}
.why-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .88fr 1.12fr; gap: 95px; align-items: center; }
.why-copy h2 { max-width: 560px; }
.why-copy > p { max-width: 560px; margin-top: 24px; color: rgba(255,255,255,.66); font-size: 18px; }
.why-visual {
  position: relative;
  min-height: 610px;
}
.why-main-image {
  position: absolute;
  inset: 0 13% 0 0;
  overflow: hidden;
  border-radius: 150px 42px 150px 42px;
}
.why-main-image img { width: 100%; height: 100%; object-fit: cover; }
.why-mini-image {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 39%;
  height: 38%;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 40px 100px 40px 100px;
}
.why-mini-image img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 1px; margin-top: 44px; background: var(--white-line); }
.why-item { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 26px 0; background: var(--ink); }
.why-item-number { color: var(--brand); font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.why-item h3 { margin-bottom: 7px; font-size: 21px; letter-spacing: -.03em; }
.why-item p { color: rgba(255,255,255,.6); font-size: 14px; }

/* Featured bento */
.portfolio-bento { display: grid; grid-template-columns: 1.22fr .78fr; grid-template-rows: repeat(2, minmax(265px, auto)); gap: 18px; }
.featured-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 44px;
  box-shadow: var(--shadow-sm);
}
.featured-card:first-of-type { grid-row: 1 / span 2; border-bottom-left-radius: 150px; }
.featured-card:nth-of-type(2) { border-top-right-radius: 100px; }
.featured-card:nth-of-type(3) { border-bottom-right-radius: 100px; }
.featured-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(7,22,29,.9), transparent 68%); }
.featured-media { position: absolute; z-index: -2; inset: 0; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured-card:hover .featured-media img { transform: scale(1.055); }
.featured-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 34px; }
.featured-branch { display: block; margin-bottom: 10px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.featured-card h3 { max-width: 580px; margin-bottom: 12px; font-size: clamp(27px, 3vw, 42px); }
.featured-card p { max-width: 560px; margin-bottom: 19px; color: rgba(255,255,255,.7); font-size: 14px; }

/* Process */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-rail::before { content: ""; position: absolute; top: 42px; right: 8%; left: 8%; height: 1px; background: rgba(16,35,46,.17); }
.process-item { position: relative; padding: 0 28px 28px; text-align: center; }
.process-dot { position: relative; z-index: 2; width: 84px; height: 84px; margin: 0 auto 28px; display: grid; place-items: center; color: #fff; background: var(--ink); border: 8px solid var(--page-bg); border-radius: 50%; font-family: var(--font-heading); font-size: 13px; font-weight: 800; }
.process-item:nth-of-type(even) .process-dot { background: var(--accent); }
.process-item:nth-of-type(3) .process-dot { background: var(--brand); }
.process-item h3 { margin-bottom: 12px; font-size: 22px; }
.process-item p { color: var(--muted); font-size: 14px; }

/* Mega CTA */
.mega-cta { padding-top: 0; }
.mega-cta-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  color: #fff;
  border-radius: 70px 70px 180px 70px;
  box-shadow: var(--shadow-lg);
}
.mega-cta-panel::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9,23,31,.95), rgba(9,23,31,.42) 68%, rgba(9,23,31,.12)); }
.mega-cta-media { position: absolute; z-index: -2; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.mega-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.mega-cta-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; width: 100%; }
.mega-cta h2 { max-width: 750px; }
.mega-cta p { max-width: 650px; margin-top: 20px; color: rgba(255,255,255,.68); }

/* Subpage hero */
.subhero { position: relative; min-height: 700px; overflow: hidden; isolation: isolate; }
.subhero-grid { position: relative; min-height: inherit; display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; padding-block: 90px; }
.subhero-copy { position: relative; z-index: 3; }
.subhero-copy .page-lead { margin-top: 26px; }
.subhero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.subhero-art { position: relative; min-height: 520px; }
.subhero-image { position: absolute; overflow: hidden; box-shadow: var(--shadow-lg); }
.subhero-image img { width: 100%; height: 100%; object-fit: cover; }
.subhero-index {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: -4%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16,35,46,.12);
  font-family: var(--font-heading);
  font-size: clamp(200px, 28vw, 430px);
  font-weight: 800;
  line-height: .75;
}
.offer-hero-new { background: var(--page-bg); }
.offer-hero-new .subhero-image:first-child { inset: 0 21% 10% 0; border-radius: 42px 150px 42px 150px; }
.offer-hero-new .subhero-image:last-child { right: 0; bottom: 0; width: 38%; height: 46%; border: 10px solid var(--page-bg); border-radius: 90px 28px 90px 28px; }
.workshop-hero-new { color: #fff; background: var(--ink); }
.workshop-hero-new::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 45%, rgba(49,85,245,.32), transparent 34%); }
.workshop-hero-new .page-lead { color: rgba(255,255,255,.7); }
.workshop-hero-new .subhero-image:first-child { inset: 0 0 0 0; border-radius: 160px 42px 160px 42px; }
.workshop-hero-new .subhero-image:last-child { left: -10%; bottom: -4%; width: 40%; height: 34%; border: 10px solid var(--ink); border-radius: 34px 100px 34px 100px; }
.workshop-hero-new .subhero-index { -webkit-text-stroke-color: rgba(255,255,255,.1); }
.construction-hero-new { background: #ebe6d9; }
.construction-hero-new .subhero-grid { grid-template-columns: .9fr 1.1fr; }
.construction-hero-new .subhero-image:first-child { inset: 0 0 0 8%; border-radius: 220px 42px 220px 42px; }
.construction-hero-new .subhero-image:last-child { left: 0; bottom: -2%; width: 40%; height: 35%; border: 10px solid #ebe6d9; border-radius: 100px 30px 100px 30px; }
.gallery-hero-new { min-height: 580px; background: var(--ink); color: #fff; }
.gallery-hero-new .subhero-grid { grid-template-columns: 1fr; align-items: center; text-align: center; }
.gallery-hero-new .subhero-copy { max-width: 990px; margin-inline: auto; }
.gallery-hero-new .page-title, .gallery-hero-new .page-lead { margin-inline: auto; }
.gallery-hero-new .page-lead { color: rgba(255,255,255,.68); }
.gallery-hero-mosaic { position: absolute; z-index: -1; inset: 0; opacity: .28; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; transform: rotate(-3deg) scale(1.12); }
.gallery-hero-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.realizations-hero-new { min-height: 620px; background: var(--accent); color: #fff; }
.realizations-hero-new .subhero-grid { grid-template-columns: .95fr 1.05fr; }
.realizations-hero-new .page-lead { color: rgba(255,255,255,.76); }
.realizations-hero-new .subhero-image { inset: 0; border-radius: 42px 160px 42px 160px; }
.realizations-hero-new .subhero-index { -webkit-text-stroke-color: rgba(255,255,255,.14); }

/* Offer page */
.direction-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.direction-panel {
  position: relative;
  min-height: 420px;
  padding: 46px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 48px;
}
.direction-panel:first-child { border-bottom-left-radius: 130px; }
.direction-panel:last-child { background: var(--accent); border-top-right-radius: 130px; }
.direction-panel-number { display: block; margin-bottom: 105px; font-family: var(--font-heading); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.direction-panel h2 { max-width: 500px; font-size: clamp(31px, 3.4vw, 48px); }
.direction-panel p { max-width: 520px; margin: 18px 0 28px; color: rgba(255,255,255,.72); }
.offer-block { display: grid; grid-template-columns: .72fr 1.28fr; gap: 74px; align-items: start; }
.offer-block + .offer-block { margin-top: 120px; }
.offer-block:nth-child(even) { grid-template-columns: 1.28fr .72fr; }
.offer-block:nth-child(even) .offer-block-copy { order: 2; }
.offer-block-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.offer-block-copy p { margin-top: 22px; color: var(--muted); }
.offer-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.offer-service-card { min-height: 250px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 28px; transition: .35s var(--ease); }
.offer-service-card:nth-child(3n + 1) { border-top-right-radius: 70px; }
.offer-service-card:hover { color: #fff; background: var(--ink); transform: translateY(-6px); }
.offer-service-card span { display: block; margin-bottom: 45px; color: var(--accent); font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.offer-build-list .offer-service-card span { color: var(--brand); }
.offer-service-card h3 { margin-bottom: 12px; font-size: 22px; }
.offer-service-card p { color: var(--muted); font-size: 14px; transition: color .3s; }
.offer-service-card:hover p { color: rgba(255,255,255,.65); }
.offer-how { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.offer-how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.offer-how-copy p { max-width: 610px; margin-top: 24px; color: rgba(255,255,255,.64); }
.offer-how-image { position: relative; min-height: 520px; overflow: hidden; border-radius: 140px 40px 140px 40px; }
.offer-how-image img { width: 100%; height: 100%; object-fit: cover; }

/* Workshop and construction */
.numbered-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.numbered-service { min-height: 290px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 30px; transition: .35s var(--ease); }
.numbered-service:nth-child(3n + 2) { border-top-right-radius: 90px; }
.numbered-service:nth-child(3n + 3) { border-bottom-left-radius: 90px; }
.numbered-service:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.construction-services .numbered-service:hover { background: var(--brand); border-color: var(--brand); }
.numbered-service span { display: block; margin-bottom: 58px; color: var(--accent); font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.construction-services .numbered-service span { color: var(--brand); }
.numbered-service h3 { margin-bottom: 13px; font-size: 24px; }
.numbered-service p { color: var(--muted); font-size: 14px; transition: color .3s; }
.numbered-service:hover span, .numbered-service:hover p { color: rgba(255,255,255,.72); }
.equipment-mosaic { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: repeat(2, 310px); gap: 16px; }
.equipment-card { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 38px; }
.equipment-card:first-of-type { grid-row: 1 / span 2; border-bottom-left-radius: 140px; }
.equipment-card:nth-of-type(2) { border-top-right-radius: 90px; }
.equipment-card:nth-of-type(3) { border-bottom-right-radius: 90px; }
.equipment-card:nth-of-type(4) { display: none; }
.equipment-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(7,20,28,.9), transparent 65%); }
.equipment-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.equipment-card:hover img { transform: scale(1.06); }
.equipment-card h3 { position: absolute; right: 28px; bottom: 28px; left: 28px; font-size: 26px; }
.signal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.signal-card { min-height: 250px; padding: 28px; background: transparent; border-top: 2px solid var(--line); }
.signal-card::before { content: ""; display: block; width: 12px; height: 12px; margin-bottom: 40px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,106,43,.1); }
.signal-card h3 { margin-bottom: 12px; font-size: 19px; }
.signal-card p { color: var(--muted); font-size: 13px; }
.project-mosaic { display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: repeat(2, 300px); gap: 16px; }
.project-card { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 42px; }
.project-card:first-of-type { grid-row: 1 / span 2; border-top-left-radius: 150px; }
.project-card:nth-of-type(2) { border-top-right-radius: 100px; }
.project-card:nth-of-type(3) { border-bottom-right-radius: 100px; }
.project-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(8,22,29,.92), transparent 65%); }
.project-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.project-card:hover img { transform: scale(1.06); }
.project-card-content { position: absolute; right: 30px; bottom: 30px; left: 30px; }
.project-card h3 { margin-bottom: 10px; font-size: 28px; }
.project-card p { color: rgba(255,255,255,.68); font-size: 14px; }
.prepare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.prepare-card { min-height: 290px; padding: 34px; background: var(--page-bg); }
.prepare-card span { display: block; margin-bottom: 70px; color: var(--brand); font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.prepare-card h3 { margin-bottom: 12px; font-size: 22px; }
.prepare-card p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-wrap { max-width: 960px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 28px 72px 28px 0;
  list-style: none;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  transform: translateY(-50%);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.faq-item[open] summary::after { background: var(--brand); transform: translateY(-50%) rotate(45deg); }
.faq-answer { max-width: 760px; padding: 0 0 30px; color: var(--muted); }
.section-dark .faq-item { border-color: var(--white-line); }
.section-dark .faq-item summary::after { color: var(--ink); background: #fff; }
.section-dark .faq-answer { color: rgba(255,255,255,.65); }

/* Gallery */
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filter {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
}
.gallery-filter:hover, .gallery-filter.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.gallery-count { color: var(--muted); font-size: 13px; font-weight: 700; }
.gallery-masonry { columns: 3 320px; column-gap: 16px; }
.gallery-card {
  position: relative;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  color: #fff;
  background: #ddd;
  border: 0;
  border-radius: 34px;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-card:nth-of-type(5n + 1) { border-top-right-radius: 100px; }
.gallery-card:nth-of-type(5n + 3) { border-bottom-left-radius: 100px; }
.gallery-card[hidden] { display: none; }
.gallery-card img { width: 100%; height: auto; min-height: 250px; object-fit: cover; transition: transform .65s var(--ease); }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card-overlay { position: absolute; right: 0; bottom: 0; left: 0; padding: 70px 24px 22px; background: linear-gradient(to top, rgba(8,22,29,.86), transparent); text-align: left; transform: translateY(16px); opacity: 0; transition: .35s var(--ease); }
.gallery-card:hover .gallery-card-overlay { opacity: 1; transform: translateY(0); }
.gallery-category { display: block; margin-bottom: 5px; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gallery-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; }
.lightbox { position: fixed; z-index: 5000; inset: 0; display: none; place-items: center; padding: 24px; background: rgba(5,15,21,.92); backdrop-filter: blur(10px); }
.lightbox.is-open { display: grid; }
.lightbox-dialog { position: relative; max-width: min(1200px, 96vw); max-height: 92vh; }
.lightbox-dialog img { max-width: 100%; max-height: 84vh; margin-inline: auto; object-fit: contain; border-radius: 24px; }
.lightbox-close { position: absolute; z-index: 2; top: -18px; right: -18px; display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); background: #fff; border: 0; border-radius: 15px; font-size: 28px; cursor: pointer; }
.lightbox-caption { margin-top: 12px; color: rgba(255,255,255,.7); text-align: center; }

/* Realizations */
.realizations-list { display: grid; gap: 110px; }
.realization-card { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
.realization-card:nth-child(even) { grid-template-columns: .88fr 1.12fr; }
.realization-card:nth-child(even) .realization-media { order: 2; }
.realization-media { position: relative; min-height: 560px; overflow: hidden; border-radius: 42px 140px 42px 140px; box-shadow: var(--shadow-sm); }
.realization-card:nth-child(even) .realization-media { border-radius: 140px 42px 140px 42px; }
.realization-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.realization-card:hover .realization-media img { transform: scale(1.04); }
.realization-copy { padding: 28px 0; }
.realization-number { display: block; margin-bottom: 70px; color: var(--accent); font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.realization-branch { display: block; margin-bottom: 15px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.realization-copy h2 { font-size: clamp(30px, 3.8vw, 50px); }
.realization-copy p { margin-top: 22px; color: var(--muted); }

/* Contact */
.contact-hero-new { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.contact-hero-new::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(49,85,245,.32), transparent 30%), radial-gradient(circle at 15% 76%, rgba(255,106,43,.18), transparent 24%); }
.contact-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; min-height: 620px; padding-block: 90px; }
.contact-hero-new .page-lead { margin-top: 28px; color: rgba(255,255,255,.66); }
.contact-direct { display: grid; gap: 12px; }
.contact-direct-item { padding: 26px 0; border-top: 1px solid var(--white-line); }
.contact-direct-label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.48); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-direct-item a, .contact-direct-item strong { display: inline-block; font-family: var(--font-heading); font-size: clamp(22px, 3vw, 40px); line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 38px); }
.contact-aside > p { margin-top: 22px; color: var(--muted); }
.contact-tips { display: grid; gap: 12px; margin-top: 38px; }
.contact-tip { padding: 24px; background: var(--page-bg-2); border-radius: 24px 60px 24px 24px; }
.contact-tip strong { display: block; margin-bottom: 7px; font-size: 13px; }
.contact-tip p { color: var(--muted); font-size: 13px; }
.contact-form-wrap { padding: 48px; background: #fff; border-radius: 52px 52px 120px 52px; box-shadow: var(--shadow-sm); }
.contact-form-wrap > p { margin: 18px 0 34px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field.full, .form-consent, .form-actions { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--page-bg);
  border: 1px solid transparent;
  border-radius: 14px;
  outline: none;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(49,85,245,.1); }
.form-consent { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 12px; }
.form-consent input { flex: 0 0 auto; margin-top: 4px; }
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 11px; }
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-message { margin-bottom: 24px; padding: 16px 18px; border-radius: 14px; background: #fff2ed; color: #a9340b; font-size: 14px; }
.form-message.success { background: #e9fbf4; color: var(--success); }

/* Footer */
.site-footer { position: relative; margin-top: 90px; padding: 92px 0 26px; color: #fff; background: var(--ink); }
.site-footer::before {
  content: "";
  position: absolute;
  top: -64px;
  right: 0;
  left: 0;
  height: 92px;
  background: var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.footer-callout { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding-bottom: 70px; border-bottom: 1px solid var(--white-line); }
.footer-callout h2 { max-width: 780px; font-size: clamp(34px, 5vw, 48px); }
.footer-callout a:not(.button) { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 72px; padding: 62px 0 52px; }
.footer-brand img { width: 220px; margin-bottom: 24px; }
.footer-brand p { max-width: 430px; color: rgba(255,255,255,.58); }
.footer-title { margin-bottom: 20px; color: rgba(255,255,255,.4); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 14px; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact > a { font-family: var(--font-heading); font-size: clamp(17px, 2vw, 24px); font-weight: 600; overflow-wrap: anywhere; }
.footer-contact small { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--white-line); color: rgba(255,255,255,.45); font-size: 11px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-bottom a:hover, .credit-link { color: #fff; }
.privacy-button { padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }

/* Privacy banner */
.privacy-banner {
  position: fixed;
  z-index: 4000;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100% - 40px));
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(6, 17, 24, .28);
}
.privacy-banner h2 { margin-bottom: 12px; font-size: 26px; }
.privacy-banner p { color: var(--muted); font-size: 13px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.privacy-actions .button { min-height: 48px; padding: 12px 16px; font-size: 12px; }

/* 404 and policy */
.not-found { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 80px 0; text-align: center; }
.not-found-code { color: transparent; -webkit-text-stroke: 2px rgba(16,35,46,.2); font-family: var(--font-heading); font-size: clamp(130px, 26vw, 390px); font-weight: 800; line-height: .75; }
.not-found h1 { margin-top: -20px; font-size: clamp(42px, 6vw, 80px); }
.not-found p { max-width: 650px; margin: 24px auto 30px; color: var(--muted); }
.privacy-document { min-height: 100vh; padding: 70px 24px; background: #fff; }
.privacy-document article { max-width: 860px; margin-inline: auto; }
.privacy-document h1 { margin-bottom: 42px; font-size: clamp(38px, 6vw, 64px); text-align: center; }
.privacy-document h2 { margin: 38px 0 14px; font-size: 26px; }
.privacy-document p, .privacy-document li { color: #2e3d45; }
.privacy-document a { color: var(--accent); text-decoration: underline; }
.privacy-document-back { display: block; margin-bottom: 30px; text-align: center; }

/* Reveal animation */
[data-reveal], [data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal="left"], [data-animate="left"] { transform: translateX(-38px); }
[data-reveal="right"], [data-animate="right"] { transform: translateX(38px); }
[data-reveal].is-visible, [data-animate].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

@media (max-width: 1180px) {
  :root { --section-y: 100px; --header-h: 80px; }
  .primary-nav ul { gap: 0; }
  .primary-nav ul a { padding-inline: 9px; font-size: 12px; }
  .header-call { padding-inline: 14px; }
  .hero-photo-auto { width: 34%; }
  .hero-photo-build { width: 33%; }
  .hero-copy { width: 74%; }
  .signal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --section-y: 84px; }
  .container { width: min(100% - 34px, var(--container)); }
  .site-header { background: var(--page-bg); backdrop-filter: none; }
  .header-shell { width: calc(100% - 24px); }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-height: calc(100svh - var(--header-h));
    margin: 0;
    padding: 26px 22px 34px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: var(--page-bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: translateY(-18px);
    transition: opacity .25s ease, transform .35s var(--ease), visibility .35s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-nav ul { display: grid; width: 100%; }
  .primary-nav ul li { border-bottom: 1px solid var(--line); }
  .primary-nav ul a { display: flex; justify-content: space-between; min-height: 58px; padding: 12px 2px; font-family: var(--font-heading); font-size: 18px; }
  .primary-nav ul a::before { content: "↗"; order: 2; color: var(--muted); font-size: 16px; }
  .primary-nav ul a::after { display: none; }
  .header-call { width: 100%; justify-content: center; min-height: 58px; border-radius: 15px; }
  .section-heading, .subhero-grid, .contact-hero-grid, .contact-layout, .offer-block, .offer-block:nth-child(even), .offer-how-grid, .why-grid, .mega-cta-content, .footer-callout { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; margin-bottom: 48px; }
  .home-hero { min-height: auto; padding-top: 42px; }
  .home-hero-inner { min-height: 900px; }
  .hero-copy { width: 100%; padding-top: 20px; }
  .hero-title { font-size: clamp(42px, 8vw, 64px); }
  .hero-photo-auto { left: 0; bottom: 8%; width: 46%; height: 42%; }
  .hero-photo-build { right: 0; top: auto; bottom: 9%; width: 45%; height: 43%; }
  .hero-photo-detail { right: 35%; bottom: 1%; width: 28%; height: 23%; }
  .hero-caption-auto { left: 4%; bottom: 4%; }
  .hero-caption-build { top: auto; right: 4%; bottom: 4%; }
  .hero-bottom { display: none; }
  .branch-showcase, .direction-pair { grid-template-columns: 1fr; }
  .branch-card { min-height: 610px; }
  .service-mosaic, .numbered-services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 56px; }
  .why-copy { order: 2; }
  .why-visual { min-height: 560px; }
  .portfolio-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .featured-card, .featured-card:first-of-type { grid-row: auto; min-height: 430px; }
  .process-rail { grid-template-columns: repeat(2, 1fr); gap: 46px 0; }
  .process-rail::before { display: none; }
  .mega-cta-panel { padding: 48px; border-bottom-right-radius: 110px; }
  .subhero { min-height: auto; }
  .subhero-grid { gap: 54px; padding-block: 72px; }
  .subhero-art { min-height: 480px; }
  .construction-hero-new .subhero-grid, .realizations-hero-new .subhero-grid { grid-template-columns: 1fr; }
  .offer-block + .offer-block { margin-top: 90px; }
  .offer-block:nth-child(even) .offer-block-copy { order: initial; }
  .offer-block-copy, .contact-aside { position: static; }
  .equipment-mosaic, .project-mosaic { grid-template-columns: 1fr 1fr; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .prepare-grid { grid-template-columns: repeat(2, 1fr); }
  .realization-card, .realization-card:nth-child(even) { grid-template-columns: 1fr; gap: 38px; }
  .realization-card:nth-child(even) .realization-media { order: initial; }
  .realization-media { min-height: 520px; }
  .contact-hero-grid { gap: 50px; min-height: auto; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {

  .home-hero .hero-actions { position: relative; z-index: 8; }
  .home-hero .hero-actions .button-outline {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 14px 34px rgba(16, 35, 46, .12);
  }
  .home-hero .hero-actions .button-outline:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
  }
  :root { --section-y: 64px; --radius: 20px; --radius-lg: 30px; --font-size-base: 15px; }
  .container { width: calc(100% - 28px); }
  .site-logo img { width: 142px; }
  h1 { font-size: clamp(34px, 10vw, 48px); }
  h2 { font-size: clamp(29px, 8vw, 40px); }
  .page-title { font-size: clamp(34px, 10vw, 48px); }
  .page-lead { font-size: 16px; }
  .section-kicker { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; }
  .button { width: 100%; min-height: 56px; }
  .hero-actions, .subhero-actions { display: grid; grid-template-columns: 1fr; }
  .home-hero { padding-top: 30px; }
  .home-hero-inner { min-height: 830px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-photo-auto { left: -2%; bottom: 6%; width: 51%; height: 35%; border-radius: 28px 80px 28px 80px; }
  .hero-photo-build { right: -2%; bottom: 8%; width: 49%; height: 36%; border-radius: 80px 28px 80px 28px; }
  .hero-photo-detail { right: 32%; bottom: 0; width: 35%; height: 19%; border-width: 6px; }
  .hero-caption { display: none; }
  .service-marquee span { padding-block: 16px; font-size: 12px; }
  .branch-card { min-height: 520px; border-radius: 30px !important; }
  .branch-card:first-of-type { border-bottom-left-radius: 90px !important; }
  .branch-card:last-of-type { border-top-right-radius: 90px !important; }
  .branch-card-content { padding: 28px; }
  .branch-card h3 { font-size: 38px; }
  .services-tools { align-items: stretch; flex-direction: column; }
  .service-filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .service-filter { padding-inline: 8px; font-size: 11px; }
  .service-mosaic, .numbered-services, .offer-services { grid-template-columns: 1fr; }
  .service-card, .numbered-service { min-height: 250px; padding: 28px; }
  .why-visual { min-height: 430px; }
  .why-main-image { right: 7%; border-radius: 90px 28px 90px 28px; }
  .why-mini-image { width: 43%; height: 34%; border-width: 6px; }
  .why-item { grid-template-columns: 45px 1fr; }
  .featured-card, .featured-card:first-of-type { min-height: 390px; border-radius: 30px !important; }
  .featured-card:first-of-type { border-bottom-left-radius: 90px !important; }
  .featured-content { padding: 26px; }
  .process-rail { grid-template-columns: 1fr; gap: 30px; }
  .process-item { display: grid; grid-template-columns: 66px 1fr; gap: 20px; padding: 0; text-align: left; }
  .process-dot { width: 66px; height: 66px; margin: 0; border-width: 5px; }
  .process-item h3 { align-self: end; }
  .process-item p { grid-column: 2; }
  .mega-cta-panel { min-height: 560px; padding: 30px; border-radius: 34px 34px 90px 34px; }
  .mega-cta-media { grid-template-columns: 1fr; }
  .mega-cta-media img:last-child { display: none; }
  .mega-cta-panel::after { background: linear-gradient(to top, rgba(9,23,31,.96), rgba(9,23,31,.2)); }
  .subhero-grid { padding-block: 58px; }
  .subhero-art { min-height: 390px; }
  .offer-hero-new .subhero-image:first-child, .workshop-hero-new .subhero-image:first-child, .construction-hero-new .subhero-image:first-child, .realizations-hero-new .subhero-image { inset: 0; border-radius: 100px 28px 100px 28px; }
  .offer-hero-new .subhero-image:last-child, .workshop-hero-new .subhero-image:last-child, .construction-hero-new .subhero-image:last-child { width: 42%; height: 38%; border-width: 6px; }
  .direction-panel { min-height: 370px; padding: 30px; border-radius: 30px !important; }
  .direction-panel-number { margin-bottom: 75px; }
  .offer-block, .offer-block:nth-child(even) { gap: 38px; }
  .equipment-mosaic, .project-mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .equipment-card, .equipment-card:first-of-type, .project-card, .project-card:first-of-type { grid-row: auto; min-height: 360px; border-radius: 30px !important; }
  .equipment-card:nth-of-type(4) { display: block; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: auto; padding: 24px 0; }
  .prepare-grid { grid-template-columns: 1fr; }
  .prepare-card { min-height: 240px; }
  .prepare-card span { margin-bottom: 50px; }
  .gallery-toolbar { align-items: stretch; flex-direction: column; }
  .gallery-filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .gallery-filter { padding-inline: 8px; font-size: 11px; }
  .gallery-masonry { columns: 1; }
  .gallery-card { border-radius: 28px !important; }
  .gallery-card-overlay { opacity: 1; transform: none; }
  .realizations-list { gap: 78px; }
  .realization-media { min-height: 400px; border-radius: 30px 100px 30px 100px !important; }
  .realization-number { margin-bottom: 38px; }
  .contact-form-wrap { padding: 28px; border-radius: 30px 30px 80px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field, .form-field.full, .form-consent, .form-actions { grid-column: 1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .site-footer { margin-top: 62px; padding-top: 70px; }
  .site-footer::before { top: -38px; height: 55px; }
  .footer-callout, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 38px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom-links { justify-content: flex-start; }
  .privacy-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 22px; border-radius: 22px; }
  .privacy-actions { display: grid; }
}

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


/* Redesign integration refinements */
.services-lead { max-width: 720px; margin-top: 20px; }
.offer-block-button { margin-top: 30px; }
.gallery-open-target {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: zoom-in;
}
.gallery-open-target:focus-visible {
  outline: 4px solid var(--brand);
  outline-offset: -4px;
}
.gallery-open-target img { width: 100%; }
.contact-aside-visual {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
  min-height: 280px;
  margin-top: 28px;
}
.contact-aside-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px 80px 30px 30px;
}
.contact-aside-visual img:last-child {
  border-radius: 80px 30px 80px 30px;
}
.site-footer .section-kicker { margin-bottom: 16px; }
.footer-callout .button { min-width: 200px; }
.hero-photo-auto img { object-position: center; }
.hero-photo-build img { object-position: center 48%; }
.hero-photo-detail img { object-position: center; }
.workshop-hero-new .subhero-image:first-child img { object-position: 62% center; }
.construction-hero-new .subhero-image:first-child img { object-position: center; }
.offer-how-image::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 84px;
  height: 84px;
  border: 16px solid var(--brand);
  border-radius: 50%;
  opacity: .9;
}
section[data-sos-section="offer-build"] .offer-block {
  grid-template-columns: 1.28fr .72fr;
}
section[data-sos-section="offer-build"] .offer-block-copy { order: 2; }
.page-gallery .mega-cta-media img:first-child { object-position: center; }
.privacy-document article { text-align: center; }
.privacy-document p { max-width: 790px; margin-inline: auto; }
.privacy-document h2 { text-align: center; }
.not-found .button { margin-inline: auto; }
.not-found .container { display: grid; justify-items: center; }
body.page-not-found .site-footer { margin-top: 0; }
body.page-contact .site-footer { margin-top: 20px; }

@media (max-width: 980px) {
  section[data-sos-section="offer-build"] .offer-block { grid-template-columns: 1fr; }
  section[data-sos-section="offer-build"] .offer-block-copy { order: initial; }
  .contact-aside-visual { min-height: 360px; }
}

@media (max-width: 680px) {
  .contact-aside-visual { min-height: 260px; }
  .footer-callout .button { min-width: 0; }
}


/* Compact global interface for PRJ-0089 v3 */
.site-header { background: rgba(255, 255, 255, .97); }
.header-shell { max-width: 1320px; }
.primary-nav ul { gap: 2px; }
.primary-nav ul a { min-height: 40px; padding: 7px 10px; font-size: 12px; }
.primary-nav ul a::after { right: 10px; left: 10px; }
.header-call { min-height: 44px; border-radius: 10px; font-size: 12px; }

@media (max-width: 980px) {
  .site-header { height: 66px; background: #fff; backdrop-filter: none; }
  .header-shell { width: calc(100% - 28px); }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav {
    position: fixed;
    z-index: 999;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100dvh - 66px);
    margin: 0;
    padding: 18px 18px 26px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(11, 31, 53, .12);
  }
  .primary-nav.is-open { display: grid; gap: 14px; }
  .primary-nav ul { display: grid; width: 100%; gap: 2px; }
  .primary-nav ul a { width: 100%; min-height: 48px; padding: 10px 8px; font-size: 14px; }
  .header-call { width: 100%; justify-content: center; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 28px); }
  .section-heading { gap: 24px; margin-bottom: 38px; }
  .footer-callout h2 { font-size: clamp(30px, 9vw, 40px); }
}
