/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ==========================================================
   Design tokens
   ========================================================== */
:root {
  --ink: #202622;
  --muted: #657067;
  --cream: #f6f4ef;
  --paper: #fffefa;
  --rust: #a84f32;
  --rust-dark: #813b27;
  --line: #deded5;
  --green: #35473c;
  --max: 1160px;
}

/* ==========================================================
   Base & reset
   ========================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 'DM Sans', sans-serif;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

/* ==========================================================
   Layout helpers
   ========================================================== */
.container {
  width: min(var(--max), calc(100% - 44px));
  margin: auto;
}

/* ==========================================================
   Typography
   ========================================================== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--rust);
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.8rem,6vw,5.4rem);
}

h2 {
  font-size: clamp(2rem,4vw,3.35rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: 1.13rem;
  color: #e7e6de;
  max-width: 650px;
}

.muted {
  color: var(--muted);
}

/* ==========================================================
   Sections
   ========================================================== */
.section {
  padding: 88px 0;
}

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

.cream {
  background: var(--cream);
}

.dark {
  background: var(--green);
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  max-width: 650px;
}

.dark .section-head p {
  color: #d6ddd6;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--rust);
  color: white;
  border: 1px solid var(--rust);
  font-weight: 700;
  font-size: .92rem;
  transition: .2s;
}

.btn:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
}

.btn.outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn.light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ==========================================================
   Top bar
   ========================================================== */
.topbar {
  background: var(--green);
  color: #f5f2e9;
  font-size: .8rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================
   Header & navigation
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,254,250,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e9e7df;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--rust);
  display: grid;
  place-items: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
}

.brand-mark:after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.6);
}

.brand-name {
  font-weight: 700;
  letter-spacing: .09em;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: .62rem;
  letter-spacing: .19em;
  color: var(--muted);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .88rem;
  font-weight: 600;
}

.nav a:not(.btn) {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a.active,
.nav a:not(.btn):hover {
  border-color: var(--rust);
}

.nav .btn {
  padding: 10px 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  padding: 8px;
  color: var(--ink);
}

/* ==========================================================
   Home hero
   ========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: white;
  background: #26352c;
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(21, 30, 24, .88) 0%, rgba(21, 30, 24, .66) 48%, rgba(21, 30, 24, .16) 100%),
    url('images/main_title.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  padding: 90px 0;
  max-width: 780px;
}

.hero h1 {
  margin: 18px 0 24px;
}

.hero .eyebrow {
  color: #e7a78e;
}

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

.hero-note {
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.35);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #f0eee7;
}

.hero-note span:before {
  content: '✓';
  color: #e7a78e;
  margin-right: 9px;
}

/* ==========================================================
   Intro / split layouts
   ========================================================== */
.intro-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-image {
  position: relative;
}

.intro-image img {
  height: 530px;
}

.image-caption {
  position: absolute;
  right: -20px;
  bottom: 24px;
  background: var(--rust);
  color: white;
  padding: 18px 24px;
  max-width: 220px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

/* ==========================================================
   Check list
   ========================================================== */
.check-list {
  padding: 0;
  margin: 26px 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

/* ==========================================================
   Cards
   ========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px #20262212;
}

.card img {
  height: 230px;
}

.card-body {
  padding: 24px;
}

.card-body p {
  font-size: .94rem;
  color: var(--muted);
}

.card-link {
  color: var(--rust);
  font-weight: 700;
  font-size: .9rem;
}

.card-link:after {
  content: ' →';
}

/* ==========================================================
   Service cards
   ========================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: end;
  background: #344238;
}

.service-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18, 27, 21, .92), rgba(18, 27, 21, .06) 85%),
    var(--photo);
  background-size: cover;
  background-position: center;
  transition: transform .5s;
}

.service-card:hover:before {
  transform: scale(1.04);
}

.service-card .inner {
  position: relative;
  padding: 28px;
}

.service-card p {
  color: #e4e7e1;
  font-size: .94rem;
}

.service-card .card-link {
  color: #f0b39b;
}

.number {
  font-size: .75rem;
  letter-spacing: .15em;
  color: #e7a78e;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ==========================================================
   Quote band
   ========================================================== */
.quote-band {
  padding: 70px 0;
  background: var(--rust);
  color: white;
}

.quote-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.quote-band h2 {
  max-width: 720px;
  margin: 0;
}

.quote-band .btn {
  flex-shrink: 0;
}

/* ==========================================================
   Stats
   ========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 38px;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  display: block;
}

.stat span {
  font-size: .85rem;
  color: var(--muted);
}

/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero {
  background: var(--green);
  color: white;
  padding: 82px 0 76px;
  position: relative;
  overflow: hidden;
}

.page-hero:after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -70px;
  top: -160px;
  box-shadow: 0 0 0 38px #ffffff08, 0 0 0 78px #ffffff05;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.7rem,5vw,4.6rem);
  max-width: 850px;
  margin: 15px 0;
}

.page-hero p {
  color: #d9e0d8;
  max-width: 720px;
  font-size: 1.08rem;
}

/* ==========================================================
   Breadcrumbs
   ========================================================== */
.breadcrumbs {
  font-size: .8rem;
  color: #c9d2c9;
  margin-bottom: 22px;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================
   Service list
   ========================================================== */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  background: white;
  border: 1px solid var(--line);
  padding: 14px;
}

.service-item img {
  height: 100%;
  min-height: 175px;
}

.service-item h3 {
  font-size: 1.35rem;
  margin: 8px 0;
}

.service-item p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ==========================================================
   Gallery
   ========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.gallery img {
  height: 230px;
}

.gallery img:nth-child(2),
.gallery img:nth-child(5) {
  height: 280px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}

.gallery figcaption {
  padding: 10px 12px;
  font-size: .8rem;
  color: var(--muted);
}

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}

.stars {
  color: var(--rust);
  letter-spacing: .15em;
  margin-bottom: 12px;
}

.testimonial p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

.testimonial small {
  color: var(--muted);
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.contact-row {
  display: flex;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #eee9df;
  color: var(--rust);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-row strong {
  display: block;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
  font-size: .92rem;
}

/* ==========================================================
   Form
   ========================================================== */
.form {
  background: var(--cream);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .84rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d4d4ca;
  background: white;
  padding: 12px 13px;
  font: inherit;
  border-radius: 0;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ==========================================================
   Service areas
   ========================================================== */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.areas span {
  padding: 7px 11px;
  background: #eae8df;
  font-size: .8rem;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: #202a23;
  color: #f7f5ee;
  padding: 62px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}

.footer p,
.footer a {
  color: #c6cec5;
  font-size: .9rem;
}

.footer h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #ffffff24;
  margin-top: 42px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  color: #aab5aa;
  font-size: .78rem;
}

/* ==========================================================
   Notice
   ========================================================== */
.notice {
  padding: 14px 16px;
  background: #f1e5da;
  border-left: 3px solid var(--rust);
  font-size: .86rem;
  margin-top: 20px;
}

/* Responsive: ≤ 900px */
@media (max-width: 900px) {
  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: .82rem;
  }

  .intro-grid,
  .split {
    gap: 34px;
  }

  .service-item {
    grid-template-columns: 140px 1fr;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    min-height: 370px;
  }

  .cards {
    gap: 15px;
  }

  .card img {
    height: 190px;
  }

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

  .contact-grid {
    gap: 28px;
  }
}

/* Responsive: ≤ 720px */
@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 34px));
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar .topbar-area {
    display: none;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

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

  .nav.open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 11px 0;
  }

  .nav .btn {
    margin-top: 8px;
  }

  .hero {
    min-height: 630px;
  }

  .hero:before {
    background-image:
      linear-gradient(90deg, rgba(21, 30, 24, .88), rgba(21, 30, 24, .55)),
      url('images/main_title.jpg');
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero-note {
    margin-top: 38px;
    gap: 12px 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-sm {
    padding: 44px 0;
  }

  .intro-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-image {
    order: -1;
  }

  .intro-image img {
    height: 340px;
  }

  .image-caption {
    right: 0;
    bottom: 16px;
  }

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

  .card img {
    height: 240px;
  }

  .service-card {
    min-height: 330px;
  }

  .quote-band .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .quote-band {
    padding: 50px 0;
  }

  .page-hero {
    padding: 60px 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 125px 1fr;
    gap: 15px;
    padding: 10px;
  }

  .service-item img {
    min-height: 155px;
  }

  .gallery {
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
  }

  .gallery img,
  .gallery img:nth-child(2),
  .gallery img:nth-child(5) {
    height: 180px;
  }

  .stats {
    gap: 12px;
  }

  .stat strong {
    font-size: 1.4rem;
  }

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

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

  .field.full {
    grid-column: auto;
  }
}

/* Responsive: ≤ 420px */
@media (max-width: 420px) {
  .brand-name {
    font-size: .9rem;
  }

  .brand {
    min-width: 0;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item img {
    height: 190px;
    min-height: 0;
  }

  .gallery img,
  .gallery img:nth-child(2),
  .gallery img:nth-child(5) {
    height: 145px;
  }

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

  .hero-note {
    display: grid;
  }
}
