﻿:root {
  --ink: #151515;
  --text: #262521;
  --muted: #6b675e;
  --paper: #f7f4ec;
  --white: #fffdf7;
  --line: #d8d1c1;
  --yellow: #eeb52a;
  --green: #2f5143;
  --brick: #9d4330;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(247, 244, 236, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.logo img { width: 128px; height: auto; }
.nav { display: flex; justify-content: center; gap: clamp(16px, 3vw, 34px); font-weight: 800; font-size: 0.94rem; }
.nav a { padding: 12px 0; }
.nav a:hover { color: var(--brick); }
.phone { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; background: var(--ink); color: white; font-weight: 900; }

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(54px, 7vw, 108px) clamp(18px, 4vw, 58px);
  background:
    linear-gradient(90deg, rgba(238,181,42,0.12) 0 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(238,181,42,0.12) 0 1px, transparent 1px) 0 0 / 58px 58px,
    var(--paper);
}
.hero-text { max-width: 820px; }
.kicker { margin: 0 0 14px; color: var(--brick); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif; letter-spacing: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 6.3vw, 6.8rem); line-height: 0.9; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 4.1rem); line-height: 0.98; }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.lead { max-width: 690px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 22px; border: 2px solid var(--ink); font-weight: 900; }
.btn-primary { background: var(--ink); color: white; }
.btn-secondary { background: transparent; color: var(--ink); }

.hero-card {
  background: var(--ink);
  color: white;
  border: 10px solid var(--yellow);
  box-shadow: 0 24px 70px rgba(21,21,21,0.2);
}
.card-top { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.card-top strong { font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif; font-size: 2.2rem; line-height: 1; }
.card-top span { color: var(--yellow); font-weight: 900; text-transform: uppercase; }
.photo-row { display: grid; grid-template-columns: 1.2fr 0.9fr; grid-template-rows: 190px 190px; gap: 8px; padding: 8px; background: #0b0b0a; }
.photo-row img { height: 100%; object-fit: cover; }
.photo-row img:first-child { grid-row: span 2; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: rgba(255,255,255,0.16); }
.facts div { padding: 18px; background: var(--ink); }
.facts dt { color: var(--yellow); font-size: 0.74rem; font-weight: 900; text-transform: uppercase; }
.facts dd { margin: 8px 0 0; font-weight: 800; line-height: 1.35; }

.service-bar { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--green); color: white; }
.service-bar span { padding: 22px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,0.18); font-weight: 900; }
.section { padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 58px); }
.section-title { max-width: 820px; margin-bottom: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-grid article { min-height: 240px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--yellow); }
.service-grid b { display: block; margin-bottom: 34px; color: var(--brick); font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif; font-size: 1.3rem; }

.process { display: grid; grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr); gap: clamp(34px, 6vw, 84px); padding: clamp(66px, 8vw, 112px) clamp(18px, 4vw, 58px); background: var(--ink); color: white; }
.process .kicker { color: var(--yellow); }
.process p { color: rgba(255,255,255,0.75); }
.process ol { counter-reset: step; display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255,255,255,0.18); }
.process li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px; background: var(--ink); }
.process strong { font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif; font-size: 1.3rem; }
.process span { color: rgba(255,255,255,0.74); line-height: 1.6; }

.split-title { display: grid; grid-template-columns: 1fr minmax(260px, 430px); gap: 30px; max-width: none; align-items: end; }
.featured { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 14px; margin-bottom: 14px; }
.featured a { display: block; min-height: 360px; overflow: hidden; background: #d5d0c3; }
.featured img { height: 100%; object-fit: cover; transition: transform 220ms ease; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-rows: 160px; gap: 12px; }
.gallery-item { display: block; overflow: hidden; background: #d5d0c3; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform 220ms ease; }
.featured a:hover img, .gallery-item:hover img { transform: scale(1.035); }
.gallery-item:nth-child(9n + 2), .gallery-item:nth-child(9n + 7) { grid-row: span 2; }

.about { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 84px); padding: clamp(66px, 8vw, 112px) clamp(18px, 4vw, 58px); background: var(--green); color: white; }
.about .kicker { color: var(--yellow); }
.about p { color: rgba(255,255,255,0.78); font-size: 1.08rem; }
.contact { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 84px); padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 58px); background: var(--yellow); }
.contact .kicker { color: var(--ink); }
.contact p { color: #4d3d0f; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-cards a { flex: 1 1 230px; display: grid; gap: 9px; min-height: 122px; padding: 22px; background: var(--white); border: 2px solid var(--ink); }
.contact-cards span { color: var(--brick); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.contact-cards strong { overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(18px, 4vw, 58px); background: #050504; color: white; }

@media (max-width: 980px) {
  .header, .hero, .process, .split-title, .about, .contact { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .phone { width: max-content; }
  .service-bar { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured a { min-height: 280px; }
}

@media (max-width: 640px) {
  .logo img { width: 112px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.9rem; }
  .photo-row { grid-template-columns: 1fr; grid-template-rows: repeat(3, 160px); }
  .photo-row img:first-child { grid-row: span 1; }
  .facts, .service-bar, .service-grid, .process li { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; }
  .gallery-item:nth-child(9n + 2), .gallery-item:nth-child(9n + 7) { grid-row: span 1; }
  .btn, .contact-cards a { width: 100%; }
  .footer { display: grid; }
}

.hero-text,
.hero-card {
  animation: rise-in 680ms ease both;
}

.hero-card {
  animation-delay: 120ms;
}

.photo-row img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 900ms ease, filter 420ms ease;
}

.photo-row img.image-ready {
  opacity: 1;
  transform: scale(1);
}

.photo-row img:first-child.image-ready {
  animation: slow-pan 9s ease-in-out infinite alternate;
}

.btn,
.phone,
.service-grid article,
.contact-cards a,
.featured a,
.gallery-item {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover,
.phone:hover,
.service-grid article:hover,
.contact-cards a:hover,
.featured a:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(21, 21, 21, 0.16);
}

.service-bar {
  position: relative;
  overflow: hidden;
}

.service-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255,255,255,0.14) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  animation: sweep 5.5s ease-in-out infinite;
}

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

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

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-pan {
  from { object-position: 50% 50%; }
  to { object-position: 58% 46%; }
}

@keyframes sweep {
  0%, 42% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

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

  .reveal,
  .photo-row img {
    opacity: 1;
    transform: none;
  }
}
