* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.container {
  width: 80%;
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to right, #fff, #c8b77c);
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.14);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
}

.header-logo-image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
}

.logo-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.logo-copy strong {
  font-size: 21px;
  letter-spacing: 0.01em;
}

.logo-copy small {
  color: #5f522d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  position: relative;
  padding: 28px 0 22px;
  color: #444;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 5px;
  background: #444;
  content: "";
  transition: width 220ms ease;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #333;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 80px 20px;
  background:
    linear-gradient(180deg, rgba(52, 52, 52, 0.34), rgba(52, 52, 52, 0.34)),
    url("assets/hero.jpg") center / cover;
  text-align: center;
}

.intro {
  width: 100%;
  padding: 74px 0 30px;
  background: #fff;
  text-align: center;
}

.intro > h1 {
  margin: 0 0 12px;
  font-size: 42px;
}

.intro-lead {
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 0 20px;
  color: #655831;
  font-size: 20px;
  font-weight: 700;
}

.classic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 86px;
  align-items: center;
}

.image-block img {
  width: 98%;
  min-height: 360px;
  object-fit: cover;
  background: #e8e8e8;
}

.image-left img {
  box-shadow: 10px 10px 10px -4px rgba(84, 84, 84, 0.55);
}

.image-right img {
  margin-left: auto;
  box-shadow: -10px 10px 10px -4px rgba(84, 84, 84, 0.55);
}

.text-block {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 70px;
  text-align: center;
}

.text-block h3 {
  margin: 0 0 20px;
  color: #333;
  font-size: 38px;
  line-height: 1.15;
}

.text-block p {
  margin: 0;
  color: #555;
  font-size: 17px;
}

.work-showcase {
  padding: 92px 20px 98px;
  background: #242321;
  color: #fff;
}

.work-showcase-heading {
  width: min(760px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: #d5c487;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-showcase-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.work-showcase-heading > p:last-child {
  margin: 0;
  color: #d8d6d0;
  font-size: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.project-card {
  margin: 0;
  background: #fff;
  color: #333;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.project-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d9d5ca;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.comparison-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card figcaption {
  padding: 24px 24px 27px;
  border-top: 4px solid #c8b77c;
}

.project-card h3 {
  margin: 0 0 9px;
  font-size: 23px;
  line-height: 1.2;
}

.project-card p {
  margin: 0;
  color: #62605b;
  font-size: 15px;
}

.work-showcase-cta {
  display: block;
  width: fit-content;
  margin: 38px auto 0;
  padding: 13px 20px;
  border: 1px solid #d5c487;
  color: #fff;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.work-showcase-cta:hover {
  background: #d5c487;
  color: #242321;
}

.work-showcase-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.question-band {
  margin-top: 0;
  padding: 54px 20px;
  background:
    linear-gradient(180deg, rgba(35, 35, 35, 0.58), rgba(35, 35, 35, 0.58)),
    url("assets/hero.jpg") center / cover;
  color: #fff;
  text-align: center;
}

.question-band h2 {
  max-width: 850px;
  margin: 0 auto 12px;
  font-size: 28px;
}

.question-band p {
  margin: 0 0 24px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.buttons a {
  display: inline-block;
  min-width: 190px;
  padding: 12px 18px;
  background: #c8b77c;
  color: #fff;
  font-weight: 700;
}

.about {
  padding: 76px 20px;
  background: #f7f7f7;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 54px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.about-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.about-copy p {
  margin: 0;
  color: #555;
  font-size: 17px;
}

.contact-form-section {
  padding: 76px 20px 84px;
  background: #fff;
}

.contact-form-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.contact-form-heading {
  margin-bottom: 34px;
  text-align: center;
}

.contact-form-heading h2 {
  margin: 0 0 12px;
  font-size: 36px;
}

.contact-form-heading p {
  margin: 0;
  color: #555;
  font-size: 17px;
}

.contact-form {
  position: relative;
  padding: 34px;
  border: 1px solid #e0d7ba;
  background: #f8f6f0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 8px;
  color: #333;
  font-weight: 700;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #c7c2b3;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
}

.form-field input {
  min-height: 48px;
  padding: 10px 12px;
}

.form-field textarea {
  min-height: 160px;
  padding: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #9a7f32;
  outline: 3px solid rgba(200, 183, 124, 0.25);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: #555;
  font-size: 14px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: #9a7f32;
}

.form-consent a {
  color: #80691f;
  font-weight: 700;
  text-decoration: underline;
}

.form-submit {
  min-width: 190px;
  padding: 13px 20px;
  border: 0;
  background: #9a7f32;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-submit:hover {
  background: #78631f;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-weight: 700;
}

.form-status.is-success {
  color: #26713a;
}

.form-status.is-error {
  color: #a12727;
}

.contact-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.side-contact {
  position: fixed;
  top: 72%;
  left: 0;
  z-index: 8;
}

.side-contact a {
  display: grid;
  place-items: center;
  width: 70px;
  height: 58px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.whatsapp-button {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.whatsapp-button img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.whatsapp-button:hover {
  background: #1fbd59;
  transform: translateY(-2px);
}

.whatsapp-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 540px) 1fr;
  gap: 22px;
  padding: 38px 20px 16px;
  background: #111;
  color: #fff;
  text-align: center;
}

.footer p,
.footer-contact,
.footer-line,
.footer-links,
.footer small {
  grid-column: 2;
}

.footer p {
  margin: 0;
  color: #e9e9e9;
  font-size: 15px;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: #fff;
  font-weight: 700;
}

.footer-line {
  border-bottom: 1px solid #c8b77c;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-content: center;
}

.footer-links h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.footer-links a,
.footer small {
  color: #d9d9d9;
}

.legal-main {
  min-height: 62vh;
  padding: 58px 20px 72px;
  background: #f4f4f4;
}

.legal-box {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  box-shadow: inset 0 15px 18px -20px rgba(23, 23, 23, 0.25), 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow-wrap: anywhere;
}

.legal-box h1 {
  margin: 0 0 26px;
  font-size: 38px;
}

.legal-box h2,
.legal-box h3 {
  margin: 30px 0 10px;
  color: #9a7f32;
}

.legal-box p {
  margin: 0 0 16px;
  color: #444;
}

.legal-box .legal-address {
  margin-top: -4px;
}

.legal-address img {
  width: 203px;
  max-width: 100%;
  height: auto;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.legal-box a {
  color: #9a7f32;
  font-weight: 700;
}

@media (max-width: 1099px) {
  .container {
    width: 92%;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-logo-image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .logo-copy strong {
    font-size: 17px;
  }

  .logo-copy small {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  }

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

  .nav a {
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
  }

  .nav a:hover {
    color: #444;
  }

  .hero {
    min-height: 500px;
    padding-top: 110px;
  }

  .intro {
    padding-top: 48px;
  }

  .intro > h1 {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .intro-lead {
    margin-bottom: 36px;
    font-size: 17px;
  }

  .classic-grid {
    display: block;
  }

  .image-block,
  .text-block {
    max-width: 620px;
    margin: 0 auto 28px;
  }

  .image-block img {
    width: 100%;
    min-height: auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.22);
  }

  .text-block {
    padding: 0 22px 30px;
  }

  .text-block h3 {
    font-size: 26px;
  }

  .work-showcase {
    padding: 64px 20px 70px;
  }

  .work-showcase-heading {
    margin-bottom: 34px;
  }

  .work-showcase-heading > p:last-child {
    font-size: 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(720px, 100%);
    text-align: center;
  }

  .contact-form-section {
    padding: 52px 18px 60px;
  }

  .contact-form-heading h2 {
    font-size: 30px;
  }

  .contact-form {
    padding: 24px 18px;
  }

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

  .form-field-wide {
    grid-column: 1;
  }

  .side-contact {
    display: none;
  }

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

  .footer p,
  .footer-contact,
  .footer-line,
  .footer-links,
  .footer small {
    grid-column: 1;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-box {
    padding: 24px 18px;
  }
}

@media (max-width: 520px) {
  .buttons {
    display: grid;
  }

  .buttons a {
    width: 100%;
  }

  .whatsapp-button {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    min-height: 56px;
    padding: 14px;
    justify-content: center;
  }

  .whatsapp-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
