/* ============================================================
   CLÔTURE PRO LAVAL — STYLES
   Color palette (from logo):
     --green-dark   #1D6B22   primary / trust
     --green        #2A8C2F   CTA buttons, highlights
     --green-light  #3AAF40   hover states
     --orange       #E07B1A   accent / energy / badges
     --dark         #1A1A1A   footer, hero overlay
     --charcoal     #2E2E2E   headings
     --mid          #555555   body text
     --light-gray   #F4F4F0   section backgrounds
     --white        #FFFFFF
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }

:root {
  --green-dark:   #1D6B22;
  --green:        #2A8C2F;
  --green-light:  #3AAF40;
  --orange:       #E07B1A;
  --orange-light: #F59332;
  --dark:         #1A1A1A;
  --charcoal:     #2E2E2E;
  --mid:          #555555;
  --border:       #DADAD5;
  --light-gray:   #F4F4F0;
  --white:        #FFFFFF;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.12);
  --radius:       8px;
  --radius-lg:    14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--charcoal);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.highlight { color: var(--green); }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  margin-top: .85rem;
  color: var(--mid);
  font-size: 1.05rem;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-tag { color: var(--orange-light); }

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-light); border-color: var(--green-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.75);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: .55rem 1.35rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  transition: background .2s;
}
.btn-nav:hover { background: var(--orange-light); }

.btn-full { width: 100%; justify-content: center; }
.btn-sm { font-size: .82rem; padding: .6rem 1.3rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--green-dark);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.35); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.logo { height: 104px; width: auto; mix-blend-mode: screen; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #e0e0e0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}
.nav-links a:not(.btn-nav):hover { color: var(--green-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: .5rem;
}
.lang-sep {
  color: rgba(255,255,255,.25);
  font-size: .75rem;
  line-height: 1;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  padding: .28rem .55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.lang-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  /* Layered gradient gives a rustic outdoor feel without a photo */
  background:
    linear-gradient(160deg, rgba(26,26,26,.92) 55%, rgba(29,107,34,.70) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px,
      transparent 1px, transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px,
      transparent 1px, transparent 60px
    ),
    #1a1a1a;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 148px;
  padding-bottom: 5rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.badge-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 20px;
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--green-dark);
  padding: 2.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}
.trust-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}
.trust-label {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}
.trust-label small {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.55);
  margin-top: .1rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--light-gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  position: relative;
  overflow: visible;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green), var(--shadow-sm);
}

.service-badge-top {
  position: absolute;
  top: -12px; right: 1.5rem;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 20px;
  z-index: 1;
}

.service-img-wrap {
  width: 100%;
  height: 175px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.service-card h3 {
  margin-bottom: .75rem;
  font-size: 1.15rem;
}
.service-card h3 small {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mid);
  margin-top: .2rem;
}

.service-card p {
  color: var(--mid);
  font-size: .93rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.4rem;
}
.service-card ul li {
  font-size: .88rem;
  color: var(--mid);
  padding-left: 1.2rem;
  position: relative;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--green);
  transition: color .2s;
}
.service-link:hover { color: var(--green-dark); }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text .section-tag { display: block; margin-bottom: .6rem; }
.why-text h2 { margin-bottom: 1rem; }
.why-text > p { color: var(--mid); margin-bottom: 2rem; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.why-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}

.why-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.why-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--charcoal);
  margin-bottom: .2rem;
}
.why-item p {
  color: var(--mid);
  font-size: .88rem;
  margin: 0;
}

/* Stat cards */
.why-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat-card.accent {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.stat-card.accent .stat-big,
.stat-card.accent .stat-desc { color: var(--white); }

.stat-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  min-width: 90px;
}
.stat-card.accent .stat-big { color: var(--orange-light); }

.stat-desc {
  font-size: .9rem;
  color: var(--mid);
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area { background: var(--light-gray); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.area-zone {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
}

.area-zone h3 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--green-light);
}

.area-zone ul {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.area-zone ul li {
  font-size: .88rem;
  color: var(--mid);
  padding-left: .9rem;
  position: relative;
}
.area-zone ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.area-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--mid);
  font-size: .95rem;
}
.area-note a {
  color: var(--green);
  font-weight: 700;
}
.area-note a:hover { text-decoration: underline; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item:hover .gallery-placeholder { filter: brightness(.85); }

.gallery-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: filter .25s;
  gap: .5rem;
}
.gallery-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  text-align: center;
  padding: 0 1rem;
}
.gallery-placeholder small {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Unique tones per fence type — earthy, budget-friendly palettes */
.wood    { background: linear-gradient(135deg, #5C3D1E 0%, #8B5E3C 100%); }
.pool    { background: linear-gradient(135deg, #1D6B8A 0%, #2EB3C8 100%); }
.vinyl   { background: linear-gradient(135deg, #4A7A4F 0%, #7DBF82 100%); }
.aluminum{ background: linear-gradient(135deg, #3A3A55 0%, #6A6A8A 100%); }
.chainlink{background: linear-gradient(135deg, #5C5C3A 0%, #8A8A5A 100%); }
.wood2  { background: linear-gradient(135deg, #7A4520 0%, #B06B3A 100%); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--green-dark); }
.testimonials .section-tag { color: var(--orange-light); }
.testimonials h2 { color: var(--white); }
.testimonials .highlight { color: var(--orange-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.testimonial-card:hover { background: rgba(255,255,255,.12); }

.stars {
  color: var(--orange-light);
  font-size: 1.1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: rgba(255,255,255,.88);
  font-size: .93rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-author span {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--light-gray); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}
.contact-grid > * { min-width: 0; }

.contact-info .section-tag { display: block; margin-bottom: .6rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--mid); margin-bottom: 2rem; line-height: 1.7; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; width: 1.6rem; text-align: center; }
.contact-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .15rem;
}
.contact-item a,
.contact-item span {
  color: var(--charcoal);
  font-weight: 600;
  font-size: .95rem;
}
.contact-item a:hover { color: var(--green); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  color: var(--charcoal);
}

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

.form-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group textarea { resize: vertical; min-height: 100px; }

.char-counter {
  display: block;
  font-size: .73rem;
  color: var(--mid);
  text-align: right;
  margin-top: .2rem;
}

.char-counter.near-limit { color: #c0392b; font-weight: 600; }

.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .1rem;
}

.file-choose-btn {
  flex-shrink: 0;
  padding: .45rem 1rem;
  font-size: .84rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.file-choose-btn:hover {
  background: var(--green);
  color: #fff;
}

.file-chosen-text {
  font-size: .84rem;
  color: var(--mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-hint {
  font-size: .75rem;
  color: var(--mid);
  margin-top: .3rem;
}

.h-captcha { margin-top: 1.5rem; margin-bottom: 1rem; }

.file-preview {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .75rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--light-gray);
  border: 1px solid #e0e0d8;
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: .82rem;
}

.file-name {
  flex: 1;
  color: var(--charcoal);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: var(--mid);
  flex-shrink: 0;
}

.file-remove {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 .2rem;
  flex-shrink: 0;
  transition: color .15s;
}

.file-remove:hover { color: #c0392b; }

.field-error {
  display: none;
  font-size: .75rem;
  color: #c0392b;
  margin-top: .25rem;
}

.input-error { border-color: #c0392b !important; }

.btn:disabled,
.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.file-warning {
  font-size: .8rem;
  color: #c4680e;
  font-weight: 600;
  padding: .35rem .75rem;
  background: #fff3e0;
  border: 1px solid #f0a04b;
  border-radius: var(--radius-sm);
}

.form-urgency {
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  color: #c4680e;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}

.form-disclaimer {
  text-align: center;
  font-size: .78rem;
  color: #aaa;
  margin-top: .75rem;
}

.form-success {
  text-align: center;
  background: #e8f7e8;
  border: 1px solid var(--green);
  color: var(--green-dark);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,.7); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-logo { height: 50px; margin-bottom: 1rem; mix-blend-mode: screen; }

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.footer-social a:hover { background: var(--green); }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-col ul li a,
.footer-contact li {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.75rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; }

.footer-seo-text {
  margin-top: .6rem;
  font-size: .72rem;
  color: rgba(255,255,255,.25);
  line-height: 1.6;
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: .85rem 1.6rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(224,123,26,.45);
  transition: background .2s, transform .2s;
  animation: pulse-cta 3s infinite;
}
.floating-cta:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  animation: none;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 20px rgba(224,123,26,.45); }
  50%       { box-shadow: 0 4px 30px rgba(224,123,26,.75); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .area-grid     { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .logo { height: 72px; }
  .nav-container { height: 90px; }
  .hero-content { padding-top: 110px; }

  /* Nav */
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 90px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }

  /* Trust bar */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-card-stack { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1 1 200px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials — horizontal snap carousel */
  .testimonials-grid {
    display: flex;
    grid-template-columns: unset;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0 1.25rem 0.75rem;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 85%;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Service area — horizontal snap carousel */
  .area-grid {
    display: flex;
    grid-template-columns: unset;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0 1.25rem 0.75rem;
  }
  .area-grid::-webkit-scrollbar { display: none; }
  .area-zone {
    flex: 0 0 75%;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 1.5rem; }
  .floating-cta { bottom: 1rem; right: 1rem; padding: .7rem 1.2rem; font-size: .82rem; }
}

/* ============================================================
   GUIDE PAGE — /guide-installation-cloture
   ============================================================ */

.nav-active { color: var(--orange-light) !important; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ---- Guide Hero ---- */
.guide-hero {
  background:
    linear-gradient(160deg, rgba(26,26,26,.94) 55%, rgba(29,107,34,.72) 100%),
    #1a1a1a;
  padding: 10rem 0 4rem;
}
.guide-hero-content { max-width: 860px; }
.guide-hero h1 { color: var(--white); margin: .6rem 0 1.1rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.guide-hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.guide-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.meta-item { display: flex; align-items: center; gap: .3rem; }
.meta-divider { color: rgba(255,255,255,.2); }

/* ---- Guide Layout ---- */
.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

/* ---- TOC Sidebar ---- */
.guide-toc { position: relative; }
.toc-sticky {
  position: sticky;
  top: 140px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
}
.toc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  list-style: none;
  counter-reset: toc;
}
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  color: var(--mid);
  padding: .38rem .5rem;
  border-radius: 5px;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.toc-list a::before {
  content: counter(toc) ".";
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--orange);
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.toc-list a:hover { background: rgba(0,0,0,.04); color: var(--charcoal); }
.toc-list a.active { background: var(--green-dark); color: var(--white); }
.toc-list a.active::before { color: var(--orange-light); }

/* ---- Article ---- */
.guide-article { min-width: 0; }

.guide-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.guide-section:last-of-type { border-bottom: none; }

.section-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: rgba(42,140,47,.12);
  line-height: 1;
  margin-bottom: -.5rem;
  letter-spacing: -.02em;
}

.guide-section h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.guide-section h2 small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--mid);
  margin-top: .3rem;
  letter-spacing: .03em;
}
.guide-section h3 {
  font-size: 1.08rem;
  color: var(--green-dark);
  margin: 2rem 0 1rem;
}
.guide-section p { color: var(--mid); line-height: 1.75; margin-bottom: 1rem; }

.guide-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 1rem 0;
  color: var(--mid);
}
.guide-list li {
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.65;
  font-size: .95rem;
}
.guide-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---- Callout Boxes ---- */
.info-box, .warning-box, .tip-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: .93rem;
  line-height: 1.65;
}
.box-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }
.info-box   { background: #e8f4fd; border-left: 4px solid #3498db; color: #1a3a4f; }
.info-box strong { color: #1a5276; }
.warning-box { background: #fef9e7; border-left: 4px solid var(--orange); color: #5a3800; }
.warning-box strong { color: #7d4e00; }
.tip-box { background: #e8f7e8; border-left: 4px solid var(--green); color: #1a4020; }
.tip-box strong { color: var(--green-dark); }

/* ---- Regulation Grid ---- */
.regulation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.regulation-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
}
.reg-icon { font-size: 1.5rem; margin-bottom: .6rem; }
.regulation-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .4rem;
}
.regulation-card p { font-size: .83rem; color: var(--mid); margin: 0; line-height: 1.55; }
.regulation-card strong { color: var(--green-dark); }

/* ---- Step List ---- */
.step-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 1.5rem 0; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: .95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .2rem;
}
.step-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .4rem;
}
.step-content p { font-size: .93rem; color: var(--mid); margin: 0; line-height: 1.65; }

/* ---- Cost Table ---- */
.cost-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cost-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cost-table th {
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .85rem 1rem;
  text-align: left;
}
.cost-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); color: var(--mid); vertical-align: middle; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:not(.row-featured):nth-child(even) { background: var(--light-gray); }
.cost-table .row-featured { background: #edf7ee; }
.cost-table .row-featured td:first-child { border-left: 3px solid var(--green); }
.cost-table strong { color: var(--charcoal); }

/* ---- Factor Grid ---- */
.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin: 1.5rem 0;
}
.factor-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--border);
}
.factor-icon { font-size: 1.4rem; flex-shrink: 0; }
.factor-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .3rem;
}
.factor-item p { font-size: .83rem; color: var(--mid); margin: 0; line-height: 1.5; }

/* ---- Error Grid ---- */
.error-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.error-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 3px solid #e74c3c;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.error-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.error-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .35rem;
}
.error-content p { font-size: .83rem; color: var(--mid); margin: 0 0 .5rem; line-height: 1.55; }
.error-fix {
  font-size: .78rem;
  color: var(--green-dark);
  font-weight: 600;
  background: #e8f7e8;
  padding: .28rem .6rem;
  border-radius: 4px;
  display: inline-block;
}

/* ---- Inline CTA (mid-article) ---- */
.guide-cta-inline {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.guide-cta-inline-content h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .5rem; }
.guide-cta-inline-content p { color: rgba(255,255,255,.75); font-size: .93rem; margin: 0; max-width: 460px; }
.guide-cta-inline .btn-primary { background: var(--orange); border-color: var(--orange); flex-shrink: 0; white-space: nowrap; }
.guide-cta-inline .btn-primary:hover { background: var(--orange-light); border-color: var(--orange-light); }

/* ---- Pro Tips Grid ---- */
.pro-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.pro-tip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.pro-tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pro-tip-icon { font-size: 2rem; margin-bottom: .75rem; }
.pro-tip-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .6rem;
}
.pro-tip-card p { font-size: .88rem; color: var(--mid); margin: 0; line-height: 1.65; }

/* ---- Urgent CTA Section ---- */
.guide-cta-urgent {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f4a14 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  margin: 3rem 0;
}
.urgent-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.guide-cta-urgent h2 { color: var(--white); margin-bottom: 1rem; }
.guide-cta-urgent p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.7; }
.urgent-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.btn-lg { padding: 1rem 2.5rem !important; font-size: 1.05rem !important; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.urgent-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.urgent-badges span { color: rgba(255,255,255,.75); font-size: .82rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--green); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: .93rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: background .15s;
}
.faq-question:hover { background: var(--light-gray); }
.faq-item.open .faq-question { background: var(--light-gray); color: var(--green-dark); }
.faq-chevron { font-size: 1.1rem; color: var(--mid); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--border);
}
.faq-answer strong { color: var(--green-dark); }

/* ---- Related Services ---- */
.related-services-section { padding: 2.5rem 0 2rem; }
.related-services-section h3 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 1.25rem; }
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.related-service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--light-gray);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s, transform .2s;
  gap: .4rem;
}
.related-service-link:hover { background: var(--white); border-color: var(--green); transform: translateY(-2px); }
.related-service-link.featured { border-color: var(--green); background: #edf7ee; }
.related-service-link span { font-size: 1.6rem; }
.related-service-link strong { font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 700; color: var(--charcoal); }
.related-service-link small { font-size: .75rem; color: var(--mid); }

/* ============================================================
   GUIDE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: 1fr; gap: 2rem; }
  .guide-toc { display: none; }
  .regulation-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-tip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .guide-hero { padding: 8rem 0 3rem; }
  .guide-layout { padding-top: 2rem; padding-bottom: 3rem; }
  .regulation-grid { grid-template-columns: 1fr; }
  .error-grid { grid-template-columns: 1fr; }
  .factor-grid { grid-template-columns: 1fr; }
  .related-services-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-cta-inline { flex-direction: column; text-align: center; padding: 1.75rem; }
  .guide-cta-urgent { padding: 2.5rem 1.5rem; }
  .cost-table th, .cost-table td { padding: .65rem .75rem; font-size: .8rem; }
}

@media (max-width: 480px) {
  .related-services-grid { grid-template-columns: repeat(3, 1fr); }
  .urgent-cta-actions { flex-direction: column; align-items: center; }
  .urgent-cta-actions .btn, .urgent-cta-actions .btn-outline-white { width: 100%; justify-content: center; }
  .guide-meta-info { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .meta-divider { display: none; }
}
