/* ==========================================================
   EXCLUSIVE FENCE COMPANY INC — Long Island
   Palette: forest green · warm sand · premium gold
   Display: Playfair Display | Body: Lato
   ========================================================== */

:root {
  --green-deep:    #1B4332;
  --green:         #2D6A4F;
  --green-mid:     #40916C;
  --green-light:   #D8F3DC;
  --green-faint:   #EAF2EE;
  --sand:          #F5F0E8;
  --sand-dark:     #EDE7D9;
  --gold:          #C9A84C;
  --gold-dark:     #A07E30;
  --gold-light:    #FFF3CD;
  --slate:         #3D4A52;
  --slate-mid:     #5F6E78;
  --slate-light:   #8A9BA5;
  --white:         #FFFFFF;
  --border:        #D9D0C0;

  --font-display:  'Playfair Display', 'Georgia', serif;
  --font-body:     'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:     4px;
  --radius-md:     10px;
  --radius-lg:     18px;
  --shadow-card:   0 6px 22px rgba(27, 67, 50, 0.10);
  --shadow-strong: 0 16px 44px rgba(27, 67, 50, 0.16);
  --max-w:         1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--green-deep);
  padding: 10px 18px;
  font-weight: 700;
  z-index: 400;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-deep);
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); margin-bottom: 0.35em; font-family: var(--font-body); font-weight: 700; color: var(--green); }
p  { margin-bottom: 1em; }

/* ==========================================================
   TOP RIBBON
   ========================================================== */
.top-ribbon {
  background: var(--green-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 0;
}
.ribbon-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ribbon-phone {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.ribbon-phone:hover { text-decoration: underline; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(27,67,50,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 14px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Inline CSS fence-post logo mark */
.logo-mark {
  display: flex;
  align-items: center;
  gap: 0;
  height: 36px;
}
.lm-post {
  display: inline-block;
  width: 6px;
  height: 36px;
  background: var(--green-deep);
  border-radius: 2px;
}
.lm-rail {
  display: inline-block;
  width: 10px;
  height: 3px;
  background: var(--gold);
  border-radius: 1px;
}

.logo-words { display: flex; flex-direction: column; line-height: 1.1; }
.logo-exclusive {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--green-deep);
  letter-spacing: 0.06em;
}
.logo-fence {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.logo-inc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--slate-light);
  letter-spacing: 0.06em;
}

/* Nav */
.main-nav { display: flex; gap: 24px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 700; font-size: 0.9rem; color: var(--slate); letter-spacing: 0.02em; transition: color 0.2s; }
.main-nav a:hover { color: var(--green); }

/* Header quote btn */
.header-quote-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: var(--green-deep);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-quote-btn:hover { background: var(--green); }
.hq-label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; opacity: 0.8; }
.hq-number { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-deep); border-radius: 2px; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--green-deep);
  padding: 8px 24px 20px;
}
.mobile-nav a {
  color: #B7D5C4;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  font-size: 0.96rem;
}
.mobile-call-btn {
  margin-top: 10px;
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  text-align: center;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  font-weight: 900 !important;
  padding: 13px !important;
  font-size: 0.97rem !important;
  letter-spacing: 0.01em;
}
.mobile-nav.open { display: flex; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.15s;
  min-height: 52px;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 8px 22px rgba(201,168,76,0.35);
}
.btn-gold:hover { background: var(--gold-dark); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-dark {
  background: var(--green-deep);
  color: #fff;
  margin-top: 10px;
}
.btn-dark:hover { background: var(--green); }

.btn-outline-green {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
}
.btn-outline-green:hover { background: var(--green-deep); color: #fff; }

.full-w { width: 100%; margin-top: 10px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(145deg, var(--green-deep) 0%, var(--green) 55%, var(--green-mid) 100%);
  color: #fff;
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.hero h1 { color: #fff; margin-bottom: 18px; }

.hero-lead {
  color: #B7D5C4;
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 28px;
}
.hero-lead a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,168,76,0.4); }
.hero-lead a:hover { text-decoration-color: var(--gold); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* Proof bar */
.hero-proof {
  display: flex;
  gap: 0;
  align-items: center;
  background: rgba(0,0,0,0.18);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  gap: 0;
  width: fit-content;
}
.proof-item { text-align: center; padding: 0 28px; }
.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.proof-plus { color: var(--gold); font-size: 1.4rem; }
.proof-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ABAA2;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}
.proof-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* Hero quote card */
.hero-quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-strong);
  color: var(--slate);
}
.hqc-header {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-deep);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
}
.hqc-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.hqc-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.hqc-services li { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.hqc-services li span { color: var(--green); margin-right: 8px; }
.hqc-note { text-align: center; font-size: 0.78rem; color: var(--slate-light); margin-top: 12px; margin-bottom: 0; }

/* Signature fence-rail break */
.fence-break {
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--sand);
  overflow: hidden;
}
.fb-post {
  width: 14px;
  height: 52px;
  background: var(--green-deep);
  border-radius: 2px 2px 0 0;
  flex-shrink: 0;
}
.fb-rail {
  flex: 1;
  height: 6px;
  background: var(--gold);
}

/* ==========================================================
   CONTENT / ARTICLE
   ========================================================== */
.content-section { padding: 68px 0 76px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 52px;
  align-items: start;
}

/* Article */
.article-body h2 {
  margin-top: 2em;
  padding-top: 20px;
  border-top: 3px solid var(--gold);
  color: var(--green-deep);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 { margin-top: 1.4em; }
.article-body p { font-size: 1rem; }
.article-body a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(45,106,79,0.3);
  text-underline-offset: 2px;
}
.article-body a:hover { text-decoration-color: var(--green); }

/* Signal list */
.signal-list {
  background: var(--green-faint);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signal-list li {
  font-size: 0.97rem;
  color: var(--slate);
  padding-left: 22px;
  position: relative;
}
.signal-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* Benefit grid */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0 28px;
}
.benefit-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }
.bt-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.benefit-tile h3 { margin-top: 0; font-size: 1rem; }
.benefit-tile p { font-size: 0.89rem; color: var(--slate-mid); margin-bottom: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-btn:hover { color: var(--green); }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}
.faq-panel { padding: 0 0 18px; }
.faq-panel p { font-size: 0.97rem; color: var(--slate-mid); margin-bottom: 0; }

/* ==========================================================
   SIDEBAR
   ========================================================== */
.content-sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}
.sticky-sidebar { position: sticky; top: 96px; }

.sb-gold-header {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 14px;
}
.sb-title { font-size: 1.25rem; margin-bottom: 8px; font-family: var(--font-display); }
.sb-copy { font-size: 0.88rem; color: var(--slate-mid); }

.sb-checklist {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sb-checklist li {
  font-size: 0.88rem;
  color: var(--slate);
  font-weight: 600;
  padding-left: 20px;
  position: relative;
}
.sb-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.sidebar-materials {
  background: var(--green-faint);
  border: 1px solid rgba(27,67,50,0.12);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.sm-title { font-size: 1rem; color: var(--green-deep); margin-bottom: 14px; }
.sm-list { display: flex; flex-direction: column; gap: 9px; }
.sm-list li { font-size: 0.88rem; color: var(--slate); font-weight: 600; }
.sm-list li span { color: var(--green); margin-right: 8px; }

/* ==========================================================
   PROCESS SECTION
   ========================================================== */
.process-section {
  background: var(--green-deep);
  color: #fff;
  padding: 72px 0;
}
.process-section .section-title { color: #fff; }
.process-section .section-eyebrow { color: var(--gold); }
.process-section .section-sub { color: #8ABAA2; max-width: 560px; margin-bottom: 44px; }

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 0.35em; }
.section-sub { color: var(--slate-mid); font-size: 1rem; margin: 8px 0 40px; }

.process-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.proc-card {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: background 0.2s, transform 0.2s;
}
.proc-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.pc-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.proc-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.proc-card p { color: #8ABAA2; font-size: 0.88rem; margin-bottom: 0; }
.proc-arrow {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-section { background: var(--sand); padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.contact-section .section-eyebrow { color: var(--green); }
.contact-section .section-title { color: var(--green-deep); }
.contact-intro { color: var(--slate-mid); margin-bottom: 28px; font-size: 1rem; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-items li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.ci-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--slate-light);
  display: block;
  margin-bottom: 2px;
}
.ci-value { font-size: 1rem; font-weight: 700; color: var(--green-deep); display: block; }
a.ci-value:hover { color: var(--green); }

.contact-coverage {
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  color: #fff;
  box-shadow: var(--shadow-strong);
}
.coverage-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.coverage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.coverage-county {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}
.coverage-cols ul { display: flex; flex-direction: column; gap: 6px; }
.coverage-cols li { font-size: 0.88rem; color: #B7D5C4; }
.coverage-note { font-size: 0.8rem; color: #8ABAA2; margin-top: 18px; margin-bottom: 0; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--green-deep); color: #8ABAA2; padding: 44px 0 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo-block { display: flex; flex-direction: column; gap: 2px; }
.footer-logo-text { display: block; }
.footer-logo-block .logo-exclusive { font-family: var(--font-display); font-size: 1.2rem; color: #fff; letter-spacing: 0.06em; }
.footer-logo-block .logo-fence { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.footer-logo-block .logo-inc { font-size: 0.68rem; color: #8ABAA2; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: #B7D5C4; font-size: 0.88rem; font-weight: 700; }
.footer-nav a:hover { color: var(--gold); }
.footer-mid-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-mid-row a { color: #B7D5C4; }
.footer-mid-row a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: #5A7A68; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); margin-bottom: 0; }

/* Sticky mobile bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--gold);
  color: var(--green-deep);
  text-align: center;
  font-weight: 900;
  font-size: 0.97rem;
  padding: 15px 12px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  letter-spacing: 0.01em;
}

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.will-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.will-reveal.revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-quote-card { max-width: 460px; }
  .content-grid { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process-row { flex-wrap: wrap; }
  .proc-card { min-width: 200px; }
  .proc-arrow { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; width: 100%; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-quote-btn { display: none; }
  .nav-toggle { display: flex; }
  .sticky-mobile-bar { display: block; }
  body { padding-bottom: 62px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .hero { padding-top: 44px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-quote-card { max-width: 100%; }
  .process-row { grid-template-columns: 1fr; }
  .coverage-cols { grid-template-columns: 1fr; }
  .content-section { padding: 46px 0 54px; }
  .contact-section, .process-section { padding: 48px 0; }
  .footer-top-row { flex-direction: column; }
  .ribbon-inner { flex-direction: column; gap: 4px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}