/* ==========================================================================
   MK Fencing & Construction Services — client brand system
   Sourced from real research (Google Maps listing, verified 2026-09-03):
   a small, woman-owned (verified Google attribute) fence company founded
   2022, service-area business with no fixed address, 5.0 stars from 5
   reviews ("really cares about doing a good job," "honest, reliable, and
   easy to work with"). Real Google cover photo shows a modern horizontal
   cedar-plank fence with a black metal frame — that's the sourced palette
   here: warm cedar + charcoal/black metal + soft off-white. Modern,
   minimalist, service-area-first layout — deliberately distinct from
   Castillo's Fence's warmer, traditional, address-anchored system. See
   README for full sourcing.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --charcoal: #211f1c;
  --charcoal-deep: #151412;
  --charcoal-soft: #322f2a;
  --gold: #c98f4e;
  --gold-deep: #a06f34;
  --gold-bright: #dba86a;
  --off-white: #faf8f4;
  --off-white-deep: #f0ebe1;
  --ink: #221f1a;
  --ink-soft: #55503f;
  --white: #ffffff;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 14px;
  --shadow: 0 20px 44px -26px rgba(21, 20, 18, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body { margin: 0; font-family: var(--font-body); background: var(--off-white); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--charcoal); margin: 0; line-height: 1.2; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.eyebrow { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-deep); font-weight: 700; margin: 0 0 0.5rem; }
.eyebrow--light { color: var(--gold-bright); }

.section { padding: 4.6rem 0; }
.section__title { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.section__title--light { color: var(--off-white); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.94rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn--gold { background: var(--gold); color: var(--charcoal-deep); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn--big { font-size: 1.02rem; padding: 1rem 2rem; }
.btn--line { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--line:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn--line-dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn--line-dark:hover { background: var(--charcoal); color: var(--white); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--off-white); border-bottom: 1px solid var(--off-white-deep); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 24px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark { background: var(--charcoal); color: var(--gold); width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.brand__mark svg { width: 20px; height: 20px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--charcoal); line-height: 1.1; }
.brand__tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.site-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__links a:not(.site-nav__cta) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; display: none; }
.site-nav__cta { background: var(--charcoal); color: var(--gold) !important; padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.site-nav__cta:hover { background: var(--charcoal-soft); }

/* ---------- hero: modern split, chip row ---------- */
.hero { background: var(--off-white); padding: 3.4rem 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.chip { background: var(--white); border: 1px solid var(--off-white-deep); color: var(--charcoal); font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow); }
.hero__title { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 0.9rem; }
.hero__tagline { color: var(--ink-soft); font-size: 1.06rem; max-width: 36em; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.4rem; }
.hero__rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; }
.hero__stars { color: var(--gold-deep); letter-spacing: 0.1em; }
.hero__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.hero__photo img { width: 100%; height: 420px; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.68rem; color: var(--white); background: rgba(21,20,18,0.7); padding: 0.5rem 0.9rem; text-align: center; }

/* ---------- about + services list ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about p { color: var(--ink-soft); font-size: 1.02rem; }
.about__source { font-size: 0.82rem; }
.service-list { display: flex; flex-direction: column; gap: 0.9rem; }
.service-item { background: var(--off-white); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.service-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.service-item p { color: var(--ink-soft); font-size: 0.92rem; }
.services__note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---------- texture strip photo ---------- */
.texture-photo { margin: 0; position: relative; height: 220px; overflow: hidden; }
.texture-photo img { width: 100%; height: 100%; object-fit: cover; }
.texture-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.68rem; color: var(--white); background: rgba(21,20,18,0.65); padding: 0.4rem 1rem; text-align: center; }

/* ---------- service area: charcoal panel, no address ---------- */
.area { background: var(--charcoal); }
.area__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.area__text { color: rgba(250,248,244,0.85); font-size: 1.02rem; max-width: 36em; }
.area__badge { background: var(--charcoal-soft); border: 1px solid rgba(201,143,78,0.4); border-radius: var(--radius); padding: 2rem; text-align: center; }
.area__badge-icon { color: var(--gold); display: inline-flex; margin-bottom: 0.6rem; }
.area__badge-icon svg { width: 40px; height: 40px; }
.area__badge-text { display: block; font-family: var(--font-display); font-weight: 700; color: var(--off-white); font-size: 1.15rem; }
.area__badge-sub { display: block; font-size: 0.78rem; color: rgba(250,248,244,0.6); margin-top: 0.4rem; }

/* ---------- reviews ---------- */
.reviews { background: var(--off-white); }
.reviews__grid { display: grid; grid-template-columns: 240px 1fr; gap: 2.8rem; align-items: center; margin-top: 2rem; }
.rating-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow); }
.rating-card__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
.rating-card__stars { color: var(--gold-deep); font-size: 1.15rem; letter-spacing: 0.12em; margin-top: 0.5rem; }
.rating-card__count { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }
.reviews__copy p { color: var(--ink-soft); font-size: 1.02rem; }
.reviews__copy .btn { margin: 0.6rem 0; }
.reviews__source { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---------- contact ---------- */
.contact { background: var(--charcoal-deep); color: var(--white); text-align: center; padding: 4.6rem 0; }
.contact h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.contact__lede { color: rgba(255,255,255,0.85); max-width: 34em; margin: 0 auto 1.8rem; }
.contact__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.contact__meta { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-top: 1.2rem; }

/* ---------- footer ---------- */
.footer { background: var(--charcoal-deep); color: rgba(255,255,255,0.6); text-align: center; padding: 1.6rem 0; font-size: 0.86rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- responsive ---------- */
@media (min-width: 760px) { .site-nav__links a:not(.site-nav__cta) { display: inline; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .area__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 620px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__photo img { height: 300px; }
}
