/*
Theme Name: Deerwood Millwork
Theme URI: https://deerwoodmillwork.com
Author: Deerwood Custom Millwork
Description: Custom WordPress theme for Deerwood Millwork
Version: 1.0
License: Proprietary
Text Domain: deerwood
*/

:root {
  --green-deep: #2d4a35;
  --green-mid: #3d6b48;
  --green-light: #5a8c66;
  --green-muted: #c8d9cb;
  --grey-dark: #1e1e1e;
  --grey-mid: #4a4a4a;
  --grey-light: #8a8a8a;
  --grey-pale: #f2f2f0;
  --white: #fafaf8;
  --black: #111111;
  --gold: #b8965a;
  --border: rgba(45, 74, 53, 0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--grey-dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 88px;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.stacked-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-main {
  font-family: Georgia, serif;
  font-size: 26px;
  letter-spacing: 7px;
  color: #f4f4f4;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6fa06f;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green-light); }

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--green-deep);
  padding: 10px 24px;
  border: 1px solid var(--green-mid);
  transition: background 0.2s !important;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ─── HERO ─── */
#home {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide:nth-child(1) { background-size: cover; background-position: center; }
.hero-slide:nth-child(2) { background-image: url('images/hero3.webp'); background-size: cover; background-position: center; }
.hero-slide:nth-child(3) { background-image: url('images/bomb2.jpg'); background-size: cover; background-position: center; }
.hero-slide:nth-child(4) { background-image: url('images/hero5.webp'); background-size: cover; background-position: center; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 80px;
  max-width: 900px;
}

.hero-logo {
  width: 400px;
  max-width: 70vw;
  height: auto;
  display: block;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--green-light);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--green-deep);
  border: 1px solid var(--green-mid);
  padding: 16px 40px;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--green-mid); }

.btn-outline {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px 40px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--white); color: var(--white); }

.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 80px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--green-light);
  transform: scale(1.3);
}

/* ─── SECTIONS SHARED ─── */
section { position: relative; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-mid);
  flex-shrink: 0;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--grey-dark);
  margin-bottom: 24px;
}

.section-heading em { font-style: italic; color: var(--green-deep); }

.section-body {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--grey-mid);
  max-width: 640px;
}

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--green-deep);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.stat-visual {
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 28px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 7.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-num sup {
  font-size: 2.5rem;
  vertical-align: super;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ─── OUR WORK ─── */
#our-work {
  padding: 120px 0;
  background: var(--white);
}

.work-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.work-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 480px 400px;
  gap: 4px;
  margin-top: 0;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--grey-dark);
}

.work-card-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card:nth-child(1) { background: var(--grey-dark); }
.work-card:nth-child(2) { background: var(--grey-dark); }
.work-card:nth-child(3) { grid-column: 1 / -1; background: var(--grey-dark); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 50%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.work-card:hover .work-card-overlay { opacity: 1; }

.work-card-label { display: none; }

.work-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.work-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-top: 10px;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.img-placeholder svg {
  opacity: 0.25;
  width: 40px;
  height: 40px;
}

/* ─── GALLERY ─── */
#gallery {
  padding: 120px 0;
  background: var(--grey-pale);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(3),
.gallery-item:nth-child(8),
.gallery-item:nth-child(10) { grid-row: span 2; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover .gallery-img { transform: scale(1.06); }

.gallery-item:nth-child(1)  { background: linear-gradient(135deg, #2d4a35 0%, #1e3a28 100%); }
.gallery-item:nth-child(2)  { background: linear-gradient(135deg, #3d3d3d 0%, #1e1e1e 100%); }
.gallery-item:nth-child(3)  { background: linear-gradient(135deg, #1e3a28 0%, #3d6b48 100%); }
.gallery-item:nth-child(4)  { background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%); }
.gallery-item:nth-child(5)  { background: linear-gradient(135deg, #3d6b48 0%, #2d4a35 100%); }
.gallery-item:nth-child(6)  { background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%); }
.gallery-item:nth-child(7)  { background: linear-gradient(135deg, #1e3a28 0%, #2d4a35 100%); }
.gallery-item:nth-child(8)  { background: linear-gradient(135deg, #3d3d3d 0%, #3d6b48 100%); }
.gallery-item:nth-child(9)  { background: linear-gradient(135deg, #2d4a35 0%, #3d6b48 100%); }
.gallery-item:nth-child(10) { background: linear-gradient(135deg, #1e1e1e 0%, #3d3d3d 100%); }
.gallery-item:nth-child(11) { background: linear-gradient(135deg, #3d6b48 0%, #1e3a28 100%); }
.gallery-item:nth-child(12) { background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%); }
.gallery-item:nth-child(13) { background: linear-gradient(135deg, #2d4a35 0%, #1e1e1e 100%); }
.gallery-item:nth-child(14) { background: linear-gradient(135deg, #3d6b48 0%, #2d4a35 100%); }
.gallery-item:nth-child(15) { background: linear-gradient(135deg, #1e3a28 0%, #4a4a4a 100%); }
.gallery-item:nth-child(16) { background: linear-gradient(135deg, #2d4a35 0%, #3d3d3d 100%); }
.gallery-item:nth-child(17) { background: linear-gradient(135deg, #1e3a28 0%, #2a2a2a 100%); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 74, 53, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay { background: rgba(45, 74, 53, 0.5); }

.gallery-plus {
  width: 44px;
  height: 44px;
  border: 1px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
}

.gallery-item:hover .gallery-plus { opacity: 1; }

/* ─── ABOUT ─── */
#about {
  padding: 120px 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #2d4a35, #1e3a28);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text .section-body { max-width: 100%; margin-bottom: 32px; }

.team-section {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.team-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--grey-pale);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-photo-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 4px;
}

.team-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
}

/* ─── CONTACT ─── */
#contact {
  padding: 120px 0;
  background: var(--grey-dark);
}

#contact .section-label::before { background: #78bb8a; }
#contact .section-label { color: #78bb8a; }
#contact .section-heading { color: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
}

.contact-info-item {
  margin-bottom: 32px;
}

.contact-info-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}

.contact-info-value a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-value a:hover { color: var(--green-light); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-input,
.form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-textarea:focus { border-color: var(--green-light); }

.form-textarea { height: 140px; }

.btn-submit {
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-deep);
  border: 1px solid var(--green-mid);
  padding: 14px 40px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--green-mid); }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.footer-awmac {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--white); }

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

/* ─── MOBILE MENU ─── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 88px; left: 0; right: 0; bottom: 0;
  background: rgba(17,17,17,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--green-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1350px) {
  nav { padding: 0 28px; }
  .logo-sub { display: none; }
  .nav-links { gap: 20px; }
}

@media (max-width: 1280px) {
  .hero-logo { width: 300px; }
  .hero-content { padding: 0 56px 60px; }
  .hero-sub { font-size: 0.92rem; }
  .btn-primary, .btn-outline { padding: 13px 28px; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .work-intro { grid-template-columns: 1fr; gap: 40px; }
  .work-cards { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-card { aspect-ratio: 4/3; }
  .work-card:nth-child(3) { grid-column: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .work-card-overlay { opacity: 1; }

  nav { display: none; }
  .mobile-nav { display: none !important; }

  .hero-content { padding: 0 24px 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-logo { margin: 0 auto 32px; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-dots { display: none; }

  .section-inner { padding: 0 24px; }
  .section-heading { font-size: 2rem; }

  #our-work, #gallery, #about, #contact { padding: 80px 0; }

  .work-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stats-band { padding: 20px 0; }
  .stat-visual { height: 80px; margin-bottom: 16px; }
  .stat-visual img { height: 60px !important; width: auto; max-width: 90%; }
  .stat-num { font-size: 4.8rem; }
  .stat-num sup { font-size: 1.6rem; }
  .stat-label { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}

/* ─── CONTACT FORM 7 ─── */
.contact-form .wpcf7-form p { margin: 0 0 16px; }
.contact-form .wpcf7-form p:last-child { margin-bottom: 0; }
.contact-form .wpcf7-form .wpcf7-form-control-wrap { display: block; width: 100%; }

.contact-form .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form .wpcf7-form textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 14px 16px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  resize: none !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

.contact-form .wpcf7-form input:not([type="submit"]):focus,
.contact-form .wpcf7-form textarea:focus { border-color: var(--green-light) !important; }

.contact-form .wpcf7-form input::placeholder,
.contact-form .wpcf7-form textarea::placeholder { color: rgba(255,255,255,0.25) !important; }

.contact-form .wpcf7-form textarea { height: 140px !important; }

.contact-form .wpcf7-form input[type="submit"],
.contact-form .wpcf7-form button[type="submit"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--green-deep) !important;
  border: 1px solid var(--green-mid) !important;
  padding: 14px 40px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  border-radius: 0 !important;
  width: auto !important;
}

.contact-form .wpcf7-form input[type="submit"]:hover,
.contact-form .wpcf7-form button[type="submit"]:hover { background: var(--green-mid) !important; }

.contact-form .wpcf7-response-output {
  color: var(--green-light) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin: 8px 0 0 !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

/* ─── PRIVACY POLICY PAGE ─── */
.policy-page {
  padding: 160px 0 100px;
}

.policy-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
}

.policy-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.policy-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-mid);
  flex-shrink: 0;
}

.policy-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--grey-dark);
  margin-bottom: 48px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.policy-section p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--grey-mid);
  margin-bottom: 16px;
}

.policy-section p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .policy-inner { padding: 0 24px; }
  .policy-page { padding: 120px 0 80px; }
}
