:root {
  --ink: #17232b;
  --soft-ink: #455059;
  --muted: #747c78;
  --paper: #fbfaf6;
  --paper-2: #f6f3ee;
  --white: #ffffff;
  --sage: #eee9df;
  --sage-dark: #17232b;
  --clay: #dfd7cb;
  --line: #e3ddd2;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(35, 42, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(227, 221, 210, 0.9);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 9px clamp(18px, 4vw, 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 198px;
  height: 54px;
  background: var(--paper);
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.brand span {
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 750;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--sage-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
  font-weight: 850;
}

.language-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: auto;
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 58px);
  background: linear-gradient(120deg, #fbfaf6 0%, #f6f3ee 100%);
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--soft-ink);
  font-size: clamp(18px, 2vw, 22px);
}

.eyebrow {
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
  background: var(--ink);
  color: var(--white);
}

.btn.primary:hover {
  background: #263540;
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.hero-image {
  position: relative;
  height: clamp(380px, 52vw, 600px);
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 6px;
  background: var(--sage);
  content: "";
}

.hero-image img,
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.slide.active {
  opacity: 1;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(23, 35, 43, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-arrow:hover {
  background: rgba(23, 35, 43, 0.92);
}

.slider-arrow.prev {
  left: 16px;
}

.slider-arrow.next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 58px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro p:not(.eyebrow),
.section-heading p,
.contact-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-bottom: 24px;
}

.services {
  background: var(--paper);
}

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

.service-grid article,
.steps article,
.compact-projects article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 48px rgba(35, 42, 38, 0.06);
}

.service-grid article {
  min-height: 148px;
  padding: 20px;
}

.service-grid article p,
.steps article p,
.compact-projects article p {
  margin-top: 10px;
  color: var(--muted);
}

.process {
  background: var(--paper);
}

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

.steps article {
  min-height: 170px;
  padding: 18px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-weight: 900;
}

.projects {
  background: var(--paper);
}

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

.compact-projects article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.cities {
  background: var(--white);
}

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

.city-links a {
  min-height: 58px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--soft-ink);
  font-weight: 850;
}

.city-links a:hover {
  border-color: var(--sage-dark);
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.contact .eyebrow,
.contact-copy > p {
  color: var(--muted);
}

.contact-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-list a,
.contact-list span {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form input[type="file"] {
  min-height: auto;
  padding: 12px;
  background: var(--paper);
}

.file-field small {
  color: var(--muted);
  font-weight: 650;
}

.contact-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.contact-form textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.footer img {
  width: 180px;
  height: 50px;
  background: var(--paper);
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center;
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 22px;
  background: var(--paper);
}

.thanks-card {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card img {
  width: 240px;
  height: 68px;
  margin: 0 auto 28px;
  background: var(--white);
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center;
}

.thanks-card h1 {
  max-width: none;
  font-size: clamp(32px, 6vw, 48px);
}

.landing-hero,
.city-hero {
  padding: clamp(74px, 10vw, 124px) clamp(18px, 4vw, 58px);
  background: linear-gradient(120deg, #fbfaf6, #f6f3ee);
}

.landing-hero p,
.city-hero p {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 19px;
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  gap: 30px;
}

.city-panel,
.landing-card,
.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.city-section,
.landing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 56px);
  background: var(--paper);
}

.city-copy,
.landing-content,
.landing-sidebar {
  display: grid;
  gap: 18px;
}

.city-copy p,
.landing-content p,
.landing-content li {
  color: var(--soft-ink);
  font-size: 17px;
}

.compact-form {
  box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
  .service-grid,
  .steps,
  .city-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 172px;
    height: 48px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .language-switch {
    width: max-content;
    margin-top: 8px;
  }

  .hero,
  .intro,
  .contact,
  .footer,
  .city-hero,
  .city-section,
  .landing-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image,
  .hero-image img,
  .slide {
    min-height: 380px;
  }

  .footer {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .service-grid,
  .steps,
  .compact-projects,
  .city-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
