/* ENC Designs — Premium Luxury Outdoor Living
 * Palette: black + deep green + champagne + cream
 * Type: Playfair Display (headings) + Lato (body)
 */

:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #121f01;
  --color-bg-light: #f7f5ef;
  --color-bg-card: #141414;
  --color-text: #ffffff;
  --color-text-muted: #b8b8b3;
  --color-text-dark: #1a1a1a;
  --color-text-dark-muted: #555550;
  --color-accent: #c9b783;
  --color-accent-hover: #d8c894;
  --color-border: #2a2a2a;
  --color-border-light: #e0ddd2;
  --color-success: #6b8e4e;
  --color-error: #b85450;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 0;
  --radius-sm: 2px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 16px -2px rgba(0, 0, 0, 0.3);
  --spacing-section: 7rem;
  --max-width: 1280px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin-bottom: 1.5rem; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
h4 { font-size: 1.375rem; margin-bottom: 0.75rem; }
h5 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

p:last-child { margin-bottom: 0; }

strong { color: var(--color-text); font-weight: 700; }
em { font-style: italic; }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-section) 0;
}

.section-light {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-light h1, .section-light h2, .section-light h3,
.section-light h4, .section-light h5 {
  color: var(--color-text-dark);
}

.section-light p {
  color: var(--color-text-dark-muted);
}

.section-light strong { color: var(--color-text-dark); }

.section-light a {
  color: var(--color-bg-alt);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.section-light .section-label { color: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-header.left { text-align: left; margin-left: 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(201, 183, 131, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--ghost:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.section-light .btn--ghost {
  color: var(--color-text-dark);
  border-color: var(--color-text-dark);
}

.section-light .btn--ghost:hover {
  background: var(--color-text-dark);
  color: var(--color-bg-light);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1.25rem;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}

.header__nav a,
.nav-dropdown__button {
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.header__nav a:hover,
.header__nav a.active,
.nav-dropdown.active .nav-dropdown__button,
.nav-dropdown__button:hover {
  color: var(--color-accent);
}

.header__nav a.active::after,
.nav-dropdown.active .nav-dropdown__button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown__button::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  order: 2;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 250px;
  max-width: 560px;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-dropdown__menu--areas {
  min-width: 230px;
  max-width: 280px;
  grid-template-columns: 1fr;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open > .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__phone {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header__phone:hover { color: var(--color-accent); }

.header__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 73px;
    left: auto;
    right: 0;
    bottom: 0;
    width: min(88vw, 390px);
    z-index: 6000;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2rem;
    gap: 0.85rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(110%);
    transition: transform var(--transition);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  }
  .header__nav.open,
  body.nav-open .header__nav {
    display: flex;
    transform: translateX(0);
  }
  .header__nav a,
  .nav-dropdown__button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-dropdown {
    width: 100%;
    text-align: left;
  }
  .nav-dropdown__button {
    justify-content: space-between;
    width: 100%;
  }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0.75rem 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    border-width: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    grid-template-columns: 1fr;
    transition: max-height var(--transition), padding var(--transition), border-width var(--transition);
  }
  .nav-dropdown.open .nav-dropdown__menu {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.75rem;
    border-width: 1px;
    transform: none;
  }
  .nav-dropdown__menu a {
    font-size: 0.9rem;
    white-space: normal;
    border-bottom: 0;
  }
  .header__phone { display: none; }
  .header__toggle { display: flex; }
}

@media (max-width: 600px) {
  :root { --spacing-section: 4.25rem; }
  .container,
  .container-narrow,
  .header__inner,
  .footer__bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .header__inner { gap: 0.75rem; }
  .header__logo img { height: 42px; }
  .header__nav { top: 67px; }
  .header__cta .btn { display: none; }
  .hero { padding: 4.25rem 0 3.5rem; }
  .hero--home {
    min-height: auto;
    padding: 4.25rem 0 3.75rem;
  }
  h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .hero__lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 1.25rem 0 2rem;
  }
  .btn-group {
    width: 100%;
    justify-content: stretch;
  }
  .btn-group .btn {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #121f01 100%);
  padding: 8rem 0 6rem;
}

.hero--home {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero--inner,
.hero-compact { padding: 6rem 0 5rem; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.6) 100%);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero-bg.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 820px;
}

.hero__content h1 {
  font-weight: 600;
  letter-spacing: 0;
}

.hero__lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 680px;
}

.hero__meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__meta-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-accent);
  font-weight: 600;
}

.hero__meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--color-accent); }

.breadcrumbs span { margin: 0 0.5rem; }

.breadcrumbs .current { color: var(--color-text); }

.hero .breadcrumbs { color: rgba(255, 255, 255, 0.7); }
.hero .breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.hero .breadcrumbs .current { color: #ffffff; }

/* ============ CARDS / GRIDS ============ */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card__media {
  margin: -2.5rem -2.5rem 1.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #20251b;
  border-bottom: 1px solid var(--color-border);
}

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

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  flex: 1;
  color: var(--color-text-muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__link::after { content: '→'; }

.section-light .card {
  background: #ffffff;
  border-color: var(--color-border-light);
}

.section-light .card h3 { color: var(--color-text-dark); }
.section-light .card p { color: var(--color-text-dark-muted); }
.section-light .card__icon { color: var(--color-bg-alt); border-color: var(--color-bg-alt); }
.section-light .card__link { color: var(--color-bg-alt); }

/* Service / area cards as anchors */
a.card {
  text-decoration: none;
  color: inherit;
}

/* ============ SPLIT (image + text) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__text { order: 1; }
  .split--reverse .split__media { order: 2; }
  .split__media img { min-height: 320px; }
}

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 0;
}

.stat {
  padding: 0 0.5rem;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* ============ PROCESS / STEPS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2rem 0 0;
  border-top: 1px solid var(--color-border);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9375rem;
}

.section-light .process-step { border-top-color: var(--color-border-light); }
.section-light .process-step::before { color: var(--color-bg-alt); }

/* ============ CHECKLIST ============ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.875rem;
  color: var(--color-text-muted);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.section-light .checklist li { color: var(--color-text-dark-muted); }
.section-light .checklist li::before { color: var(--color-bg-alt); }

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  color: var(--color-accent);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.15em;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial__author {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.testimonial__role {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.reviews-empty-state {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: clamp(2rem, 5vw, 4rem);
}

.reviews-empty-state__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.reviews-empty-state__item {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.reviews-empty-state__item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-light .testimonial { background: #ffffff; border-color: var(--color-border-light); }
.section-light .testimonial__quote { color: var(--color-text-dark); }
.section-light .testimonial__author { color: var(--color-text-dark); }
.section-light .testimonial__role { color: var(--color-text-dark-muted); }

/* ============ FAQ ============ */
.faq {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.section-light .faq-item { border-bottom-color: var(--color-border-light); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.75rem 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}

.section-light .faq-item__question { color: var(--color-text-dark); }

.faq-item__icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[aria-expanded="true"] .faq-item__icon,
.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.faq-item__answer.open {
  max-height: 800px;
  padding: 0 0 1.75rem;
}

.faq-item__answer p {
  color: var(--color-text-muted);
}

.section-light .faq-item__answer p { color: var(--color-text-dark-muted); }

/* ============ CTA SECTION ============ */
.cta-block {
  background: linear-gradient(135deg, #121f01 0%, #0a0a0a 100%);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-block h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block p {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

/* ============ FORMS ============ */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-panel {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 4vw, 3rem);
}

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

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.section-light .form__label { color: var(--color-text-dark); }

.form__input,
.form__textarea {
  width: 100%;
  padding: 1rem 1.125rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  border-radius: var(--radius);
}

.section-light .form__input,
.section-light .form__textarea {
  background: #ffffff;
  border-color: var(--color-border-light);
  color: var(--color-text-dark);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.sms-consent {
  margin: 1.5rem 0 2rem;
}

.sms-consent__label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  cursor: pointer;
}

.sms-consent__label input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.section-light .sms-consent__label { color: var(--color-text-dark-muted); }

.thanks-msg {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent);
}

.thanks-msg h2 { color: var(--color-accent); margin-bottom: 1rem; }

.blog-meta {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ============ FOOTER ============ */
.footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2rem;
  color: var(--color-text-muted);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .reviews-empty-state__grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__brand img {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.footer__col ul li {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
}

.footer__col ul a {
  color: var(--color-text-muted);
}

.footer__col ul a:hover { color: var(--color-accent); }

.footer__col p {
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
}

.footer__col strong {
  color: var(--color-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-right: 0.5rem;
}

.mt-2 { margin-top: 1rem; }

.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

/* ============ IMAGE PLACEHOLDERS ============ */
.img-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #121f01 100%);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: 'ENC Designs';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.25rem;
  opacity: 0.3;
}

.img-real { opacity: 1; }

/* ============ UTILITIES ============ */
.muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 3rem 0;
  border: none;
}

.section-light .divider { background: var(--color-border-light); }

/* Visually-hidden helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 1rem 1.5rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* Print */
@media print {
  .header, .footer, .cta-block, .btn { display: none !important; }
  body { background: white; color: black; }
}

/* ============ FINAL RESPONSIVE POLISH ============ */
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.58fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-lead-panel {
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(201, 183, 131, 0.34);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}

.hero-lead-panel h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.hero-lead-panel .section-label {
  margin-bottom: 0.75rem;
}

.hero-lead-form {
  max-width: none;
}

.hero-lead-form .form__group {
  margin-bottom: 1rem;
}

.hero-lead-form .form__label {
  font-size: 0.68rem;
}

.hero-lead-form .form__input {
  background: rgba(20, 20, 20, 0.94);
  min-height: 48px;
}

.hero-lead-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

@media (max-width: 1120px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-lead-panel {
    max-width: 680px;
  }
}

@media (max-width: 1024px) {
  body.nav-open {
    overflow: hidden;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 8000;
  }

  .header__inner {
    min-height: 64px;
    padding: 0.625rem 1.25rem;
  }

  .header__logo img {
    height: 44px;
  }

  .header__nav {
    display: flex;
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 64px);
    max-height: none;
    z-index: 7900;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0 1.25rem;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background: #0f1509;
    color: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: padding var(--transition), opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .header__nav.open,
  body.nav-open .header__nav {
    display: flex;
    padding: 1.2rem 1.25rem 2rem;
    overflow-y: auto;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav a,
  .nav-dropdown__button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0;
    color: #ffffff;
    opacity: 1;
  }

  .header__nav a:hover,
  .header__nav a.active,
  .nav-dropdown.active .nav-dropdown__button,
  .nav-dropdown__button:hover {
    color: var(--color-accent);
  }

  .nav-dropdown__menu {
    display: grid;
    max-height: 0;
    overflow: hidden;
  }

  .nav-dropdown.open .nav-dropdown__menu {
    max-height: 52dvh;
  }

  .nav-dropdown.open .nav-dropdown__button::before {
    transform: rotate(225deg) translate(-2px, -2px);
  }
}

@media (max-width: 600px) {
  .header__inner {
    min-height: 64px;
    padding: 0.55rem 1rem;
  }

  .header__logo img {
    height: 42px;
  }

  .header__nav {
    top: 64px;
    height: calc(100dvh - 64px);
    width: 100%;
    border-left: 0;
    padding: 0 1rem;
  }

  .header__nav.open,
  body.nav-open .header__nav {
    padding: 1.1rem 1rem 2rem;
  }

  .header__toggle {
    width: 44px;
    height: 44px;
  }

  .hero,
  .hero--inner,
  .hero-compact {
    padding: 4rem 0 3.5rem;
  }

  .hero--home {
    min-height: auto;
    padding: 3rem 0 3.5rem;
    align-items: flex-start;
  }

  .hero__layout {
    gap: 1.35rem;
  }

  .hero__content h1 {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0 1.35rem;
  }

  .hero__meta {
    display: none;
  }

  .hero-lead-panel {
    width: 100%;
    padding: 1rem;
  }

  .hero-lead-panel h2 {
    font-size: 1.35rem;
  }

  .hero-lead-form .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-lead-form .form__group {
    margin-bottom: 0.85rem;
  }

  .hero-lead-form .form__input {
    min-height: 46px;
    padding: 0.8rem 0.95rem;
  }
}

/* --- Address Autocomplete Dropdown --- */
.address-dropdown{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px;box-shadow:0 4px 12px rgba(0,0,0,.1);list-style:none;margin:0;padding:0;max-height:240px;overflow-y:auto}
.address-dropdown__item{padding:10px 14px;cursor:pointer;font-size:14px;line-height:1.4;border-bottom:1px solid #f0f0f0;transition:background .15s}
.address-dropdown__item:last-child{border-bottom:none}
.address-dropdown__secondary{color:#888;font-size:13px}
.address-dropdown__item--active,.address-dropdown__item:hover{background:var(--color-primary-light,#f0f7ff)}

@media (min-width: 1025px) {
  .nav-dropdown > .nav-dropdown__menu,
  .nav-dropdown:hover:not(.open) > .nav-dropdown__menu,
  .nav-dropdown:focus-within:not(.open) > .nav-dropdown__menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 8px) !important;
  }

  .nav-dropdown.open > .nav-dropdown__menu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 1024px) {
  .header__nav {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - 64px) !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 0 1rem !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
  }

  .header__nav:not(.open) a,
  body:not(.nav-open) .header__nav a,
  .header__nav:not(.open) .nav-dropdown__button,
  body:not(.nav-open) .header__nav .nav-dropdown__button {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .header__nav.open,
  body.nav-open .header__nav {
    max-height: none !important;
    min-height: 0 !important;
    padding: 1.1rem 1rem 2rem !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .header__nav.open a,
  body.nav-open .header__nav a,
  .header__nav.open .nav-dropdown__button,
  body.nav-open .header__nav .nav-dropdown__button {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
