:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-muted: #eceeea;
  --text: #17201f;
  --text-muted: #5d6664;
  --line: #d6d9d4;
  --accent: #d86f32;
  --accent-dark: #b6511d;
  --dark: #15201f;
  --dark-soft: #1d2b29;
  --max-width: 1180px;
  --shadow: 0 24px 70px rgba(17, 29, 27, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245,245,242,.88);
  border-bottom: 1px solid rgba(214,217,212,.75);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; }
.brand-mark {
  display: grid; place-items: center; width: 42px; aspect-ratio: 1;
  background: var(--dark); color: white; font-family: Manrope, sans-serif; font-weight: 700;
}
.brand strong { display: block; font-family: Manrope, sans-serif; }
.brand small { display: block; margin-top: 5px; color: var(--text-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 600; }
.main-nav a:hover { color: var(--accent-dark); }
.main-nav .nav-contact { padding: 10px 16px; border: 1px solid var(--text); }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { padding: 88px 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.eyebrow, .section-label {
  margin: 0 0 16px; color: var(--accent-dark); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; line-height: 1.12; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.9rem, 6.3vw, 5.7rem); letter-spacing: -.055em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.04em; }
h3 { margin: 0 0 14px; font-size: 1.22rem; }
.hero-text { max-width: 650px; margin: 28px 0 0; color: var(--text-muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; text-decoration: none; font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border: 1px solid var(--line); background: var(--surface); }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 46px 0 0;
}
.hero-facts div { padding-top: 15px; border-top: 1px solid var(--line); }
.hero-facts dt { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-facts dd { margin: 5px 0 0; font-weight: 600; font-size: .9rem; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% -20% -15% 16%;
  background: var(--accent); opacity: .12; filter: blur(1px); transform: rotate(7deg);
}
.drawing-card {
  position: relative; color: #9cc3bb; background: var(--dark);
  box-shadow: var(--shadow); transform: rotate(1.5deg);
}
.drawing-card svg { width: 100%; height: auto; }


.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.hero-slider-label {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: rgba(15,26,24,.78);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.hero-slider-dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 21px;
  display: flex;
  gap: 7px;
}
.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-slider-dots button.active {
  background: #fff;
}

.hero-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.hero-photo span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: rgba(15,26,24,.82);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.section { padding: 108px 0; }
.section-muted { background: var(--surface-muted); }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.body-copy { max-width: 680px; color: var(--text-muted); font-size: 1.06rem; }
.body-copy p:first-child { margin-top: 0; }
.section-heading {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 50px;
}
.section-heading > p { margin: 0; color: var(--text-muted); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  min-height: 260px; padding: 28px; background: var(--surface);
  border: 1px solid rgba(214,217,212,.85); transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(17,29,27,.08); }
.service-number { display: inline-block; margin-bottom: 54px; color: var(--accent-dark); font-weight: 700; font-size: .8rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: .94rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  position: relative; min-height: 230px; margin: 0; overflow: hidden;
  border: 0; background: #d7dad5;
}
.gallery-item-wide { grid-column: span 2; }
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}
.gallery-item:hover img { transform: scale(1.035); filter: contrast(1.02); }
.gallery-item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 7px;
  background: rgba(15,26,24,.66);
  color: white;
  text-align: left;
  font-size: .64rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
  backdrop-filter: blur(4px);
}

.contact-section { padding: 100px 0; background: var(--dark); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: start; }
.contact-grid h2 { max-width: 760px; }
.contact-grid > div:first-child > p:last-child { max-width: 610px; color: #b9c4c1; }
.section-label-light { color: #f7a36f; }
.contact-card { border-top: 1px solid rgba(255,255,255,.2); }
.contact-card a, .contact-card div {
  display: block; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none;
}
.contact-card a:hover strong { color: #f7a36f; }
.contact-card span { display: block; margin-bottom: 4px; color: #9fb0ac; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { font-size: 1rem; transition: color .2s ease; }

.site-footer { background: #0e1716; color: #9fb0ac; }
.footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .84rem; }
.footer-inner a { text-decoration: none; }


@media (max-width: 900px) {
  .hero-grid, .two-column, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 62px; }
  .hero-visual { max-width: 680px; }
  .hero-photo, .hero-photo img, .hero-slider, .hero-slide img { min-height: 440px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .menu-button { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0; display: none;
    padding: 18px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: grid; gap: 8px; }
  .main-nav a { padding: 10px 0; }
  .main-nav .nav-contact { border: 0; padding: 10px 0; }
  .hero { padding-bottom: 48px; }
  .hero-facts { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 34px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item-wide { grid-column: auto; min-height: 250px; }
  .contact-section { padding: 78px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.brand-logo {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-links button:hover,
.footer-links a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 18px;
  right: 18px;
  bottom: 18px;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-inner {
  width: min(100%, 820px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  background: #15201f;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.cookie-banner p {
  margin: 0;
  color: #d7dfdd;
  font-size: .88rem;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.cookie-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-accept {
  border-color: #d86f32;
  background: #d86f32;
  color: #fff;
}
.cookie-reject {
  background: transparent;
  color: #fff;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-button {
    flex: 1;
  }
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
