/* ==========================================================
   M&A Elektrodienstleistung concept layout
   ========================================================== */
:root {
  --c-bg-dark: #041224;
  --c-bg-section: #f5f8fc;
  --c-bg-card: #ffffff;
  --c-bg-card-hover: #ffffff;
  --c-primary: #1477f8;
  --c-primary-light: #45a0ff;
  --c-primary-dark: #0759d6;
  --c-accent: #7c6cff;
  --c-accent-light: #2fd2ff;
  --c-text: #263348;
  --c-text-muted: #647084;
  --c-text-heading: #08162b;
  --c-border: rgba(8, 22, 43, .12);
  --c-success: #18b981;
  --c-danger: #ef4444;
  --c-overlay: rgba(4, 12, 24, .62);
  --g-primary: linear-gradient(135deg, #0b6ef5, #238cff);
  --g-accent: linear-gradient(135deg, #7c6cff, #16b7ff);
  --f-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-full: 9999px;
  --shadow-glow: 0 16px 36px rgba(20, 119, 248, .28);
  --shadow-lg: 0 18px 50px rgba(8, 22, 43, .18);
  --shadow-md: 0 10px 28px rgba(8, 22, 43, .12);
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
  --z-nav: 100;
  --z-modal: 200;
  --z-chat: 250;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background: var(--c-bg-dark);
  overscroll-behavior-y: none;
}

body {
  font-family: var(--f-body);
  background: #f8fbff;
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-heading);
  color: var(--c-text-heading);
  line-height: 1.15;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base), border-color var(--t-base), background var(--t-base), transform var(--t-base);
}

button {
  font: inherit;
}

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

.btn-icon,
.text-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.18em;
}

.btn-icon {
  filter: brightness(0) invert(1);
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 4rem);
}

.section-padding {
  padding: 4.4rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 800;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 2.8px;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.65rem);
  margin-bottom: 1.2rem;
}

.text-center {
  text-align: center;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .88rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--g-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-secondary:hover {
  border-color: var(--c-primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--c-primary-light);
  outline-offset: 2px;
}

.btn-accent {
  background: var(--g-accent);
  color: #fff;
}

.btn-sm {
  padding: .65rem 1rem;
  font-size: .86rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 1.15rem 0;
  transition: all var(--t-slow);
}

.navbar.scrolled {
  padding: .8rem 0;
  background: rgba(4, 13, 28, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: #fff;
}

.logo-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 16px rgba(35, 140, 255, .24));
}

.logo-copy {
  display: grid;
  line-height: 1;
}

.logo-copy strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.logo-copy small {
  color: rgba(255, 255, 255, .64);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-links a {
  color: rgba(255, 255, 255, .84);
  font-size: .88rem;
  font-weight: 800;
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  min-width: 230px;
  transform: translateX(-50%) translateY(8px);
  padding: .6rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  background: rgba(4, 18, 36, .96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: block;
  padding: .72rem .8rem;
  border-radius: var(--r-md);
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: rgba(20, 119, 248, .14);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.5rem;
  height: 2px;
  background: var(--c-primary-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 105;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 0 0 auto;
}

.site-language-switch {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(4, 18, 36, .56);
  backdrop-filter: blur(12px);
}

.site-language-switch button {
  min-width: 38px;
  padding: .36rem .55rem;
}

html[lang="en"] .navbar .container {
  gap: .8rem;
}

html[lang="en"] .navbar .nav-links {
  gap: .9rem;
}

html[lang="en"] .navbar .nav-links a {
  font-size: .82rem;
}

html[lang="en"] .navbar .logo-copy strong {
  font-size: 1rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: var(--r-full);
  transition: all var(--t-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero-scene-switch {
  display: none !important;
}

.hero {
  min-height: 590px;
  height: min(700px, 100vh);
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(2, 10, 24, .98) 0%, rgba(3, 15, 34, .82) 40%, rgba(3, 12, 28, .28) 70%, rgba(3, 12, 28, .5) 100%),
    url('../assets/night.png') center / cover no-repeat;
  background-color: #041224;
  color: #fff;
  padding-top: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 64% 33%, rgba(255, 218, 150, .11) 0 5%, rgba(255, 181, 78, .04) 11%, transparent 18%),
    radial-gradient(ellipse at 68% 59%, rgba(255, 222, 158, .12) 0 8%, rgba(255, 183, 82, .04) 14%, transparent 22%);
  mix-blend-mode: screen;
  opacity: .62;
  filter: blur(5px) saturate(1.04);
  pointer-events: none;
  animation: heroWindowGlow 10s ease-in-out infinite;
}

.hero-window-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at 64% 36%, rgba(255, 220, 154, .1), transparent 17%),
    radial-gradient(ellipse at 67% 63%, rgba(255, 213, 139, .09), transparent 20%);
}

.hero-circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 15, 32, .16), rgba(5, 15, 32, .5));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4.5rem);
  max-width: none;
  height: 100%;
}

.hero-cutout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(96px, 14vw, 148px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .94), #f8fbff 54%),
    linear-gradient(92deg, transparent 0 62%, rgba(25, 135, 255, .08) 62.2% 62.6%, transparent 62.8%);
  clip-path: polygon(0 74%, 34% 61%, 68% 38%, 100% 24%, 100% 100%, 0 100%);
}

.hero-cutout::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 135, 255, .34), transparent);
  transform: skewY(-4deg);
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 2.95vw, 2.85rem);
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 620px;
  margin-bottom: .85rem;
}

.hero h1 .highlight {
  color: #238cff;
}

.hero-text {
  max-width: 540px;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.hero-buttons {
  display: flex;
  gap: .95rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  left: 50%;
  bottom: clamp(-2.65rem, -4.8vh, -2rem);
  transform: translateX(-50%);
  width: min(980px, calc(100% - clamp(2rem, 8vw, 8rem)));
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0;
  max-width: none;
  margin: 0;
  padding: .86rem .95rem;
  border: 1px solid rgba(69, 160, 255, .28);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(3, 14, 31, .78), rgba(6, 28, 56, .66));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28), 0 0 34px rgba(47, 210, 255, .09);
  overflow: hidden;
  isolation: isolate;
  animation: proofPanelIn .65s ease both;
  z-index: 4;
}

.hero-stats::before,
.hero-stats::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero-stats::before {
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 238deg, rgba(69, 160, 255, .95) 270deg, rgba(47, 210, 255, .28) 294deg, transparent 326deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: proofPanelLight 4.8s linear infinite;
  z-index: 0;
}

.hero-stats::after {
  top: 0;
  bottom: 0;
  left: -28%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(69, 160, 255, .14), transparent);
  transform: skewX(-16deg);
  animation: proofPanelSweep 6s ease-in-out infinite;
  z-index: 0;
}

.hero-proof {
  min-width: 0;
  color: #fff;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .72rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 68px;
  padding: .32rem 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.hero-proof:first-child {
  padding-left: 1rem;
}

.hero-proof:last-child {
  padding-right: 1rem;
}

.hero-proof:last-child {
  border-right: 0;
}

.hero-proof-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-proof-icon img {
  width: 100%;
  height: 100%;
}

.hero-proof-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .24rem;
}

.hero-proof strong {
  display: block;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-proof-note {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  line-height: 1.2;
}

.hero-proof .hero-proof-icon {
  display: flex;
  color: inherit;
}

.hero-proof .rating-stars,
.stat-stars {
  display: flex;
  align-items: center;
  gap: .12rem;
  margin: 0;
  line-height: 1;
}

.hero-proof .rating-stars img {
  width: 13px;
  height: 13px;
}

.stat-stars {
  grid-column: 2;
}

.stat-stars img {
  width: 15px;
  height: 15px;
}

.hero-contact-card {
  align-self: center;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--r-lg);
  background: rgba(3, 14, 31, .62);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.hero-contact-card h2 {
  color: #fff;
  font-size: .92rem;
  line-height: 1.2;
  padding: 1rem 1.15rem;
}

.quick-actions {
  display: grid;
}

.quick-actions a,
.quick-actions button {
  min-height: 68px;
  border: 0;
  border-top: 1px solid rgba(8, 22, 43, .08);
  background: #fff;
  color: var(--c-text-heading);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: .7rem;
  row-gap: .15rem;
  padding: .75rem 1.15rem;
  text-align: left;
  cursor: pointer;
}

.quick-actions strong {
  grid-column: 2;
  display: block;
  min-width: 0;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.25;
}

.quick-actions small {
  grid-column: 2;
  display: block;
  color: var(--c-text-muted);
  min-width: 0;
  font-size: .76rem;
  line-height: 1.35;
}

.quick-actions a[href^="tel"] small {
  white-space: nowrap;
}

.quick-actions img:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  justify-self: center;
}

/* Services */
.services {
  background: #f8fbff;
  padding-top: 5.6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  box-shadow: 0 10px 30px rgba(10, 38, 78, .06);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(10, 38, 78, .12);
}

.service-image {
  height: 138px;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-icon-badge {
  position: absolute;
  left: 1.1rem;
  top: 110px;
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  background: var(--c-primary);
  box-shadow: 0 14px 28px rgba(20, 119, 248, .28), 0 0 0 4px #fff;
  z-index: 2;
}

.service-icon-badge img {
  width: 52px;
  height: 52px;
}

.service-card h3 {
  font-size: 1.08rem;
  margin: 1.65rem 1.25rem .55rem;
}

.service-card p {
  color: var(--c-text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0 1.25rem;
}

.service-link {
  display: inline-flex;
  margin: 1.05rem 1.25rem 1.25rem;
  color: var(--c-primary);
  font-size: .86rem;
  font-weight: 900;
}

/* Service detail pages */
.service-page {
  background: #f6f9fd;
  color: var(--c-text);
}

.service-detail-hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 0 4rem;
  color: #fff;
  background: #061326;
}

.service-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--service-hero-image) right center / cover no-repeat;
  opacity: .55;
  filter: saturate(.92) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 28%, #000 70%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 28%, #000 70%, #000 100%);
}

.service-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 24, .98) 0%, rgba(2, 10, 24, .9) 32%, rgba(4, 18, 36, .55) 60%, rgba(4, 18, 36, .28) 100%),
    radial-gradient(circle at 84% 28%, rgba(69, 160, 255, .14), transparent 28rem);
}

.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.1rem;
  padding: .42rem .85rem .42rem .7rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-base);
}

.service-back-link:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(69, 160, 255, .55);
  color: #fff;
  transform: translateX(-2px);
}

.service-back-link:focus-visible {
  outline: 3px solid var(--c-primary-light);
  outline-offset: 2px;
}

.service-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(69, 160, 255, .25);
  color: #cfe2ff;
  font-size: .85rem;
  line-height: 1;
}

.service-detail-hero .container {
  max-width: 1360px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 360px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.service-detail-copy {
  max-width: 760px;
  min-width: 0;
}

.service-detail-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.service-detail-copy p {
  color: rgba(255, 255, 255, .84);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 620px;
}

.service-overview {
  position: relative;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(8, 22, 43, .08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
  align-self: center;
  justify-self: end;
  width: 100%;
}

.service-overview-label {
  display: none;
}

.service-overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.service-overview-list li {
  position: relative;
}

.service-overview-list li + li::before {
  content: '';
  position: absolute;
  left: calc(.4rem + 19px);
  top: -.35rem;
  height: .35rem;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(25, 135, 255, .28);
}

.service-overview-list a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: .55rem .4rem;
  border-radius: 10px;
  color: var(--c-text-heading);
  transition: background var(--t-base), transform var(--t-base);
}

.service-overview-list a:hover {
  background: rgba(25, 135, 255, .08);
  transform: translateX(2px);
}

.service-overview-list a:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 2px;
}

.service-overview-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(25, 135, 255, .12);
  border: 1px solid rgba(25, 135, 255, .3);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .5px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.service-overview-list a:hover .service-overview-num {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.service-overview-text {
  display: grid;
  gap: .15rem;
  min-width: 0;
}

.service-overview-text strong {
  display: block;
  font-size: .94rem;
  font-weight: 800;
  color: var(--c-text-heading);
  line-height: 1.2;
}

.service-overview-text small {
  display: block;
  font-size: .76rem;
  color: var(--c-text-muted);
  line-height: 1.35;
}

/* Jump-link target offsets so headings clear the fixed navbar */
#ueberblick,
#komponenten,
#ablauf,
#faq,
#anfrage {
  scroll-margin-top: 92px;
}

@media (max-width: 980px) {
  .service-detail-hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-overview {
    justify-self: stretch;
    max-width: 560px;
    margin: 0 auto;
  }
}

.service-detail-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* Service detail — full description layout */
.service-intro {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(1.5rem, 2.5vw, 2.5rem);
  background: #f8fbff;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: start;
}

.service-intro-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--c-text-heading);
  margin-bottom: 1.1rem;
}

.service-intro-copy p {
  color: var(--c-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: .85rem;
}

.service-intro-copy p:last-child {
  margin-bottom: 0;
}

.service-intro-meta {
  display: grid;
  gap: .85rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(25, 135, 255, .18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(25, 135, 255, .12), transparent 12rem),
    #fff;
  box-shadow: 0 14px 38px rgba(8, 22, 43, .06);
}

.service-meta-item {
  display: grid;
  gap: .15rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(8, 22, 43, .08);
}

.service-meta-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-meta-value {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
}

.service-meta-label {
  font-size: .82rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.service-gallery {
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 0 clamp(2rem, 3.5vw, 3.5rem);
  background: #f8fbff;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(.75rem, 1.2vw, 1.2rem);
}

.service-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1730;
  box-shadow: 0 18px 46px rgba(8, 22, 43, .12);
  margin: 0;
}

.service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.service-gallery-large {
  grid-row: span 2;
}

.service-gallery-large img {
  aspect-ratio: 4 / 5;
}

.service-gallery-item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: .55rem .9rem;
  border-radius: 10px;
  background: rgba(8, 22, 43, .72);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2px;
  backdrop-filter: blur(8px);
}

.service-content {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  background: #f8fbff;
}

.service-content-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.service-content-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--c-text-heading);
  margin-bottom: 1rem;
}

.service-content-head p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.service-component {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 3vw, 2.8rem) 0;
  border-top: 1px solid rgba(8, 22, 43, .08);
}

.service-component:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-component-reverse .service-component-text {
  order: 2;
}

.service-component-reverse .service-component-image {
  order: 1;
}

.service-component-text h3 {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--c-text-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-component-num {
  font-size: .78rem;
  font-weight: 900;
  color: var(--c-primary);
  letter-spacing: 2.5px;
  background: rgba(25, 135, 255, .1);
  border-radius: var(--r-full);
  padding: .35rem .7rem;
  flex-shrink: 0;
}

.service-component-text p {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

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

.service-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--c-text);
  font-size: .96rem;
  line-height: 1.55;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .42rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(25, 135, 255, .14);
}

.service-component-image {
  border-radius: 16px;
  overflow: hidden;
  background: #0b1730;
  box-shadow: 0 22px 52px rgba(8, 22, 43, .14);
  aspect-ratio: 4 / 3;
}

.service-component-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-process-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #f3f7fd;
}

.service-timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  counter-reset: timeline;
  position: relative;
}

.service-timeline li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(8, 22, 43, .08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 22, 43, .05);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.service-timeline li:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(8, 22, 43, .08);
}

.service-timeline-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(25, 135, 255, .28);
  flex-shrink: 0;
}

.service-timeline li h4 {
  font-size: 1.1rem;
  color: var(--c-text-heading);
  margin-bottom: .35rem;
}

.service-timeline li p {
  color: var(--c-text-muted);
  font-size: .94rem;
  line-height: 1.65;
  margin: 0;
}

.service-faq {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  background: #f8fbff;
}

.service-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: .85rem;
  align-items: start;
}

.service-faq details {
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  align-self: start;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.service-faq details[open] {
  border-color: rgba(25, 135, 255, .28);
  box-shadow: 0 10px 28px rgba(8, 22, 43, .06);
}

.service-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 800;
  color: var(--c-text-heading);
  position: relative;
  padding-right: 3rem;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(25, 135, 255, .12);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-base);
}

.service-faq details[open] summary::after {
  content: '–';
  transform: translateY(-50%) rotate(0);
}

.service-faq details p {
  padding: 0 1.3rem 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}

.service-cta {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem);
  background: #f8fbff;
}

.service-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(69, 160, 255, .18), transparent 16rem),
    linear-gradient(135deg, #0a1f3f, #061226);
  color: #fff;
  box-shadow: 0 28px 64px rgba(8, 22, 43, .2);
}

.service-cta-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: .85rem;
}

.service-cta-copy p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
  margin: 0;
}

.service-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

@media (max-width: 900px) {
  .service-intro-grid,
  .service-component,
  .service-cta-panel {
    grid-template-columns: 1fr;
  }
  .service-component-reverse .service-component-text,
  .service-component-reverse .service-component-image {
    order: initial;
  }
  .service-gallery-grid {
    grid-template-columns: 1fr;
  }
  .service-gallery-large {
    grid-row: auto;
  }
  .service-gallery-large img {
    aspect-ratio: 4 / 3;
  }
}

.service-detail-section {
  padding: 4rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items: start;
}

.service-detail-card,
.service-aside-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 12px 34px rgba(8, 22, 43, .07);
}

.service-detail-card h2,
.service-aside-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: .9rem;
}

.service-detail-card p,
.service-aside-card p {
  color: var(--c-text-muted);
  line-height: 1.75;
}

.service-benefits {
  display: grid;
  gap: .85rem;
  margin-top: 1.4rem;
}

.service-benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .8rem;
  align-items: start;
  color: var(--c-text);
  font-weight: 800;
}

.service-benefit img {
  width: 26px;
  height: 26px;
  margin-top: .1rem;
}

.service-process {
  display: grid;
  gap: .85rem;
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
}

.service-process li {
  list-style: none;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.service-process strong {
  color: var(--c-text-heading);
}

/* Projects */
.projects {
  background:
    radial-gradient(circle at 18% 62%, rgba(25, 135, 255, .08), transparent 22rem),
    radial-gradient(circle at 80% 36%, rgba(8, 22, 43, .045), transparent 24rem);
  color: var(--c-text);
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.2rem, 3.8vw, 3.4rem);
  padding-bottom: clamp(2.8rem, 4.4vw, 4rem);
  border-top: 0;
}

.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(25, 135, 255, .07) 74.1% 74.3%, transparent 74.4%),
    linear-gradient(0deg, transparent 0 52%, rgba(8, 22, 43, .035) 52.1% 52.25%, transparent 52.35%);
  pointer-events: none;
}

.projects h2,
.projects h3 {
  color: var(--c-dark);
}

.projects .section-title {
  max-width: 820px;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: .96;
}

.section-intro {
  max-width: 620px;
  margin-top: .8rem;
  color: var(--c-muted);
  font-size: .98rem;
  line-height: 1.7;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.8rem);
}

.projects .btn-secondary,
.projects .section-heading-row .btn-secondary {
  border-color: rgba(8, 22, 43, .18);
  color: var(--c-dark);
  background: #fff;
  box-shadow: none;
}

.projects .btn-secondary:hover,
.projects .section-heading-row .btn-secondary:hover {
  border-color: rgba(25, 135, 255, .34);
  color: var(--c-primary);
  background: #fff;
}

.projects-grid {
  display: grid;
  gap: 1.4rem;
  overflow: visible;
  position: relative;
}

.projects-grid::before {
  display: none;
}

.projects-grid::after {
  display: none;
}

.project-carousel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 480px) minmax(250px, 330px) minmax(380px, 1fr);
  gap: clamp(.7rem, 1.2vw, 1.1rem);
  align-items: stretch;
  min-height: clamp(400px, 42vw, 500px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.project-main-card,
.project-preview-card {
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transform: translateY(0);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), opacity var(--t-base);
  animation: projectFloatIn .45s ease both;
}

.project-main-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.1rem, 1.8vw, 1.55rem);
  border-width: 0 0 0 1px;
  border-color: rgba(8, 22, 43, .12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-main-card::before {
  display: none;
}

.project-main-card:hover {
  transform: none;
  border-color: rgba(25, 135, 255, .22);
  box-shadow: none;
}

.project-main-image,
.project-preview-image {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.project-main-image {
  grid-area: 1 / 1;
  min-height: 460px;
  animation: projectImageReveal .55s ease both;
}

.project-main-image::after,
.project-preview-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 14, 31, .82) 0%, rgba(3, 14, 31, .55) 31%, rgba(3, 14, 31, .08) 56%, rgba(3, 14, 31, .28) 100%),
    linear-gradient(180deg, rgba(3, 14, 31, .12), rgba(3, 14, 31, .62));
}

.project-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  background: #f6bd5f;
  color: #08162b;
  border-radius: var(--r-sm);
  padding: .34rem .58rem;
  font-size: .78rem;
  font-weight: 900;
}

.project-main-content {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: stretch;
  width: min(430px, 46%);
  margin: 1rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(5, 18, 38, .86), rgba(5, 24, 50, .62));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  animation: projectTextReveal .46s ease both;
}

.project-kicker {
  color: var(--c-primary);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.project-main-content h3 {
  color: #fff;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  margin-bottom: .7rem;
}

.project-main-card > h3 {
  color: var(--c-dark);
  font-size: clamp(1.75rem, 2.65vw, 2.55rem);
  line-height: .98;
  margin-bottom: 1rem;
}

.project-main-card > p,
.project-main-content p {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.project-location {
  margin-bottom: 1rem;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 22, 43, .1);
  color: var(--c-dark);
  font-size: .9rem;
  font-weight: 800;
}

.project-main-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.35rem;
}

.project-text-link,
.project-quote-link {
  min-height: 42px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem .95rem;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.project-text-link {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(25, 135, 255, .22);
}

.project-quote-link {
  border: 1px solid rgba(8, 22, 43, .14);
  background: #fff;
  color: var(--c-dark);
}

.project-preview-list {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-width: 0;
  min-height: clamp(380px, 38vw, 460px);
  padding: 0;
  isolation: isolate;
  overflow: visible;
}

.project-preview-list::before,
.project-preview-list::after {
  display: none;
}

.project-preview-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 92px;
  width: 100%;
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 10px;
  color: var(--c-dark);
  text-align: left;
  cursor: pointer;
  opacity: .85;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 22, 43, .06);
  transition: transform var(--t-base), box-shadow var(--t-base), opacity var(--t-base), border-color var(--t-base);
  z-index: 1;
  transform-origin: left center;
}

/* Arc fan — top card tilts down-right, middle sits flat & prominent,
   bottom card tilts up-right. The three cards together suggest a C-curve. */
.project-preview-card[data-project-offset="-1"] {
  transform: translateX(14%) rotate(5deg);
  transform-origin: right center;
}

.project-preview-card[data-project-offset="0"] {
  transform: translateX(-6%) scale(1.02);
  z-index: 3;
}

.project-preview-card[data-project-offset="1"] {
  transform: translateX(14%) rotate(-5deg);
  transform-origin: right center;
}

.project-preview-card[data-project-offset="2"] {
  display: none;
}

.project-preview-card.active {
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 144px;
  opacity: 1;
  border-color: rgba(25, 135, 255, .34);
  box-shadow: 0 24px 50px rgba(8, 22, 43, .14), 0 0 0 4px rgba(25, 135, 255, .08);
  z-index: 4;
}

.project-preview-card:hover {
  opacity: 1;
  border-color: rgba(25, 135, 255, .26);
  box-shadow: 0 18px 38px rgba(8, 22, 43, .1);
  z-index: 5;
}

.project-preview-card[data-project-offset="-1"]:hover {
  transform: translateX(8%) rotate(3deg);
}

.project-preview-card[data-project-offset="1"]:hover {
  transform: translateX(8%) rotate(-3deg);
}

.project-preview-card.active:hover {
  transform: translateX(-8%) scale(1.02);
}

.project-preview-image {
  grid-area: auto;
  min-height: 100%;
  background-position: center;
}

.project-preview-image::after {
  display: none;
}

.project-preview-copy {
  grid-area: auto;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1rem 1.05rem;
  background: transparent;
}

.project-preview-index {
  color: var(--c-primary);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  margin-bottom: .28rem;
}

.project-preview-copy strong {
  color: var(--c-dark);
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: .3rem;
}

.project-preview-card.active .project-preview-copy strong {
  font-size: 1.28rem;
}

.project-preview-copy small,
.project-preview-copy em {
  color: var(--c-muted);
  font-size: .78rem;
  font-style: normal;
}

.project-preview-card.active .project-preview-copy small {
  font-size: .94rem;
}

.project-preview-copy em {
  margin-top: .85rem;
  color: var(--c-dark);
  font-weight: 800;
}

.project-gallery {
  display: grid;
  grid-template-rows: minmax(286px, 1fr) auto;
  gap: .75rem;
  min-width: 0;
}

.project-gallery-main,
.project-gallery-thumb,
.project-gallery-compare-side {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
  font: inherit;
  border-radius: 8px;
  border: 1px solid rgba(8, 22, 43, .1);
  background-color: #08162b;
  box-shadow: 0 22px 68px rgba(8, 22, 43, .12);
  cursor: zoom-in;
}

.project-gallery-main {
  min-height: 286px;
  height: 100%;
  width: 100%;
  cursor: zoom-in;
}

.project-gallery-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  min-height: 286px;
  height: 100%;
}

.project-gallery-compare-side {
  height: 100%;
  width: 100%;
}

.project-framed-image {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-framed-image::before {
  content: '';
  position: absolute;
  inset: -4%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) saturate(1.05) brightness(.78);
  transform: scale(1.12);
}

.project-framed-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 38, .04), rgba(5, 18, 38, .32));
  pointer-events: none;
}

.project-framed-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.project-gallery-compare-side span {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 1;
  border-radius: var(--r-sm);
  background: rgba(8, 22, 43, .82);
  color: #fff;
  padding: .34rem .58rem;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 22, 43, .18);
}

.project-gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(106px, .72fr);
  gap: .75rem;
}

.project-gallery-strip.compact {
  grid-template-columns: 1fr;
}

.project-gallery-thumb {
  min-height: 82px;
}

.project-gallery-more-card {
  border-radius: 8px;
  border: 1px solid rgba(8, 22, 43, .1);
  background: linear-gradient(135deg, rgba(8, 22, 43, .92), rgba(8, 38, 77, .86));
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .25rem;
  text-align: center;
  box-shadow: 0 18px 46px rgba(8, 22, 43, .14);
}

.project-gallery-more-card span {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 900;
}

.project-gallery-more-card strong {
  color: rgba(255, 255, 255, .86);
  font-size: .76rem;
  font-weight: 900;
}

.project-controls {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .75rem .15rem 0;
  color: var(--c-dark);
}

.project-counter {
  color: var(--c-muted);
  font-size: .86rem;
  font-weight: 900;
}

.project-dots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 32px;
  justify-content: center;
  gap: 0;
  position: relative;
  isolation: isolate;
}

.project-dots::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  background: rgba(25, 135, 255, .22);
  transform: translateY(-50%);
  z-index: -1;
}

.project-dots button {
  width: 14px;
  height: 14px;
  border: 0;
  justify-self: center;
  border-radius: var(--r-full);
  background: #d9e3ef;
  box-shadow: 0 0 0 4px #fff;
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.project-dots button.active {
  width: 14px;
  background: var(--c-primary);
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(25, 135, 255, .16), 0 0 0 9px #fff;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 12, 24, .58);
  backdrop-filter: blur(18px);
}

.project-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .42);
}

.project-lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--r-full);
  background: rgba(8, 22, 43, .7);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.projects-page {
  background: linear-gradient(180deg, #061326 0%, #071a33 34%, #f4f8fd 34%, #f4f8fd 100%);
  color: var(--c-dark);
}

/* Projects landing page — editorial layout */
.projects-hero {
  padding: 10rem 0 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(69, 160, 255, .26), transparent 28rem),
    radial-gradient(circle at 8% 88%, rgba(47, 210, 255, .14), transparent 24rem),
    linear-gradient(135deg, #051226 0%, #082b58 60%, #0c376d 100%);
}

.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, transparent 0 58%, rgba(69, 160, 255, .08) 58.1% 58.3%, transparent 58.4%),
    linear-gradient(0deg, transparent 0 64%, rgba(69, 160, 255, .05) 64.1% 64.18%, transparent 64.25%);
  pointer-events: none;
}

.projects-hero .container {
  position: relative;
  z-index: 1;
}

.projects-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 380px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.projects-hero-copy .service-back-link {
  margin-bottom: 1.4rem;
}

.projects-hero-copy h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  margin: .6rem 0 1.1rem;
}

.projects-hero-copy > p {
  max-width: 580px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.projects-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 560px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(69, 160, 255, .24);
  border-radius: 14px;
  background: rgba(8, 24, 52, .35);
  backdrop-filter: blur(8px);
}

.projects-hero-stats div {
  display: grid;
  gap: .2rem;
}

.projects-hero-stats strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.projects-hero-stats span {
  font-size: .78rem;
  color: rgba(207, 226, 255, .72);
  line-height: 1.35;
}

.projects-hero-card {
  border: 1px solid rgba(69, 160, 255, .24);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(8, 24, 52, .85), rgba(8, 24, 52, .55));
  backdrop-filter: blur(14px);
  padding: 1.4rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .32);
}

.projects-hero-card-label {
  display: inline-flex;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-primary-light);
  margin-bottom: 1rem;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
  background: rgba(69, 160, 255, .14);
  border: 1px solid rgba(69, 160, 255, .26);
}

.projects-hero-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background-color: #08162b;
  margin-bottom: 1rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .26);
}

.projects-hero-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .25rem;
}

.projects-hero-card > p {
  color: rgba(207, 226, 255, .78);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.projects-hero-card-meta {
  list-style: none;
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(69, 160, 255, .2);
}

.projects-hero-card-meta li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .9);
  font-size: .88rem;
  font-weight: 600;
}

.projects-hero-card-meta img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: .82;
}

.projects-filter {
  padding: 1.6rem 0 .6rem;
  background: #f8fbff;
  position: sticky;
  top: 76px;
  z-index: 10;
  border-bottom: 1px solid rgba(8, 22, 43, .06);
}

.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

.projects-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.projects-filter-tag {
  border: 1px solid rgba(8, 22, 43, .14);
  background: #fff;
  border-radius: var(--r-full);
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 800;
  color: var(--c-text-heading);
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}

.projects-filter-tag:hover {
  border-color: rgba(25, 135, 255, .32);
  color: var(--c-primary);
}

.projects-filter-tag.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.projects-filter-tag:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 2px;
}

.projects-filter-count {
  font-size: .82rem;
  color: var(--c-text-muted);
  font-weight: 700;
}

.projects-listing {
  padding: 1.55rem 0 3.4rem;
  background: #f8fbff;
}

.projects-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.projects-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 22, 43, .055);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.projects-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 135, 255, .26);
  box-shadow: 0 18px 46px rgba(8, 22, 43, .11);
}

.projects-card-image {
  position: relative;
  overflow: hidden;
  background-color: #08162b;
}

.projects-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 18, 38, 0) 0%, rgba(5, 18, 38, .6) 100%);
  pointer-events: none;
}

.projects-card-image .project-framed-image {
  z-index: 0;
}

.projects-card-image .projects-card-category,
.projects-card-image .projects-card-badge {
  z-index: 3;
}

.projects-card-category {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  padding: .28rem .68rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .92);
  color: var(--c-primary);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.projects-card-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 1;
  padding: .28rem .62rem;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .6px;
  box-shadow: 0 6px 18px rgba(25, 135, 255, .3);
}

.projects-card-body {
  padding: 1rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}

.projects-card-meta {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0;
}

.projects-card-year {
  color: var(--c-primary);
}

.projects-card-meta .projects-card-scope::before {
  content: '·';
  margin-right: .5rem;
  color: var(--c-text-muted);
  font-weight: 700;
}

.projects-card-body h2 {
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  color: var(--c-text-heading);
  margin: 0;
  line-height: 1.14;
}

.projects-card-location {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--c-text-muted);
  font-size: .8rem;
  margin: 0;
}

.projects-card-description {
  color: var(--c-text);
  font-size: .83rem;
  line-height: 1.42;
  margin: .05rem 0 0;
}

.projects-card-highlights {
  list-style: none;
  padding: 0;
  margin: .38rem 0 .1rem;
  display: grid;
  gap: .28rem;
}

.projects-card-highlights li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .78rem;
  color: var(--c-text);
  line-height: 1.34;
}

.projects-card-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .36rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(25, 135, 255, .12);
}

.projects-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: auto;
  padding-top: .72rem;
  border-top: 1px solid rgba(8, 22, 43, .08);
}

.projects-card-duration {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text);
  min-width: 0;
}

.projects-card-cta {
  font-size: .78rem;
  font-weight: 900;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  transition: gap var(--t-base);
}

.projects-card-cta:hover {
  gap: .55rem;
}

.projects-process {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #f3f7fd;
}

.projects-process-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.projects-process-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--c-text-heading);
  margin-bottom: 1rem;
}

.projects-process-head p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.projects-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.projects-principle {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(8, 22, 43, .08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 22, 43, .05);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.projects-principle:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(8, 22, 43, .08);
}

.projects-principle-num {
  display: inline-flex;
  font-size: .72rem;
  font-weight: 900;
  color: var(--c-primary);
  letter-spacing: 2.4px;
  margin-bottom: .8rem;
  padding: .35rem .7rem;
  border-radius: var(--r-full);
  background: rgba(25, 135, 255, .1);
}

.projects-principle h3 {
  font-size: 1.1rem;
  color: var(--c-text-heading);
  margin-bottom: .5rem;
}

.projects-principle p {
  color: var(--c-text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

.projects-final-cta {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem);
  background: #f8fbff;
}

.projects-final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(69, 160, 255, .18), transparent 16rem),
    linear-gradient(135deg, #0a1f3f, #061226);
  color: #fff;
  box-shadow: 0 28px 64px rgba(8, 22, 43, .2);
}

.projects-final-cta-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin: .35rem 0 .85rem;
}

.projects-final-cta-copy p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
  margin: 0;
}

.projects-final-cta-copy .section-label {
  color: var(--c-primary-light);
}

.projects-final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

@media (max-width: 900px) {
  .projects-hero-grid,
  .projects-final-cta-panel {
    grid-template-columns: 1fr;
  }
  .projects-listing-grid {
    grid-template-columns: 1fr;
  }
  .projects-hero-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .projects-filter {
    position: static;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .projects-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* About and region */
/* ===== About section — editorial, tight, balanced ===== */
.about-section {
  background: #f8fbff;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

.about-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(1.8rem, 3.5vw, 3.5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-figure {
  position: relative;
  width: 100%;
}

.about-figure-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #06172d;
  box-shadow: 0 20px 48px rgba(8, 22, 43, .15);
}

.about-figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.about-figure-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  background: rgba(8, 22, 43, .82);
  color: #fff;
  backdrop-filter: blur(10px);
  display: grid;
  gap: .15rem;
}

.about-figure-badge strong {
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-figure-badge span {
  font-size: .72rem;
  color: rgba(207, 226, 255, .82);
  font-weight: 600;
}

.about-main {
  min-width: 0;
  max-width: 620px;
}

.about-main h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--c-text-heading);
  margin: .25rem 0 .9rem;
}

.about-main-accent {
  color: var(--c-primary);
  display: block;
}

.about-lead {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.about-points {
  list-style: none;
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 0 0 1.4rem;
}

.about-points li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
}

.about-points-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(25, 135, 255, .12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-points-icon img {
  width: 18px;
  height: 18px;
}

.about-points li strong {
  display: block;
  color: var(--c-text-heading);
  font-size: .94rem;
  font-weight: 800;
  margin-bottom: .15rem;
  line-height: 1.3;
}

.about-points li > div > span {
  display: block;
  color: var(--c-text-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.about-foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(8, 22, 43, .08);
}

.about-signature {
  height: 44px;
  width: auto;
}

.about-foot-meta {
  display: grid;
  gap: .1rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(8, 22, 43, .1);
}

.about-foot-meta strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
}

.about-foot-meta span {
  font-size: .78rem;
  color: var(--c-text-muted);
  line-height: 1.3;
}

/* ===== Region section ===== */
.region-section {
  background: #f3f7fd;
  padding-top: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "head    aside"
    "map     aside";
  gap: clamp(1.4rem, 2.5vw, 2.2rem) clamp(2rem, 3.5vw, 3rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.region-head {
  grid-area: head;
  max-width: 540px;
}

.region-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--c-text-heading);
  margin: .25rem 0 .8rem;
}

.region-head p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.region-map {
  grid-area: map;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(8, 22, 43, .08);
  background: #fff;
  aspect-ratio: 760 / 520;
  width: 100%;
  box-shadow: 0 14px 38px rgba(8, 22, 43, .06);
}

.region-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.region-aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.region-points {
  list-style: none;
  display: grid;
  gap: .6rem;
  padding: 0;
  margin: 0;
}

.region-points li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: .8rem .9rem;
  border: 1px solid rgba(8, 22, 43, .08);
  border-radius: 12px;
  background: #fff;
}

.region-point-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(25, 135, 255, .1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.region-point-icon img {
  width: 18px;
  height: 18px;
}

.region-points li strong {
  display: block;
  color: var(--c-text-heading);
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .15rem;
}

.region-points li > div > span {
  display: block;
  color: var(--c-text-muted);
  font-size: .8rem;
  line-height: 1.5;
}

.region-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.map-orbit {
  width: min(240px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(20, 119, 248, .3);
  background:
    radial-gradient(circle at center, rgba(20, 119, 248, .18) 0 43%, transparent 44%),
    rgba(20, 119, 248, .06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-heading);
}

.map-dot {
  position: absolute;
  font-size: .7rem;
  color: var(--c-text);
  font-weight: 700;
  white-space: nowrap;
}

.map-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  display: inline-block;
  margin-right: .28rem;
}

.map-road {
  position: absolute;
  height: 1px;
  background: rgba(20, 119, 248, .22);
  transform-origin: left center;
}

.road-a { width: 86%; left: 9%; top: 40%; transform: rotate(18deg); }
.road-b { width: 72%; left: 14%; top: 58%; transform: rotate(-28deg); }
.road-c { width: 68%; left: 17%; top: 50%; transform: rotate(88deg); }
.dot-a { left: -22px; top: 40px; }
.dot-b { right: -18px; top: 58px; }
.dot-c { bottom: 28px; left: 30px; }
.dot-d { right: -14px; bottom: 60px; }
.dot-e { left: -14px; bottom: 70px; }
.dot-f { right: 12px; top: -18px; }

.values {
  background: transparent;
  padding-bottom: 1.4rem;
}

.values .about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-feature {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1rem;
  background: #fff;
}

.about-feature-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: rgba(20, 119, 248, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature h4 {
  font-size: .95rem;
  margin-bottom: .2rem;
}

.about-feature p {
  color: var(--c-text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

/* Stats and process */
.stats-bar {
  background: transparent;
  padding: 1.4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #051831, #08264d);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  padding: 1.35rem 1rem;
  text-align: left;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  gap: .85rem;
  row-gap: .15rem;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon img {
  width: 38px;
  height: 38px;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item h3 {
  grid-column: 2;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0;
}

.stat-item p {
  grid-column: 2;
  color: rgba(255, 255, 255, .76);
  font-size: .76rem;
}

.process {
  background:
    radial-gradient(circle at 50% 46%, rgba(25, 135, 255, .08), transparent 28rem);
  padding-top: clamp(3rem, 5vw, 4.4rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.4rem);
  position: relative;
  overflow: hidden;
}

.process .text-center {
  max-width: 760px;
  margin: 0 auto;
}

.process .section-title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 1.5vw, 1.25rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3.4rem);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 135, 255, .32), transparent);
  pointer-events: none;
}

.process-step {
  position: relative;
  display: grid;
  gap: 1rem;
  z-index: 1;
}

.process-step::after {
  display: none;
}

.process-step:last-child::after {
  display: none;
}

.process-step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d63d7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.process-step-copy {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
}

.process-step h3 {
  grid-column: 2;
  font-size: .95rem;
  padding-top: .15rem;
  margin-bottom: .45rem;
}

.process-step p {
  grid-column: 2;
  color: var(--c-text-muted);
  font-size: .78rem;
  line-height: 1.65;
}

.process-screen {
  min-height: clamp(280px, 24vw, 340px);
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(8, 22, 43, .08);
  overflow: hidden;
  padding: .9rem .85rem;
  display: flex;
  flex-direction: column;
}

.process-step:nth-child(3) .process-screen {
  box-shadow: 0 34px 100px rgba(8, 22, 43, .16), 0 0 0 5px rgba(25, 135, 255, .08);
  transform: translateY(-.6rem);
  border-color: rgba(25, 135, 255, .24);
}

.process-step:nth-child(1) .process-screen,
.process-step:nth-child(2) .process-screen,
.process-step:nth-child(4) .process-screen {
  opacity: .9;
}

.process-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .45rem;
  margin-bottom: 1rem;
}

.process-progress span {
  height: 6px;
  border-radius: var(--r-full);
  background: #dfe6ef;
}

.process-progress .done {
  background: #18b985;
}

.process-progress .active {
  background: var(--c-primary);
}

.process-mini-intro {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: .6rem;
  align-items: center;
  margin-bottom: .8rem;
}

.process-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--g-primary);
  display: grid;
  place-items: center;
}

.process-mini-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.process-mini-intro small {
  color: var(--c-primary);
  display: block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.process-mini-intro strong {
  color: var(--c-dark);
  display: block;
  font-size: clamp(.82rem, .92vw, .95rem);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.process-service-grid,
.process-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.process-service-grid span,
.process-time-grid span {
  min-height: 48px;
  border: 1px solid rgba(8, 22, 43, .1);
  border-radius: 9px;
  color: var(--c-dark);
  background: #fff;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .55rem;
  min-width: 0;
  font-size: clamp(.62rem, .72vw, .72rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.process-service-grid img {
  width: 20px;
  height: 20px;
}

.process-service-grid .selected,
.process-time-grid .selected {
  border-color: rgba(25, 135, 255, .44);
  background: #eef6ff;
  color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(20, 119, 248, .1);
}

.process-upload-zone {
  min-height: 128px;
  border: 2px dashed rgba(20, 119, 248, .42);
  border-radius: 16px;
  background: #f2f7ff;
  color: var(--c-text-heading);
  display: grid;
  place-items: center;
  align-content: center;
  gap: .35rem;
  text-align: center;
}

.process-upload-zone img {
  width: 34px;
  height: 34px;
}

.process-upload-zone strong {
  color: var(--c-dark);
  font-size: clamp(.84rem, .95vw, .96rem);
  font-weight: 900;
}

.process-upload-zone small {
  color: var(--c-muted);
  font-size: clamp(.72rem, .82vw, .82rem);
  font-weight: 600;
}

.process-mini-lines {
  display: grid;
  gap: .45rem;
  margin-top: .9rem;
}

.process-mini-lines span {
  height: 9px;
  border-radius: var(--r-full);
  background: #edf2f8;
}

.process-mini-lines span:last-child {
  width: 72%;
}

.process-cost-card {
  min-height: 128px;
  border: 1px solid rgba(25, 135, 255, .24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 18%, rgba(25, 135, 255, .2), transparent 8rem),
    linear-gradient(135deg, #eef6ff, #fff);
  display: grid;
  align-content: center;
  gap: .45rem;
  padding: .8rem .75rem;
}

.process-cost-card small {
  color: var(--c-primary);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.process-cost-card strong {
  color: var(--c-dark);
  font-size: clamp(.78rem, .9vw, .92rem);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.process-cost-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

.process-cost-numbers span {
  border: 1px solid rgba(25, 135, 255, .2);
  border-radius: 10px;
  background: #fff;
  padding: .5rem .55rem;
  min-width: 0;
}

.process-cost-numbers b {
  display: block;
  color: var(--c-primary);
  font-size: clamp(.78rem, .95vw, 1rem);
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.process-cost-numbers small {
  color: var(--c-muted);
  font-size: .64rem;
  letter-spacing: 0;
  text-transform: none;
}

.process-cost-card em {
  color: var(--c-muted);
  font-size: .78rem;
  font-style: normal;
}

.process-urgent-row {
  min-height: 52px;
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: 10px;
  background: rgba(239, 68, 68, .05);
  margin-top: .8rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
}

.process-urgent-row span {
  width: 42px;
  height: 24px;
  border-radius: var(--r-full);
  background: #ef4444;
  position: relative;
}

.process-urgent-row span::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: var(--r-full);
  background: #fff;
}

.process-urgent-row strong {
  color: var(--c-dark);
  font-size: .8rem;
  font-weight: 900;
}

/* Contact and footer */
.cta-section {
  background:
    radial-gradient(circle at 74% 18%, rgba(25, 135, 255, .06), transparent 20rem);
}

.cta-section .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.cta-card,
.contact-info {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(10, 38, 78, .06);
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: .7rem;
}

.cta-card p {
  color: var(--c-text-muted);
  margin-bottom: 1.3rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.cta-section .btn-secondary,
.footer .btn-secondary {
  color: var(--c-text-heading);
  border-color: var(--c-border);
  background: #fff;
}

.cta-section .btn-secondary .btn-icon,
.footer .btn-secondary .btn-icon {
  filter: none;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 119, 248, .1);
}

.contact-item-icon img {
  width: 22px;
  height: 22px;
}

.contact-item-copy {
  min-width: 0;
}

.contact-item h4 {
  font-size: .92rem;
  margin-bottom: .25rem;
}

.contact-item p {
  color: var(--c-text-muted);
  font-size: .95rem;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.55;
}

.footer {
  background: #041224;
  color: rgba(255, 255, 255, .76);
  padding: 3rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer p {
  margin-top: 1rem;
  max-width: 340px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: .85rem;
  font-size: .95rem;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-size: .86rem;
  margin-bottom: .55rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact-link {
  display: grid !important;
  gap: .12rem;
  margin-bottom: .78rem !important;
  color: rgba(255, 255, 255, .72);
}

.footer-contact-link span {
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-contact-link strong {
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

a.footer-contact-link:hover strong {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.2rem;
  font-size: .82rem;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 30%, rgba(20, 119, 248, .08), transparent 28rem),
    #f8fbff;
  color: var(--c-text);
}

.legal-header {
  background: #041224;
  color: #fff;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.legal-header .logo-icon {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.legal-header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.legal-home-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  font-weight: 800;
}

.legal-home-link span {
  color: var(--c-primary-light);
  font-size: 1.1rem;
  transition: transform var(--t-base);
}

.legal-home-link:hover {
  color: #fff;
}

.legal-home-link:hover span {
  transform: translateX(-3px);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .07);
}

.language-switch button {
  min-width: 42px;
  padding: .4rem .62rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: rgba(255, 255, 255, .62);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .7px;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(20, 119, 248, .3);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(circle at 78% 24%, rgba(47, 210, 255, .13), transparent 20rem),
    radial-gradient(circle at 16% 85%, rgba(124, 108, 255, .14), transparent 24rem),
    linear-gradient(135deg, #041224, #08264d);
}

.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 58%, rgba(255, 255, 255, .035) 58.2%, transparent 58.4%);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--c-primary-light);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--c-primary-light);
}

.legal-hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.legal-hero p {
  max-width: 680px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.legal-main {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.legal-document {
  max-width: 1120px;
}

.legal-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(8, 22, 43, .15);
}

.legal-note {
  color: var(--c-text-muted);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-language-note {
  color: var(--c-text-muted);
  font-size: .84rem;
  text-align: right;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.65fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-bottom: 1px solid rgba(8, 22, 43, .1);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.legal-section-copy {
  min-width: 0;
}

.legal-section p,
.legal-section li {
  color: var(--c-text-muted);
  line-height: 1.8;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 1rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.legal-section a {
  color: var(--c-primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-section a:hover {
  color: var(--c-primary-dark);
}

.legal-contact-block {
  color: var(--c-text-heading) !important;
  font-weight: 650;
}

.legal-footer {
  background: #041224;
  color: rgba(255, 255, 255, .74);
  padding: 2rem 0;
}

.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.legal-footer a {
  color: rgba(255, 255, 255, .68);
  font-size: .84rem;
  font-weight: 750;
}

.legal-footer a:hover,
.legal-footer a[aria-current="page"] {
  color: #fff;
}

@media (max-width: 720px) {
  .legal-header .logo-copy {
    display: none;
  }

  .legal-header-actions {
    gap: .75rem;
  }

  .legal-home-link {
    font-size: .8rem;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .legal-intro,
  .legal-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-language-note {
    text-align: left;
  }
}

[hidden] {
  display: none !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes proofPanelIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroWindowGlow {
  0%,
  100% {
    filter: blur(5px) saturate(1.02);
    transform: scale(1);
  }
  50% {
    filter: blur(6px) saturate(1.06);
    transform: scale(1.002);
  }
}

@keyframes proofPanelLight {
  to {
    transform: rotate(1turn);
  }
}

@keyframes proofPanelSweep {
  0%,
  24% {
    left: -28%;
  }
  58%,
  100% {
    left: 104%;
  }
}

@keyframes projectFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes projectImageReveal {
  from {
    opacity: .55;
    filter: saturate(.86) brightness(.88);
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}

@keyframes projectTextReveal {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes projectPreviewIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Responsive */
@media(max-width:1100px) {
  .nav-links {
    gap: 1rem;
  }

  .navbar .container {
    gap: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero {
    height: auto;
    min-height: 690px;
  }

  .hero-cutout {
    height: 104px;
    clip-path: polygon(0 78%, 46% 58%, 100% 34%, 100% 100%, 0 100%);
  }

  .hero-contact-card {
    width: min(100%, 420px);
    max-width: 420px;
    margin: 0;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100%, 760px);
    margin-top: 1.3rem;
    animation: none;
  }

  .hero-stats::before {
    animation-name: proofPanelLight;
  }

  .hero-stats::after {
    animation-name: proofPanelSweep;
  }

  .services {
    padding-top: 4.2rem;
  }

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

  .project-carousel {
    grid-template-columns: 1fr;
  }

  .project-main-card {
    min-height: 360px;
  }

  .project-main-image {
    min-height: 360px;
  }

  .project-preview-list {
    min-height: 360px;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }

  .project-preview-card {
    min-height: 96px;
  }

  .project-preview-card.active {
    min-height: 126px;
    grid-template-columns: 96px minmax(0, 1fr);
    width: min(390px, 100%);
  }

  .project-gallery {
    grid-template-rows: minmax(260px, 1fr) auto;
  }

  .about-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }

  .region-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "map"
      "aside";
  }
}

@media(max-width:820px) {
  .navbar {
    padding: .85rem 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(4, 18, 36, .98);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right var(--t-slow);
    border-left: 1px solid rgba(255, 255, 255, .1);
    z-index: 104;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: .55rem;
    background: #04162a;
    border: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-submenu a:hover,
  .nav-submenu a.active {
    background: rgba(20, 119, 248, .26);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 640px;
    background-position: 60% center;
  }

  .hero-cutout {
    height: 86px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof:nth-child(2) {
    border-right: 0;
  }

  .section-heading-row,
  .cta-section .container,
  .service-detail-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .project-main-card {
    min-height: auto;
  }

  .project-main-image {
    min-height: 420px;
  }

  .project-main-content {
    align-self: end;
    width: auto;
    margin: .8rem;
  }

  .project-controls {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .project-dots {
    justify-content: flex-start;
  }

  .project-gallery-strip {
    grid-template-columns: 1fr 1fr minmax(100px, .75fr);
  }

  .all-projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .values .about-features,
  .stats-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-step,
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(2) .process-screen,
  .process-step:nth-child(3) .process-screen {
    transform: none;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .process-step::after {
    display: none;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .about-figure {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-main {
    max-width: none;
  }
}

@media(max-width:620px) {
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .navbar .container {
    gap: .5rem;
  }

  .navbar .nav-logo {
    min-width: 0;
  }

  .navbar .logo-copy {
    display: none;
  }

  .navbar .logo-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    transform: none;
  }

  .nav-controls {
    gap: .35rem;
    margin-left: auto;
  }

  .site-language-switch {
    padding: 2px;
  }

  .site-language-switch button {
    min-width: 34px;
    padding: .32rem .4rem;
    font-size: .68rem;
  }

  .hamburger {
    padding: .4rem;
  }

  .hero {
    min-height: 700px;
    align-items: flex-start;
  }

  .hero-cutout {
    height: 70px;
    clip-path: polygon(0 82%, 100% 48%, 100% 100%, 0 100%);
  }

  .hero .container {
    padding-top: 6.5rem;
  }

  .hero-contact-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

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

  .hero-stats {
    width: 100%;
    grid-template-columns: 1fr;
    padding: .8rem;
  }

  .hero-proof,
  .hero-proof:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: .62rem .25rem;
  }

  .hero-proof:last-child {
    border-bottom: 0;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
  }

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

  .about-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .about-foot-meta {
    padding-left: 0;
    border-left: 0;
  }

  .project-preview-list {
    display: none;
  }

  .project-carousel {
    min-height: 0;
    gap: 1rem;
  }

  .project-gallery {
    order: 1;
    grid-template-rows: auto auto;
    gap: .65rem;
  }

  .project-feature {
    order: 2;
  }

  .project-main-card {
    padding: 1.25rem 1rem;
    border-width: 1px;
    border-radius: 8px;
    background: #fff;
  }

  .project-gallery-main {
    min-height: 260px;
  }

  .project-gallery-comparison {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 220px);
    min-height: 0;
    height: auto;
  }

  .project-gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .project-gallery-thumb,
  .project-gallery-more-card {
    min-height: 92px;
  }

  .project-gallery-more-card {
    grid-column: 1 / -1;
    min-height: 78px;
  }

  .project-controls {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .75rem;
    padding-top: .9rem;
  }

  .project-counter {
    order: 2;
  }

  .project-dots {
    order: 1;
    justify-content: center;
  }

  .service-card {
    min-height: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
