:root {
  --bg: #fffaf5;
  --surface: #fffdfb;
  --surface-2: #f7efe7;
  --text: #2b211c;
  --muted: #6f6258;
  --line: #e8d9cc;
  --accent: #c96d39;
  --accent-dark: #a5552b;
  --footer: #191919;
  --shadow: 0 16px 40px rgba(66, 36, 18, .08);
  --radius: 18px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.06;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 { font-size: clamp(3rem, 8vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }

h3 { font-size: 1.55rem; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 109, 57, .08);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.03em;
}

.brand-text small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a:not(.btn) {
  position: relative;
  padding: 6px 0;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform .2s ease;
}
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  cursor: pointer;
}

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

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover { background: var(--accent-dark); }

.btn-outline {
  border-color: var(--line);
  color: var(--accent);
  background: transparent;
}

.accent-outline {
  border-color: rgba(201, 109, 57, .35);
}

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #f7efe7;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(255,250,245,.98) 0%, rgba(255,250,245,.98) 42%, rgba(255,250,245,.72) 58%, rgba(255,250,245,.12) 78%), url("../img/hero-design-crop.png");
    background-size: cover;
    background-position: center right;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5% 50%, rgba(201, 109, 57, .11), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.12));
}

.hero-content {
  padding-block: 78px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero .lead {
  margin-top: 20px;
  max-width: 510px;
  color: var(--muted);
  font-size: 20px;
}

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


.section { padding: 72px 0; }

.section-heading {
  margin-bottom: 32px;
}
.section-heading.center {
  text-align: center;
}
.section-heading.compact {
  margin-bottom: 18px;
}

.services {
  background: linear-gradient(180deg, #fffdfb 0%, #faf4ed 100%);
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: 0 10px 26px rgba(66, 36, 18, .03);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 14px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.references {
  background: var(--bg);
}

.references-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.references-intro p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 22px;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reference-gallery img {
  border-radius: 16px;
  border: 1px solid var(--line);
  height: 220px;
  width: 100%;
  object-fit: cover;
  background: #fff;
}

.reasons {
  background: var(--surface-2);
  border-top: 1px solid rgba(201,109,57,.08);
  border-bottom: 1px solid rgba(201,109,57,.08);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.reason-item {
  padding: 14px 16px;
}

.reason-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(201, 109, 57, .18);
}

.reason-mark svg {
  width: 38px;
  height: 38px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.reason-item p {
  color: var(--muted);
  font-size: 14.5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  padding: 18px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 12px;
  display: grid;
  gap: 10px;
  font-size: 18px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.facebook-link svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex: 0 0 auto;
}

.facebook-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.facebook-link:hover span {
  color: var(--accent);
}

.contact-note {
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-form span {
  font-weight: 700;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(201, 109, 57, .65);
  box-shadow: 0 0 0 4px rgba(201, 109, 57, .08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.checkbox input {
  width: auto;
  min-height: 0;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 24px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

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

.footer-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 15px;
}

.copyright {
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .references-grid { grid-template-columns: 1fr; }
  .reference-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    background: rgba(255, 250, 245, .98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }

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

  .hero {
    min-height: 560px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(255,250,245,.98) 0%, rgba(255,250,245,.9) 55%, rgba(255,250,245,.45) 100%),
      url("../img/hero-design-crop.jpg");
    background-size: cover;
    background-position: center right;
  }

  .hero-content {
    padding-block: 58px;
  }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 25px; }
  .brand-text small { font-size: 8px; }
  .main-nav { top: 78px; }
  .header-inner { min-height: 78px; }

  .services-grid,
  .reference-gallery,
  .reason-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-icon { width: 78px; height: 78px; }
  .hero .lead { font-size: 17px; }
}
