:root {
  --bg-dark: #1f241f;
  --bg-earth: #3b2b1f;
  --bg-soft: #f5f1e8;
  --card: #fffdf8;
  --ink: #24302b;
  --muted: #5d6a63;
  --brand: #21403a;
  --brand-light: #2f5a51;
  --accent: #9d7a40;
  --line: #d7cdb7;
  --shadow: 0 16px 30px rgba(20, 26, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% -10%, rgba(157, 122, 64, 0.38), transparent 35%),
    radial-gradient(circle at 80% 0, rgba(47, 90, 81, 0.32), transparent 42%),
    linear-gradient(160deg, var(--bg-dark), var(--bg-earth));
  min-height: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  color: #000;
  padding: 8px 12px;
}

.container {
  width: min(1100px, 94vw);
  margin-inline: auto;
}

.site-header {
  position: relative;
  background: url("/assets/images/header-bg.jpg") center/cover no-repeat;
  isolation: isolate;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 27, 24, 0.62), rgba(18, 27, 24, 0.38));
  z-index: -1;
}

.header-inner {
  min-height: 240px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand-block {
  display: grid;
  gap: 0.5rem;
}

.brand-logo {
  width: min(360px, 75vw);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.brand-tagline {
  margin: 0;
  color: #eef7f3;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.social-link {
  color: #eff8ff;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(24, 44, 70, 0.62);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.mobile-cta-wrap {
  display: none;
  background: linear-gradient(90deg, var(--accent), #b99553);
  text-align: center;
  padding: 0.5rem;
}

.mobile-call-cta {
  display: inline-block;
  color: #1f1710;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.main-nav {
  background: linear-gradient(90deg, #16322d, #265046);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #eef6f3;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 54px;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
}

.page-shell {
  padding: clamp(1.1rem, 2.4vw, 2.2rem) 0 2.3rem;
}

.hero-card,
.content-card {
  background: linear-gradient(180deg, var(--card), #f9f4ea);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  padding: clamp(1rem, 2.8vw, 2rem);
  margin-bottom: 1.3rem;
}

.hero-card img {
  border-radius: 12px;
  min-height: 320px;
  object-fit: cover;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #1b322d;
}

p,
li {
  line-height: 1.55;
  font-size: 1.04rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-light));
  color: #f4fbf8;
}

.btn-secondary {
  background: #eee5d5;
  color: #27302d;
  border: 1px solid #d8c9ac;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-tile {
  background: rgba(255, 251, 242, 0.97);
  border: 1px solid #dacfb9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(18, 27, 24, 0.08);
  transform: translateY(14px);
  opacity: 0;
  animation: reveal 0.7s ease forwards;
}

.service-tile:nth-child(2) {
  animation-delay: 80ms;
}

.service-tile:nth-child(3) {
  animation-delay: 160ms;
}

.service-tile:nth-child(4) {
  animation-delay: 240ms;
}

.service-tile img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-tile h2,
.service-tile p,
.service-tile a {
  margin: 0.85rem 0.9rem;
}

.content-card {
  padding: clamp(1rem, 2.2vw, 1.8rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
}

.estimate-form {
  display: grid;
  gap: 0.6rem;
}

.estimate-form label {
  display: grid;
  gap: 0.25rem;
  font-weight: 600;
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  border: 1px solid #c6bba6;
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

.form-stub {
  margin-top: 1rem;
  background: #f1ece0;
  border: 1px solid #dacdb4;
  border-radius: 10px;
  padding: 0.75rem;
  white-space: pre-wrap;
  font-size: 0.85rem;
  color: #4a534d;
}

.content-image {
  border-radius: 10px;
  margin-top: 1rem;
  max-height: 470px;
  object-fit: cover;
}

.clean-list {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-card {
  border: 0;
  border-radius: 11px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 11, 0.85);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(95vw, 1100px);
  max-height: 83vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  min-width: 42px;
  cursor: pointer;
  background: #f5efe5;
}

.site-footer {
  background: rgba(20, 24, 22, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6eee9;
  padding-top: 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer h2 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.site-footer p {
  margin: 0.3rem 0;
  color: #d4dfd8;
}

.site-footer a {
  color: #f4e5c4;
}

.footer-bottom {
  text-align: center;
  margin: 1rem 0 0;
  padding: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

@keyframes reveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 180px;
  }

  .mobile-cta-wrap {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    border: 0;
    background: transparent;
    color: #e4f2ec;
    font-weight: 700;
  }

  .site-menu {
    display: none;
    flex-direction: column;
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu a {
    justify-content: flex-start;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 48px;
  }

  .grid-4,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
