/* ==========================================================================
   Mackay's Landscaping — design system
   Deep forest green · warm gold · warm cream · Playfair Display / DM Sans
   ========================================================================== */

:root {
  --forest:   #14311f;
  --forest-2: #1b3a2d;
  --green:    #2f6b43;
  --green-deep:#0f2417;
  --green-soft:#e9efe6;
  --gold:     #c8922a;
  --gold-2:   #ac7b1d;
  --gold-light:#e4c37c;
  --cream:    #f6f1e3;
  --cream-2:  #fbf8f0;
  --paper:    #ffffff;
  --ink:      #1b2620;
  --muted:    #59685d;
  --line:     rgba(20, 49, 31, .12);
  --line-2:   rgba(20, 49, 31, .08);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1180px;
  --radius:   14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 40, 25, .06);
  --shadow:    0 18px 44px -20px rgba(17, 40, 24, .35);
  --shadow-lg: 0 40px 80px -32px rgba(15, 36, 23, .5);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }

section { position: relative; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-tint  { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.centered::after { content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }
.section-head.center .eyebrow { justify-content: center; }

.lead { font-size: 1.14rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: #22160a;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(176, 125, 30, .6); }
.btn-gold { background: var(--gold); color: #241708; }
.btn-gold:hover { background: var(--gold-light); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); box-shadow: 0 16px 30px -14px rgba(20,49,31,.6); }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline-dark { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline-dark:hover { background: var(--forest); color: #fff; box-shadow: none; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
.textlink svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; transition: color .35s; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold-light); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.32rem; line-height: .92; letter-spacing: .01em; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-sans); font-weight: 600; font-size: .58rem; letter-spacing: .34em; opacity: .8; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 9px 15px; border-radius: 8px;
  color: rgba(255,255,255,.9); font-weight: 500; font-size: .96rem;
  transition: color .25s, background .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .95rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--gold-light); }

.nav-toggle { display: none; width: 46px; height: 46px; color: #fff; margin-left: auto; position: relative; }
.nav-toggle svg { width: 26px; height: 26px; position: absolute; inset: 10px; transition: opacity .25s, transform .3s; }
.nav-toggle-close { opacity: 0; transform: rotate(-90deg); }

/* scrolled state */
.site-header.scrolled { background: rgba(251, 248, 240, .93); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -14px rgba(20,49,31,.4); }
.site-header.scrolled .brand { color: var(--forest); }
.site-header.scrolled .brand-mark { color: var(--gold-2); }
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-phone { color: var(--forest); }
.site-header.scrolled .nav-phone svg { color: var(--gold-2); }
.site-header.scrolled .nav-toggle { color: var(--forest); }
.site-header.hide { transform: translateY(-100%); }

/* mobile menu */
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    display: block; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--forest); padding: 18px 24px 28px; border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 14px 6px; color: rgba(255,255,255,.92); font-weight: 500; font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,.09); }
  .mobile-menu nav a[aria-current] { color: var(--gold-light); }
  .mobile-menu .btn { margin-top: 20px; }
  .mobile-call { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: #fff; font-weight: 600; }
  .mobile-call svg { width: 19px; height: 19px; color: var(--gold-light); }
  body.menu-open .nav-toggle-open { opacity: 0; transform: rotate(90deg); }
  body.menu-open .nav-toggle-close { opacity: 1; transform: rotate(0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12,28,18,.92) 0%, rgba(14,32,20,.72) 42%, rgba(15,36,23,.35) 100%),
    linear-gradient(0deg, rgba(10,24,15,.6), transparent 45%);
}
.hero-inner { max-width: 730px; position: relative; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero h1 { color: #fff; margin: 20px 0 22px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero p { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 600px; }
.hero .btn-row { margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255,255,255,.88); font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-light); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats { background: var(--forest); color: #fff; position: relative; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; }
.stat { text-align: center; position: relative; padding: 6px 12px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,.14); }
.stat-num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.3rem); color: var(--gold-light); line-height: 1; }
.stat-label { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.82); letter-spacing: .02em; }

/* ==========================================================================
   About (split)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; z-index: 1; aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-media::before { content: ""; position: absolute; inset: -18px -18px 24px 24px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; }
.about-badge { position: absolute; z-index: 2; right: -18px; bottom: 26px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 240px; }
.about-badge .ab-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.about-badge .ab-mark svg { width: 26px; height: 26px; }
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--forest); }
.about-badge small { color: var(--muted); font-size: .85rem; }

.about-copy h2 { margin: 16px 0 20px; }
.about-copy p + p { margin-top: 16px; }
.about-copy .btn-row { margin-top: 30px; }
.checklist { display: grid; gap: 12px; margin: 26px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; padding: 3px; background: var(--green-soft); border-radius: 50%; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-icon { position: absolute; left: 18px; bottom: -26px; width: 56px; height: 56px; border-radius: 15px; background: var(--paper); color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.card-icon svg { width: 30px; height: 30px; }
.card-body { padding: 40px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: .98rem; flex: 1; }
.card-body .textlink { margin-top: 18px; }

/* icon-only service tiles (services page extras) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.tile-icon svg { width: 28px; height: 28px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { font-size: .95rem; }

/* ==========================================================================
   Why us (forest section)
   ========================================================================== */
.section-forest { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.section-forest::before { content: ""; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(200,146,42,.14), transparent 62%); }
.section-forest h2 { color: #fff; }
.section-forest .eyebrow { color: var(--gold-light); }
.section-forest .eyebrow::before, .section-forest .eyebrow.centered::after { background: var(--gold-light); }
.section-forest .section-head p { color: rgba(255,255,255,.82); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.feature { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px 26px; transition: background .3s, transform .3s var(--ease); }
.feature:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.feature-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(200,146,42,.16); color: var(--gold-light); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { color: #fff; font-size: 1.28rem; margin-bottom: 8px; }
.feature p { color: rgba(255,255,255,.78); font-size: .96rem; }

/* ==========================================================================
   Service areas
   ========================================================================== */
.areas-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.area-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; font-weight: 500; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.area-chip:hover { transform: translateY(-3px); border-color: var(--gold); }
.area-chip svg { width: 17px; height: 17px; color: var(--green); }
.area-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.area-visual img { width: 100%; height: 100%; object-fit: cover; }
.area-visual .badge-float { position: absolute; left: 22px; bottom: 22px; background: rgba(20,49,31,.86); backdrop-filter: blur(6px); color: #fff; border-radius: var(--radius); padding: 16px 20px; }
.area-visual .badge-float strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold-light); }
.area-visual .badge-float span { font-size: .86rem; color: rgba(255,255,255,.85); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { background: var(--paper); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); position: relative; display: flex; flex-direction: column; }
.quote-mark { color: var(--gold); opacity: .9; margin-bottom: 14px; }
.quote-mark svg { width: 40px; height: 30px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--forest); flex: 1; }
.quote-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; flex: none; }
.quote-author strong { display: block; color: var(--ink); }
.quote-author small { color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: linear-gradient(120deg, var(--forest), var(--green-deep)); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 20%, rgba(200,146,42,.2), transparent 45%); }
.cta-inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #fff; margin: 16px 0 18px; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.12rem; }
.cta-inner .eyebrow { color: var(--gold-light); justify-content: center; }
.cta-inner .eyebrow::before { background: var(--gold-light); }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; margin: 34px 0 6px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.1rem; }
.cta-contacts .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(200,146,42,.18); color: var(--gold-light); display: grid; place-items: center; }
.cta-contacts .ico svg { width: 22px; height: 22px; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.72); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: var(--gold-light); }
.footer-brand p { margin: 18px 0 22px; font-size: .96rem; color: rgba(255,255,255,.66); max-width: 320px; }
.footer-col h3 { color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; font-size: .96rem; color: rgba(255,255,255,.7); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .86rem; color: rgba(255,255,255,.5); }

/* floating call btn (mobile) */
.floating-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #241708; display: none; place-items: center; box-shadow: 0 12px 28px -8px rgba(176,125,30,.7); }
.floating-call svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .floating-call { display: grid; } }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { background: var(--forest); color: #fff; padding: 150px 0 70px; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 0%, rgba(200,146,42,.16), transparent 50%); }
.page-hero .eyebrow { color: var(--gold-light); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold-light); }
.page-hero h1 { color: #fff; margin: 18px 0 16px; }
.page-hero p { color: rgba(255,255,255,.84); max-width: 640px; margin: 0 auto; font-size: 1.12rem; position: relative; }
.breadcrumb { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 22px; font-size: .86rem; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ==========================================================================
   Services page — detailed rows
   ========================================================================== */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 100px; }
.svc-row:last-child { border-bottom: none; }
.svc-row.reverse .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .svc-num { position: absolute; top: 18px; left: 18px; width: 46px; height: 46px; border-radius: 12px; background: rgba(20,49,31,.8); backdrop-filter: blur(4px); color: var(--gold-light); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; }
.svc-copy .svc-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.svc-copy .svc-ico svg { width: 30px; height: 30px; }
.svc-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 22px 0 26px; }
.svc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--ink); font-weight: 500; }
.svc-features svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 1px; padding: 2px; background: var(--green-soft); border-radius: 50%; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn { padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: .86rem; letter-spacing: .04em; color: var(--muted); background: var(--paper); border: 1px solid var(--line); transition: all .25s; }
.filter-btn:hover { border-color: var(--gold); color: var(--forest); }
.filter-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .4s var(--ease); }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,28,18,.9), rgba(12,28,18,.1) 55%, transparent); opacity: 0; transition: opacity .35s; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .g-cat { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.gallery-overlay h3 { color: #fff; font-size: 1.22rem; margin: 6px 0 2px; }
.gallery-overlay span { color: rgba(255,255,255,.8); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.gallery-overlay span svg { width: 14px; height: 14px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,18,11,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox-close svg { width: 26px; height: 26px; }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-family: var(--font-serif); font-style: italic; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 30px; }
.post-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .card-media { aspect-ratio: 16/9; }
.post-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .card-media img { transform: scale(1.06); }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-tag { color: var(--gold-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-body h2, .post-body h3 { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.2; }
.post-body p { font-size: .98rem; flex: 1; }
.post-body .textlink { margin-top: 18px; }

/* article */
.article { padding: 130px 0 40px; }
.article-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.article-head .post-meta { justify-content: center; }
.article-head h1 { margin: 14px 0 20px; }
.article-head .lead { font-size: 1.2rem; }
.article-hero { max-width: 1000px; margin: 0 auto 44px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/8; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-author { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.article-author .quote-avatar { width: 44px; height: 44px; }
.article-author strong { color: var(--ink); display: block; font-size: .96rem; }
.article-author small { color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: #3a463d; font-size: 1.08rem; }
.prose ul { margin: 0 0 22px; display: grid; gap: 11px; }
.prose ul li { position: relative; padding-left: 30px; color: #3a463d; font-size: 1.06rem; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200,146,42,.16); }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-sm); }
.prose figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 10px; font-style: italic; }
.callout { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 26px 0; }
.callout strong { color: var(--green); }
.callout p { margin: 4px 0 0; color: #33453a; }
.post-cta { max-width: 760px; margin: 44px auto 0; background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.post-cta h3 { color: #fff; margin-bottom: 10px; }
.post-cta p { color: rgba(255,255,255,.82); margin-bottom: 22px; }
.post-cta .btn-row { justify-content: center; }
.tag-row { max-width: 760px; margin: 36px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag-row .tag-label { font-weight: 600; color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.tag-pill { padding: 6px 14px; background: var(--green-soft); color: var(--green); border-radius: 100px; font-size: .85rem; font-weight: 500; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-methods { display: grid; gap: 16px; margin: 28px 0; }
.contact-method { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.contact-method:hover { transform: translateY(-3px); border-color: var(--gold); }
.contact-method .cm-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.contact-method .cm-ico svg { width: 26px; height: 26px; }
.contact-method small { display: block; color: var(--muted); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.contact-method strong { font-size: 1.14rem; color: var(--forest); font-family: var(--font-serif); }
.contact-card { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line-2); padding: clamp(28px, 4vw, 42px); }
.contact-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.contact-card > p { margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--forest); margin-bottom: 7px; }
.field label .req { color: var(--gold-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--ink);
  background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa79c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--paper); box-shadow: 0 0 0 4px rgba(200,146,42,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: var(--green-soft); color: var(--green); border: 1px solid rgba(47,107,67,.3); }
.form-status.error { background: #fbe9e7; color: #b3402e; border: 1px solid rgba(179,64,46,.3); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* map embed */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); margin-top: 10px; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(.9); }

/* ==========================================================================
   Owners (about)
   ========================================================================== */
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.owner-card { background: var(--paper); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.owner-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.owner-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(145deg, var(--green), var(--forest)); color: var(--gold-light); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; flex: none; box-shadow: var(--shadow-sm); }
.owner-head h3 { font-size: 1.5rem; margin-bottom: 2px; }
.owner-role { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.owner-card p { font-size: 1rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 4px; }
.value-icon { width: 56px; height: 56px; border-radius: 15px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.value-icon svg { width: 30px; height: 30px; }
.value h3 { font-size: 1.28rem; margin-bottom: 8px; }
.value p { font-size: .98rem; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards, .tiles, .feature-grid, .values-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 80px; }
  .nav-inner { height: 70px; }
  .mobile-menu { top: 70px; }
  .split, .areas-wrap, .contact-grid, .owners { grid-template-columns: 1fr; }
  .split.reverse .split-media, .svc-row.reverse .svc-media { order: 0; }
  .svc-row { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin-inline: auto; }
  .about-media::before { inset: -14px -14px 18px 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; padding: 44px 0; }
  .stat:nth-child(3)::before { display: none; }
  .cta-contacts { flex-direction: column; align-items: center; gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .tiles, .feature-grid, .values-grid, .quotes, .gallery-grid, .post-grid, .form-row, .svc-features { grid-template-columns: 1fr; }
  .container { padding-inline: 20px; }
  .hero { min-height: 88vh; padding-top: 110px; }
  .hero .btn-row .btn { flex: 1; }
  .btn { padding: 14px 22px; }
  .about-badge { position: static; margin-top: 20px; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
