:root {
  --black: #070707;
  --anthracite: #111111;
  --soft-black: #191816;
  --white: #ffffff;
  --off-white: #f5f0e8;
  --muted: #c8c1b6;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.1);
  --gold: #caa45d;
  --gold-soft: #ead59d;
  --gold-dark: #8f6d32;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --container: 1180px;
  --radius: 6px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(7, 7, 7, 0.62);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.92);
  border-color: var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand img,
.footer-logo {
  height: auto;
  object-fit: contain;
}

.brand img {
  width: 220px;
  max-height: 62px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 10px 0;
  font-size: 0.96rem;
}

.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 12px 30px rgba(202, 164, 93, 0.22);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-outline.light {
  border-color: rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  min-height: 720px;
  height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.2) 52%, var(--black) 100%);
}

.hero-content {
  padding-top: var(--header-height);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--white);
  line-height: 1.05;
}

.hero h1 {
  max-width: 780px;
  font-size: 4.15rem;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section {
  padding: 96px 0;
  background: var(--black);
}

.intro-section {
  padding-top: 72px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: center;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-copy {
  max-width: 720px;
  min-width: 0;
}

.section h2 {
  font-size: 2.45rem;
}

.section p {
  color: var(--muted);
  margin: 18px 0 0;
}

.intro-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.intro-panel > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.intro-panel > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.intro-panel strong {
  color: var(--white);
  font-size: 1.1rem;
}

.intro-panel a {
  color: var(--gold-soft);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-black);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(202, 164, 93, 0.58);
  background: #1d1b18;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p {
  margin-top: 12px;
  font-size: 0.96rem;
}

.service-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 0.92rem;
}

.dark-band {
  background: linear-gradient(180deg, #0b0b0b, #14120f);
  border-block: 1px solid var(--line);
}

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

.gallery-item {
  position: relative;
  min-height: 260px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #151515;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: contrast(1.05) saturate(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 42px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  color: var(--white);
}

.gallery-caption strong,
.gallery-caption span,
.gallery-caption small {
  display: block;
}

.gallery-caption span,
.gallery-caption small {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-caption small {
  color: var(--gold-soft);
  font-size: 0.78rem;
}

.gallery-loading {
  grid-column: 1 / -1;
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.zone-section {
  background: #0d0d0c;
}

.real-map {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.real-map iframe {
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.55) contrast(1.08) brightness(0.86);
}

.map-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.map-card-footer a {
  color: var(--gold-soft);
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(202, 164, 93, 0.08), transparent 28%),
    var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-list,
.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  margin-top: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #131313;
  box-shadow: var(--shadow);
  min-width: 0;
}

.contact-list a,
.contact-list span,
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.contact-line {
  min-height: 58px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.contact-line span:last-child,
.footer-links a,
.footer-links span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line.is-primary {
  color: var(--gold-soft);
  font-size: 1.08rem;
  font-weight: 800;
}

.contact-list a:hover,
.contact-line[href]:hover {
  color: var(--gold-soft);
}

.contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 1px solid rgba(202, 164, 93, 0.45);
  border-radius: var(--radius);
  color: var(--gold-soft);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #131313;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--off-white);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: 0;
}

select {
  color-scheme: dark;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202, 164, 93, 0.16);
}

input[type="file"] {
  padding: 10px;
}

.file-row {
  color: var(--muted);
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.site-footer {
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-name {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
}

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

.copyright {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.legal {
  margin-top: 28px;
  color: var(--muted);
}

.legal summary {
  cursor: pointer;
  color: var(--off-white);
  font-weight: 700;
}

.legal p {
  max-width: 900px;
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  padding: 84px 0 42px;
  background:
    linear-gradient(180deg, rgba(202, 164, 93, 0.1), transparent 56%),
    var(--black);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--white);
  font-size: 3rem;
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.simple-content {
  max-width: 900px;
}

.simple-content h2,
.admin-panel h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.6rem;
}

.simple-content p,
.simple-content li,
.admin-panel p,
.admin-panel li {
  color: var(--muted);
}

.simple-content a,
.admin-panel a:not(.btn) {
  color: var(--gold-soft);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.admin-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #131313;
}

.admin-steps {
  margin: 18px 0 0;
  padding-left: 22px;
}

.admin-steps li {
  margin: 10px 0;
}

.admin-note {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(202, 164, 93, 0.3);
  border-radius: var(--radius);
  color: var(--gold-soft);
  background: rgba(202, 164, 93, 0.08);
}

.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}

.service-detail {
  display: grid;
  gap: 34px;
}

.service-detail-block {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.service-detail-block:last-child {
  border-bottom: 0;
}

.service-detail-block h2,
.service-aside h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.62rem;
  line-height: 1.18;
}

.service-detail-block p,
.service-detail-block li,
.service-aside p,
.service-aside li {
  color: var(--muted);
}

.service-detail-block ul,
.service-aside ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.service-detail-block li,
.service-aside li {
  margin: 8px 0;
}

.service-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.service-aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #131313;
  box-shadow: var(--shadow);
}

.service-aside-card .btn {
  width: 100%;
  margin-top: 14px;
}

.other-services {
  display: grid;
  gap: 8px;
}

.other-services a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.other-services a:hover {
  color: var(--gold-soft);
}

.admin-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c0c0c;
}

.admin-preview img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.admin-preview div {
  padding: 18px;
}

.mobile-actions {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(234, 213, 157, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 7, 7, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav > a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: 640px;
    height: auto;
    align-items: end;
  }

  .hero-content {
    padding: 150px 0 88px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .section {
    padding: 72px 0;
  }

  .split-grid,
  .contact-grid,
  .admin-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-aside {
    position: static;
  }

  .section h2 {
    font-size: 2.1rem;
  }

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

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

  .copyright {
    text-align: left;
  }

  .mobile-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 7, 7, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  }

  .mobile-actions a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 800;
  }

  .mobile-call {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
  }

  .mobile-quote {
    background: var(--gold);
    color: var(--black);
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 174px;
  }

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

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

  .section h2 {
    font-size: 1.72rem;
  }

  .services-grid,
  .gallery,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .gallery-item {
    min-height: 220px;
  }

  .intro-panel,
  .real-map,
  .quote-form {
    padding: 22px;
  }

  .map-card-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
