/* ============================================================
   FRESH EDGE LAWN CARE — LUXURY DESIGN SYSTEM
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&family=Raleway:wght@300;400;600;700&display=swap');

/* ── CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  /* Colors */
  --black:        #000000;
  --near-black:   #0a0a0a;
  --dark:         #111111;
  --card:         #161616;
  --card-hover:   #1c1c1c;
  --border:       #202020;
  --border-light: #2a2a2a;

  --green-deep:   #2d5016;
  --green:        #45a049;
  --green-light:  #6ab04c;
  --green-glow:   rgba(69, 160, 73, 0.12);

  --gold:         #c8a951;
  --gold-light:   #e2c46e;
  --gold-glow:    rgba(200, 169, 81, 0.15);

  --white:        #ffffff;
  --off-white:    #f5f5f0;
  --gray-100:     #e8e8e8;
  --gray-400:     #888888;
  --gray-600:     #555555;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', -apple-system, sans-serif;
  --font-accent:  'Raleway', sans-serif;

  /* Spacing */
  --section-pad:  7rem;
  --container:    1400px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fast:         0.2s;
  --mid:          0.4s;
  --slow:         0.7s;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-100);
  background-color: var(--near-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITY ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-pad) 0; }

.section-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gray-400);
  max-width: 580px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.text-center .divider { margin: 0 auto 2rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(69, 160, 73, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 169, 81, 0.35);
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all var(--mid) var(--ease);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--fast) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-size: 0.78rem !important;
  transition: background var(--fast) var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--green-light) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--fast) var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(45,80,22,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
  animation: heroFadeUp 1.2s var(--ease) forwards;
  opacity: 0;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-location {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── LOGO BAR / STATS ─────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ── PORTFOLIO GRID ───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
}

.portfolio-item.tall { aspect-ratio: 3/4; }
.portfolio-item.wide { grid-column: span 2; aspect-ratio: 16/9; }

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.portfolio-item:hover img { transform: scale(1.07); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
}

/* Masonry gallery (portfolio page) */
.masonry-grid {
  columns: 3;
  column-gap: 1px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform var(--slow) var(--ease);
}

.masonry-item:hover img { transform: scale(1.05); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.overlay-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

/* Portfolio filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── SERVICE CARDS ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--card);
  padding: 3rem;
  transition: background var(--mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--mid) var(--ease);
}

.service-card:hover { background: var(--card-hover); }
.service-card:hover::before { width: 100%; }

.service-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color var(--mid) var(--ease);
}

.service-card:hover .service-number { color: var(--green-glow); }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--green);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--gray-400);
}

.service-feature::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--fast) var(--ease);
}

.service-link:hover { gap: 0.9rem; }
.service-link::after { content: '→'; }

/* Service with image (services page) */
.service-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--border);
  margin-bottom: 1px;
}

.service-with-image:nth-child(even) { direction: rtl; }
.service-with-image:nth-child(even) > * { direction: ltr; }

.service-image-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.service-with-image:hover .service-image-wrap img { transform: scale(1.05); }

.service-content {
  background: var(--card);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -3rem;
  right: -2rem;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--near-black);
}

.about-badge {
  position: absolute;
  top: 2rem;
  left: -2rem;
  background: var(--green-deep);
  border: 1px solid var(--green);
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.about-badge-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-value {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--green);
}

.about-value-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.about-value-text {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Service areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.area-card {
  background: var(--card);
  padding: 2rem;
  transition: background var(--fast) var(--ease);
}

.area-card:hover { background: var(--card-hover); }

.area-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.area-county {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--border);
}

.contact-info {
  background: var(--green-deep);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .section-title { font-size: 2.2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-detail:first-of-type { border-top: none; padding-top: 0; }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
}

.contact-detail-label {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.contact-detail-value a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--card);
  padding: 4rem;
}

/* ── FORM ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border-light);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--fast) var(--ease);
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-600);
}

.form-select option {
  background: var(--dark);
  color: var(--white);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  font-size: 0.78rem;
  color: #e05252;
  margin-top: 0.3rem;
  display: none;
}

.form-error.show { display: block; }

.form-success {
  display: none;
  padding: 1.2rem;
  background: rgba(69, 160, 73, 0.15);
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-success.show { display: block; }

/* ── BLOG ──────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.blog-card {
  background: var(--card);
  transition: background var(--mid) var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { background: var(--card-hover); }

.blog-card-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.8rem;
  flex: 1;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-read-more {
  color: var(--green);
  font-weight: 600;
  transition: color var(--fast) var(--ease);
}

.blog-card:hover .blog-read-more { color: var(--green-light); }

/* Blog post article */
.blog-hero {
  height: 60vh;
  min-height: 450px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-article h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-article h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 2rem 0 0.8rem;
}

.blog-article p {
  color: var(--gray-400);
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.85;
}

.blog-article ul,
.blog-article ol {
  margin: 1rem 0 1.5rem 1.8rem;
  color: var(--gray-400);
}

.blog-article li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.blog-article strong { color: var(--white); font-weight: 600; }

.blog-article blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(200, 169, 81, 0.06);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-brand-sub {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-contact-item a:hover { color: var(--gold); }

.footer-col-title {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color var(--fast) var(--ease);
}

.footer-links a:hover { color: var(--gold); }

.footer-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-area-tag {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-light);
  color: var(--gray-400);
  border-radius: 2px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray-600);
}

/* ── LIGHTBOX ──────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mid) var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  font-size: 1rem;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-caption {
  position: absolute;
  bottom: -2.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ── PAGE HEADER ───────────────────────────────────────────── */
.page-header {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--near-black) 50%, transparent 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 500px;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.testimonial-card {
  background: var(--card);
  padding: 2.5rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: var(--green-deep);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .about-split { gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-with-image { grid-template-columns: 1fr; }
  .service-with-image:nth-child(even) { direction: ltr; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 5rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .contact-split { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-badge { left: 1rem; }
  .about-img-accent { right: -1rem; }
  .masonry-grid { columns: 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--mid) var(--ease);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.9rem; }
  .hamburger { display: flex; z-index: 1000; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .masonry-grid { columns: 1; }
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .page-header { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .service-card { padding: 2rem; }
  .service-content { padding: 2rem; }
  .contact-info { padding: 2.5rem; }
  .contact-form-wrap { padding: 2.5rem; }
  .blog-card-body { padding: 1.5rem; }
  .areas-grid { grid-template-columns: 1fr; }
}
