:root {
  --orange: #e46f1a;
  --orange-dark: #b95412;
  --ink: #1f2428;
  --muted: #687078;
  --line: #e7e1da;
  --paper: #fbfaf7;
  --white: #ffffff;
  --charcoal: #2b302f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(31, 36, 40, 0.08);
}

.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
}

.topbar__inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.language-switch a {
  min-height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.language-switch a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.language-switch a.is-active {
  background: var(--orange);
  color: var(--white);
}

.flag {
  width: 19px;
  height: 13px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(31, 36, 40, 0.12);
  object-fit: cover;
}



.nav {
  min-height: 84px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav__links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  color: #333a3f;
  font-weight: 700;
  font-size: 15px;
}

.nav__links a {
  padding: 30px 0;
  border-bottom: 3px solid transparent;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--orange);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 28, 27, 0.8), rgba(26, 28, 27, 0.35) 54%, rgba(26, 28, 27, 0.12));
}

.hero__content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  padding: 72px 0;
}

.section-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.hero p:not(.section-label) {
  max-width: 620px;
  font-size: 20px;
}

.hero__actions,
.cta__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
}

.button--primary {
  background: var(--orange);
  color: var(--white);
}

.button--primary:hover {
  background: var(--orange-dark);
}

.button--ghost {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.text-link {
  padding-left: 0;
  color: var(--orange-dark);
}

.text-link::after {
  content: "";
  width: 28px;
  height: 2px;
  margin-left: 12px;
  background: currentColor;
}

.intro,
.services,
.quotes,
.sustainability,
.cta {
  padding: 88px 0;
}

.intro__grid,
.sustainability__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.intro p,
.sustainability p,
.feature p,
.split p {
  color: var(--muted);
  font-size: 18px;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service:hover,
.service:focus-within {
  background: #fffaf6;
  box-shadow: 0 18px 42px rgba(31, 36, 40, 0.12);
  transform: translateY(-3px);
  z-index: 1;
}

.service .text-link {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.service:hover .text-link,
.service:focus-within .text-link {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.service__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #f6e8dc;
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 20px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  min-height: 620px;
  background: var(--charcoal);
  color: var(--white);
}

.feature__image img,
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__content {
  padding: clamp(48px, 7vw, 96px);
  align-self: center;
}

.feature p {
  color: rgba(255, 255, 255, 0.74);
}

.quotes {
  background: #f4f0ea;
}

.quotes__slider {
  position: relative;
  min-height: 230px;
}

.quote {
  display: none;
  max-width: 900px;
}

.quote.is-active {
  display: block;
}

.quote blockquote {
  margin: 0 0 24px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.24;
  font-weight: 700;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.quote-controls {
  display: flex;
  gap: 8px;
}

.quote-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
  background: var(--white);
}

.split__content {
  padding: clamp(48px, 7vw, 96px);
  align-self: center;
}

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

.cta {
  background: var(--orange);
  color: var(--white);
}

.cta h2 {
  margin: 0;
  max-width: 760px;
}

.cta .button {
  background: var(--white);
  color: var(--ink);
}

.footer {
  background: var(--charcoal);
  color: var(--white);
}

.footer__grid {
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 56px;
}

.brand--footer .brand__mark {
  background: transparent;
  color: var(--orange-dark);
}

.brand--footer small,
.footer p,
.footer address,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 14px;
}

.footer address,
.footer__grid > div {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 36, 40, 0.82), rgba(31, 36, 40, 0.32));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 96px 0 72px;
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-section {
  padding: 82px 0;
}

.page-section--white {
  background: var(--white);
}

.content-grid,
.cards-grid,
.projects-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.content-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
}

.content-grid p,
.page-card p,
.project-card p,
.contact-panel p,
.contact-panel address {
  color: var(--muted);
  font-size: 18px;
}

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

.page-card,
.project-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.page-card h3,
.project-card h3 {
  margin-top: 14px;
}

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

.project-card {
  padding: 0;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card__body {
  padding: 24px;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-panel address,
.contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-style: normal;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.contact-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.form-message--success {
  background: #edf7ef;
  color: #246236;
  border-color: #bbdfc2;
}

.form-message--error {
  background: #fff0ea;
  color: #8f3516;
  border-color: #f0c1ad;
}

@media (max-width: 920px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
  }

  .nav {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    inset: 72px 0 auto 0;
    display: none;
    padding: 12px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    display: block;
    padding: 14px 0;
  }

  .intro__grid,
  .sustainability__inner,
  .feature,
  .split,
  .footer__grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .cards-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature__image,
  .split img {
    min-height: 320px;
  }

  .split img {
    order: -1;
  }
}

@media (max-width: 620px) {
  .container,
  .topbar__inner,
  .hero__content {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    font-size: 13px;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand strong {
    font-size: 17px;
  }

  .hero {
    min-height: 610px;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(26, 28, 27, 0.78), rgba(26, 28, 27, 0.42));
  }

  .hero p:not(.section-label) {
    font-size: 17px;
  }

  .intro,
  .services,
  .quotes,
  .sustainability,
  .cta {
    padding: 58px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 210px;
  }

  .feature,
  .split {
    min-height: auto;
  }

  .feature__content,
  .split__content {
    padding: 42px 20px;
  }

  .footer__grid {
    padding: 48px 0;
    gap: 32px;
  }

  .page-hero {
    min-height: 340px;
  }

  .page-section {
    padding: 58px 0;
  }

  .cards-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
