/*
Theme Name: AECS Theme
Theme URI: https://www.aecs-online.com
Author: American Environmental & Construction Services
Description: Custom WordPress theme for American Environmental & Construction Services, Inc.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: aecs
*/

/* ─── VARIABLES ───────────────────────────────────────────── */
:root {
  --forest:   #1a2332;
  --deep:     #0f1720;
  --mid:      #2e4057;
  --gold:     #b8943f;
  --gold-lt:  #d4ad5a;
  --cream:    #f4f1ec;
  --offwhite: #f9f8f6;
  --text:     #1c1c1c;
  --muted:    #606878;
  --border:   #e4dfd6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--offwhite);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--forest);
  color: rgba(244,237,224,.65);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-lt); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ─── HEADER / NAV ────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0dbd2;
  box-shadow: 0 2px 18px rgba(12,35,24,.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 2rem;
  gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .9rem; text-decoration: none;
}
.logo-mark {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--forest);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text {}
.logo-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: .01em;
}
.logo-sub {
  display: block;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-img-wrap { padding: .25rem 0; flex-shrink: 0; }
.logo-img-full {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Desktop Nav */
nav.desktop-nav { display: flex; align-items: center; gap: .25rem; }
nav.desktop-nav a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: .5rem .85rem;
  border-radius: 4px;
  letter-spacing: .02em;
  transition: background .18s, color .18s;
}
nav.desktop-nav a:hover,
nav.desktop-nav a.active { background: var(--cream); color: var(--forest); }
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: 5px !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* ─── MOBILE NAV OVERLAY ──────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--forest);
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.mobile-nav-header .m-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 1rem; color: var(--cream);
}
.mobile-nav-header .m-logo-sub {
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(244,241,236,.4);
}
.mobile-nav-close {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08); border: none; border-radius: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-close svg { width: 18px; height: 18px; stroke: rgba(244,241,236,.8); }
.mobile-nav-links {
  display: flex; flex-direction: column;
  padding: .8rem 1rem;
  flex: 1;
}
.mobile-nav-links a {
  font-size: 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: rgba(244,241,236,.78);
  text-decoration: none;
  padding: .9rem .8rem;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: .6rem;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: rgba(255,255,255,.07); color: var(--gold-lt);
}
.mobile-nav-links a.m-cta {
  background: var(--gold); color: #fff !important;
  margin-top: 1rem; justify-content: center;
  border-radius: 8px; border-bottom: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 600; letter-spacing: .03em;
}
.mobile-nav-links a.m-cta:hover { background: var(--gold-lt); }
.mobile-nav-contact {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.mobile-nav-contact a {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(244,241,236,.5); text-decoration: none; font-size: .83rem;
  margin-bottom: .45rem;
}
.mobile-nav-contact a:last-child { margin-bottom: 0; }
.mobile-nav-contact svg { width: 14px; height: 14px; stroke: var(--gold); flex-shrink: 0; }

/* Hamburger button */
.menu-toggle {
  display: none; background: none; border: 1px solid #e4dfd6;
  border-radius: 7px; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; padding: 0;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--forest); border-radius: 2px;
  transition: all .25s;
}

/* ─── HERO (Homepage) ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,23,32,.92) 0%, rgba(46,64,87,.78) 55%, rgba(15,23,32,.88) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Crect fill='%230f1720' width='800' height='600'/%3E%3Cg opacity='.15'%3E%3Ccircle cx='200' cy='150' r='200' fill='%231e2d42'/%3E%3Ccircle cx='600' cy='400' r='260' fill='%23253348'/%3E%3Ccircle cx='700' cy='100' r='120' fill='%23344d6a'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .35;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(184,148,63,.18);
  border: 1px solid rgba(184,148,63,.35);
  border-radius: 99px;
  color: var(--gold-lt);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.13;
  letter-spacing: -.01em;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-desc {
  color: rgba(244,237,224,.78);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(244,237,224,.15);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244,237,224,.55);
  margin-top: .3rem;
}
.hero-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 2.2rem;
}
.hero-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.service-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  color: rgba(244,237,224,.82);
  font-size: .92rem;
  line-height: 1.5;
}
.service-list li .icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(184,148,63,.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-top: .05rem;
}
.service-list li .icon svg { width: 14px; height: 14px; stroke: var(--gold-lt); }
.hero-card-cta {
  margin-top: 1.6rem;
  display: block;
  background: var(--gold);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .8rem;
  border-radius: 7px;
  transition: background .2s;
}
.hero-card-cta:hover { background: var(--gold-lt); }

/* ─── TRUST BAND ──────────────────────────────────────────── */
.trust-band {
  background: var(--forest);
  color: rgba(244,237,224,.65);
  padding: 1.4rem 2rem;
}
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .65rem;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.trust-item svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; }
.trust-divider { color: rgba(255,255,255,.18); font-size: 1.2rem; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .85rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid rgba(244,237,224,.4);
  color: rgba(244,237,224,.9);
  font-size: .9rem;
  font-weight: 500;
  padding: .85rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(244,237,224,.7); background: rgba(255,255,255,.06); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  padding: .85rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline-dark:hover { border-color: var(--gold); background: var(--cream); }

/* ─── SECTION COMMONS ─────────────────────────────────────── */
section { padding: 5.5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: .9rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin-top: .7rem;
}

/* ─── SERVICES (Homepage) ─────────────────────────────────── */
.services { background: #fff; }
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  border: 1px solid #e8e2d8;
  border-radius: 10px;
  padding: 2rem 1.8rem;
  background: var(--offwhite);
  transition: box-shadow .22s, transform .22s, border-color .22s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .9rem;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(12,35,24,.1);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.service-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--forest), var(--mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 22px; height: 22px; stroke: #fff; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
}
.service-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
}
.service-link svg { width: 12px; height: 12px; stroke: currentColor; transition: transform .2s; }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ─── ABOUT (Homepage) ────────────────────────────────────── */
.about { background: var(--offwhite); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-visual { position: relative; }
.about-visual-main {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--deep) 0%, var(--mid) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual-main svg { width: 120px; height: 120px; opacity: .18; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(184,148,63,.35);
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .9;
  margin-top: .3rem;
}
.about-content { padding-left: 1rem; }
.about-content .section-title { margin-bottom: 1.2rem; }
.about-body { color: var(--muted); font-size: .97rem; line-height: 1.78; margin-bottom: 1.4rem; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.about-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .9rem; color: var(--text);
}
.about-list li::before {
  content: '';
  display: block;
  width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b8943f' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: .15rem;
}

/* ─── PROJECTS (Homepage) ─────────────────────────────────── */
.projects { background: var(--forest); }
.projects .section-label { color: var(--gold-lt); }
.projects .section-label::before { background: var(--gold-lt); }
.projects .section-title { color: var(--cream); }
.projects .section-sub { color: rgba(244,237,224,.55); }
.projects-head { margin-bottom: 3rem; }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.project-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 1.8rem;
  transition: background .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.project-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(184,148,63,.4);
}
.project-tag {
  display: inline-block;
  background: rgba(184,148,63,.2);
  color: var(--gold-lt);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.project-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: .6rem;
}
.project-card p { font-size: .86rem; color: rgba(244,237,224,.55); line-height: 1.6; }

/* ─── CONTACT (Homepage) ──────────────────────────────────── */
.contact { background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--cream);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--forest); }
.contact-item-label {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.contact-item-value { font-size: .97rem; color: var(--text); font-weight: 500; }
.contact-item-value a { color: inherit; text-decoration: none; }
.contact-item-value a:hover { color: var(--mid); }

/* Contact form */
.contact-form-wrap {
  background: var(--offwhite);
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  padding: 2.5rem;
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 1.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: #fff;
  border: 1px solid #ddd7cc;
  border-radius: 6px;
  padding: .7rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(30,92,58,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  margin-top: .5rem;
}
.form-submit:hover { background: var(--mid); }
.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.form-status {
  padding: .75rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.45;
  margin-bottom: .5rem;
}
.form-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-error   { background: #fbe9e7; color: #c62828; border: 1px solid #ef9a9a; }
.required { color: #c62828; }
.recaptcha-notice {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .75rem;
  line-height: 1.5;
}
.recaptcha-notice a { color: var(--muted); text-decoration: underline; }

/* ─── PAGE HERO (Inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  padding: 4rem 2rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4; pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem;
  color: rgba(244,241,236,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold-lt); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .4; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.page-hero p {
  color: rgba(244,241,236,.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 58ch;
  margin-top: .7rem;
}

/* ─── PAGE CONTENT AREA ───────────────────────────────────── */
.page-content {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--forest);
  color: rgba(244,237,224,.6);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.8rem;
}
.footer-brand .logo-name { color: var(--cream); font-size: 1rem; }
.footer-brand .logo-sub { color: rgba(244,237,224,.4); }
.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(244,237,224,.5);
  margin-top: 1rem;
  max-width: 28ch;
}
.footer-col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  color: rgba(244,237,224,.5);
  text-decoration: none;
  font-size: .86rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .78rem;
}
.footer-bottom a { color: rgba(244,237,224,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ─── ABOUT PAGE ──────────────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 4rem; }
.about-intro-text p { color: var(--muted); font-size: .97rem; line-height: 1.8; margin-bottom: 1rem; }
.founders-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.founders-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--forest); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.founder-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid #f0ece6; }
.founder-item:last-child { border-bottom: none; }
.founder-avatar { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--forest), var(--mid)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,.7); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; }
.founder-name { font-weight: 600; font-size: .92rem; color: var(--forest); }
.founder-role { font-size: .8rem; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3.5rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem; text-align: center; }
.stat-card .stat-num { color: var(--gold); }
.stat-card .stat-label { color: var(--muted); margin-top: .4rem; }

/* Accordion panels */
.section-panels { display: flex; flex-direction: column; gap: 0; }
.panel { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; background: #fff; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.6rem; cursor: pointer; gap: 1rem; user-select: none; }
.panel-header:hover { background: var(--offwhite); }
.panel-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--forest); }
.panel-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.panel-icon svg { width: 14px; height: 14px; stroke: var(--gold); transition: transform .25s; }
.panel.open .panel-icon { background: var(--gold); }
.panel.open .panel-icon svg { stroke: #fff; transform: rotate(45deg); }
.panel-body { display: none; padding: 0 1.6rem 1.6rem; }
.panel.open .panel-body { display: block; }
.panel-body p { color: var(--muted); font-size: .93rem; line-height: 1.8; margin-bottom: .8rem; }
.panel-body p:last-child { margin-bottom: 0; }
.panel-body ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin: .5rem 0; }
.panel-body ul li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--text); line-height: 1.5; }
.panel-body ul li::before { content: ''; display: block; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b8943f' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center/contain no-repeat; margin-top: .15rem; }
.values-table { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.values-table th { text-align: left; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: .5rem .8rem; background: var(--offwhite); border-bottom: 1px solid var(--border); }
.values-table td { padding: .8rem; font-size: .9rem; color: var(--text); border-bottom: 1px solid #f0ece6; vertical-align: top; line-height: 1.6; }
.values-table td:first-child { font-weight: 600; color: var(--forest); white-space: nowrap; width: 110px; }
.values-table tr:last-child td { border-bottom: none; }
.customers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; margin-top: .8rem; }
.customer-chip { background: var(--offwhite); border: 1px solid var(--border); border-radius: 6px; padding: .5rem .9rem; font-size: .82rem; color: var(--text); text-align: center; }

/* ─── SERVICES PAGE ───────────────────────────────────────── */
.services-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.services-nav { position: sticky; top: 80px; }
.services-nav-title { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.services-nav ul { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.services-nav ul li a { display: block; padding: .5rem .8rem; font-size: .86rem; color: var(--muted); text-decoration: none; border-radius: 6px; border-left: 2px solid transparent; transition: all .18s; line-height: 1.4; }
.services-nav ul li a:hover { background: var(--cream); color: var(--forest); border-left-color: var(--gold); }
.services-nav ul li a.active { background: var(--cream); color: var(--forest); border-left-color: var(--gold); font-weight: 500; }
.service-entry { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.service-entry:last-child { border-bottom: none; margin-bottom: 0; }
.service-entry-header { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.2rem; }
.service-entry-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--forest), var(--mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-entry-icon svg { width: 24px; height: 24px; stroke: #fff; }
.service-entry h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--forest); line-height: 1.2; padding-top: .25rem; }
.service-entry p { color: var(--muted); font-size: .93rem; line-height: 1.8; margin-bottom: .8rem; }
.service-entry p:last-child { margin-bottom: 0; }
.overview-box { background: var(--forest); color: rgba(244,241,236,.8); border-radius: 12px; padding: 2.2rem; margin-bottom: 3.5rem; }
.overview-box h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.overview-box p { font-size: .93rem; line-height: 1.8; margin-bottom: .8rem; }
.overview-box p:last-child { margin-bottom: 0; }
.overview-box a { color: var(--gold-lt); }

/* ─── PROJECTS PAGE ───────────────────────────────────────── */
.projects-page .projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.projects-page .project-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.projects-page .project-card:hover { box-shadow: 0 8px 32px rgba(15,23,32,.1); transform: translateY(-3px); }
.project-card-visual { height: 140px; background: linear-gradient(135deg, var(--forest), var(--mid)); display: flex; align-items: center; justify-content: center; position: relative; }
.project-card-visual svg { width: 52px; height: 52px; opacity: .2; }
.project-card-visual .project-tag { position: absolute; top: .9rem; left: .9rem; background: var(--gold); color: #fff; }
.project-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--forest); margin-bottom: .6rem; line-height: 1.3; }
.project-card-body p { font-size: .87rem; color: var(--muted); line-height: 1.65; flex: 1; }
.project-card-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }
.project-card-link svg { width: 12px; height: 12px; stroke: currentColor; transition: transform .2s; }
.project-card:hover .project-card-link svg { transform: translateX(3px); }
.cta-band { background: var(--forest); border-radius: 14px; padding: 3rem; text-align: center; color: rgba(244,241,236,.7); margin-top: 4rem; }
.cta-band h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #fff; margin-bottom: .8rem; }
.cta-band p { max-width: 50ch; margin: 0 auto 1.8rem; font-size: .95rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── REAL ESTATE PAGE ────────────────────────────────────── */
.listing-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.listing-visual { background: linear-gradient(145deg, var(--forest), var(--mid)); border-radius: 14px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.listing-visual svg { width: 100px; height: 100px; opacity: .15; }
.listing-badge { position: absolute; top: 1.2rem; left: 1.2rem; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 99px; }
.listing-info .section-title { margin-bottom: 1rem; }
.listing-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.listing-tag { display: flex; align-items: center; gap: .4rem; background: var(--cream); border: 1px solid var(--border); border-radius: 6px; padding: .4rem .9rem; font-size: .84rem; color: var(--text); }
.listing-tag svg { width: 14px; height: 14px; stroke: var(--gold); }
.listing-desc { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1.8rem; }
.services-callout { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; margin-bottom: 3rem; }
.services-callout h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--forest); margin-bottom: 1rem; }
.services-callout p { color: var(--muted); font-size: .93rem; line-height: 1.8; margin-bottom: 1rem; }
.callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.callout-item { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--text); line-height: 1.5; }
.callout-item::before { content: ''; display: block; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b8943f' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center/contain no-repeat; margin-top: .15rem; }
.contact-cta { background: var(--forest); border-radius: 14px; padding: 3rem; text-align: center; color: rgba(244,241,236,.7); }
.contact-cta h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #fff; margin-bottom: .8rem; }
.contact-cta p { max-width: 50ch; margin: 0 auto 1.8rem; font-size: .95rem; line-height: 1.7; }
.contact-cta .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── LINKS PAGE ──────────────────────────────────────────── */
.links-section { margin-bottom: 3rem; }
.links-section-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--forest); margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.link-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1.3rem; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s, transform .2s; }
.link-card:hover { box-shadow: 0 6px 24px rgba(15,23,32,.08); border-color: var(--gold); transform: translateY(-2px); }
.link-icon { width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, var(--forest), var(--mid)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.link-icon svg { width: 20px; height: 20px; stroke: #fff; }
.link-name { font-weight: 600; font-size: .95rem; color: var(--forest); margin-bottom: .3rem; }
.link-desc { font-size: .84rem; color: var(--muted); line-height: 1.55; margin-bottom: .5rem; }
.link-url { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.link-url svg { width: 11px; height: 11px; stroke: currentColor; }

/* ─── PROJECT DETAIL (content + sidebar) ──────────────────── */
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.main-content {}
.prose { color: var(--muted); font-size: .95rem; line-height: 1.85; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--forest); margin: 2rem 0 .8rem; }
.prose p { margin-bottom: 1rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin: .5rem 0 1rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--text); line-height: 1.5; }
.check-list li::before { content: ''; display: block; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b8943f' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center/contain no-repeat; margin-top: .15rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero-tag { background: rgba(184,148,63,.18); border: 1px solid rgba(184,148,63,.3); color: var(--gold-lt); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 99px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.sidebar-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--forest); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.sidebar-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.sidebar-card .btn-primary { width: 100%; justify-content: center; margin-bottom: .6rem; }
.sidebar-card .btn-outline-dark { width: 100%; justify-content: center; }
.sidebar-stat { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid #f0ece6; font-size: .88rem; }
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-label { color: var(--muted); }
.sidebar-stat-val { color: var(--forest); font-weight: 600; }
.related-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.related-list li a { display: flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-size: .88rem; padding: .4rem 0; transition: color .2s; }
.related-list li a:hover { color: var(--gold); }
.related-list li a::before { content: '→'; color: var(--gold); font-size: .9rem; }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow  { animation: fadeUp .6s ease both; animation-delay: .1s; opacity: 0; }
.hero h1       { animation: fadeUp .6s ease both; animation-delay: .22s; opacity: 0; }
.hero-desc     { animation: fadeUp .6s ease both; animation-delay: .34s; opacity: 0; }
.hero-actions  { animation: fadeUp .6s ease both; animation-delay: .46s; opacity: 0; }
.hero-stats    { animation: fadeUp .6s ease both; animation-delay: .58s; opacity: 0; }
.hero-card     { animation: fadeUp .65s ease both; animation-delay: .4s;  opacity: 0; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .header-inner { padding: .75rem 1.2rem; }
  nav.desktop-nav a:not(.nav-cta) { font-size: .8rem; padding: .45rem .65rem; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  nav.desktop-nav { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .logo-img-full { height: 40px; }
  /* hero */
  .hero-inner { grid-template-columns: 1fr !important; padding: 4rem 1.25rem 3rem !important; gap: 2rem !important; }
  .hero-card { display: none !important; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  /* about */
  .about-grid { grid-template-columns: 1fr !important; gap: 2.5rem; }
  .about-content { padding-left: 0 !important; }
  .about-badge { right: 0 !important; bottom: -1rem !important; }
  /* projects */
  .projects-grid { grid-template-columns: 1fr !important; }
  /* contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 2.5rem; }
  /* services sidebar */
  .services-layout { grid-template-columns: 1fr !important; }
  .services-nav { display: none !important; }
  /* about intro */
  .about-intro { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  /* listing */
  .listing-feature { grid-template-columns: 1fr !important; gap: 2rem; }
  .callout-grid { grid-template-columns: 1fr !important; }
  /* content + sidebar */
  .content-grid { grid-template-columns: 1fr !important; }
  /* footer */
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 2rem; }
  /* general spacing */
  section { padding: 3.5rem 1.25rem !important; }
  .page-content { padding: 2.5rem 1.25rem 3.5rem !important; }
  .page-hero { padding: 2.8rem 1.25rem 2.5rem !important; }
  .hero { min-height: auto !important; }
  .trust-band { padding: 1.2rem 1.25rem; }
  .trust-inner { gap: 1.2rem; flex-wrap: wrap; justify-content: flex-start; }
  .trust-divider { display: none; }
  .cta-band, .contact-cta { padding: 2rem 1.25rem !important; }
  .overview-box { padding: 1.6rem !important; }
  .contact-form-wrap { padding: 1.5rem !important; }
  .form-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .logo-sub { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  .footer-top { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 2rem !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .projects-grid { grid-template-columns: 1fr !important; }
}
