:root {
  --bg: #f8f5ef;
  --white: #ffffff;
  --text: #202124;
  --muted: #74716d;
  --primary: #b88a3c;
  --primary-dark: #8d672d;
  --border: rgba(32, 33, 36, 0.10);
  --soft: #f2eee6;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(35, 29, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 230px;
  height: 90px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > a:not(.button) {
  font-size: 0.98rem;
  color: #55565a;
  transition: 0.2s ease;
}

.main-nav > a:not(.button):hover {
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}


/* =========================
   BUTTONS
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c99b4b, #a87831);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(168, 120, 49, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(168, 120, 49, 0.25);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.88rem;
}


/* =========================
   HERO
========================= */

.hero {
  background:
    radial-gradient(circle at 15% 30%, rgba(213, 181, 119, 0.12), transparent 30%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  align-items: stretch;
}

.hero-copy {
  padding: 72px 50px 70px max(48px, calc((100vw - 1180px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(3.3rem, 5.3vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero-text {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 24%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(248, 245, 239, 0.72) 32%,
    rgba(248, 245, 239, 0) 100%
  );
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
  padding: 100px 0;
  background: var(--white);
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.about-grid h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
}


/* =========================
   SERVICES
========================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}


/* =========================
   HOW WE WORK
========================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 30px 26px;
  border-top: 1px solid rgba(141, 103, 45, 0.35);
}

.step-card > span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}


/* =========================
   SOLUTIONS
========================= */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.solution-card.featured {
  background: #252522;
  color: #fff;
}

.solution-label {
  margin: 0 0 30px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.solution-card h3 {
  margin: 0 0 15px;
  font-size: 1.65rem;
}

.solution-card > p:not(.solution-label) {
  color: var(--muted);
}

.solution-card.featured > p:not(.solution-label) {
  color: rgba(255, 255, 255, 0.7);
}

.solution-card ul {
  margin: 28px 0 32px;
  padding-left: 20px;
}

.solution-card li {
  margin-bottom: 10px;
}

.solution-card > a {
  color: var(--primary);
  font-weight: 700;
}


/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p {
  margin: 0 0 20px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.contact-details {
  margin-top: 38px;
}

.contact-details p {
  margin: 0 0 20px;
  color: var(--muted);
}

.contact-details strong {
  color: var(--text);
}

.contact-details a:hover {
  color: var(--primary-dark);
}

.contact-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.contact-form {
  padding: 40px;
  border-radius: var(--radius);
  background: var(--soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(32, 33, 36, 0.14);
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 65px 0 25px;
  background: #22221f;
  color: #fff;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  width: 190px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.legal-links {
  display: flex;
  gap: 18px;
}

.legal-links a:hover {
  color: #fff;
}


/* =========================
   LEGAL PAGES
========================= */

.legal-page {
  min-height: 70vh;
  padding: 80px 0 100px;
  background: var(--bg);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin: 0 0 35px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--primary-dark);
  font-weight: 700;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

  .main-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-left: 32px;
    padding-right: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6vw, 4.4rem);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 820px) {

  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 84px;
  }

  .brand-logo {
    width: 165px;
    height: 65px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .main-nav.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .main-nav .button {
    width: 100%;
  }

  .hero-grid {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    padding: 60px 24px 50px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13vw, 4.5rem);
    line-height: 0.98;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 420px;
    height: 420px;
  }

  .hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-visual::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 22%;
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(248, 245, 239, 0) 100%
    );
  }

  .section {
    padding: 75px 0;
  }

  .service-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-links {
    flex-wrap: wrap;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

  .hero-copy {
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .hero-visual {
    height: 340px;
    min-height: 340px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-grid h2,
  .contact-copy h2 {
    font-size: 2.4rem;
  }

  .service-card,
  .solution-card {
    padding: 27px;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }
}

.contact-form label {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(32, 33, 36, 0.10);
  border-radius: 14px;
  background: #ffffff;
  font: inherit;
  color: #202124;
  box-sizing: border-box;
}

.contact-form input {
  min-height: 64px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8a8a;
}
