/* =========================================================
   Concrete Leveling Glendale — concretelevelingglendale.com
   ========================================================= */
:root {
  --navy: #16252e;
  --navy-2: #1d2f3a;
  --ink: #17232c;
  --text: #4a5761;
  --muted: #6c7882;
  --orange: #f47a1f;
  --orange-dark: #e0670d;
  --bg: #f3f6f9;
  --line: #e2e8ee;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(22, 37, 46, .08);
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; font-family: var(--head); font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .arr { font-size: 1.1em; line-height: 1; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(244, 122, 31, .3); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid #c9d2da; }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-xs { padding: 7px 14px; font-size: 12.5px; }
.btn-block { width: 100%; padding: 14px; font-size: 15px; }

/* Section title with the orange dash after it */
.title-dash { display: inline; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.title-dash::after { content: ""; display: inline-block; width: 36px; height: 3px; background: var(--orange); border-radius: 2px; margin-left: 14px; vertical-align: middle; }

.section { padding: 56px 0; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; background: transparent; transition: background .25s, box-shadow .25s, padding .25s; }
.site-header.scrolled { position: fixed; background: rgba(255, 255, 255, .97); box-shadow: 0 2px 14px rgba(0, 0, 0, .08); padding: 8px 0; }
/* transparent over the hero: light logo + white links; solid after scroll */
.logo .logo-on-light { display: none; }
.site-header.scrolled .logo .logo-on-hero { display: none; }
.site-header.scrolled .logo .logo-on-light { display: block; }
.site-header:not(.scrolled) .main-nav a { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.header-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 54px; width: auto; }
.site-header.scrolled .logo img { height: 46px; }
.logo-light img { height: 58px; }
.logo-mark { width: 50px; height: 32px; fill: currentColor; flex: none; }
.logo-text { display: flex; flex-direction: column; font-family: var(--head); line-height: 1.05; }
.logo-text strong { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.logo-text small { font-size: 11.5px; font-weight: 600; letter-spacing: .28em; margin-top: 2px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-family: var(--head); font-weight: 500; font-size: 14.5px; color: var(--ink); padding: 6px 0; position: relative; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.main-nav a:hover::after, .main-nav a.active::after, .main-nav > ul > li > a[aria-current="page"]::after { width: 100%; }
/* services dropdown */
.has-dropdown { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-toggle { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.dd-toggle svg { width: 15px; height: 15px; transition: transform .2s; }
.site-header:not(.scrolled) .dd-toggle { color: #fff; }
.site-header.scrolled .dd-toggle { color: var(--ink); }
.main-nav .dropdown { position: absolute; top: 100%; left: -18px; display: block; min-width: 270px; padding: 10px; margin-top: 10px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(22, 37, 46, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.main-nav .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s; }
.has-dropdown:hover .dd-toggle svg, .has-dropdown.open .dd-toggle svg { transform: rotate(180deg); }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a, .site-header:not(.scrolled) .main-nav .dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-shadow: none; font-size: 14px; white-space: nowrap; }
.main-nav .dropdown a::after { display: none; }
.main-nav .dropdown a:hover, .main-nav .dropdown a[aria-current="page"] { background: #fff4ea; color: var(--orange-dark); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { font-size: 17px; font-weight: 700; padding: 11px 22px; gap: 10px; }
.header-phone svg { width: 19px; height: 19px; fill: currentColor; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 8px; background: var(--navy); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.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; min-height: 640px; padding: 116px 0 40px; display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(10, 18, 24, .78) 0%, rgba(10, 18, 24, .58) 40%, rgba(10, 18, 24, .12) 62%, rgba(10, 18, 24, 0) 100%),
              linear-gradient(180deg, rgba(10, 18, 24, .6) 0%, rgba(10, 18, 24, .25) 14%, rgba(10, 18, 24, 0) 28%),
              url("../images/hero-glendale-concrete.jpg") 30% center / cover no-repeat; }
.hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.hero-eyebrow { font-family: var(--head); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .92); margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 66px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; max-width: 640px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-lead { font-size: 18px; line-height: 1.55; max-width: 560px; margin: 20px 0 0; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-call { background: rgba(14, 24, 30, .78); color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); padding: 9px 24px; gap: 14px; text-align: left; }
.btn-call:hover { background: rgba(14, 24, 30, .92); }
.btn-call svg { width: 24px; height: 24px; fill: #fff; }
.btn-call span { display: flex; flex-direction: column; font-size: 20px; line-height: 1.1; font-weight: 700; }
.btn-call small { font-size: 13px; font-weight: 500; }
.hero-badges { display: flex; gap: 26px; margin-top: 26px; font-size: 14px; font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; }

.estimate-card { background: rgba(20, 33, 41, .94); border-radius: 12px; padding: 26px 26px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
.estimate-title { color: #fff; font-size: 25px; font-weight: 700; }
.estimate-sub { color: rgba(255, 255, 255, .85); font-size: 14px; margin: 6px 0 18px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #d5dde4; border-radius: 6px; background: #f1f4f7; color: var(--ink); padding: 11px 14px; font-size: 14px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #7a8691; }
.lead-form select { appearance: none; color: #5d6a75; background: #f1f4f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2317232c' stroke-width='2.5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 36px; }
.lead-form select:valid { color: var(--ink); }
.lead-form textarea { resize: vertical; min-height: 64px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 122, 31, .25); background-color: #fff; }
.lead-form .invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .2); }
.estimate-card .lead-form { display: grid; gap: 10px; }
.estimate-card .btn-block { margin-top: 6px; }
.form-secure { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: 12.5px; margin-top: 4px; }
.form-secure svg { width: 14px; height: 14px; fill: currentColor; }
.form-status { font-size: 13.5px; font-weight: 500; color: #7ee0a0; min-height: 0; }
.form-status:empty { display: none; }
.form-status.error { color: #ffb4b4; }

/* ---------- Trust bar ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 8px; }
.trust-item strong { white-space: nowrap; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 30px; height: 30px; fill: var(--navy-2); color: var(--navy-2); flex: none; }
.trust-item strong { display: block; font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Services ---------- */
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.section-intro { margin-left: auto; color: var(--text); font-size: 14.5px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22, 37, 46, .13); }
.service-card img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.service-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.service-body p { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.learn-more { margin-top: auto; font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink); display: inline-flex; gap: 6px; }
.learn-more:hover { color: var(--orange); }

/* ---------- About + Why ---------- */
.about-why { background: #fff; padding: 44px 0; }
.about-why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
.about { padding-right: 40px; border-right: 1px solid var(--line); }
.about .title-dash { display: block; font-size: clamp(22px, 2vw, 26px); }
.about-body { display: grid; grid-template-columns: 50% 1fr; grid-template-rows: auto 1fr; grid-template-areas: "title text" "img text"; column-gap: 22px; row-gap: 18px; align-items: start; }
.about-body .title-dash { grid-area: title; }
.about-body img { grid-area: img; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 776 / 514; object-fit: cover; object-position: center; }
.about-text { grid-area: text; }
.about-text p { font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; text-align: center; background: #fff; box-shadow: 0 2px 8px rgba(22, 37, 46, .04); }
.why-card svg { width: 30px; height: 30px; margin: 0 auto 10px; }
.why-card h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.why-card h3 small { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.why-card p { font-size: 13px; line-height: 1.45; }
.ic-blue { fill: #2f7de1; } .ic-orange { fill: #f26a2e; } .ic-purple { fill: #9b4fe0; }
.ic-green { fill: #27a84f; } .ic-red { fill: #e5322d; } .ic-amber { fill: #f59a1b; }

/* ---------- Cost + Projects ---------- */
.cost-projects { padding: 40px 0 48px; }
.pricing { padding: 48px 0 24px; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.calc-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 24px; }
.calc-card h3 { font-size: 19px; font-weight: 700; }
.calc-sub { font-size: 14px; margin: 4px 0 16px; }
.calc-form > label, .calc-form legend { display: block; font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; padding: 0; }
.calc-form select { width: 100%; border: 1px solid #d5dde4; border-radius: 6px; padding: 10px 36px 10px 12px; font-size: 14px; color: var(--ink); appearance: none; background: #f1f4f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2317232c' stroke-width='2.5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; margin-bottom: 14px; }
.calc-form fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 9px 6px; border: 1.5px solid #d5dde4; border-radius: 8px; font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink); transition: border-color .15s, background .15s; }
.seg small { font-family: var(--body); font-weight: 400; font-size: 11.5px; color: var(--muted); }
.seg input:checked + span { border-color: var(--orange); background: #fff4ea; }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.calc-result { margin-top: 6px; background: var(--navy); color: #fff; border-radius: 10px; padding: 18px; text-align: center; }
.calc-label { font-size: 13px; color: rgba(255, 255, 255, .75); }
.calc-result strong { display: block; font-family: var(--head); font-size: 32px; font-weight: 700; margin: 2px 0 6px; }
.calc-result p { font-size: 12.5px; color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.cost-projects { padding: 24px 0 52px; }
.cost-intro { font-size: 14px; margin: 8px 0 14px; }
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cost-table th { background: #d4dee7; color: var(--ink); font-family: var(--head); font-weight: 600; text-align: left; padding: 9px 16px; }
.cost-table td { padding: 8px 16px; border-top: 1px solid var(--line); color: #33414c; }
.cost-table td + td, .cost-table th + th { border-left: 1px solid var(--line); }
.cost-table tbody tr:nth-child(even) td { background: #f8fafc; }
.cost-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.projects-head, .reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

.ba-slider { --pos: 50%; position: relative; display: flex; height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba-pane { position: relative; height: 100%; overflow: hidden; }
.ba-before { flex: 0 0 var(--pos); }
.ba-after { flex: 1 1 auto; border-left: 3px solid #fff; }
.ba-pane img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; bottom: 12px; background: rgba(23, 35, 44, .8); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 6px; }
.ba-before .ba-label { left: 12px; }
.ba-after .ba-label { right: 12px; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: ew-resize; display: grid; place-items: center; }
.ba-handle svg { width: 22px; height: 22px; }
.ba-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; box-shadow: 0 2px 8px rgba(22, 37, 46, .08); transition: border-color .2s; }
.thumb.active { border-color: var(--orange); }
.thumb img { width: 100%; aspect-ratio: 2.5 / 1; object-fit: cover; transition: transform .3s; }
.thumb:hover img { transform: scale(1.06); }

/* ---------- FAQ + Reviews ---------- */
.faq-reviews { background: #fff; padding: 44px 0 56px; }
.faq-reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.faq-list { counter-reset: faq; margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.faq-item { counter-increment: faq; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-item h3 { font-family: var(--body); font-size: 14px; font-weight: 500; }
.faq-item button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 0; padding: 10px 14px; color: #2a3741; cursor: pointer; }
.faq-item button::before { content: counter(faq) "."; min-width: 22px; color: #2a3741; }
.faq-item button::after { content: "+"; margin-left: auto; font-size: 18px; line-height: 1; color: #4a5761; transition: transform .2s; }
.faq-item button[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--orange); }
.faq-item button:hover { background: #f8fafc; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; padding: 0 14px 0 46px; font-size: 13.5px; color: var(--text); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 12px; }

.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.review-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(22, 37, 46, .05); }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review-top figcaption { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--ink); }
.stars { color: #f6a21a; font-size: 13px; letter-spacing: 1px; }
.review-card blockquote { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: #3a4751; }
.review-loc { margin-top: auto; font-size: 12px; color: var(--muted); }


/* ---------- Service area ---------- */
.service-area { background: var(--bg); }
.service-area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.area-intro { margin: 14px 0 22px; font-size: 15px; max-width: 560px; }
.area-intro a { color: var(--orange-dark); font-weight: 600; }
.area-sub { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.area-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; }
.area-list button { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.area-list button span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.area-list button:hover, .area-list button.active { border-color: var(--orange); background: #fff7f0; }
.area-list button.home { border-color: var(--orange); font-weight: 600; }
.area-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.area-map-wrap { position: sticky; top: 90px; }
.area-map { height: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe7ee; }
.area-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 0; background: url("../images/cta-glendale-driveway.jpg") center 60% / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 12%); }
.cta .container { position: relative; padding-top: 22px; padding-bottom: 22px; }
.cta-panel { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; background: rgba(20, 33, 41, .9); border-radius: 12px; padding: 30px 36px; color: #fff; backdrop-filter: blur(3px); }
.cta-eyebrow { font-family: var(--head); font-weight: 500; font-size: 16px; margin-bottom: 8px; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; margin-bottom: 0; }
.cta-copy p:last-child { font-size: 14px; color: rgba(255, 255, 255, .85); max-width: 460px; }
.cta-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cta-form select { grid-column: 1; }
.cta-form textarea { grid-column: 2; grid-row: 2 / span 1; min-height: 72px; }
.cta-form .btn { grid-column: 3; grid-row: 2; height: 100%; min-height: 60px; font-size: 15px; }
.cta-form .form-status { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 2fr 1.4fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.logo-light { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.site-footer ul li { margin-bottom: 4px; }
.site-footer a:hover { color: var(--orange); }
.footer-services ul { display: grid; grid-template-columns: auto auto; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 40px; justify-content: start; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.contact-list svg { width: 17px; height: 17px; fill: #fff; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; font-size: 12.5px; }
.footer-bottom span[aria-hidden] { margin: 0 6px; opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .faq-reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .site-header, .site-header.scrolled { position: fixed; padding: 8px 0; }
  .site-header.scrolled { background: rgba(255, 255, 255, .97); }
  .site-header:not(.scrolled) .main-nav a { text-shadow: none; }
  .nav-toggle { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
  .site-header.scrolled .logo img { height: 54px; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 82vw); background: var(--navy); padding: 90px 28px 28px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; box-shadow: -10px 0 30px rgba(0, 0, 0, .3); }
  .main-nav.open { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { color: #fff; font-size: 17px; display: block; padding: 10px 0; }
  .main-nav { overflow-y: auto; }
  .has-dropdown { flex-wrap: wrap; justify-content: space-between; }
  .has-dropdown > a { flex: 1; }
  .dd-toggle, .site-header .dd-toggle, .site-header.scrolled .dd-toggle { width: 40px; height: 40px; color: #fff; border-radius: 8px; background: rgba(255, 255, 255, .08); }
  .main-nav .dropdown { position: static; flex-basis: 100%; min-width: 0; margin: 0; padding: 0 0 6px 12px; background: none; box-shadow: none; border-left: 2px solid var(--orange); opacity: 1; transform: none; visibility: visible; display: none; transition: none; }
  .main-nav .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dd-toggle svg { transform: none; }
  .has-dropdown.open .dd-toggle svg { transform: rotate(180deg); }
  .main-nav .dropdown a, .site-header:not(.scrolled) .main-nav .dropdown a { color: rgba(255, 255, 255, .85); font-size: 15px; padding: 8px 10px; white-space: normal; }
  .main-nav .dropdown a:hover, .main-nav .dropdown a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
  .header-actions { margin-left: auto; z-index: 2; }
  .hero-inner { grid-template-columns: 1fr; }
  .estimate-card { max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(4) { border-left: 0; }
  .trust-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .about-why-grid, .pricing-grid, .service-area-grid { grid-template-columns: 1fr; }
  .ba-slider { height: 300px; }
  .area-map-wrap { position: static; }
  .area-map { height: 420px; }
  .about { padding-right: 0; border-right: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .about .title-dash { max-width: none; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .container { padding: 0 18px; }
  .header-phone { font-size: 14px; padding: 9px 12px; gap: 6px; }
  .header-phone svg { width: 16px; height: 16px; }
  .header-actions { gap: 10px; }
  .header-inner { gap: 10px; }
  .logo img, .site-header.scrolled .logo img { height: 36px; }
  .hero { padding-top: 100px; min-height: 0; background-position: 30% center; }
  .hero-lead { font-size: 16px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .section-head { flex-wrap: wrap; gap: 12px; }
  .section-intro { margin-left: 0; width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .about-body { grid-template-columns: 1fr; grid-template-areas: "title" "img" "text"; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { justify-content: flex-start; border-left: 0 !important; border-top: 1px solid var(--line); }
  .trust-item:last-child { grid-column: 1 / -1; }
  .ba-slider { height: 210px; }
  .ba-thumbs { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-map { height: 340px; }
  .projects-head, .reviews-head { flex-wrap: wrap; }
  .cta-panel { padding: 26px 20px; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-form select, .cta-form textarea, .cta-form .btn { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-services ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .logo img, .site-header.scrolled .logo img { height: 28px; }
  .header-inner, .header-actions { gap: 6px; }
  .header-phone { font-size: 13px; padding: 8px 10px; gap: 5px; }
  .header-phone svg { width: 14px; height: 14px; }
  .nav-toggle { width: 38px; height: 38px; padding: 10px 9px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   SERVICE PAGES
   Each page sets --tint / --tint2 on <body> and mixes different
   hero, content, process, cost and FAQ layouts.
   ========================================================= */
.service-page { --tint: #16252e; --tint2: #2b4656; }
.sp-hero { position: relative; color: #fff; padding: 128px 0 64px; background: linear-gradient(135deg, var(--tint) 0%, var(--tint2) 100%); overflow: hidden; }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(244, 122, 31, .18), transparent 45%); pointer-events: none; }
.sp-hero .container { position: relative; z-index: 1; }
.sp-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 10px 0 16px; }
.sp-lead { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 500; }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.sp-call { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; }
.sp-call svg { width: 20px; height: 20px; fill: var(--orange); }
.sp-call:hover span { text-decoration: underline; }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sp-hero-media img { width: 100%; border-radius: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }

/* hero: split (image right) */
.hero-split .sp-hero-media img { transform: rotate(1.2deg); }
/* hero: split reversed (image left) */
.hero-split-rev .sp-hero-media { order: -1; }
.hero-split-rev .sp-hero-media img { border-radius: 14px 70px 14px 14px; }
/* hero: diagonal image bleeding to the right edge */
.hero-diagonal { padding-bottom: 0; }
.hero-diagonal .sp-hero-grid { align-items: stretch; }
.hero-diagonal .sp-hero-copy { padding-bottom: 64px; }
.hero-diagonal .sp-hero-media { margin-right: calc(-1 * (100vw - min(100vw, 1240px)) / 2 - 24px); clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%); }
.hero-diagonal .sp-hero-media img { height: 100%; object-fit: cover; object-position: left top; border-radius: 0; box-shadow: none; }
/* hero: centered with overlapping image card */
.hero-center { text-align: center; padding-bottom: 150px; }
.hero-center .sp-lead { margin: 0 auto; }
.hero-center .crumbs, .hero-center .sp-actions { justify-content: center; }
.hero-center h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-center-media { margin-top: -110px; position: relative; z-index: 2; max-width: 980px; }
.hero-center-media img { width: 100%; border-radius: 16px; box-shadow: 0 24px 50px rgba(22, 37, 46, .25); border: 6px solid #fff; }
/* hero: banner (text above, wide image strip below) */
.hero-banner { padding-bottom: 0; }
.hero-banner .sp-hero-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px 48px; align-items: end; }
.hero-banner .crumbs { grid-column: 1 / -1; }
.hero-banner h1 { margin: 0; }
.hero-banner .sp-lead { margin: 0; }
.hero-banner .sp-actions { grid-column: 2; margin-top: 4px; }
.hero-banner-media { margin-top: 40px; margin-bottom: -90px; }
.hero-banner-media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 60%; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.service-page .hero-banner + .sp-content { padding-top: 140px; }
/* hero: notice (foundation) */
.hero-notice .sp-hero-media img { border-radius: 50% 14px 14px 14px / 30% 14px 14px 14px; }
.notice-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.notice-badges li { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; }
.notice-badges svg { width: 16px; height: 16px; color: var(--orange); }
/* hero: collage of both images */
.collage { position: relative; min-height: 400px; }
.collage img { position: absolute; width: 72%; border-radius: 14px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.collage .c1 { top: 0; right: 0; }
.collage .c2 { bottom: 0; left: 0; border: 5px solid var(--tint); }
/* hero: framed image with orange offset */
.hero-framed .sp-hero-media { position: relative; padding: 0 22px 22px 0; }
.hero-framed .sp-hero-media::before { content: ""; position: absolute; inset: 22px 0 0 22px; border: 3px solid var(--orange); border-radius: 16px; }
.hero-framed .sp-hero-media img { position: relative; }

/* ---------- content layouts ---------- */
.sp-content { background: #fff; padding: 64px 0; }
.sp-article { color: #3a4751; font-size: 16px; line-height: 1.75; }
.sp-article h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; margin: 0 0 12px; }
.sp-article p { margin-bottom: 14px; }
.sp-intro p:first-child { font-size: 18px; color: var(--ink); }
.sp-intro { margin-bottom: 30px; }
.sp-block { margin-bottom: 34px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 6px 0 18px; }
.checklist li { position: relative; padding-left: 28px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-8.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sp-figure { margin: 8px 0 36px; }
.sp-figure img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }

.sp-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.layout-sidebar-left .sp-content-grid { grid-template-columns: 330px minmax(0, 1fr); }
.layout-sidebar-left .sp-aside { order: -1; }
.sp-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.aside-quote { background: linear-gradient(135deg, var(--tint), var(--tint2)); border: 0; color: rgba(255, 255, 255, .88); }
.aside-quote .aside-title { color: #fff; }
.aside-quote p { font-size: 14px; margin: 6px 0 16px; }
.aside-title { font-size: 18px; font-weight: 700; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-family: var(--head); font-weight: 700; color: #fff; }
.aside-phone svg { width: 18px; height: 18px; fill: var(--orange); }
.aside-links { margin-top: 10px; }
.aside-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--orange-dark); padding-left: 4px; transition: padding .15s; }

.layout-narrow .sp-article { max-width: 820px; margin: 0 auto; }
.layout-narrow .sp-block { padding-left: 22px; border-left: 3px solid var(--line); }
.layout-narrow .sp-block:hover { border-left-color: var(--orange); }

.sp-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sp-columns .sp-intro, .sp-columns .sp-figure { grid-column: 1 / -1; }
.sp-columns .sp-intro { max-width: 860px; }
.sp-columns .sp-block { margin: 0; background: var(--bg); border-radius: 14px; padding: 26px; border-top: 4px solid var(--tint2); }
.sp-columns .checklist { grid-template-columns: 1fr; }

/* ---------- shared section head ---------- */
.sp-head { max-width: 760px; margin-bottom: 30px; }
.sp-head p { margin-top: 12px; font-size: 16px; }

/* ---------- process variants ---------- */
.sp-process { background: var(--bg); padding: 64px 0; }
.steps { counter-reset: none; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14.5px; line-height: 1.6; }
.step-num { font-family: var(--head); font-weight: 800; color: var(--orange); }

.process-row .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; position: relative; }
.process-row .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--tint2) 0 8px, transparent 8px 14px); }
.process-row .step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.process-row .step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 0 0 6px var(--bg); }

.process-timeline .steps { position: relative; max-width: 820px; padding-left: 70px; }
.process-timeline .steps::before { content: ""; position: absolute; left: 25px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--orange), var(--tint2)); border-radius: 2px; }
.process-timeline .step { position: relative; background: #fff; border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.process-timeline .step-num { position: absolute; left: -70px; top: 16px; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); display: grid; place-items: center; font-size: 16px; color: var(--tint); }

.process-zigzag .steps { position: relative; }
.process-zigzag .steps::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); }
.process-zigzag .step { position: relative; width: calc(50% - 40px); background: #fff; border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; margin-bottom: 18px; }
.process-zigzag .step:nth-child(even) { margin-left: auto; }
.process-zigzag .step::after { content: ""; position: absolute; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid var(--bg); }
.process-zigzag .step:nth-child(odd)::after { right: -48px; }
.process-zigzag .step:nth-child(even)::after { left: -48px; }
.process-zigzag .step-num { font-size: 30px; line-height: 1; }

.process-grid .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.process-grid .step { background: #fff; border-radius: 16px; padding: 26px; display: flex; gap: 18px; border: 1px solid var(--line); }
.process-grid .step-num { flex: none; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--tint), var(--tint2)); color: #fff; display: grid; place-items: center; font-size: 17px; }

.process-big { background: linear-gradient(135deg, var(--tint), var(--tint2)); color: rgba(255, 255, 255, .85); }
.process-big h2, .process-big h3 { color: #fff; }
.process-big .sp-head p { color: rgba(255, 255, 255, .8); }
.process-big .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.process-big .step { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
.process-big .step-num { font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--orange); }

/* ---------- cost variants ---------- */
.sp-cost { background: #fff; padding: 64px 0; }
.cost-disclaimer { margin-top: 16px; font-size: 13px; color: var(--muted); }
.cost-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sp-cost-table, .compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sp-cost-table th, .sp-cost-table td, .compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); }
.sp-cost-table thead th, .compare-table thead th { background: var(--tint); color: #fff; font-family: var(--head); font-weight: 600; border-top: 0; }
.sp-cost-table tbody th { font-family: var(--head); font-weight: 600; color: var(--ink); }
.sp-cost-table .price { font-family: var(--head); font-weight: 700; color: var(--orange-dark); white-space: nowrap; }
.factor-box { background: var(--bg); border-radius: 14px; padding: 22px; }
.factor-box h3, .range-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.factor-box .btn { margin-top: 18px; }
.factor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.factor-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--ink); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; background: #fff; }
.tier h3 { font-size: 19px; font-weight: 700; }
.tier-scope { font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.tier-price { font-family: var(--head); font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.tier ul { display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.tier li { display: flex; gap: 8px; font-size: 14.5px; }
.tier li svg { width: 18px; height: 18px; flex: none; color: var(--orange); margin-top: 2px; }
.tier-featured { background: linear-gradient(160deg, var(--tint), var(--tint2)); color: rgba(255, 255, 255, .85); border: 0; transform: translateY(-8px); box-shadow: 0 18px 40px rgba(22, 37, 46, .25); }
.tier-featured h3, .tier-featured .tier-price { color: #fff; }
.tier-featured .tier-scope { color: rgba(255, 255, 255, .7); }
.tier-badge { position: absolute; top: -12px; left: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

.range-card { border-radius: 18px; padding: 34px; background: var(--bg); border: 1px solid var(--line); }
.range-top { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.range-top span { display: block; font-size: 13px; color: var(--muted); }
.range-top strong { font-family: var(--head); font-size: clamp(30px, 4vw, 46px); color: var(--ink); line-height: 1; }
.range-bar { height: 14px; border-radius: 999px; background: #e3e9ee; overflow: hidden; }
.range-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ffc48f, var(--orange), var(--tint2)); }
.range-note { margin: 22px 0 22px; font-size: 15px; max-width: 760px; }

.compare-table td.good, .compare-table th.good { background: #fff4ea; color: var(--ink); font-weight: 600; }
.compare-table thead th.good { background: var(--orange); color: #fff; }
.compare-table tbody th { font-family: var(--head); font-weight: 600; color: var(--ink); width: 26%; }

/* ---------- FAQ variants ---------- */
.sp-faq { background: var(--bg); padding: 64px 0; }
.sp-faq-list { max-width: 860px; background: #fff; }
.sp-faq-list .faq-item h3 { font-size: 15.5px; }
.sp-faq-list .faq-item button { padding: 16px 18px; }
.sp-faq-list .faq-answer > p { font-size: 15px; padding-left: 50px; }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.qa { background: #fff; border-radius: 14px; padding: 22px 24px; border-left: 4px solid var(--orange); }
.qa h3, .qa-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.qa p, .qa-card p { font-size: 15px; line-height: 1.6; }
.qa-cards { display: grid; gap: 14px; max-width: 900px; }
.qa-card { display: flex; gap: 20px; background: #fff; border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); }
.qa-num { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: #fff; font-family: var(--head); font-weight: 700; display: grid; place-items: center; }

/* ---------- related services ---------- */
.sp-related { background: #fff; padding: 56px 0 64px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.rel-card { border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rel-card img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.rel-card > span { display: flex; justify-content: space-between; padding: 12px 14px; font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); }

/* ---------- service page responsive ---------- */
@media (max-width: 1024px) {
  .sp-hero { padding-top: 104px; }
  .sp-hero-grid, .hero-banner .sp-hero-copy { grid-template-columns: 1fr; }
  .hero-banner .sp-actions { grid-column: 1; }
  .hero-split-rev .sp-hero-media, .hero-framed .sp-hero-media { order: 0; }
  .hero-diagonal { padding-bottom: 48px; }
  .hero-diagonal .sp-hero-copy { padding-bottom: 0; }
  .hero-diagonal .sp-hero-media { margin-right: 0; clip-path: none; }
  .hero-diagonal .sp-hero-media img { border-radius: 14px; }
  .collage { min-height: 340px; }
  .sp-content-grid, .layout-sidebar-left .sp-content-grid { grid-template-columns: 1fr; }
  .layout-sidebar-left .sp-aside { order: 0; }
  .sp-aside { position: static; }
  .process-big .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-split, .tiers { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
  .process-zigzag .steps::before { left: 10px; }
  .process-zigzag .step { width: auto; margin-left: 36px !important; }
  .process-zigzag .step::after { left: -33px !important; right: auto !important; }
}
@media (max-width: 680px) {
  .sp-hero { padding-bottom: 44px; }
  .hero-center { padding-bottom: 110px; }
  .hero-center-media { margin-top: -80px; }
  .hero-banner-media { margin-bottom: -50px; }
  .service-page .hero-banner + .sp-content { padding-top: 90px; }
  .collage { min-height: 260px; }
  .collage img { width: 80%; }
  .sp-lead { font-size: 16px; }
  .checklist, .sp-columns, .qa-grid, .process-grid .steps, .process-big .steps { grid-template-columns: 1fr; }
  .process-row .steps::before { display: none; }
  .process-row .step { flex-direction: row; }
  .process-row .step-num { flex: none; width: 46px; height: 46px; font-size: 15px; }
  .process-timeline .steps { padding-left: 54px; }
  .process-timeline .steps::before { left: 19px; }
  .process-timeline .step-num { left: -54px; width: 40px; height: 40px; font-size: 13px; }
  .range-top { grid-template-columns: 1fr 1fr; }
  .range-bar { grid-column: 1 / -1; order: 3; }
  .sp-cost-table th, .sp-cost-table td, .compare-table th, .compare-table td { padding: 10px 12px; font-size: 14px; }
  .layout-narrow .sp-block { padding-left: 14px; }
  .qa-card { padding: 18px; gap: 14px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.ct-hero { position: relative; color: #fff; text-align: center; padding: 140px 0 130px; background: linear-gradient(rgba(14, 24, 31, .78), rgba(14, 24, 31, .88)), url("../images/cta-glendale-driveway.jpg") center 60% / cover no-repeat; }
.ct-hero .crumbs { justify-content: center; }
.ct-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.02em; margin: 12px 0 16px; }
.ct-lead { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .9); }

.ct-cards-wrap { margin-top: -80px; position: relative; z-index: 2; }
.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ct-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-radius: 16px; padding: 24px 22px; box-shadow: 0 16px 36px rgba(22, 37, 46, .12); transition: transform .2s, box-shadow .2s; min-width: 0; }
a.ct-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(22, 37, 46, .16); }
.ct-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff1e5; margin-bottom: 10px; }
.ct-icon svg { width: 24px; height: 24px; fill: var(--orange); }
.ct-card-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.ct-card strong { font-family: var(--head); font-size: 20px; color: var(--ink); line-height: 1.25; }
.ct-card .ct-email { font-size: 15px; overflow-wrap: break-word; }
.ct-card-note { font-size: 14px; color: var(--text); }
.ct-card-primary { background: var(--orange); }
.ct-card-primary .ct-icon { background: rgba(255, 255, 255, .2); }
.ct-card-primary .ct-icon svg { fill: #fff; }
.ct-card-primary .ct-card-label, .ct-card-primary .ct-card-note { color: rgba(255, 255, 255, .88); }
.ct-card-primary strong { color: #fff; font-size: 24px; }

.ct-main { padding: 64px 0; }
.ct-main-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.ct-form-card { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ct-form-card h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; }
.ct-form-sub { margin: 6px 0 24px; font-size: 15px; }
.req { color: var(--orange-dark); }
.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ct-full { grid-column: 1 / -1; }
.ct-field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-field > label, .ct-field legend { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); padding: 0; margin-bottom: 0; }
.ct-field legend { margin-bottom: 6px; }
.ct-form input[type="text"], .ct-form input[type="tel"], .ct-form input[type="email"], .ct-form select, .ct-form textarea { padding: 13px 14px; font-size: 15px; border-radius: 8px; background-color: #f6f8fa; }
.ct-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-radios label { position: relative; cursor: pointer; }
.ct-radios input { position: absolute; opacity: 0; pointer-events: none; }
.ct-radios span { display: inline-block; padding: 9px 22px; border: 1.5px solid #d5dde4; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink); transition: border-color .15s, background .15s; }
.ct-radios input:checked + span { border-color: var(--orange); background: #fff4ea; color: var(--orange-dark); }
.ct-radios input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.ct-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 4px; }
.ct-privacy { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ct-privacy svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.ct-form .form-status { color: #1f8a4c; font-size: 15px; }
.ct-form .form-status.error { color: #c43c3c; }

.ct-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.ct-next { background: var(--navy); color: rgba(255, 255, 255, .82); border-radius: 18px; padding: 28px; }
.ct-next h2 { color: #fff; font-size: 21px; font-weight: 700; margin-bottom: 18px; }
.ct-next ol { display: grid; gap: 18px; }
.ct-next li { display: flex; gap: 14px; }
.ct-next li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 700; display: grid; place-items: center; }
.ct-next h3 { color: #fff; font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.ct-next p { font-size: 14px; line-height: 1.5; }
.ct-trust { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.ct-trust div { text-align: center; padding: 14px 6px; }
.ct-trust div + div { border-left: 1px solid var(--line); }
.ct-trust strong { display: block; font-family: var(--head); color: var(--ink); font-size: 16px; }
.ct-trust span { font-size: 12.5px; color: var(--muted); }
.ct-photo { margin: 0; }
.ct-photo img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }

.ct-map-section { padding: 0 0 64px; }
.ct-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.ct-map { height: 420px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #dfe7ee; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.ct-faq { background: #fff; padding: 56px 0; }
.ct-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ct-faq .qa { background: var(--bg); }

@media (max-width: 1024px) {
  .ct-hero { padding: 120px 0 110px; }
  .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-main-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; grid-template-columns: 1fr 1fr; }
  .ct-next { grid-row: span 2; }
  .ct-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ct-hero { padding: 100px 0 100px; }
  .ct-lead { font-size: 16px; }
  .ct-cards-wrap { margin-top: -70px; }
  .ct-cards { grid-template-columns: 1fr; gap: 12px; }
  .ct-card { padding: 18px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 0; align-items: center; }
  .ct-card .ct-icon { grid-row: span 3; margin: 0; }
  .ct-form-card { padding: 22px 18px; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-submit-row .btn { width: 100%; }
  .ct-side { grid-template-columns: 1fr; }
  .ct-map { height: 320px; }
}

/* =========================================================
   LEGAL PAGES (privacy policy, terms of service)
   ========================================================= */
.lg-hero { color: #fff; padding: 130px 0 56px; background: linear-gradient(135deg, var(--navy) 0%, #2b4656 100%); position: relative; overflow: hidden; }
.lg-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 122, 31, .22), transparent 65%); }
.lg-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; margin: 12px 0 10px; }
.lg-updated { display: inline-block; font-size: 14px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 6px 14px; border-radius: 999px; }
.lg-body { background: #fff; padding: 56px 0 72px; }
.lg-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.lg-toc { position: sticky; top: 96px; background: var(--bg); border-radius: 14px; padding: 22px; }
.lg-toc-title { font-family: var(--head); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.lg-toc ol { counter-reset: toc; display: grid; gap: 2px; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--text); }
.lg-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange-dark); font-weight: 600; font-size: 12.5px; padding-top: 1px; }
.lg-toc a:hover { background: #fff; color: var(--ink); }
.lg-other { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); }
.lg-other:hover { color: var(--orange-dark); }
.lg-article { max-width: 800px; color: #3a4751; font-size: 16px; line-height: 1.75; }
.lg-intro { font-size: 18px; color: var(--ink); padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.lg-section { margin-bottom: 34px; scroll-margin-top: 100px; }
.lg-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(20px, 2vw, 25px); font-weight: 700; margin-bottom: 12px; }
.lg-num { font-size: 14px; color: var(--orange); font-weight: 700; }
.lg-section p { margin-bottom: 12px; }
.lg-section ul { margin: 6px 0 14px; display: grid; gap: 6px; }
.lg-section li { position: relative; padding-left: 22px; }
.lg-section li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.lg-section a { color: var(--orange-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.lg-contact { background: var(--bg); border-left: 4px solid var(--orange); border-radius: 10px; padding: 18px 22px; margin-top: 8px; }
.lg-contact p:last-child { margin-bottom: 0; }
.site-footer a[aria-current="page"] { color: var(--orange); }
@media (max-width: 1024px) {
  .lg-hero { padding: 110px 0 44px; }
  .lg-grid { grid-template-columns: 1fr; gap: 28px; }
  .lg-toc { position: static; }
  .lg-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-intro { font-size: 16.5px; }
  .lg-article { font-size: 15.5px; }
}
