/* =========================================================
   Plus Vinyl Fence & Gates — Home Page Styles
   ========================================================= */
:root {
  --navy: #0e2f5c;
  --navy-dark: #0a2447;
  --navy-hero: #0e3565;
  --green: #1d8a2f;
  --green-dark: #166f25;
  --green-light: #e9f6ea;
  --text: #33404f;
  --muted: #5d6a78;
  --line: #e2e7ee;
  --bg-soft: #f5f8fb;
  --white: #fff;
  --star: #f7b500;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(14, 47, 92, .08);
  --font: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.2; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 800; font-size: 15px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, border-color .2s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: rgba(10, 36, 71, .55); border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(10, 36, 71, .85); }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-phone { font-size: 19px; padding: 9px 22px; }
.btn-phone svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: relative; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 4px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 78px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: .95; }
.logo-line1 { font-size: 32px; font-weight: 900; color: var(--navy); letter-spacing: -.5px; }
.logo-line2 { font-size: 24px; font-weight: 900; color: var(--green); }

.header-badges { display: flex; gap: 48px; }
.badge { display: flex; align-items: center; gap: 12px; }
.badge-icon { width: 32px; height: 32px; color: var(--green); }
.badge strong { display: block; color: var(--navy); font-size: 15px; font-weight: 800; }
.badge span { display: block; font-size: 13px; color: var(--muted); }

.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 40px; padding-bottom: 10px; }
.main-nav > ul { display: flex; gap: 34px; }
.main-nav a { font-size: 14.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav a svg { width: 9px; height: 6px; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: var(--white); box-shadow: 0 8px 24px rgba(14, 47, 92, .15); border-radius: var(--radius);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.dropdown a { display: block; padding: 8px 18px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(90deg, #0e3565 0%, #0e3565 38%, rgba(14, 53, 101, .75) 46%, rgba(14, 53, 101, 0) 62%),
    url("../images/hero-bg.jpg") right center / auto 100% no-repeat;
  background-color: var(--navy-hero);
}
.hero-inner { padding-top: 70px; padding-bottom: 40px; }
.hero-eyebrow { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 10px; }
.hero h1 { color: var(--white); font-size: 54px; font-weight: 900; max-width: 640px; line-height: 1.08; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.hero-text { font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-features { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.25; font-weight: 600; }
.hero-features svg { width: 32px; height: 32px; color: var(--white); }

/* ---------- Section heads ---------- */
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 26px; }
.section-head h2 { font-size: 34px; }
.section-intro { color: var(--text); font-size: 15px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 800; font-size: 14px; text-transform: uppercase; margin-bottom: 4px; }
.eyebrow-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 5px var(--green), inset 0 0 0 9px #fff; }
.section-head.inline { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head.inline h2 { font-size: 30px; }
.section-head.inline p { max-width: 560px; font-size: 14.5px; margin-left: 16px; }
.icon-circle, .icon-square {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--green); color: var(--white); border-radius: 50%;
}
.icon-square { border-radius: 8px; }
.icon-circle svg, .icon-square svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.services { padding-top: 22px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.service-card {
  display: grid; grid-template-columns: 42% 1fr; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.service-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.service-body { padding: 14px 16px 14px 0; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--text); }

/* ---------- Website pages ---------- */
.pages { padding-top: 12px; }
.page-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.page-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s;
}
.page-card:hover { box-shadow: 0 6px 18px rgba(14, 47, 92, .16); }
.page-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.page-card h3 {
  font-size: 16px; padding: 10px 34px 12px 12px; position: relative; min-height: 58px;
}
.page-card h3::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 8px; height: 8px; border-top: 2.5px solid var(--navy); border-right: 2.5px solid var(--navy);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Why choose us ---------- */
.why { background: var(--navy); color: var(--white); padding: 28px 0; }
.why-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.why h2 { color: var(--white); font-size: 40px; margin-bottom: 10px; }
.why-text p { font-size: 15.5px; opacity: .95; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-grid li {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border-radius: var(--radius); padding: 14px 14px; min-height: 68px;
}
.why-grid svg { width: 36px; height: 36px; color: var(--green); }
.why-grid h3 { font-size: 14px; line-height: 1.25; font-weight: 800; }

/* ---------- Cost estimate ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; }
.cost-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; padding: 8px 8px 16px;
}
.cost-card img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.cost-card h3 { font-size: 15px; margin-bottom: 4px; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.cost-label { font-size: 14px; }
.cost-price { font-size: 32px; font-weight: 900; color: var(--green); line-height: 1.1; }
.cost-unit { font-size: 14px; }
.cost-note-small { font-size: 14px; color: var(--text); padding: 0 10px; }
.cost-note {
  background: var(--green-light); border: 1px solid #cfe9d2; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 10px; padding: 18px; color: var(--navy); font-weight: 700; font-size: 15.5px;
}
.cost-note svg { width: 38px; height: 38px; color: var(--green); }

/* ---------- About ---------- */
.about { padding-top: 16px; }
.about-inner { display: grid; grid-template-columns: 330px 1fr; gap: 36px; align-items: start; }
.about-img { width: 100%; border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 205 / 161; object-fit: cover; }
.about h2 { font-size: 30px; margin-bottom: 10px; }
.about-text p { font-size: 15px; margin-bottom: 12px; }

/* ---------- Reviews + FAQ ---------- */
.reviews-faq { padding-top: 10px; padding-bottom: 20px; }
.rf-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.panel { background: var(--bg-soft); border-radius: 12px; padding: 18px; }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.panel-head h2 { font-size: 28px; }
.panel-head p { font-size: 13.5px; }
.star-big { width: 44px; height: 44px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  margin: 0; background: var(--white); border-radius: 8px; padding: 16px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.stars { color: var(--star); font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 14px; color: var(--text); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review h3 { font-size: 15px; }
.review span { font-size: 13.5px; color: var(--muted); }

.faq-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; font-size: 28px; font-weight: 900;
}
.faq .panel-head { margin-top: 18px; }
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 1px 3px rgba(14, 47, 92, .05); }
.faq-item h3 { font-size: 14.5px; font-weight: 700; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--navy); padding: 8px 40px 8px 12px; position: relative;
}
.faq-item button::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 600; color: var(--navy); transition: transform .2s;
}
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-item button:hover { color: var(--green); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; font-size: 14px; padding: 0 12px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 10px; }

/* ---------- Book service ---------- */
.book-box { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px 22px; box-shadow: var(--shadow); }
.book .section-head.inline h2 { font-size: 26px; }
.book .section-head.inline p { font-size: 13.5px; max-width: 420px; }
.book-form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field label span { color: #d33; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14px; color: var(--text);
  border: 1px solid #cfd7e1; border-radius: 4px; padding: 9px 11px; background: var(--white); width: 100%;
}
.field input, .field select { height: 40px; }
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(29, 138, 47, .15); }
.field.invalid input, .field.invalid select { border-color: #d33; }
.field-message { grid-column: 4 / 6; grid-row: 2 / 3; }
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
.form-status { font-weight: 700; font-size: 14.5px; min-height: 1em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #d33; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--white); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .15); flex-wrap: wrap; }
.logo-light .logo-line1 { color: var(--white); }
.logo-light .logo-line2 { color: var(--white); }
.logo-light img { filter: brightness(0) invert(1); }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { font-weight: 700; font-size: 14.5px; }
.footer-nav a:hover { color: #7fd48b; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 18px; font-size: 13.5px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > ul { gap: 22px; }
  .why-inner { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: repeat(3, 1fr); }
  .cost-note { grid-column: span 2; }
  .rf-inner { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-badges { display: none; }
  .nav-toggle { display: block; }
  .header-nav { justify-content: space-between; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    box-shadow: 0 10px 20px rgba(14, 47, 92, .15); display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav a { padding: 10px 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 0 14px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
  .hero h1 { font-size: 40px; }
  .hero { background:
    linear-gradient(180deg, rgba(14, 53, 101, .88), rgba(14, 53, 101, .75)),
    url("../images/hero-bg.jpg") center / cover no-repeat; }
  .section-head.split { grid-template-columns: 1fr; gap: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .book-form { grid-template-columns: repeat(2, 1fr); }
  .field-message { grid-column: 1 / -1; grid-row: auto; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .logo-line1 { font-size: 26px; }
  .logo-line2 { font-size: 19px; }
  .logo img { width: 60px; }
  .btn-phone { font-size: 16px; padding: 8px 14px; }
  .hero-inner { padding-top: 44px; }
  .hero h1 { font-size: 32px; }
  .hero-features { gap: 18px 24px; }
  .section-head h2, .section-head.inline h2 { font-size: 26px; }
  .section-head.inline p { margin-left: 0; }
  .service-card { grid-template-columns: 1fr; }
  .service-card img { min-height: 0; aspect-ratio: 3 / 2; }
  .service-body { padding: 0 16px 16px; }
  .page-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .book-form { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Pixel-matching overrides (to mirror the design mockup)
   ========================================================= */
body { font-size: 16px; }
.container { max-width: 1320px; padding: 0 28px; }
.section { padding: 26px 0; }

/* header */
.header-top { padding-top: 8px; padding-bottom: 0; }
.logo img { width: 84px; }
.logo-line1 { font-size: 36px; }
.logo-line2 { font-size: 27px; }
.header-nav { gap: 70px; padding-bottom: 8px; }
.main-nav > ul { gap: 44px; }
.main-nav a { font-size: 14px; font-weight: 600; }
.btn-phone { font-size: 20px; padding: 8px 26px; }

/* hero: full-width photo with a navy fade on the left */
.hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .92) 0%, rgba(12, 45, 92, .82) 30%, rgba(12, 45, 92, .35) 48%, rgba(12, 45, 92, 0) 60%),
    url("../images/hero-bg.jpg") center / cover no-repeat;
}
.hero-inner { padding-top: 46px; padding-bottom: 22px; }
.hero-eyebrow { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.hero h1 { font-size: 56px; max-width: 660px; margin-bottom: 12px; line-height: 1.06; }
.hero-text { font-size: 17.5px; max-width: 540px; margin-bottom: 26px; }
.hero-buttons { margin-bottom: 30px; }
.btn-lg { padding: 11px 28px; }
.btn-outline { background: rgba(10, 36, 71, .6); }
.hero-features { gap: 44px; }
.hero-features li { font-weight: 400; font-size: 13px; opacity: .95; }

/* services */
.services { padding-top: 24px; }
.section-head.split { margin-bottom: 18px; gap: 60px; }
.section-head h2 { font-size: 36px; font-weight: 900; }
.section-intro { font-size: 15.5px; }
.section-intro strong { font-weight: 600; }
.service-grid { gap: 20px 18px; }
.service-card { grid-template-columns: 41% 1fr; gap: 14px; }
.service-card img { min-height: 176px; }
.service-body { padding: 10px 14px 10px 0; }
.service-card h3 { font-size: 17.5px; margin-bottom: 7px; letter-spacing: -.1px; }
.service-card p { font-size: 15px; line-height: 1.4; }

/* website pages */
.section-head.inline h2 { font-size: 32px; font-weight: 900; }
.section-head.inline { margin-bottom: 18px; }
.page-grid { gap: 22px 24px; }
.page-card { box-shadow: 0 2px 8px rgba(14, 47, 92, .1); }
.page-card img { aspect-ratio: 16 / 7.2; }
.page-card h3 { font-size: 16.5px; font-weight: 700; padding: 8px 32px 8px 10px; min-height: 0; }

/* why choose us */
.why { padding: 20px 0; margin-top: 10px; }
.why h2 { font-size: 42px; font-weight: 900; }
.why-grid { gap: 14px 16px; }
.why-grid li { padding: 12px 14px; min-height: 72px; gap: 14px; }
.why-grid svg { width: 42px; height: 42px; }
.why-grid h3 { font-size: 13.5px; font-weight: 700; }

/* cost */
.cost-grid { gap: 20px; }
.cost-card { padding: 0 0 14px; overflow: hidden; }
.cost-card img { border-radius: 0; aspect-ratio: 3 / 1.05; }
.cost-card h3 { font-size: 15.5px; padding: 0 6px; }
.cost-price { font-size: 34px; }

/* about */
.about-inner { grid-template-columns: 362px 1fr; gap: 28px; }
.about h2 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.about-text p { font-size: 15.5px; line-height: 1.45; }

/* reviews + faq */
.rf-inner { grid-template-columns: 1.4fr 1fr; gap: 26px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 18px; box-shadow: var(--shadow); }
.panel-head { margin-bottom: 14px; gap: 12px; }
.panel-head h2 { font-size: 28px; font-weight: 900; }
.review-grid { gap: 12px; }
.review { box-shadow: 0 1px 6px rgba(14, 47, 92, .1); padding: 14px; }
.review blockquote { font-size: 14.5px; line-height: 1.4; }
.review figcaption img { width: 50px; height: 50px; }
.faq .panel-head { margin-top: 4px; }
.faq .panel-head h2 { font-size: 32px; }
.faq-icon { width: 50px; height: 50px; font-size: 32px; }
.faq-list { gap: 4px; }
.faq-item { border-radius: 3px; }
.faq-item h3 { font-size: 14.5px; font-weight: 600; }
.faq-item button { padding: 6px 40px 6px 12px; }

/* book */
.book { padding-top: 22px; }
.book-box { padding: 14px 18px 18px; }
.book .section-head.inline { margin-bottom: 12px; }
.book-form { gap: 10px 18px; }
.field label { font-weight: 600; font-size: 12.5px; }

/* footer */
.footer-top { padding-top: 26px; padding-bottom: 18px; }
.site-footer .logo img { width: 96px; }
.site-footer .logo-line1 { font-size: 34px; }
.site-footer .logo-line2 { font-size: 22px; }
.footer-nav a { font-weight: 600; font-size: 14px; }

@media (max-width: 900px) {
  .hero { background:
    linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .7)),
    url("../images/hero-bg.jpg") 70% center / cover no-repeat; }
  .hero h1 { font-size: 40px; }
  .rf-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .header-nav { gap: 16px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .logo-line1 { font-size: 26px; } .logo-line2 { font-size: 19px; }
  .section-head h2, .section-head.inline h2, .faq .panel-head h2 { font-size: 26px; }
  .why-grid h3 br { display: none; }
}
.why-inner { grid-template-columns: .85fr 2.15fr; gap: 28px; }
.why-grid li { padding: 12px 10px; gap: 10px; }
.why-grid h3 { white-space: nowrap; font-size: 13px; }
.pages { padding-top: 4px; }
@media (max-width: 1100px) { .why-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .why-grid h3 { white-space: normal; } }
.services .section-head { margin-bottom: 18px; }
.hero-inner { padding-top: 56px; }
.btn-hero-phone { font-size: 22px; padding: 13px 32px; gap: 12px; }
.btn-hero-phone svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .btn-hero-phone { font-size: 19px; padding: 12px 22px; } }

/* ---------- Service areas ---------- */
.areas { padding-top: 10px; padding-bottom: 40px; }
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 16px; }
.area-grid li {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 9px 12px; font-size: 15px; font-weight: 700; color: var(--navy);
  box-shadow: 0 1px 3px rgba(14, 47, 92, .05);
}
.area-grid svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 1100px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .area-grid { grid-template-columns: repeat(2, 1fr); } .area-grid li { font-size: 14px; } }
.about-img { aspect-ratio: 656 / 486; }

/* ---------- New image logo ---------- */
.logo img, .site-footer .logo img { width: auto; height: 76px; filter: none; }
.site-footer .logo img { height: 58px; }
@media (max-width: 600px) { .logo img { height: 44px; } .site-footer .logo img { height: 44px; } }

/* ---------- Service areas: plain list + map ---------- */
.areas-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: stretch; }
.area-grid { grid-template-columns: repeat(4, 1fr); gap: 9px 20px; align-content: start; }
.area-grid li {
  display: block; background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 0; font-size: 15.5px; font-weight: 600; color: var(--navy);
}
.area-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 380px; }
.area-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 1100px) { .areas-inner { grid-template-columns: 1fr; } .area-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .area-grid { grid-template-columns: repeat(2, 1fr); } .area-map, .area-map iframe { min-height: 300px; } }
.area-grid li { white-space: nowrap; font-size: 15px; } @media (max-width: 380px) { .area-grid li { white-space: normal; } }
.hero-buttons { margin-bottom: 0; } .hero-inner { padding-bottom: 60px; }

/* =========================================================
   Service page: Vinyl Fence Styles
   ========================================================= */
.text-link { color: var(--green); font-weight: 700; text-decoration: underline; }
.page-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/style-gray.jpg") center 60% / cover no-repeat;
}
.page-hero .hero-inner { padding-top: 40px; padding-bottom: 56px; }
.breadcrumb { font-size: 14px; margin-bottom: 14px; color: rgba(255, 255, 255, .85); }
.breadcrumb a { color: var(--white); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .6; }

.page-intro { padding-top: 40px; }
.intro-inner { max-width: 900px; }
.intro-inner h2, .choose h2, .center-title { font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.intro-inner p { margin-bottom: 12px; font-size: 16.5px; }

.style-list { display: flex; flex-direction: column; gap: 36px; }
.style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.style-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.style-row.reverse img { order: 2; }
.style-text h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.style-text p { margin-bottom: 12px; font-size: 16px; }

.more-styles { background: var(--bg-soft); padding: 44px 0; margin-top: 20px; }
.center-title { text-align: center; }
.center-sub { text-align: center; max-width: 720px; margin: 0 auto 28px; font-size: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; padding: 18px; box-shadow: var(--shadow); }
.mini-card h3 { font-size: 18px; margin-bottom: 8px; }
.mini-card p { font-size: 15px; line-height: 1.5; }

.choose { padding-top: 44px; }
.choose-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.choose p { margin-bottom: 12px; font-size: 16px; }
.custom-box { background: var(--green-light); border: 1px solid #cfe9d2; border-radius: 10px; padding: 24px; }
.custom-box h2 { font-size: 26px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 6px; }
.check-list li { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy); font-size: 15px; }
.check-list svg { width: 20px; height: 20px; color: var(--green); }

.process { background: var(--navy); color: var(--white); padding: 48px 0; margin-top: 24px; }
.process .center-title { color: var(--white); }
.process .center-sub { opacity: .9; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.step { background: var(--white); color: var(--text); border-radius: 8px; padding: 22px 18px; position: relative; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; font-weight: 900; font-size: 20px; margin-bottom: 12px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.5; }

.style-cost { padding-top: 44px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); text-align: center; padding: 18px 12px; }
.price-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.cost-footnote { margin-top: 16px; font-size: 14.5px; color: var(--muted); text-align: center; }

.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extra-card { background: var(--bg-soft); border-radius: 8px; padding: 22px; border-left: 4px solid var(--green); }
.extra-card h2 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.extra-card p { font-size: 15.5px; }

.faq-narrow { max-width: 900px; }
.style-faq .faq-item h3 { font-size: 16px; }
.style-faq .faq-item button { padding: 11px 44px 11px 14px; }
.style-faq .faq-answer > p { font-size: 15.5px; padding: 0 14px; }

.cta-band { background: var(--navy); color: var(--white); padding: 40px 0; margin-top: 30px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: var(--white); font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.cta-band p { max-width: 640px; opacity: .92; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer { margin-top: 0; }
.cta-band + * { margin-top: 0; }

@media (max-width: 1100px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .choose-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .style-row { grid-template-columns: 1fr; gap: 18px; }
  .style-row.reverse img { order: 0; }
  .extras-grid { grid-template-columns: 1fr; }
  .page-hero { background:
    linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)),
    url("../images/style-gray.jpg") center / cover no-repeat; }
}
@media (max-width: 600px) {
  .mini-grid, .price-grid, .steps, .check-list { grid-template-columns: 1fr; }
  .intro-inner h2, .choose h2, .center-title, .style-text h2, .cta-band h2 { font-size: 26px; }
}
.mini-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.mini-card { flex: 0 1 calc(25% - 14px); }
@media (max-width: 1100px) { .mini-card { flex-basis: calc(50% - 9px); } }
@media (max-width: 600px) { .mini-card { flex-basis: 100%; } }

/* =========================================================
   Service page: Privacy Vinyl Fencing
   ========================================================= */
.privacy-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/privacy-wood.jpg") center 55% / cover no-repeat;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.tag-list li { background: var(--green-light); color: var(--navy); border: 1px solid #cfe9d2; border-radius: 20px; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.after-tags { margin-top: 4px; }

.heights { padding-top: 40px; }
.heights .extra-card h3 { font-size: 20px; margin-bottom: 8px; }

.uses { padding-top: 44px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.use-card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: var(--shadow); background: var(--white); }
.use-card h3 { font-size: 18px; margin-bottom: 8px; padding-left: 12px; border-left: 4px solid var(--green); }
.use-card p { font-size: 15px; line-height: 1.5; }

.factors { margin-top: 26px; background: var(--bg-soft); border-radius: 10px; padding: 22px 24px; }
.factors h3 { font-size: 20px; margin-bottom: 12px; }
.factors-list { grid-template-columns: repeat(5, 1fr); }
.factors .cost-footnote { text-align: left; margin-top: 14px; }

@media (max-width: 1100px) { .use-grid { grid-template-columns: repeat(2, 1fr); } .factors-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .privacy-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/privacy-wood.jpg") center / cover no-repeat; }
}
@media (max-width: 600px) { .use-grid { grid-template-columns: 1fr; } .factors-list { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Service page: Picket Vinyl Fencing
   ========================================================= */
.picket-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/picket-gate.jpg") center 60% / cover no-repeat;
}
.spacing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spacing-grid .extra-card h3 { font-size: 19px; margin-bottom: 8px; }
.mini-3 .mini-card { flex-basis: calc(33.333% - 12px); }
.guide-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.guide-list li { display: flex; justify-content: space-between; gap: 16px; background: var(--white); border-radius: 6px; padding: 10px 14px; border: 1px solid #cfe9d2; }
.guide-list strong { color: var(--navy); }
.guide-list span { color: var(--green-dark); font-weight: 700; text-align: right; }
@media (max-width: 1100px) { .spacing-grid { grid-template-columns: repeat(2, 1fr); } .mini-3 .mini-card { flex-basis: calc(50% - 9px); } }
@media (max-width: 900px) {
  .picket-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/picket-gate.jpg") center / cover no-repeat; }
}
@media (max-width: 600px) { .spacing-grid { grid-template-columns: 1fr; } .mini-3 .mini-card { flex-basis: 100%; } .guide-list li { flex-direction: column; gap: 2px; } .guide-list span { text-align: left; } }

/* =========================================================
   Service page: Vinyl Fence Gates
   ========================================================= */
.gates-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/gate-driveway.jpg") center 60% / cover no-repeat;
}
.repairs { padding-top: 44px; }
.repair-grid { grid-template-columns: repeat(3, 1fr); }
.repair-grid .extra-card h3 { font-size: 19px; margin-bottom: 8px; }
.gates-cost .cost-price { font-size: 28px; }
@media (max-width: 900px) {
  .gates-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/gate-driveway.jpg") center / cover no-repeat; }
  .repair-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Service page: Pool Vinyl Fencing
   ========================================================= */
.pool-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/pool-wood.jpg") center 55% / cover no-repeat;
}
@media (max-width: 900px) {
  .pool-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/pool-wood.jpg") center / cover no-repeat; }
}

/* ---------- Service page: Ranch & Horse ---------- */
.ranch-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/ranch-black.jpg") center 60% / cover no-repeat;
}
@media (max-width: 900px) {
  .ranch-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/ranch-black.jpg") center / cover no-repeat; }
}

/* ---------- Service page: Pet & Dog ---------- */
.pet-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/pet-gray.jpg") center 45% / cover no-repeat;
}
@media (max-width: 900px) {
  .pet-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/pet-gray.jpg") center / cover no-repeat; }
}

/* ---------- Service page: Commercial ---------- */
.commercial-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/commercial-perimeter.jpg") center 55% / cover no-repeat;
}
@media (max-width: 900px) {
  .commercial-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/commercial-perimeter.jpg") center / cover no-repeat; }
}

/* ---------- Service page: Residential ---------- */
.residential-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/residential-backyard.jpg") center 55% / cover no-repeat;
}
@media (max-width: 900px) {
  .residential-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/residential-backyard.jpg") center / cover no-repeat; }
}

/* ---------- Service page: Decorative ---------- */
.decorative-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/decorative-lattice.jpg") center 60% / cover no-repeat;
}
@media (max-width: 900px) {
  .decorative-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/decorative-lattice.jpg") center / cover no-repeat; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero {
  background:
    linear-gradient(90deg, rgba(12, 45, 92, .93) 0%, rgba(12, 45, 92, .82) 35%, rgba(12, 45, 92, .3) 60%, rgba(12, 45, 92, 0) 75%),
    url("../images/hero-bg.jpg") center 60% / cover no-repeat;
}
.contact-main { padding-top: 44px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: start; }
.contact-info h2, .contact-form-card h2, .contact-services h2 { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.contact-lead { margin-bottom: 20px; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border-radius: 10px; padding: 16px; }
.info-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; }
.info-list h3 { font-size: 16px; margin-bottom: 2px; }
.info-big { display: inline-block; font-size: 20px; font-weight: 900; color: var(--navy); word-break: break-word; }
.info-big:hover { color: var(--green); }
.info-list p { font-size: 14.5px; color: var(--muted); }
.info-strong { color: var(--navy) !important; font-weight: 700; }
.hours { display: grid; grid-template-columns: auto auto; gap: 3px 16px; margin: 4px 0 0; font-size: 14.5px; }
.hours dt { color: var(--navy); font-weight: 700; }
.hours dd { margin: 0; color: var(--text); }
.trust-box { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid #cfe9d2; background: var(--green-light); border-radius: 10px; }
.trust-icon { color: var(--green); }
.trust-icon svg { width: 34px; height: 34px; }
.trust-box strong { display: block; color: var(--navy); }
.trust-box span { font-size: 14px; color: var(--muted); }

.contact-form-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 10px; box-shadow: 0 6px 24px rgba(14, 47, 92, .1); padding: 26px; }
.contact-form-card > p { margin-bottom: 18px; }
.contact-form-card .book-form { grid-template-columns: repeat(2, 1fr); }
.contact-form-card .field-message { grid-column: 1 / -1; grid-row: auto; }
.contact-form-card .field textarea { min-height: 110px; }

.steps-3 { grid-template-columns: repeat(3, 1fr); }
.contact-bottom { padding-top: 44px; padding-bottom: 50px; }
.contact-bottom-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.contact-map, .contact-map iframe { min-height: 360px; }
.service-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 14px; }
.service-links a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; color: var(--navy); font-size: 14.5px; }
.service-links a:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 1000px) { .contact-grid, .contact-bottom-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .contact-hero { background: linear-gradient(180deg, rgba(12, 45, 92, .85), rgba(12, 45, 92, .72)), url("../images/hero-bg.jpg") center / cover no-repeat; }
  .steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .contact-form-card .book-form, .service-links { grid-template-columns: 1fr; } .contact-form-card { padding: 18px; } }
.trust-box .trust-icon { color: var(--green); display: flex; }

/* ---------- Footer contact row ---------- */
.footer-contact { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-contact a { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; }
.footer-contact a:hover { color: #7fd48b; }
.footer-contact svg { width: 18px; height: 18px; color: #7fd48b; }
.footer-top { border-bottom: 1px solid rgba(255, 255, 255, .15); }

/* =========================================================
   Legal pages (Privacy Policy, Terms of Service)
   ========================================================= */
.legal-hero { background: var(--navy); color: var(--white); padding: 40px 0 36px; }
.legal-hero h1 { color: var(--white); font-size: 46px; font-weight: 900; margin: 6px 0 8px; }
.legal-date { opacity: .85; font-size: 14.5px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-top: 40px; padding-bottom: 60px; align-items: start; }
.legal-toc { position: sticky; top: 20px; background: var(--bg-soft); border-radius: 10px; padding: 18px 20px; }
.toc-title { font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.legal-toc a { font-size: 14px; font-weight: 600; color: var(--text); }
.legal-toc a:hover { color: var(--green); }
.legal-content { max-width: 780px; }
.legal-intro { font-size: 17px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.legal-section { margin-bottom: 30px; scroll-margin-top: 20px; }
.legal-section h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.legal-section h3 { font-size: 17px; margin: 14px 0 6px; }
.legal-section p { margin-bottom: 10px; font-size: 16px; line-height: 1.65; }
.legal-section ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.legal-section li { margin-bottom: 5px; line-height: 1.55; }
.legal-content a { color: var(--green); font-weight: 700; text-decoration: underline; }
.legal-contact { font-style: normal; background: var(--bg-soft); border-left: 4px solid var(--green); border-radius: 6px; padding: 16px 18px; line-height: 1.8; }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-weight: 600; font-size: 13.5px; }
.footer-legal a:hover { color: #7fd48b; text-decoration: underline; }
.form-consent { font-size: 12.5px; color: var(--muted); text-align: center; max-width: 620px; }
.form-consent a { color: var(--green); font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-hero h1 { font-size: 34px; }
}

/* ---------- Header: logo on the same line as nav + phone ---------- */
.header-top { justify-content: flex-end; padding-top: 6px; padding-bottom: 0; min-height: 0; }
.header-nav { justify-content: flex-start; align-items: center; gap: 36px; padding-top: 0; padding-bottom: 12px; }
.header-nav .logo { margin-right: auto; }
.header-nav .logo img { height: 72px; }
.header-top .badge strong { font-size: 14px; }
.header-top .badge-icon { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .header-top { display: none; }
  .header-nav { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .header-nav .logo img { height: 52px; }
}
@media (max-width: 600px) {
  .header-nav .logo img { height: 40px; }
  .header-nav .btn-phone { font-size: 14px; padding: 8px 10px; gap: 6px; }
  .header-nav .btn-phone svg { width: 16px; height: 16px; }
}
.btn-phone { white-space: nowrap; }
@media (max-width: 600px) {
  .header-nav { gap: 8px; }
  .header-nav .logo img { height: 36px; }
  .header-nav .btn-phone { font-size: 13.5px; padding: 8px 10px; }
  .nav-toggle { padding: 6px 2px; }
}
@media (max-width: 900px) {
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
}

/* ---------- Footer: main + service links ---------- */
.footer-top { align-items: flex-start; }
.footer-links { flex: 1; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.footer-main { gap: 26px; }
.footer-main a { font-size: 15px; font-weight: 800; }
.footer-services { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; }
.footer-services a { font-size: 14px; font-weight: 600; opacity: .9; }
.footer-services a:hover { opacity: 1; }
@media (max-width: 1100px) { .footer-services { grid-template-columns: repeat(2, auto); } }
@media (max-width: 600px) { .footer-services { grid-template-columns: 1fr; } }
