:root {
  --background: 220 20% 97%;
  --foreground: 220 30% 10%;
  --card: 0 0% 100%;
  --primary: 220 60% 15%;
  --primary-foreground: 40 100% 97%;
  --secondary: 220 15% 92%;
  --muted-foreground: 220 10% 45%;
  --accent: 35 95% 55%;
  --accent-foreground: 220 60% 10%;
  --border: 220 15% 88%;
  --radius: 0.75rem;
  --shadow-card: 0 4px 24px -4px hsla(220, 30%, 10%, 0.08);
  --shadow-card-hover: 0 16px 48px -12px hsla(220, 30%, 10%, 0.18);
  --shadow-glow: 0 0 40px -10px hsla(35, 95%, 55%, 0.3);
  --gradient-accent: linear-gradient(135deg, hsl(35, 95%, 55%), hsl(20, 100%, 50%));
  --hero-overlay: linear-gradient(160deg, hsla(220, 58%, 10%, 0.52), hsla(220, 42%, 16%, 0.32));
  --hero-overlay-split: linear-gradient(
    105deg,
    hsla(220, 55%, 12%, 0.5) 0%,
    hsla(220, 40%, 18%, 0.22) 42%,
    hsla(220, 30%, 20%, 0.08) 58%,
    transparent 72%
  );
  --drawer-time: 0.28s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-hover: 0.35s;
  --t-reveal: 0.88s;
}

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

html {
  scroll-padding-top: 7.25rem;
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 10.75rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition:
    background var(--t-hover) var(--ease-soft),
    color var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft),
    filter var(--t-hover) var(--ease-soft),
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-soft);
}

.btn__icon {
  flex-shrink: 0;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -8px hsla(35, 95%, 40%, 0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn--secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--accent {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn--accent:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px hsla(35, 95%, 45%, 0.4);
}

.btn--accent:active {
  transform: translateY(0);
}

.btn--outline {
  border: 1px solid hsla(40, 100%, 97%, 0.25);
  color: hsl(var(--primary-foreground));
  background: transparent;
}

.btn--outline:hover {
  background: hsla(40, 100%, 97%, 0.1);
  border-color: hsla(40, 100%, 97%, 0.35);
  transform: translateY(-2px);
}

.btn--outline:active {
  transform: translateY(0);
}

.btn--dark {
  background: hsl(220, 22%, 16%);
  color: hsl(0, 0%, 98%);
  border: 1px solid hsl(220, 22%, 12%);
}

.btn--dark:hover {
  background: hsl(220, 24%, 12%);
  color: hsl(0, 0%, 100%);
}

.btn--dark:active {
  transform: translateY(1px);
}

.nav.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.nav--scrolled.site-header {
  box-shadow: 0 8px 32px -12px hsla(220, 35%, 12%, 0.18);
}

.site-header__top {
  background: hsla(220, 38%, 12%, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav--scrolled .site-header__top {
  background: hsl(0, 0%, 100%);
  border-bottom-color: hsla(var(--border) / 0.6);
}

.site-header__top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 0.85rem;
  min-height: 4.5rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

@media (min-width: 1024px) {
  .site-header__top-inner {
    min-height: 5.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr);
    align-items: center;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .site-header__mail {
    justify-self: center;
  }

  .site-header__contact {
    justify-self: end;
  }
}

.site-header__brand {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.4rem 0.55rem;
  background: hsl(0, 0%, 100%);
  border-radius: 0.85rem;
  border: 1px solid hsla(var(--border) / 0.45);
  box-shadow: 0 2px 18px -10px hsla(220, 35%, 12%, 0.22);
  line-height: 0;
}

.site-header__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.site-header__logo-img {
  display: block;
  width: auto;
  height: clamp(2.65rem, 5.2vw, 3.35rem);
  max-width: min(10.5rem, 38vw);
  object-fit: contain;
}

.site-header__brand-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  max-width: 18.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.7rem, 1.45vw, 0.8125rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: hsla(0, 0%, 100%, 0.8);
}

.site-header__brand-tagline-line {
  display: block;
}

.nav--scrolled .site-header__brand-tagline {
  color: hsl(220, 10%, 30%);
}

@media (max-width: 640px) {
  .brand-logo-panel {
    padding: 0.35rem 0.5rem;
  }

  .site-header__brand-tagline {
    flex: 1 1 100%;
    max-width: none;
    font-size: 0.7rem;
  }

  .site-header__logo-img {
    max-width: 100%;
    height: 2.5rem;
  }
}

.site-header__mail {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.92);
  text-decoration: none;
}

.nav--scrolled .site-header__mail {
  color: hsl(var(--foreground));
}

@media (min-width: 900px) {
  .site-header__mail {
    display: flex;
  }
}

.site-header__mail:hover {
  color: hsl(var(--accent));
}

.site-header__mail-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.site-header__contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 0.9rem;
  justify-self: end;
}

.site-header__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.site-header__tel {
  font-weight: 700;
  font-size: clamp(0.95rem, 2.1vw, 1.125rem);
  white-space: nowrap;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}

.nav--scrolled .site-header__tel {
  color: hsl(var(--foreground));
}

.site-header__tel:hover {
  color: hsl(var(--accent));
}

.site-header__hours {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.78);
  text-align: right;
  max-width: 16rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .site-header__hours {
    font-size: 0.8125rem;
    white-space: nowrap;
    max-width: none;
  }
}

.nav--scrolled .site-header__hours {
  color: hsl(var(--muted-foreground));
}

.site-header__callback {
  display: none;
}

@media (min-width: 640px) {
  .site-header__callback {
    display: inline-flex;
  }
}

.site-header__callback.btn--sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  .site-header__callback.btn--sm {
    padding: 0.7rem 1.35rem;
    font-size: 0.96875rem;
  }
}

.site-header__burger {
  justify-self: end;
  padding: 0.35rem;
  color: hsl(0, 0%, 100%);
  background: none;
  border: none;
  cursor: pointer;
}

.nav--scrolled .site-header__burger {
  color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
  .site-header__burger {
    display: none;
  }
}

.site-header__bar {
  display: none;
  background: hsla(220, 42%, 26%, 0.92);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
}

.nav--scrolled .site-header__bar {
  background: hsl(220, 35%, 22%);
}

@media (min-width: 1024px) {
  .site-header__bar {
    display: block;
  }
}

.site-header__bar-inner {
  display: flex;
  justify-content: center;
  min-height: 3.05rem;
  align-items: center;
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.85rem;
}

.site-header__mlink {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsla(0, 0%, 100%, 0.92);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.site-header__mlink:hover {
  color: hsl(35, 95%, 58%);
}

.nav__burger {
  padding: 0.25rem;
}

@media (min-width: 1024px) {
  .nav__burger {
    display: none;
  }
}

.nav__mobile {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
}

.nav__mobile[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .nav__mobile {
    display: none !important;
  }
}

.nav__mlink {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color var(--t-hover) var(--ease-soft), padding-left var(--t-hover) var(--ease-out);
}

.nav__mlink:hover {
  color: hsl(var(--accent));
  padding-left: 0.35rem;
}

.nav__logo {
  flex-shrink: 0;
  width: 3.35rem;
  height: 3.85rem;
  border-radius: 0.75rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: hsl(0, 0%, 100%);
  border: 1px solid hsla(var(--border) / 0.85);
  box-shadow: 0 2px 12px -6px hsla(220, 35%, 12%, 0.15);
  vertical-align: middle;
}

.nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__mfoot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav__mhours {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.nav__mtel {
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: hsla(220, 40%, 8%, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--drawer-time), visibility var(--drawer-time);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--drawer-time) ease-out, visibility var(--drawer-time) ease-out;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer__inner {
  position: relative;
  width: min(26rem, 100%);
  max-height: min(calc(100dvh - 2rem), calc(100vh - 2rem), 46rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1.25rem 2rem;
  background: hsl(var(--card));
  border: 1px solid hsla(var(--border) / 0.85);
  border-radius: calc(var(--radius) + 0.125rem);
  box-shadow: 0 28px 80px -24px hsla(220, 40%, 8%, 0.35);
  pointer-events: auto;
  transform: scale(0.96) translateY(0.5rem);
  opacity: 0;
  transition:
    transform var(--drawer-time) var(--ease-out),
    opacity var(--drawer-time) var(--ease-out);
}

.drawer.is-open .drawer__inner {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (max-width: 480px) {
  .drawer__inner {
    width: 100%;
    max-height: min(calc(100dvh - 1rem), calc(100vh - 1rem));
    padding: 1.35rem 1.1rem 1.65rem;
  }
}

.drawer__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem;
  color: hsl(var(--muted-foreground));
  z-index: 2;
  transition: color var(--t-hover) var(--ease-soft), transform var(--t-hover) var(--ease-out);
}

.drawer__close:hover {
  color: hsl(var(--foreground));
  transform: rotate(90deg);
}

.drawer__title {
  margin: 0 2.25rem 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.drawer__subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.drawer-form__label {
  display: block;
  margin-bottom: 0.75rem;
}

.drawer-form__ltext {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: hsl(var(--foreground));
}

.req {
  color: hsl(var(--accent));
}

.drawer-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.drawer-form__hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drawer-form__submit {
  margin-top: 0.25rem;
}

.drawer-form__label--half {
  margin-bottom: 0.75rem;
}

.drawer-form__error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: hsl(0 72% 40%);
}

.drawer-form__error[hidden] {
  display: none !important;
}

.input.is-invalid {
  box-shadow: 0 0 0 2px hsl(0 72% 45% / 0.35);
  background: hsl(0 40% 97%);
}

.thanks-inline {
  text-align: center;
  padding: 2rem 0.5rem;
}

.thanks-inline__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: hsla(35, 95%, 55%, 0.12);
  color: hsl(var(--accent));
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-inline__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.thanks-inline__text {
  margin: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

.hero--split {
  padding-top: 7.75rem;
  align-items: stretch;
  min-height: min(100vh, 960px);
  min-height: min(100dvh, 960px);
}

@media (min-width: 1024px) {
  .hero--split {
    padding-top: 11.25rem;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: hsl(220, 25%, 22%);
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  transition: transform 8s var(--ease-soft);
}

.hero:hover .hero__img {
  transform: scale(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero__overlay--split {
  background: var(--hero-overlay-split);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    hsla(35, 95%, 55%, 0.018) 20px,
    hsla(35, 95%, 55%, 0.018) 21px
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hero__split {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero__split {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.55fr);
    align-items: center;
  }
}

.hero__panel {
  --hero-panel-border: hsla(220, 40%, 100%, 0.52);
  width: 100%;
  max-width: min(48.5rem, 100%);
  background: linear-gradient(
    155deg,
    hsla(215, 42%, 99%, 0.82) 0%,
    hsla(220, 35%, 96%, 0.68) 55%,
    hsla(220, 30%, 95%, 0.62) 100%
  );
  border-radius: calc(var(--radius) + 0.125rem);
  border: 1px solid var(--hero-panel-border);
  padding: 2.1rem 1.65rem 2.25rem;
  box-shadow:
    0 1px 2px hsla(220, 45%, 8%, 0.06),
    0 24px 56px -22px hsla(220, 50%, 6%, 0.32),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.55);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

@media (min-width: 640px) {
  .hero__panel {
    padding: 2.35rem 2rem 2.45rem;
  }
}

@media (min-width: 1024px) {
  .hero__panel {
    padding: 2.65rem 2.35rem 2.75rem;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__panel {
    background: hsla(220, 28%, 98%, 0.94);
    box-shadow:
      0 1px 2px hsla(220, 45%, 8%, 0.06),
      0 24px 56px -22px hsla(220, 50%, 6%, 0.28);
  }
}

.hero__photo-side {
  display: none;
}

@media (min-width: 1024px) {
  .hero__photo-side {
    display: block;
    min-height: 12rem;
  }
}

.hero__since {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsla(220, 14%, 38%, 0.92);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: hsl(var(--primary-foreground));
  max-width: 52rem;
  text-shadow: 0 1px 3px hsla(220, 60%, 6%, 0.65), 0 0 40px hsla(220, 55%, 8%, 0.35);
}

.hero--split .hero__title {
  text-shadow: none;
  margin-bottom: 1.45rem;
}

.hero__title--caps {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.15rem, 2.65vw, 1.58rem);
  font-weight: 700;
  line-height: 1.3;
  color: hsl(220, 48%, 10%);
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: hsla(var(--primary-foreground) / 0.68);
  max-width: 40rem;
  line-height: 1.55;
  text-shadow: 0 1px 2px hsla(220, 60%, 6%, 0.55);
}

.hero__mini-cards {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero__mini-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}

.hero__mini-card {
  padding: 0.75rem 0.8rem;
  font-size: 0.78rem;
  line-height: 1.42;
  font-weight: 500;
  color: hsl(220, 32%, 15%);
  background: hsl(220, 20%, 97.5%);
  border: 1px solid hsl(220, 14%, 88%);
  border-radius: calc(var(--radius) - 0.125rem);
}

.hero--split .hero__mini-card {
  background: hsla(220, 35%, 100%, 0.78);
  border-color: hsla(220, 22%, 45%, 0.14);
  box-shadow: 0 1px 2px hsla(220, 40%, 8%, 0.05);
}

.hero__cta-row {
  margin-bottom: 1.35rem;
}

.hero__btn-calc {
  width: 100%;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsla(var(--primary-foreground) / 0.72);
}

.hero--split .hero__trust {
  color: hsl(220, 26%, 30%);
  padding-top: 0.85rem;
  border-top: 1px solid hsla(220, 22%, 32%, 0.14);
}

.hero--split .hero__trust li + li {
  border-left: 1px solid hsla(220, 22%, 32%, 0.16);
  margin-left: 0.85rem;
  padding-left: 0.85rem;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section--grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, hsla(220, 15%, 70%, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section--muted {
  background: hsla(var(--secondary) / 0.35);
}

.section--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.section__head {
  position: relative;
  margin-bottom: 3rem;
}

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

.section__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);
  font-weight: 700;
}

.section__title--on-dark {
  color: hsl(var(--primary-foreground));
}

.section__sub {
  margin: 1rem auto 0;
  max-width: 40rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.hero__pattern--dim {
  opacity: 0.45;
}

.cards--types {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cards--types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .cards--types {
    grid-template-columns: repeat(5, 1fr);
  }
}

.type-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid hsla(var(--border) / 0.55);
  background: hsl(var(--card));
  box-shadow: var(--shadow-card);
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft);
}

.type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(35, 95%, 55%, 0.35);
}

.type-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: hsla(35, 95%, 55%, 0.12);
  margin-bottom: 1rem;
  color: hsl(220 55% 26%);
  transition: transform var(--t-hover) var(--ease-out), background var(--t-hover) var(--ease-soft);
}

.type-card__icon svg {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}

.type-card:hover .type-card__icon {
  transform: scale(1.08);
  background: hsla(35, 95%, 55%, 0.2);
  color: hsl(220 60% 18%);
}

.type-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.28;
  min-height: 2.56em;
}

.type-card__desc {
  flex: 1 1 auto;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.type-card .btn {
  margin-top: auto;
}

.section--hangar-types-showcase {
  background: hsl(var(--background));
}

.section--hangar-types-showcase .section__title--hangar-types {
  color: hsl(var(--foreground));
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.hangar-type-showcase {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .hangar-type-showcase {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1.75rem;
  }
}

.hangar-type-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft);
}

.hangar-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(220, 15%, 75%, 0.9);
}

.hangar-type-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: hsl(220, 14%, 90%);
}

.hangar-type-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hangar-type-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border-radius: calc(var(--radius) - 0.125rem);
  box-shadow: 0 4px 14px hsla(220, 50%, 8%, 0.25);
}

.hangar-type-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  padding: 1.5rem 1.35rem 1.4rem;
  background: linear-gradient(180deg, hsl(220, 18%, 98%) 0%, hsl(220, 16%, 96.5%) 100%);
  border-top: 1px solid hsla(220, 15%, 88%, 0.9);
  color: hsl(var(--foreground));
}

.hangar-type-card__text {
  margin: 0;
  font-size: clamp(0.92rem, 1.85vw, 1.02rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: hsl(220, 35%, 14%);
}

.hangar-type-card__body .btn {
  margin-top: auto;
}

.purpose-grid {
  display: grid;
  gap: 2.5rem;
}

.purpose-card {
  transition: transform var(--t-hover) var(--ease-out);
}

.purpose-card:hover {
  transform: translateY(-4px);
}

.purpose-card__media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, hsl(220, 35%, 22%), hsl(220, 40%, 14%));
  aspect-ratio: 16 / 10;
  transition: box-shadow var(--t-hover) var(--ease-soft);
}

.purpose-card:hover .purpose-card__media {
  box-shadow: 0 20px 40px -12px hsla(220, 40%, 10%, 0.25);
}

.purpose-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.purpose-card:hover .purpose-card__img {
  transform: scale(1.04);
}

.purpose-card__body {
  padding-top: 1rem;
}

.purpose-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.purpose-card__list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.55;
}

.purpose-card__list li {
  margin-bottom: 0.35rem;
}

@media (min-width: 900px) {
  .purpose-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .purpose-card:nth-child(even) .purpose-card__media {
    order: 2;
  }

  .purpose-card:nth-child(even) .purpose-card__body {
    order: 1;
  }

  .purpose-card__body {
    padding-top: 0;
  }
}

.advantages {
  display: grid;
  gap: 1rem;
}

.advantages--6 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .advantages--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adv {
  padding: 1.35rem;
  border-radius: 1rem;
  background: hsla(var(--primary-foreground) / 0.06);
  border: 1px solid hsla(var(--primary-foreground) / 0.1);
  transition:
    transform var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-soft),
    background var(--t-hover) var(--ease-soft),
    box-shadow var(--t-hover) var(--ease-soft);
}

.adv:hover {
  transform: translateY(-6px);
  border-color: hsla(35, 95%, 55%, 0.35);
  background: hsla(var(--primary-foreground) / 0.09);
  box-shadow: 0 12px 32px -12px hsla(0, 0%, 0%, 0.35);
}

.adv:hover .adv__icon {
  transform: scale(1.06);
}

.adv__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: hsla(35, 95%, 55%, 0.12);
  margin-bottom: 0.9rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.35rem;
  transition: transform var(--t-hover) var(--ease-out), background var(--t-hover) var(--ease-soft);
}

.adv__icon--handshake {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Cpath d='M11 12h2a2 2 0 100-4h-3m0 4v5a2 2 0 01-2 2H7m8-7V9a2 2 0 00-2-2h-2'/%3E%3C/svg%3E");
}

.adv__icon--clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.adv__icon--shield {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.adv__icon--factory {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Cpath d='M2 20h20M5 20V10l3 3v7M12 20v-6l3 3v3M19 20V8l-3 3v9'/%3E%3C/svg%3E");
}

.adv__icon--metal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Cpath d='M4 16l8-8 8 8M12 4v12'/%3E%3C/svg%3E");
}

.adv__icon--map {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(35,95%25,55%25)' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.adv__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
}

.adv__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: hsla(var(--primary-foreground) / 0.55);
}

#process.section--grid-bg {
  background: linear-gradient(180deg, hsl(220, 22%, 96%) 0%, hsl(220, 16%, 97.6%) 100%);
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: pstep;
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.65rem;
    align-items: stretch;
  }
}

#process .section__head {
  margin-bottom: 2.5rem;
}

.process__step {
  position: relative;
  counter-increment: pstep;
  padding: 1.5rem 1.35rem 1.45rem;
  padding-top: 1.65rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: linear-gradient(165deg, hsl(0, 0%, 100%) 0%, hsl(220, 18%, 99.2%) 100%);
  border: 1px solid hsla(220, 16%, 88%, 0.95);
  box-shadow:
    0 1px 2px hsla(220, 40%, 12%, 0.04),
    0 12px 36px -18px hsla(220, 35%, 14%, 0.14);
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft);
}

.process__step::before {
  content: counter(pstep);
  position: absolute;
  z-index: 3;
  top: -0.55rem;
  left: 1.15rem;
  width: 1.85rem;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  color: hsl(var(--accent-foreground));
  background: var(--gradient-accent);
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px hsla(35, 95%, 42%, 0.55);
}

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2.5px solid hsl(var(--accent));
  border-bottom: 2.5px solid hsl(var(--accent));
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .process__step:not(:last-child)::after {
    left: 50%;
    bottom: calc(-0.55rem - 0.4rem);
    transform: translateX(-50%) rotate(45deg);
  }
}

@media (min-width: 1024px) {
  .process__step:not(:last-child)::after {
    top: 50%;
    right: calc(-0.825rem - 0.35rem);
    transform: translateY(-50%) rotate(-45deg);
  }
}

.process__step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 28px -12px hsla(220, 35%, 12%, 0.2),
    0 0 0 1px hsla(35, 95%, 55%, 0.12);
  border-color: hsla(35, 95%, 55%, 0.28);
}

.process__step:hover:not(:last-child)::after {
  opacity: 1;
  border-color: hsl(28, 92%, 48%);
}

.process__step:hover::before {
  filter: brightness(1.05);
}

.process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.65rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, hsla(35, 95%, 55%, 0.16), hsla(220, 45%, 35%, 0.07));
  border: 1px solid hsla(35, 95%, 48%, 0.28);
  color: hsl(220, 48%, 22%);
  transition:
    transform var(--t-hover) var(--ease-out),
    background var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft),
    color var(--t-hover) var(--ease-soft);
}

.process__icon svg {
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
}

.process__step:hover .process__icon {
  transform: scale(1.05);
  background: linear-gradient(145deg, hsla(35, 95%, 55%, 0.24), hsla(220, 50%, 28%, 0.09));
  border-color: hsla(35, 95%, 45%, 0.45);
  color: hsl(220, 55%, 16%);
}

.process__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: hsl(220, 38%, 14%);
}

.process__text {
  margin: 0;
  font-size: clamp(0.84rem, 1.2vw, 0.9rem);
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.gallery {
  --gallery-img-h: clamp(12rem, min(58vw, 52vh), 34rem);
  position: relative;
  width: 100%;
  max-width: min(56rem, 100%);
  margin: 0 auto;
}

.gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: hsla(var(--secondary) / 0.35);
  transition: box-shadow var(--t-hover) var(--ease-soft);
}

.gallery:hover .gallery__viewport {
  box-shadow: 0 24px 48px -16px hsla(220, 35%, 10%, 0.35);
}

.gallery__track {
  display: flex;
  transition: transform 0.45s var(--ease-out);
}

.gallery__slide {
  flex: 0 0 100%;
  margin: 0;
}

.gallery__slide picture {
  display: block;
  width: 100%;
  height: var(--gallery-img-h);
  overflow: hidden;
  background: hsla(var(--secondary) / 0.35);
  transition: height 0.35s var(--ease-out);
}

.gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery__cap {
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border-top: 1px solid hsla(var(--border) / 0.45);
  text-align: center;
}

.gallery__btn {
  position: absolute;
  top: calc(var(--gallery-img-h) * 0.5);
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: var(--shadow-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.25s var(--ease-out), color var(--t-hover) var(--ease-soft), box-shadow var(--t-hover) var(--ease-soft);
}

.gallery__btn:hover {
  color: hsl(var(--accent));
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 28px -8px hsla(220, 30%, 10%, 0.2);
}

.gallery__btn:active {
  transform: translateY(-50%) scale(0.98);
}

.gallery__btn--prev {
  left: 0.5rem;
}

.gallery__btn--next {
  right: 0.5rem;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.gallery__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  padding: 0;
  background: hsla(var(--foreground) / 0.2);
  border: none;
}

.gallery__dot.is-active {
  background: hsl(var(--accent));
}

.section--type-portfolio {
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, hsla(220, 30%, 88%, 0.45), transparent 55%),
    hsl(220, 16%, 95%);
}

.section--type-portfolio .type-portfolio__head {
  margin-bottom: 2rem;
}

.type-portfolio__title {
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 800;
}

.type-portfolio__sub {
  margin: 0.35rem auto 0;
  max-width: 44rem;
  font-size: clamp(1.05rem, 2.15vw, 1.22rem);
  line-height: 1.45;
}

.type-showcase {
  margin-top: 1.75rem;
  padding-bottom: 2.35rem;
  border-bottom: 1px solid hsla(var(--foreground) / 0.08);
}

.type-showcase:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.type-showcase__heading {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.25vw, 1.2rem);
  font-weight: 600;
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.type-showcase__heading:hover {
  color: hsl(220, 58%, 18%);
}

.type-showcase__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
}

.type-showcase__thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.45rem;
  scrollbar-width: thin;
}

.type-showcase__thumb {
  flex: 0 0 auto;
  display: block;
  width: clamp(9.25rem, 21vw, 14.5rem);
  height: clamp(6.1rem, 14vw, 9.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsla(var(--foreground) / 0.12);
  background: hsl(220, 12%, 90%);
  cursor: zoom-in;
}

.type-showcase__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  transition: transform 0.35s var(--ease-soft);
}

.type-showcase__thumb:hover img {
  transform: scale(1.06);
}

.type-showcase__all {
  flex-shrink: 0;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.75rem;
  max-width: 10rem;
  padding: 0.7rem 0.95rem;
  margin: 0;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: 1px solid hsl(220, 22%, 12%);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--t-hover) var(--ease-soft),
    filter var(--t-hover) var(--ease-soft),
    border-color var(--t-hover) var(--ease-soft);
}

.type-showcase__all:hover {
  filter: brightness(1.08);
}

.type-showcase__all[aria-expanded="true"] {
  filter: brightness(0.95);
}

.type-showcase__extra {
  margin-top: 0.85rem;
}

.type-showcase__extra-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.type-showcase__thumb--sm {
  width: clamp(7rem, 16vw, 10.75rem);
  height: clamp(4.75rem, 11vw, 7.25rem);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: hsla(220, 45%, 6%, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media (max-width: 767px) {
  .gallery-lightbox__backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: hsla(220, 45%, 6%, 0.94);
  }
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100vw - 1rem, 1180px);
  max-height: min(96vh, 900px);
  margin: 0.5rem;
  border-radius: calc(var(--radius) + 0.125rem);
  background: hsl(220, 14%, 11%);
  border: 1px solid hsla(220, 30%, 40%, 0.35);
  box-shadow: 0 24px 80px hsla(0, 0%, 0%, 0.45);
  overflow: hidden;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: hsla(220, 20%, 22%, 0.9);
  color: hsl(0, 0%, 98%);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-lightbox__close:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: hsla(220, 25%, 12%, 0.88);
  color: hsl(0, 0%, 98%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.gallery-lightbox__nav:hover {
  background: hsla(220, 35%, 22%, 0.95);
}

.gallery-lightbox__nav:active {
  transform: translateY(-50%) scale(0.97);
}

.gallery-lightbox__nav--prev {
  left: 0.45rem;
}

.gallery-lightbox__nav--next {
  right: 0.45rem;
}

.gallery-lightbox__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.75rem 3.25rem 0.75rem;
  background: hsl(220, 18%, 8%);
  contain: layout style;
}

@media (max-width: 639px) {
  .gallery-lightbox__stage {
    padding: 2.75rem 0.35rem 0.5rem;
  }

  .gallery-lightbox__nav {
    width: 2.6rem;
    height: 2.85rem;
  }

  .gallery-lightbox__nav--prev {
    left: 0.25rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.25rem;
  }
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-lightbox__img {
    transition: opacity 0.12s ease;
  }

  .gallery-lightbox__img.is-loading {
    opacity: 0.5;
  }
}

.gallery-lightbox__strip-wrap {
  flex-shrink: 0;
  padding: 0.5rem 0.65rem 0.65rem;
  background: hsl(220, 16%, 10%);
  border-top: 1px solid hsla(220, 25%, 35%, 0.35);
  overflow: hidden;
}

.gallery-lightbox__strip {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
  align-items: center;
  -webkit-overflow-scrolling: touch;
  contain: content;
}

.gallery-lightbox__strip-item {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: hsl(220, 12%, 18%);
  opacity: 0.72;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.gallery-lightbox__strip-item:hover {
  opacity: 1;
}

.gallery-lightbox__strip-item.is-active {
  opacity: 1;
  border-color: hsl(var(--accent));
  transform: translateZ(0) scale(1.03);
}

.gallery-lightbox__strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 767px) {
  .type-showcase__row {
    flex-direction: column;
  }

  .type-showcase__all {
    max-width: none;
    width: 100%;
    min-height: 2.75rem;
  }
}

.section--cta-final {
  width: 100%;
  padding: 3.75rem 0 4.25rem;
  margin: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-top: 1px solid hsla(35, 95%, 55%, 0.12);
  box-sizing: border-box;
}

.section--cta-final > .container {
  max-width: 1400px;
  width: 100%;
}

.cta-final {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (min-width: 900px) {
  .cta-final {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem 3.5rem;
  }
}

.cta-final__intro {
  text-align: left;
}

.cta-final__title {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.65rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.cta-final__sub {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: hsla(var(--primary-foreground) / 0.65);
  line-height: 1.5;
}

.cta-final__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.cta-final__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .cta-final__contact {
    align-items: flex-end;
    text-align: right;
  }
}

.cta-final__btn {
  margin-top: 1.35rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 900px) {
  .cta-final__btn {
    align-self: flex-end;
  }
}

.cta-final__tel {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: hsl(var(--accent));
}

.cta-final__tel:hover {
  text-decoration: underline;
}

.cta-final__hours {
  margin: 0;
  font-size: 0.875rem;
  color: hsla(var(--primary-foreground) / 0.55);
  line-height: 1.4;
}

.cta-final__mail {
  font-size: 0.95rem;
  color: hsla(var(--primary-foreground) / 0.75);
  text-decoration: underline;
}

.input {
  width: 100%;
  padding: 0 0.85rem;
  height: 2.75rem;
  border: none;
  border-radius: 0.65rem;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font: inherit;
  transition: box-shadow 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
}

.input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.input--area {
  height: auto;
  padding: 0.65rem 0.85rem;
  resize: vertical;
  min-height: 4.5rem;
}

.input:focus {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 0;
  box-shadow: 0 0 0 3px hsla(35, 95%, 55%, 0.28);
}

.form__note {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.form__note a {
  text-decoration: underline;
  color: hsl(var(--accent));
}

.footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 3rem 0 2.5rem;
  border-top: 1px solid hsla(35, 95%, 55%, 0.12);
}

.footer__inner {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr);
    gap: 2rem 2.5rem;
  }
}

.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer__brand-link {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: opacity var(--t-hover) var(--ease-soft);
}

.footer__brand-link:hover {
  opacity: 0.92;
}

.footer__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer__logo-img {
  display: block;
  width: auto;
  height: clamp(2.65rem, 5.2vw, 3.35rem);
  max-width: min(10.5rem, 38vw);
  object-fit: contain;
}

.footer__brand-tagline {
  min-width: 0;
  max-width: 16.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.72rem, 1.5vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: hsla(0, 0%, 100%, 0.78);
}

@media (max-width: 640px) {
  .footer__brand-tagline {
    flex: 1 1 100%;
    max-width: none;
    font-size: 0.7rem;
  }

  .footer__logo-img {
    max-width: 100%;
    height: 2.5rem;
  }

  .nav__logo-img {
    height: 2.35rem;
    max-width: 100%;
  }
}

.footer__privacy {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsla(var(--primary-foreground) / 0.65);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__privacy:hover {
  color: hsl(var(--accent));
  border-bottom-color: hsla(35, 95%, 55%, 0.45);
}

.footer__legal {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: hsla(var(--primary-foreground) / 0.38);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__nav {
    padding-top: 0.25rem;
    border-left: 1px solid hsla(0, 0%, 100%, 0.1);
    padding-left: 2rem;
    min-width: 11rem;
  }
}

.footer__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(var(--primary-foreground) / 0.82);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s var(--ease-out);
}

.footer__nav-link:hover {
  color: hsl(var(--accent));
  transform: translateX(2px);
}

.footer__col--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer__col--cta {
    align-items: flex-end;
    text-align: right;
  }

  .footer__col--cta .footer__callback {
    align-self: flex-end;
  }

  .footer__col--cta .footer__contact-line {
    justify-content: flex-end;
  }

  .footer__col--cta .footer__hours {
    align-self: flex-end;
  }
}

.footer__callback {
  background: hsl(0, 0%, 98%);
  color: hsl(var(--primary));
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 20px -8px hsla(0, 0%, 0%, 0.35);
  transition:
    background var(--t-hover) var(--ease-soft),
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-soft);
}

.footer__callback:hover {
  background: hsl(35, 95%, 58%);
  color: hsl(220, 60%, 10%);
  box-shadow: 0 8px 28px -8px hsla(35, 95%, 45%, 0.45);
}

.footer__callback:active {
  transform: scale(0.98);
}

.footer__contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsla(var(--primary-foreground) / 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-line:hover {
  color: hsl(var(--accent));
}

.footer__icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.footer__hours {
  margin: 0;
  font-size: 0.72rem;
  color: hsla(var(--primary-foreground) / 0.45);
}

@media (max-width: 767px) {
  .footer__nav {
    padding-top: 0.5rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    width: 100%;
  }

  .footer__col--cta {
    padding-top: 0.5rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    width: 100%;
  }
}

.page-thanks {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.thanks {
  text-align: center;
  max-width: 28rem;
}

.thanks__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.thanks__text {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
}

.thanks__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: hsla(35, 95%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal > .container {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
}

.reveal.is-visible > .container {
  opacity: 1;
  transform: none;
}

.hero-animate .hero__since {
  animation: fade-up 0.75s var(--ease-out) 0.02s both;
}

.hero-animate .hero__title {
  animation: fade-up 0.75s var(--ease-out) 0.06s both;
}

.hero-animate .hero__mini-cards {
  animation: fade-up 0.75s var(--ease-out) 0.14s both;
}

.hero-animate .hero__cta-row {
  animation: fade-up 0.75s var(--ease-out) 0.22s both;
}

.hero-animate .hero__trust {
  animation: fade-up 0.75s var(--ease-out) 0.3s both;
}

.hero-animate .hero__lead {
  animation: fade-up 0.75s var(--ease-out) 0.14s both;
}

.hero-animate .hero__cta {
  animation: fade-up 0.75s var(--ease-out) 0.22s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cta-final__tel,
.cta-final__mail {
  transition: color var(--t-hover) var(--ease-soft), transform var(--t-hover) var(--ease-out);
}

.cta-final__tel:hover,
.cta-final__mail:hover {
  transform: translateY(-2px);
}

.gallery__dot {
  transition: transform 0.25s var(--ease-out), background var(--t-hover) var(--ease-soft);
  cursor: pointer;
}

.gallery__dot:hover {
  transform: scale(1.35);
  background: hsla(var(--foreground) / 0.4);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: 7.25rem;
  }

  .reveal > .container,
  .reveal.is-visible > .container {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-animate .hero__title,
  .hero-animate .hero__lead,
  .hero-animate .hero__cta,
  .hero-animate .hero__since,
  .hero-animate .hero__mini-cards,
  .hero-animate .hero__cta-row,
  .hero-animate .hero__trust {
    animation: none;
  }

  .hero__img,
  .hero:hover .hero__img {
    transform: none;
    transition: none;
  }

  .type-card:hover,
  .purpose-card:hover,
  .adv:hover,
  .process__step:hover,
  .btn:hover,
  .site-header__brand:hover,
  .site-header__mlink:hover,
  .gallery__btn:hover {
    transform: none;
  }

  .process__step:hover .process__icon {
    transform: none;
  }

  .type-card:hover .type-card__icon,
  .purpose-card:hover .purpose-card__img,
  .adv:hover .adv__icon {
    transform: none;
  }

  .drawer__close:hover {
    transform: none;
  }

  .drawer__inner {
    transition: none !important;
  }

  .drawer:not(.is-open) .drawer__inner,
  .drawer.is-open .drawer__inner {
    transform: none;
  }

  .gallery__slide picture {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  html {
    scroll-padding-top: 10.75rem;
  }
}

body.has-cookie-banner {
  padding-bottom: clamp(8rem, 22vh, 14rem);
}

@media (min-width: 900px) {
  body.has-cookie-banner {
    padding-bottom: clamp(5rem, 12vh, 8rem);
  }
}

.cookie-consent {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__inner {
  pointer-events: auto;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: hsl(220, 32%, 14%);
  color: hsla(0, 0%, 100%, 0.92);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  box-shadow: 0 -8px 40px -12px hsla(220, 40%, 6%, 0.55);
}

@media (min-width: 900px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }
}

.cookie-consent__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Inter", system-ui, sans-serif;
  color: hsl(0, 0%, 100%);
}

.cookie-consent__p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: hsla(0, 0%, 100%, 0.78);
  max-width: 52rem;
}

.cookie-consent__p a {
  color: hsl(35, 95%, 58%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__p a:hover {
  color: hsl(35, 95%, 68%);
}

.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 900px) {
  .cookie-consent__actions {
    width: auto;
    min-width: 15rem;
  }
}

@media (min-width: 520px) {
  .cookie-consent__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.cookie-consent__btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn--secondary {
  background: transparent;
  color: hsl(0, 0%, 100%);
  border-color: hsla(0, 0%, 100%, 0.35);
}

.cookie-consent__btn--secondary:hover {
  border-color: hsla(0, 0%, 100%, 0.55);
  background: hsla(0, 0%, 100%, 0.06);
}

.cookie-consent__btn--primary {
  background: hsl(210, 90%, 48%);
  color: hsl(0, 0%, 100%);
  border-color: hsl(210, 90%, 48%);
}

.cookie-consent__btn--primary:hover {
  background: hsl(210, 90%, 42%);
  border-color: hsl(210, 90%, 42%);
}
