/*
Theme Name: Roofsmith Roofing
Theme URI: https://roofsmithroofing.com
Author: Roofsmith Roofing
Author URI: https://roofsmithroofing.com
Description: Custom WordPress theme for Roofsmith Roofing — Boone, NC & Northwest North Carolina.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roofsmith
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #c0241a;
  --red-bright: #e02a1f;
  --black: #080808;
  --black-mid: #111111;
  --black-card: #161616;
  --white: #ffffff;
  --off-white: #f2f2f2;
  --gray: #888888;
  --gray-light: #cccccc;
  --gray-dark: #333333;
}
html { scroll-behavior: smooth; }
body { font-family: 'Roboto Condensed', sans-serif; background: var(--black); color: var(--white); overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* NAV — heights driven by CSS vars set via Customizer (defaults below) */
:root { --nav-height: 80px; --logo-height: 62px; --nav-bg: #ffffff; --nav-link: #333333; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--nav-bg); border-bottom: 3px solid var(--red); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: var(--nav-height); }
/* Logo sizing — targets WP custom-logo and plain <img> */
.nav-logo img,
.nav-logo .custom-logo-link img,
a.custom-logo-link img.custom-logo {
  height: var(--logo-height);
  max-height: var(--logo-height);
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo,
.nav-logo a,
.nav-logo a.custom-logo-link { display: flex; align-items: center; height: var(--nav-height); text-decoration: none; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a { color: var(--nav-link); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 1.2rem; height: var(--nav-height); display: flex; align-items: center; border-right: 1px solid #dddddd; transition: color 0.15s, background 0.15s; }
.nav-links a:first-child { border-left: 1px solid #dddddd; }
.nav-links a:hover { color: var(--red); background: #f5f5f5; }
.nav-cta { background: var(--red) !important; color: var(--white) !important; border-color: var(--red) !important; }
.nav-cta:hover { background: var(--red-bright) !important; }
.nav-links a.nav-active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { background: var(--red); color: #fff !important; }
.nav-links a.nav-active:hover,
.nav-links li.current-menu-item > a:hover,
.nav-links li.current_page_item > a:hover { background: var(--red-bright); color: #fff !important; }
.mobile-menu a.nav-active { background: var(--red) !important; color: #fff !important; }

/* HERO */
.hero { min-height: 100vh; background: var(--black); display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; padding-top: var(--nav-height); }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 70px 6% 80px 8%; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.8rem; animation: fadeUp 0.6s ease both; }
.hero-eyebrow-line { width: 40px; height: 3px; background: var(--red); }
.hero-eyebrow span { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); }
.hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 7.5vw, 7.5rem); line-height: 0.9; color: var(--white); letter-spacing: 0.02em; margin-bottom: 1.8rem; animation: fadeUp 0.7s 0.1s ease both; }
.hero h1 .line-red { color: var(--red); display: block; }
.hero h1 .line-outline { -webkit-text-stroke: 2px var(--white); color: transparent; display: block; }
.hero-sub { font-size: 1rem; color: var(--gray-light); max-width: 420px; line-height: 1.75; font-weight: 300; margin-bottom: 2.5rem; border-left: 3px solid var(--red); padding-left: 1rem; animation: fadeUp 0.7s 0.2s ease both; }
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; animation: fadeUp 0.7s 0.3s ease both; }
.btn-red { background: var(--red); color: var(--white); text-decoration: none; padding: 0.95rem 2.4rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block; transition: background 0.15s, transform 0.1s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); text-decoration: none; padding: 0.95rem 2.4rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; border: 2px solid var(--gray-dark); display: inline-block; transition: border-color 0.15s, color 0.15s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.hero-stats-row { display: flex; gap: 0; border-top: 1px solid #222; padding-top: 2rem; animation: fadeUp 0.7s 0.4s ease both; }
.hero-stat { flex: 1; padding-right: 2rem; border-right: 1px solid #222; margin-right: 2rem; }
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: var(--red); line-height: 1; letter-spacing: 0.02em; }
.hero-stat-label { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.2rem; }
.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; filter: brightness(0.75) contrast(1.05); }
.hero-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--black) 0%, transparent 40%), linear-gradient(to top, var(--black) 0%, transparent 35%); }
.hero-right-badge { position: absolute; bottom: 40px; right: 40px; z-index: 3; background: var(--red); width: 110px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.hero-right-badge .badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; line-height: 1; color: #fff; }
.hero-right-badge .badge-label { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); text-align: center; }

/* ABOUT */
.about { background: var(--black-mid); padding: 80px 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.section-label { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.section-label-line { width: 32px; height: 2px; background: var(--red); }
.section-label span { font-family: 'Oswald', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 0.92; letter-spacing: 0.02em; color: var(--white); margin-bottom: 1.6rem; }
.section-title .red { color: var(--red); }
.section-title .outline { -webkit-text-stroke: 1.5px var(--white); color: transparent; }
.about-text { color: #aaa; line-height: 1.82; font-size: 0.97rem; font-weight: 300; }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #222; border: 1px solid #222; }
.about-card { background: var(--black-card); padding: 1.8rem 1.5rem; transition: background 0.2s; }
.about-card:hover { background: #1e1e1e; }
.about-card-icon { font-size: 1.6rem; margin-bottom: 0.7rem; }
.about-card h4 { font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 0.4rem; }
.about-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.55; font-weight: 300; }

/* SERVICES */
.services { background: var(--black); padding: 90px 8%; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.services-header p { color: var(--gray); max-width: 380px; font-size: 0.93rem; line-height: 1.7; font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #1a1a1a; }
.service-card { background: var(--black-card); padding: 2.4rem 2rem; position: relative; overflow: hidden; transition: background 0.2s; cursor: default; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--red); transition: height 0.3s ease; }
.service-card:hover::before { height: 100%; }
.service-card:hover { background: #1b1b1b; }
.service-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: #1e1e1e; line-height: 1; position: absolute; top: 1rem; right: 1.5rem; letter-spacing: 0.02em; transition: color 0.2s; }
.service-card:hover .service-num { color: #252525; }
.service-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; font-weight: 300; }

/* GALLERY */
.gallery { background: var(--black-mid); padding: 90px 8%; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 3px; margin-top: 2.5rem; }
.gallery-item { position: relative; overflow: hidden; background: #1a1a1a; aspect-ratio: 4/3; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: brightness(0.8) contrast(1.05); transition: transform 0.5s ease, filter 0.3s; }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(0.9) contrast(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1.2rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); }

/* WHY US */
.why { background: var(--black); padding: 90px 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.why-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0; }
.why-item { display: flex; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid #1a1a1a; align-items: flex-start; }
.why-item:first-child { border-top: 1px solid #1a1a1a; }
.why-icon { width: 44px; height: 44px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.why-text h4 { font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.35rem; }
.why-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; font-weight: 300; }
.why-right { position: relative; }
.why-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.why-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; filter: brightness(0.75) contrast(1.05); }
.why-img-wrap::before { content: ''; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 2px solid var(--red); z-index: -1; }
.why-badge { position: absolute; bottom: -20px; left: -20px; background: var(--red); padding: 1.4rem 1.8rem; }
.why-badge .badge-big { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; line-height: 1; color: var(--white); }
.why-badge .badge-small { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* AREA */
.area { background: var(--black-mid); padding: 80px 8%; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.area-map { background: #111; border: 1px solid #222; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.area-map-placeholder { text-align: center; }
.area-map-placeholder .map-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.area-map-placeholder p { font-size: 0.8rem; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; }
.area-towns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.area-town { padding: 1.1rem 1.4rem; border-bottom: 1px solid #1e1e1e; border-right: 1px solid #1e1e1e; display: flex; align-items: center; gap: 0.7rem; transition: background 0.15s; }
.area-town:nth-child(even) { border-right: none; }
.area-town:hover { background: #151515; }
.area-dot { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; }
.area-town span { font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); }
.area-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--gray); line-height: 1.7; border-left: 2px solid var(--red); padding-left: 1rem; }

/* TESTIMONIALS */
/* ── WHO WE SERVE ─────────────────────────────────────────────────────── */
.who-we-serve { background: var(--black); padding: 90px 8%; }
.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #1a1a1a; margin-top: 3rem; }
.serve-card { background: var(--black-card); padding: 2.5rem 2rem; display: flex; flex-direction: column; }
.serve-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.serve-icon { font-size: 2rem; }
.serve-card-header h3 { font-family: 'Oswald', sans-serif; font-size: clamp(1.4rem, 2.5vw, 1.8rem); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin: 0; }
.serve-intro { font-size: 0.88rem; color: #bbb; line-height: 1.8; font-weight: 300; margin-bottom: 1.5rem; }
.serve-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.serve-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: #ccc; font-weight: 300; }
.serve-dot { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; }
.serve-card .btn-red { align-self: flex-start; margin-top: auto; }
@media (max-width: 700px) { .serve-grid { grid-template-columns: 1fr; } }

/* CONTACT */
.contact { background: var(--black-mid); padding: 90px 8%; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item h4 { font-family: 'Oswald', sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.97rem; color: var(--white); text-decoration: none; line-height: 1.6; }
.contact-item a:hover { color: var(--red); }
.estimate-form { background: var(--black-card); padding: 2.5rem; border-top: 3px solid var(--red); }
.form-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-family: 'Oswald', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
.form-group input, .form-group select, .form-group textarea { background: #111; border: 1px solid #2a2a2a; color: var(--white); padding: 0.75rem 1rem; font-family: 'Roboto Condensed', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.15s; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: #111; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { background: var(--red); color: var(--white); border: none; padding: 1rem 2.5rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; width: 100%; transition: background 0.15s; margin-top: 0.5rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.form-submit:hover { background: var(--red-bright); }

/* FOOTER */
footer { background: #ffffff; border-top: 1px solid #e5e5e5; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 8%; }
.footer-brand-logo { height: 44px; width: auto; margin-bottom: 1.2rem; display: block; }
.footer-desc { font-size: 0.85rem; color: #666; line-height: 1.75; font-weight: 300; max-width: 300px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.5rem; }
.social-btn { width: 34px; height: 34px; background: #f5f5f5; border: 1px solid #ddd; color: #555; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-family: 'Oswald', sans-serif; letter-spacing: 0.05em; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-col h4 { font-family: 'Oswald', sans-serif; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #222; margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid #e5e5e5; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.83rem; color: #666; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #e5e5e5; padding: 1.2rem 8%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; background: #f9f9f9; }
.footer-bottom p { font-size: 0.75rem; color: #888; }
.footer-bottom a { color: #888; text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }
.lic-badge { font-family: 'Oswald', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); border: 1px solid #ddd; padding: 0.3rem 0.8rem; }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--red); color: var(--white); padding: 1rem 1.8rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 999; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HAMBURGER / MOBILE MENU */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #333; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: #fff; z-index: 199; flex-direction: column; border-bottom: 2px solid var(--red); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 1rem 5%; font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: #333; text-decoration: none; border-bottom: 1px solid #eee; transition: background 0.15s; }
.mobile-menu a:hover { background: #f5f5f5; color: var(--red); }
.mobile-menu a.nav-cta { background: var(--red); color: #fff; text-align: center; }
.mobile-menu a.nav-cta:hover { background: var(--red-bright); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 55vw; min-height: 280px; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .why { grid-template-columns: 1fr; gap: 3rem; }
  .area-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .area-towns { grid-template-columns: 1fr; }
  .area-town { border-right: none !important; }
}

/* ═══════════════════════════════════════════════════════
   INNER PAGE HERO (shared across sub-pages)
═══════════════════════════════════════════════════════ */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; background: var(--black); padding-top: var(--nav-height); overflow: hidden; }
.page-hero .hero-left { display: flex; flex-direction: column; justify-content: center; padding: 60px 6% 60px 8%; }
.page-hero .hero-right { position: relative; overflow: hidden; min-height: 380px; }
.page-hero .hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; filter: brightness(0.72) contrast(1.05); }
.page-hero .hero-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--black) 0%, transparent 45%), linear-gradient(to top, var(--black) 0%, transparent 35%); }
.page-hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 6rem); line-height: 0.9; color: var(--white); letter-spacing: 0.02em; margin-bottom: 1.6rem; animation: fadeUp 0.7s 0.1s ease both; }
.page-hero-title .line-red { color: var(--red); display: block; }
.page-hero-title .line-outline { -webkit-text-stroke: 2px var(--white); color: transparent; display: block; }

/* ═══════════════════════════════════════════════════════
   BREADCRUMB BAR
═══════════════════════════════════════════════════════ */
.breadcrumb-bar { background: #0e0e0e; border-bottom: 1px solid #1a1a1a; padding: 0.75rem 8%; display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-bar a { font-family: 'Oswald', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); text-decoration: none; transition: color 0.15s; }
.breadcrumb-bar a:hover { color: var(--red); }
.breadcrumb-bar span { font-family: 'Oswald', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); }
.breadcrumb-sep { color: #333; font-size: 0.65rem; }

/* ═══════════════════════════════════════════════════════
   INTRO SPLIT SECTION
═══════════════════════════════════════════════════════ */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 80px 8%; background: var(--black-mid); }
.intro-split-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.intro-split-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; filter: brightness(0.8) contrast(1.05); }
.intro-split-img::before { content: ''; position: absolute; top: -12px; left: -12px; right: 12px; bottom: 12px; border: 2px solid var(--red); z-index: -1; }
.intro-body { color: #aaa; line-height: 1.85; font-size: 0.96rem; font-weight: 300; }
.intro-body p { margin-bottom: 1.2rem; }
.intro-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════
   TABBED RESIDENTIAL / COMMERCIAL
═══════════════════════════════════════════════════════ */
.res-com { padding: 80px 8%; background: var(--black); }
.res-com-tabs { display: flex; gap: 0; margin-bottom: 3rem; border-bottom: 2px solid #1e1e1e; }
.tab-btn { font-family: 'Oswald', sans-serif; font-size: 0.88rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); background: none; border: none; padding: 1rem 2rem; cursor: pointer; position: relative; transition: color 0.15s; }
.tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.2s; }
.tab-btn.active { color: var(--white); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.tab-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tab-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; filter: brightness(0.78) contrast(1.05); }
.tab-img-badge { position: absolute; bottom: -16px; left: -16px; background: var(--red); padding: 1.2rem 1.6rem; }
.tab-img-badge .badge-big { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; line-height: 1; color: #fff; }
.tab-img-badge .badge-small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.tab-content-body { color: #aaa; line-height: 1.82; font-size: 0.95rem; font-weight: 300; margin-bottom: 2rem; }
.tab-features { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; }
.tab-feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid #1a1a1a; }
.tab-feature:first-child { border-top: 1px solid #1a1a1a; }
.tab-feature-dot { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; margin-top: 0.45rem; }
.tab-feature-text h5 { font-family: 'Oswald', sans-serif; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.2rem; }
.tab-feature-text p { font-size: 0.82rem; color: var(--gray); line-height: 1.55; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   SERVICE DETAIL CARDS (full-width grid)
═══════════════════════════════════════════════════════ */
.detail-cards { padding: 80px 8%; background: var(--black-mid); }
.detail-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #1a1a1a; margin-top: 2.5rem; }
.detail-card { background: var(--black-card); padding: 2.2rem 1.8rem; position: relative; overflow: hidden; transition: background 0.2s; }
.detail-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--red); transition: height 0.3s; }
.detail-card:hover::before { height: 100%; }
.detail-card:hover { background: #1b1b1b; }
.detail-card-icon { font-size: 1.7rem; margin-bottom: 0.9rem; }
.detail-card h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.detail-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════════════════ */
.process { padding: 80px 8%; background: var(--black); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #111; margin-top: 2.5rem; }
.process-step { padding: 2.4rem 1.8rem; border-right: 1px solid #1a1a1a; position: relative; }
.process-step:last-child { border-right: none; }
.process-num { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: #1c1c1c; line-height: 1; margin-bottom: 0.8rem; }
.process-step h4 { font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.83rem; color: var(--gray); line-height: 1.6; font-weight: 300; }
.process-step::after { content: '→'; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.2rem; z-index: 2; }
.process-step:last-child::after { display: none; }

/* ═══════════════════════════════════════════════════════
   INFO / ARTICLE SECTIONS
═══════════════════════════════════════════════════════ */
.info-section { padding: 80px 8%; }
.info-section.dark { background: var(--black); }
.info-section.mid { background: var(--black-mid); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.info-body { color: #aaa; line-height: 1.88; font-size: 0.96rem; font-weight: 300; }
.info-body p { margin-bottom: 1.3rem; }
.info-body p:last-child { margin-bottom: 0; }
.info-body h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin: 1.8rem 0 0.6rem; }
.stat-box { background: var(--black-card); border-left: 3px solid var(--red); padding: 1.8rem 2rem; margin-bottom: 1.5rem; }
.stat-box-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--red); line-height: 1; }
.stat-box-label { font-size: 0.8rem; color: var(--gray); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.2rem; }
.stat-box-desc { font-size: 0.84rem; color: #888; line-height: 1.6; margin-top: 0.6rem; font-weight: 300; }
.warning-box { background: rgba(192,36,26,0.08); border: 1px solid rgba(192,36,26,0.3); padding: 1.6rem 2rem; margin: 1.8rem 0; }
.warning-box h4 { font-family: 'Oswald', sans-serif; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.warning-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.warning-box ul li { font-size: 0.84rem; color: #aaa; padding-left: 1rem; position: relative; font-weight: 300; }
.warning-box ul li::before { content: '▸'; color: var(--red); position: absolute; left: 0; }

/* ═══════════════════════════════════════════════════════
   SERVICE AREA MAP PAGE
═══════════════════════════════════════════════════════ */
.area-page { padding: 80px 8%; background: var(--black); }
.area-counties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: #1a1a1a; margin-top: 2.5rem; }
.county-card { background: var(--black-card); padding: 2.2rem 2rem; }
.county-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 0.4rem; padding-bottom: 0.8rem; border-bottom: 1px solid #222; }
.county-card .county-sub { font-size: 0.75rem; color: var(--red); letter-spacing: 0.18em; text-transform: uppercase; font-family: 'Oswald', sans-serif; margin-bottom: 1.2rem; display: block; }
.county-towns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.county-town-tag { background: #111; border: 1px solid #222; font-family: 'Oswald', sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); padding: 0.35rem 0.8rem; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.county-town-tag:hover { background: var(--red); border-color: var(--red); color: #fff; }
.area-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #1a1a1a; margin-top: 2.5rem; }
.area-why-card { background: var(--black-card); padding: 2rem 1.8rem; }
.area-why-card h4 { font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.area-why-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; font-weight: 300; }
.area-callout { background: var(--black-mid); padding: 60px 8%; text-align: center; border-top: 1px solid #1a1a1a; }
.area-callout p { font-size: 1.05rem; color: #aaa; line-height: 1.8; max-width: 700px; margin: 0 auto 2rem; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   CTA STRIP (bottom of inner pages)
═══════════════════════════════════════════════════════ */
.cta-strip { background: var(--red); padding: 70px 8%; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.cta-strip-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: #fff; letter-spacing: 0.02em; margin-top: 0.6rem; }
.cta-strip-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--red); text-decoration: none; padding: 0.95rem 2.4rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block; transition: background 0.15s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn-white:hover { background: var(--off-white); }
.btn-outline-white { background: transparent; color: #fff; text-decoration: none; padding: 0.95rem 2.4rem; font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; border: 2px solid rgba(255,255,255,0.5); display: inline-block; transition: border-color 0.15s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn-outline-white:hover { border-color: #fff; }

/* ═══════════════════════════════════════════════════════
   INNER PAGE RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .hero-right { height: 50vw; min-height: 260px; }
  .intro-split { grid-template-columns: 1fr; gap: 3rem; }
  .tab-grid { grid-template-columns: 1fr; gap: 3rem; }
  .detail-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(2)::after { display: none; }
  .info-grid { grid-template-columns: 1fr; gap: 3rem; }
  .area-counties { grid-template-columns: 1fr; }
  .area-why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .detail-cards-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .process-step::after { display: none; }
  .area-why-grid { grid-template-columns: 1fr; }
  .res-com-tabs { flex-wrap: wrap; }
  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .page-hero .hero-right { height: 55vw; min-height: 220px; }
  .intro-split { gap: 2rem; padding: 50px 5%; }
  .info-section { padding: 50px 5%; }
  .detail-cards { padding: 50px 5%; }
  .process { padding: 50px 5%; }
  .area-page { padding: 50px 5%; }
  .res-com { padding: 50px 5%; }
  .serve-grid { grid-template-columns: 1fr; }
  .breadcrumb-bar a,
  .breadcrumb-bar span { font-size: 0.8rem; }
  .section-label span { font-size: 0.78rem; }
  .form-group label { font-size: 0.82rem; }
  input, select, textarea { font-size: 16px !important; } /* prevent iOS zoom */
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .page-hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-btns { flex-direction: column; gap: 0.8rem; }
  .hero-btns a { text-align: center; }
  .about { padding: 40px 5%; }
  .services { padding: 40px 5%; }
  .gallery { padding: 40px 5%; }
  .why { padding: 40px 5%; }
  .area { padding: 40px 5%; }
  .contact { padding: 40px 5%; }
  .cta-strip { padding: 40px 5%; }
  .footer-top { padding: 40px 5%; }
  .tab-btn { padding: 0.75rem 1rem; font-size: 0.78rem; }
  .hamburger { padding: 8px; }
}
