:root {
  --ink: #101830;
  --muted: #617085;
  --paper: #fffdf8;
  --soft: #f3efe6;
  --line: #ded8cc;
  --green: #b88028;
  --gold: #b88028;
  --clay: #9a6828;
  --black: #201818;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(19, 34, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

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

input,
select,
textarea,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(222, 216, 204, 0.75);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(19, 34, 53, 0.08);
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), var(--green));
  color: var(--white);
  font-weight: 850;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(31, 117, 102, 0.24);
}

.brand-logo {
  width: auto;
  height: 50px;
  max-width: 230px;
  object-fit: contain;
}

.brand-logo-light {
  height: 96px;
  max-width: 220px;
}

.brand strong,
.admin-brand strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1;
}

.brand small,
.admin-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: var(--soft);
}

.header-call {
  display: grid;
  gap: 2px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.header-call span {
  color: var(--muted);
  font-size: 0.74rem;
}

.header-call strong {
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.flash {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 13px 16px;
  border-radius: 8px;
  background: #e9f6ef;
  color: #14553f;
  border: 1px solid #b9dec8;
}

.flash.error {
  background: #fff0ed;
  color: #963f2b;
  border-color: #efc4b6;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(34px, 6vw, 90px) clamp(18px, 5vw, 70px) 42px;
  background:
    linear-gradient(90deg, rgba(243, 239, 230, 0.94), rgba(255, 253, 248, 0.8)),
    radial-gradient(circle at 15% 0%, rgba(184, 128, 40, 0.18), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.96;
}

.hero-copy > p:not(.eyebrow),
.page-hero > p,
.detail-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.7;
}

.search-panel,
.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 12px;
  align-items: end;
  margin-top: 28px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 117, 102, 0.14);
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 117, 102, 0.24);
}

.btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.hero-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.hero-visual img,
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
}

.hero-card span {
  color: var(--clay);
  font-weight: 800;
  font-size: 0.78rem;
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.hero-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 70px);
  transform: translateY(-22px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats-band div {
  background: var(--white);
  padding: 24px;
}

.stats-band strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.split-section,
.cta-section,
.contact-grid,
.detail-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 28px);
}

.section.muted {
  max-width: none;
  background: var(--soft);
}

.section.muted > * {
  max-width: 1184px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2,
.split-section h2,
.cta-section h2,
.content-panel h2,
.contact-panel h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.section-head p,
.split-section p,
.cta-section p,
.contact-panel p,
.content-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.text-link {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.project-card,
.service-card,
.location-card,
.testimonial-card,
.content-panel,
.contact-panel,
.lead-form,
.empty-state,
.value-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-card {
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19, 34, 53, 0.08);
}

.service-card {
  overflow: hidden;
}

.project-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-media span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(19, 34, 53, 0.86);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
}

.project-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.project-body h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.project-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.project-facts,
.amenity-list,
.commitment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-facts span,
.amenity-list span,
.commitment-list span {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.project-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.project-actions strong {
  color: var(--clay);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.service-grid,
.services-page-grid,
.value-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.service-detail-card,
.testimonial-card,
.value-grid article {
  padding: 22px;
}

.service-card-image {
  width: calc(100% + 44px);
  height: 168px;
  margin: -22px -22px 18px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card span,
.service-detail-card span {
  color: var(--gold);
  font-weight: 900;
}

.service-card h3,
.service-detail-card h3,
.value-grid h3 {
  margin: 14px 0 8px;
}

.service-card p,
.service-detail-card p,
.testimonial-card p,
.value-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.services-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-height: 360px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 24, 48, 0.08);
}

.services-hero {
  background:
    linear-gradient(120deg, rgba(16, 24, 48, 0.92), rgba(16, 24, 48, 0.82)),
    url("../img/site-5.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.services-hero p,
.services-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.services-band {
  background: var(--ink);
  color: var(--white);
  max-width: none;
  padding-left: clamp(18px, 5vw, 70px);
  padding-right: clamp(18px, 5vw, 70px);
}

.services-band p,
.services-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.location-card {
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.location-card strong {
  display: block;
  font-size: 1.16rem;
}

.location-card span {
  display: inline-block;
  margin: 10px 0;
  color: var(--clay);
  font-weight: 800;
}

.location-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.testimonial-card strong {
  display: block;
  margin-top: 18px;
}

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

.cta-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.cta-section {
  margin-bottom: 54px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.cta-section p,
.cta-section .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-hero,
.detail-hero {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 70px);
  background: var(--soft);
}

.page-hero.compact {
  padding-bottom: clamp(36px, 5vw, 62px);
}

.filter-panel {
  grid-template-columns: 1.2fr repeat(3, 1fr) auto;
  margin: 0 0 22px;
  box-shadow: none;
}

.result-line {
  margin-bottom: 20px;
  color: var(--muted);
}

.result-line strong {
  color: var(--ink);
}

.empty-state {
  padding: 34px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.detail-price {
  margin-top: 18px;
  color: var(--clay);
  font-size: 1.4rem;
  font-weight: 900;
}

.detail-media {
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.detail-grid aside {
  position: sticky;
  top: 100px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fact-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.fact-grid strong {
  display: block;
  font-size: 1.05rem;
}

.content-panel {
  padding: 24px;
  margin-top: 16px;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.contact-panel {
  padding: 28px;
}

.contact-panel a {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.map-wrap {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  grid-row: span 2;
  color: var(--gold);
  font-weight: 900;
}

.timeline strong {
  font-size: 1.08rem;
}

.timeline p {
  margin: 5px 0 0;
}

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

.site-footer {
  min-height: 260px;
  padding: 28px clamp(18px, 5vw, 70px) 14px;
  background: #101830;
  color: var(--white);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.9fr 1fr;
  gap: 24px;
  max-width: 1184px;
  margin: 0 auto;
}

.footer-brand .brand-logo-light {
  height: 58px;
  max-width: 170px;
}

.footer-brand small,
.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 8px 0 0;
  max-height: 58px;
  overflow: hidden;
  line-height: 1.45;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1184px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
  }

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

  .header-call {
    display: none;
  }

  .hero,
  .detail-hero,
  .split-section,
  .cta-section,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid aside {
    position: static;
  }

  .project-grid,
  .location-grid,
  .testimonial-grid,
  .services-page-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-panel .btn {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.4rem);
  }

  .hero-visual,
  .detail-media {
    min-height: 320px;
  }

  .search-panel,
  .filter-panel,
  .stats-band,
  .project-grid,
  .service-grid,
  .services-page-grid,
  .location-grid,
  .testimonial-grid,
  .two-col,
  .fact-grid,
  .value-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .stats-band {
    transform: none;
    margin-top: 18px;
  }

  .section-head,
  .project-actions,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .filter-panel .btn {
    grid-column: auto;
  }

  .cta-section {
    border-radius: 0;
    margin-bottom: 0;
  }

  .site-footer {
    min-height: auto;
    overflow: visible;
  }
}
