:root {
  --bg: #090707;
  --bg-elevated: #120d0d;
  --panel: rgba(22, 16, 17, 0.9);
  --panel-soft: rgba(30, 21, 22, 0.7);
  --line: rgba(224, 186, 114, 0.16);
  --line-strong: rgba(224, 186, 114, 0.34);
  --text: #f6eee4;
  --muted: #ddd0c1;
  --soft: #baa792;
  --gold: #e0ba72;
  --gold-deep: #bd8341;
  --dark-text: #1b120a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 32px));
  --bg-image: url("assets/bg-interior.jpg");
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(224, 186, 114, 0.14), transparent 24%),
    radial-gradient(circle at 86% 4%, rgba(189, 131, 65, 0.1), transparent 22%),
    linear-gradient(180deg, #070505 0%, #0d0809 46%, #070505 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 6, 6, 0.56) 0%, rgba(10, 6, 7, 0.68) 42%, rgba(8, 5, 5, 0.82) 100%),
    radial-gradient(circle at 22% 16%, rgba(224, 186, 114, 0.18), transparent 28%),
    linear-gradient(115deg, rgba(224, 186, 114, 0.06), transparent 42%),
    var(--bg-image) center 20% / cover no-repeat;
  opacity: 0.48;
  filter: saturate(0.8) contrast(1.02) brightness(0.9);
  transform: scale(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(224, 186, 114, 0.05), transparent 34%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0,
      rgba(255, 255, 255, 0.01) 1px,
      transparent 1px,
      transparent 108px
    );
  opacity: 0.18;
}

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

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

p {
  margin: 0;
  line-height: 1.72;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark-text);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 12px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 11, 12, 0.9), rgba(11, 8, 8, 0.94));
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.site-header .brand {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: min(190px, 18vw);
  min-width: 152px;
  flex: 0 0 auto;
}

.brand-logo {
  width: min(280px, 28vw);
  min-width: 180px;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.site-header .brand-logo {
  width: 100%;
  min-width: 0;
}

.brand-caption {
  color: var(--soft);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .brand-caption {
  display: none;
  max-width: none;
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(224, 186, 114, 0.08);
  border-color: rgba(224, 186, 114, 0.14);
  color: var(--text);
  transform: translateY(-1px);
}

body.page-home a[data-nav="home"],
body.page-residential a[data-nav="residential"],
body.page-premium a[data-nav="premium"],
body.page-commercial a[data-nav="commercial"],
body.page-prices a[data-nav="prices"],
body.page-vacancies a[data-nav="vacancies"],
body.page-contacts a[data-nav="contacts"] {
  color: var(--gold);
  background: rgba(224, 186, 114, 0.1);
  border-color: rgba(224, 186, 114, 0.14);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  flex-wrap: nowrap;
}

.header-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.mobile-float-bar,
.mobile-nav-overlay,
.mobile-nav-drawer {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ffd98b, var(--gold-deep));
  color: var(--dark-text);
  box-shadow: 0 16px 30px rgba(224, 186, 114, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(224, 186, 114, 0.08);
}

.page-main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 42px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 50%;
  width: var(--shell);
  height: min(598px, calc(100% - 56px));
  transform: translateX(-50%);
  border-radius: 42px;
  background:
    radial-gradient(circle at 16% 22%, rgba(224, 186, 114, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 0;
  opacity: 1;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.surface-card,
.page-banner,
.service-column,
.cta-band,
.footer-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23, 16, 17, 0.9), rgba(11, 8, 9, 0.94));
  box-shadow: var(--shadow);
}

.proof-card,
.price-card,
.feature-item,
.contact-card,
.pricing-row {
  border: 1px solid var(--line);
  background: rgba(20, 14, 15, 0.74);
}

.proof-card,
.price-card,
.feature-item,
.contact-card {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.hero-copy,
.hero-visual,
.page-banner,
.cta-band,
.footer-panel {
  position: relative;
  overflow: hidden;
}

.hero-copy::after,
.hero-visual::after,
.page-banner::after,
.cta-band::after,
.footer-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.05), transparent 38%);
  opacity: 0.55;
}

.hero-copy {
  padding: 40px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 186, 114, 0), rgba(224, 186, 114, 0.88));
}

.display {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.25rem, 5.45vw, 5.45rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.display span,
.section-title span,
.page-banner h1 span,
.proof-card strong,
.price-card .value,
.surface-card .card-link,
.service-column h3,
.feature-item h3,
.stat-accent {
  color: var(--gold);
}

.lead {
  max-width: 47ch;
  font-size: 1.12rem;
  color: rgba(27, 18, 10, 0.8);
}

.hero-actions,
.page-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-subline {
  max-width: 42ch;
  padding-top: 16px;
  border-top: 1px solid rgba(141, 100, 46, 0.18);
  color: rgba(27, 18, 10, 0.64);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-points {
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  color: #000;
  line-height: 1.58;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #d89b53, #b06f2d);
  box-shadow: 0 0 0 4px rgba(217, 155, 83, 0.14);
}

.contact-card strong,
.price-card strong,
.proof-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-card p,
.price-card p,
.proof-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-visual {
  padding: 0;
  border-radius: 32px;
  min-height: 650px;
  border-color: var(--line);
  background: rgba(12, 8, 9, 0.72);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.16);
}

.hero-visual-main {
  height: 100%;
  min-height: 614px;
  overflow: hidden;
  border-radius: inherit;
  border: 0;
}

.hero-visual-main picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(0.86) contrast(1.02) brightness(1.04) sepia(0.06);
}

.page-home .hero-copy {
  border-color: rgba(177, 141, 82, 0.18);
  background:
    linear-gradient(180deg, rgba(248, 240, 229, 0.97), rgba(238, 226, 210, 0.93)),
    radial-gradient(circle at top left, rgba(224, 186, 114, 0.18), transparent 36%);
  color: var(--dark-text);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.15);
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.page-home .hero-copy::after {
  background:
    radial-gradient(circle at top left, rgba(224, 186, 114, 0.12), transparent 42%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 52%);
  opacity: 1;
}

.page-home .eyebrow {
  color: #8d642e;
}

.page-home .eyebrow::before {
  background: linear-gradient(90deg, rgba(141, 100, 46, 0), rgba(141, 100, 46, 0.88));
}

.page-home .display {
  color: #241812;
  font-size: clamp(3rem, 4.95vw, 4.95rem);
}

.page-home .display span {
  color: #b06f2d;
}

.section {
  padding: 46px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title,
.page-banner h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.94;
}

.section-note {
  max-width: 48ch;
  color: var(--muted);
}

.section-title-dark {
  color: #241812;
}

.section-note-dark {
  max-width: 48ch;
  color: rgba(36, 24, 18, 0.74);
}

.proof-grid,
.grid-3,
.grid-2,
.service-grid-home,
.service-columns,
.contact-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-3,
.service-grid-home,
.service-columns,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.proof-card,
.surface-card,
.light-surface,
.service-column,
.feature-item,
.contact-card,
.price-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.surface-card h3,
.service-column h3,
.feature-item h3 {
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.74rem;
}

.surface-card .card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-top: 22px;
  border-radius: 999px;
  border: 1px solid rgba(224, 186, 114, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--gold);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.surface-card .card-link::after {
  content: "↗";
  font-size: 1.4rem;
  line-height: 1;
  transform: translate(-1px, 1px);
}

.surface-card .card-link:hover,
.surface-card .card-link:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffd98b, var(--gold-deep));
  color: var(--dark-text);
  border-color: rgba(224, 186, 114, 0.38);
  box-shadow: 0 16px 30px rgba(224, 186, 114, 0.18);
}

.editorial-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.editorial-image,
.service-direction-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23, 16, 17, 0.9), rgba(11, 8, 9, 0.94));
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.editorial-panel .editorial-image,
.editorial-panel .light-surface {
  border-radius: 28px;
}

.hero-visual-main,
.editorial-image,
.service-direction-media {
  margin: 0;
}

.editorial-image img,
.service-direction-media img,
.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.02) brightness(1.04) sepia(0.06);
}

.light-surface {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(177, 141, 82, 0.24);
  background:
    linear-gradient(180deg, rgba(251, 244, 235, 0.99), rgba(241, 231, 217, 0.96)),
    radial-gradient(circle at top left, rgba(224, 186, 114, 0.14), transparent 34%);
  color: #241812;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.light-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 38%),
    radial-gradient(circle at 82% 14%, rgba(224, 186, 114, 0.08), transparent 20%);
  opacity: 0.8;
}

.light-surface .section-kicker {
  color: #8d642e;
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
}

.light-surface .section-title {
  max-width: none;
  width: 100%;
  font-size: clamp(2.22rem, 2.8vw, 3.08rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.light-surface .section-title span {
  color: #9c7442;
}

.light-surface .section-note-dark {
  margin-top: 18px;
  max-width: none;
  width: 100%;
  color: rgba(24, 16, 10, 0.9);
  font-size: 1.06rem;
  line-height: 1.62;
}

.light-surface .list-check-dark,
.light-surface .list-check-dark li {
  color: #000 !important;
}

.light-surface .list-check-dark {
  margin-top: 24px;
  width: 100%;
  gap: 14px;
}

.light-surface .list-check-dark li {
  padding-left: 32px;
  font-size: 1.03rem;
  line-height: 1.48;
}

.light-surface .list-check-dark li::before {
  top: 8px;
  width: 13px;
  height: 13px;
  background: radial-gradient(circle, #d7a252, #b97828);
  box-shadow: 0 0 0 6px rgba(189, 131, 65, 0.11);
}

.list-check-dark li::before {
  box-shadow: 0 0 0 5px rgba(189, 131, 65, 0.1);
}

.service-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-direction-card {
  padding: 0;
  display: grid;
  grid-template-rows: minmax(240px, 280px) 1fr;
}

.service-direction-media {
  border-bottom: 1px solid rgba(224, 186, 114, 0.14);
}

.service-direction-copy {
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 0;
}

.service-direction-copy .card-link {
  margin-top: auto;
  justify-self: end;
}

.service-direction-card h3 {
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.82rem;
}

.service-direction-card-accent h3 {
  font-size: 2rem;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.split-panel .section-title {
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.9vw, 2.85rem);
  line-height: 0.94;
}

.list-check {
  display: grid;
  gap: 12px;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), var(--gold-deep));
  box-shadow: 0 0 0 5px rgba(224, 186, 114, 0.08);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card .value {
  margin-top: auto;
  padding-top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 0.95;
}

.price-card .meta {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.9rem;
}

.pricing-table {
  display: grid;
  gap: 12px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
}

.pricing-row strong {
  font-size: 1rem;
}

.pricing-row span {
  color: var(--text);
  font-weight: 700;
}

.pricing-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}


.offer-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.offer-card p,
.offer-summary {
  color: var(--muted);
}

.offer-meta {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fine-print {
  color: var(--soft);
  font-size: 0.88rem;
}

.page-banner {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: stretch;
}

.page-banner-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px 20px 24px 16px;
}

.page-banner-copy p {
  max-width: 64ch;
  color: var(--muted);
}

.page-banner-media {
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(224, 186, 114, 0.18);
  position: relative;
}

.page-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 7, 7, 0.04), rgba(12, 7, 7, 0.18));
}

body.page-residential .page-banner-media img {
  object-position: center 56%;
}

body.page-premium .page-banner-media img {
  object-position: center 50%;
}

body.page-commercial .page-banner-media img {
  object-position: center 56%;
}

body.page-prices .page-banner-media img {
  object-position: center 44%;
}

body.page-contacts .page-banner-media img {
  object-position: center 58%;
}

.cta-band {
  padding: 30px;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin-top: 6px;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.cta-band p {
  max-width: 54ch;
  color: var(--muted);
}

.footer {
  padding: 40px 0 46px;
}

.footer-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: end;
}

.footer-grid p {
  max-width: 48ch;
  color: var(--muted);
}

.footer-legal {
  margin-top: 10px;
  color: var(--soft);
  font-size: 0.9rem;
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contacts a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--gold);
}

@media (max-width: 1400px) {
  .topbar {
    padding-inline: 16px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .header-actions .button {
    padding-inline: 18px;
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .header-actions {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 1080px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-grid,
  .grid-3,
  .service-grid-home,
  .price-grid,
  .service-columns,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .editorial-panel,
  .page-banner,
  .pricing-row,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .page-home .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: relative;
    top: auto;
    z-index: 10;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(9, 6, 6, 0.64) 0%, rgba(10, 6, 7, 0.74) 42%, rgba(8, 5, 5, 0.86) 100%),
      radial-gradient(circle at 22% 16%, rgba(224, 186, 114, 0.18), transparent 28%),
      linear-gradient(115deg, rgba(224, 186, 114, 0.06), transparent 42%),
      var(--bg-image) 64% 18% / cover no-repeat;
  }

  .hero::before {
    top: 40px;
    height: calc(100% - 40px);
    border-radius: 34px;
    background:
      radial-gradient(circle at 18% 20%, rgba(224, 186, 114, 0.14), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  }

  .topbar {
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
  }

  .site-header .brand {
    gap: 10px;
    width: min(150px, 42vw);
    min-width: 0;
  }

  .site-header .brand-logo {
    width: min(150px, 42vw);
    min-width: 0;
  }

  .site-header .brand-caption {
    display: none;
  }

  .site-nav,
  .header-actions {
    width: 100%;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a {
    min-height: 42px;
    padding: 10px 8px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: stretch;
  }

  .mobile-float-bar,
  .mobile-nav-overlay,
  .mobile-nav-drawer {
    display: block;
  }

  .mobile-float-bar {
    position: fixed;
    top: 12px;
    left: 16px;
    right: 16px;
    z-index: 72;
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-float-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-float-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(16, 11, 12, 0.96), rgba(11, 8, 8, 0.98));
    backdrop-filter: blur(22px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  }

  .mobile-float-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
  }

  .mobile-float-brand img {
    width: min(118px, 32vw);
    min-width: 0;
  }

  .mobile-float-toggle,
  .mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-weight: 800;
  }

  .mobile-float-toggle-lines {
    display: grid;
    gap: 4px;
  }

  .mobile-float-toggle-lines span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .mobile-float-toggle-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.mobile-nav-open .mobile-float-toggle-lines span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .mobile-float-toggle-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    padding: 0;
    background: rgba(6, 4, 4, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    z-index: 71;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(16, 11, 12, 0.98), rgba(10, 7, 8, 0.99));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.mobile-nav-open .mobile-nav-overlay,
  body.mobile-nav-open .mobile-nav-drawer {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-nav-open .mobile-nav-drawer {
    transform: translateY(0) scale(1);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .mobile-nav-head .brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-head .brand-logo {
    width: min(140px, 40vw);
    min-width: 0;
  }

  .mobile-nav-head .brand-caption {
    display: none;
  }

  .mobile-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .mobile-nav-list a {
    min-height: 46px;
    justify-content: center;
    text-align: center;
  }

  .mobile-nav-actions {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }

  .mobile-nav-actions .button {
    width: 100%;
    flex: none;
    white-space: normal;
  }

  .hero,
  .section,
  .footer {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-grid,
  .proof-grid,
  .grid-3,
  .service-grid-home,
  .grid-2,
  .price-grid,
  .service-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .light-surface,
  .page-banner,
  .cta-band,
  .footer-panel {
    padding: 24px;
  }

  .hero-visual {
    padding: 0;
    min-height: unset;
  }

  .hero-visual-main {
    min-height: 360px;
    border-radius: inherit;
  }

  .hero-copy {
    padding: 30px 24px;
    gap: 22px;
  }

  .hero-subline {
    max-width: none;
    padding-top: 14px;
    font-size: 0.92rem;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    font-size: 0.95rem;
  }

  .service-direction-card {
    grid-template-rows: minmax(220px, 260px) 1fr;
  }

  .service-direction-copy {
    padding: 24px;
  }

  .editorial-image {
    min-height: 280px;
  }

  .light-surface {
    padding: 28px 24px;
  }

  .light-surface .section-kicker {
    margin-bottom: 12px;
  }

  .light-surface .section-title {
    max-width: none;
    font-size: clamp(2.06rem, 7.7vw, 2.82rem);
    line-height: 0.9;
  }

  .light-surface .section-note-dark {
    margin-top: 16px;
    max-width: none;
    font-size: 1rem;
    line-height: 1.56;
  }

  .light-surface .list-check-dark {
    margin-top: 20px;
    gap: 12px;
  }

  .light-surface .list-check-dark li {
    padding-left: 28px;
    font-size: 0.98rem;
  }

  .light-surface .list-check-dark li::before {
    width: 12px;
    height: 12px;
  }

  .page-banner {
    padding: 16px;
    gap: 16px;
  }

  .page-banner-copy {
    padding: 10px 8px 6px;
  }

  .page-banner-media {
    min-height: 280px;
  }

  .display {
    font-size: clamp(2.15rem, 8.8vw, 3.18rem);
    line-height: 0.95;
  }

  .page-home .display {
    font-size: clamp(2.5rem, 10.3vw, 3.55rem);
  }

  .section-title,
  .page-banner h1 {
    font-size: clamp(1.72rem, 6.4vw, 2.3rem);
    line-height: 0.96;
  }

  .lead {
    font-size: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
