/* ================================================
   X-Pert Roofing — Main Stylesheet
   ================================================ */

:root {
  --navy:        #1E3A5F;
  --navy-dark:   #0F1E30;
  --navy-light:  #2C4A6A;
  --orange:      #E8731A;
  --orange-dark: #C85E12;
  --orange-light:#F5A75A;
  --cream:       #F8F5F0;
  --white:       #FFFFFF;
  --text-dark:   #1A2332;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #E2E8F0;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 18px rgba(0,0,0,0.1);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.14);
  --t:           0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { transition: color var(--t); }

/* -------- HEADER / NAV -------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,30,48,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 40px; height: 40px; background: var(--orange); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.05rem;
  color: white; letter-spacing: -1px; flex-shrink: 0;
}
.logo-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--white); line-height: 1.1; }
.logo-name small { display: block; font-size: 0.52rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-links li a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.85rem; border-radius: 6px; transition: all var(--t);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-phone { color: rgba(255,255,255,0.5) !important; font-size: 0.82rem !important; }
.nav-phone:hover { color: var(--orange-light) !important; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; position: relative; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-actions { display: none !important; }
.mobile-menu-overlay { display: none; }

/* -------- HERO -------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1A3350 100%);
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.018) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.018) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.018) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.018) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}
.hero::after {
  content: '';
  position: absolute; top: -20%; right: -10%; width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(232,115,26,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 9rem 2rem 6rem;
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero-content { display: flex; flex-direction: column; }
.hero-img-wrap { display: flex; align-items: center; }
.hero-photo {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover;
  max-height: 580px; aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(0,0,0,0.38), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--orange-light); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--orange); }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 900; color: var(--white);
  line-height: 1.05; margin-bottom: 1.5rem; max-width: 720px; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--orange); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem); color: rgba(255,255,255,0.62);
  max-width: 520px; margin-bottom: 2.5rem; line-height: 1.78;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.trust-row { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.48); font-size: 0.8rem; font-weight: 500; }
.trust-badge-icon { width: 26px; height: 26px; background: rgba(232,115,26,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; }
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.12); }

/* -------- STAT STRIP -------- */
.stat-strip { background: var(--white); border-top: 3px solid var(--orange); box-shadow: var(--shadow-lg); }
.stat-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 48px; background: var(--border);
}
.stat-num { font-family: 'Montserrat', sans-serif; font-size: 2.6rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 0.4rem; }
.stat-num .plus { color: var(--orange); }
.stat-label-text { font-size: 0.77rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.97rem; font-weight: 700; text-decoration: none;
  padding: 0.9rem 1.9rem; border-radius: var(--radius-sm);
  transition: all var(--t); border: 2px solid transparent;
  cursor: pointer; font-family: inherit;
}
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(232,115,26,0.42); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.5); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-white { background: var(--white); color: var(--orange); border-color: var(--white); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-orange-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-orange-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

/* -------- SECTIONS -------- */
section { padding: 5.5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.overline { display: block; color: var(--orange); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 0.75rem; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.015em; }
.section-subtitle { color: var(--text-mid); font-size: 1.03rem; line-height: 1.72; }

/* -------- SERVICES SECTION (HOME) -------- */
.services-section { background: var(--cream); }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.services-grid .service-card { flex: 0 0 calc((100% - 2 * 1.25rem) / 3); }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--border); transition: all var(--t); position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon-wrap {
  width: 54px; height: 54px; background: rgba(232,115,26,0.1); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.6rem;
  transition: background var(--t);
}
.service-card:hover .service-icon-wrap { background: rgba(232,115,26,0.18); }
.service-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.91rem; color: var(--text-mid); line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--orange); font-size: 0.86rem; font-weight: 600; text-decoration: none; margin-top: 1rem; transition: gap var(--t); }
.service-link:hover { gap: 0.65rem; color: var(--orange-dark); }

/* -------- WHY US -------- */
.why-us-section { background: var(--white); }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-us-content .section-header { text-align: left; margin: 0 0 2.5rem; }
.features-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-row { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon-box {
  width: 46px; height: 46px; background: var(--orange); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: white;
}
.feature-body h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.feature-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.visual-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg); padding: 3rem; color: white; position: relative; overflow: hidden;
}
.visual-card::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,115,26,0.2) 0%, transparent 70%);
}
.visual-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--orange);
  color: white; padding: 0.45rem 1rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; margin-bottom: 1.5rem;
}
.visual-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.55rem; font-weight: 800; margin-bottom: 0.9rem; line-height: 1.2; }
.visual-card p { color: rgba(255,255,255,0.65); font-size: 0.93rem; line-height: 1.65; margin-bottom: 1.75rem; }
.guarantee-list { display: flex; flex-direction: column; gap: 0.75rem; }
.guarantee-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.check {
  width: 22px; height: 22px; background: rgba(232,115,26,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.6rem;
  color: var(--orange-light); flex-shrink: 0; font-weight: 700;
}
.owner-quote-block { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
.owner-quote-block blockquote { font-style: italic; color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.72; margin: 0 0 0.6rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.owner-quote-block cite { font-size: 0.8rem; color: var(--orange-light); font-style: normal; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* -------- TESTIMONIALS -------- */
.testimonials-section { background: var(--navy-dark); position: relative; overflow: hidden; }
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.015) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.015) 75%);
  background-size: 40px 40px;
}
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.52); }
.testimonials-section .overline { color: var(--orange-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; position: relative; z-index: 1; }
.testimonial-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md); padding: 2rem; transition: all var(--t);
}
.testimonial-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,115,26,0.3); transform: translateY(-3px); }
.t-stars { color: var(--orange-light); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.t-quote { color: rgba(255,255,255,0.78); font-size: 0.94rem; line-height: 1.72; font-style: italic; margin-bottom: 1.5rem; position: relative; padding-top: 0.5rem; }
.t-quote::before { content: '\201C'; font-size: 3.5rem; color: rgba(232,115,26,0.22); position: absolute; top: -0.75rem; left: -0.25rem; line-height: 1; font-style: normal; }
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar { width: 42px; height: 42px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.t-name { font-weight: 600; color: white; font-size: 0.9rem; }
.t-loc { color: rgba(255,255,255,0.42); font-size: 0.77rem; }

/* -------- CTA BANNER -------- */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #B85410 100%);
  padding: 5.5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.035) 75%);
  background-size: 40px 40px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: white; margin-bottom: 1rem; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.82); margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* -------- FOOTER -------- */
.site-footer { background: #06101A; color: rgba(255,255,255,0.5); padding: 4.5rem 2rem 1.5rem; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-name { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.87rem; line-height: 1.65; max-width: 270px; margin-bottom: 1.5rem; }
.footer-license {
  display: inline-block; background: rgba(232,115,26,0.1); border: 1px solid rgba(232,115,26,0.2);
  color: var(--orange-light); font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.8rem;
  border-radius: 4px; letter-spacing: 0.06em;
}
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.76rem; color: rgba(255,255,255,0.88); text-transform: uppercase; letter-spacing: 0.11em; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a { color: rgba(255,255,255,0.47); text-decoration: none; font-size: 0.87rem; transition: color var(--t); }
.footer-col ul a:hover { color: var(--orange-light); }
.contact-items { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.86rem; }
.contact-item-icon { font-size: 1rem; line-height: 1.4; flex-shrink: 0; }
.contact-item a { color: rgba(255,255,255,0.47); text-decoration: none; transition: color var(--t); }
.contact-item a:hover { color: var(--orange-light); }
.contact-item span { color: rgba(255,255,255,0.47); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.81rem; }
.footer-bottom a { color: rgba(255,255,255,0.32); text-decoration: none; transition: color var(--t); }
.footer-bottom a:hover { color: var(--orange-light); }

/* -------- PAGE HERO (inner pages) -------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 10rem 2rem 4.5rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.018) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.018) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.018) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.018) 75%);
  background-size: 40px 40px;
}
.page-hero .overline { color: var(--orange-light); position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 1rem; position: relative; z-index: 1; letter-spacing: -0.02em;
}
.page-hero p { color: rgba(255,255,255,0.58); font-size: 1.08rem; max-width: 540px; margin: 0 auto; line-height: 1.72; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.32); position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255,255,255,0.48); text-decoration: none; transition: color var(--t); }
.breadcrumb a:hover { color: var(--orange-light); }

/* -------- SERVICES PAGE -------- */
.services-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.service-detail-content .overline { text-align: left; }
.service-detail-content h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; line-height: 1.2; }
.service-detail-content > p { color: var(--text-mid); line-height: 1.78; margin-bottom: 1.5rem; font-size: 0.96rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.service-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; color: var(--text-mid); }
.service-list li::before {
  content: '✓'; width: 20px; height: 20px; background: rgba(232,115,26,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.62rem;
  color: var(--orange); flex-shrink: 0; font-weight: 900;
}
.service-visual-box {
  background: linear-gradient(145deg, var(--navy), var(--navy-light)); border-radius: var(--radius-lg);
  padding: 3.5rem; text-align: center; color: white; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  position: relative; overflow: hidden;
}
.service-visual-box::before {
  content: ''; position: absolute; bottom: -30px; right: -30px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232,115,26,0.2), transparent 70%);
}
.service-visual-icon { font-size: 4.5rem; position: relative; z-index: 1; }
.service-visual-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 800; position: relative; z-index: 1; }
.service-visual-box p { color: rgba(255,255,255,0.58); font-size: 0.9rem; max-width: 230px; line-height: 1.6; position: relative; z-index: 1; }
.alt-bg { background: var(--cream); }

/* -------- PROCESS -------- */
.process-section { background: var(--navy-dark); }
.process-section .section-title { color: var(--white); }
.process-section .section-subtitle { color: rgba(255,255,255,0.52); }
.process-section .overline { color: var(--orange-light); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 27px; left: calc(12.5% + 24px); right: calc(12.5% + 24px);
  height: 2px; background: rgba(255,255,255,0.1); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 54px; height: 54px; background: var(--orange); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 1.15rem;
  font-weight: 900; color: white; margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--navy-dark), 0 0 0 8px rgba(232,115,26,0.2);
}
.process-step h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.86rem; color: rgba(255,255,255,0.52); line-height: 1.6; }

/* -------- CONTACT PAGE -------- */
.contact-section { padding: 5.5rem 2rem; }
.contact-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr 0.9fr; gap: 3rem; }
.contact-photo-wrap { display: flex; }
.contact-photo { width: 100%; object-fit: cover; border-radius: var(--radius-lg); min-height: 480px; flex-grow: 1; }
.contact-info h2 { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-mid); font-size: 0.96rem; line-height: 1.72; margin-bottom: 2rem; }
.info-cards { display: flex; flex-direction: column; gap: 1rem; }
.info-card { background: var(--cream); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--border); transition: all var(--t); }
.info-card:hover { border-color: rgba(232,115,26,0.3); box-shadow: var(--shadow-sm); }
.info-card-icon { width: 42px; height: 42px; background: var(--orange); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-card-body h4 { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.3rem; }
.info-card-body p, .info-card-body a { font-size: 0.96rem; color: var(--navy); font-weight: 600; text-decoration: none; transition: color var(--t); }
.info-card-body a:hover { color: var(--orange); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.form-title { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.form-subtitle { color: var(--text-mid); font-size: 0.88rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.38rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.94rem; color: var(--text-dark); background: var(--white);
  transition: border-color var(--t); outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 1rem; background: var(--orange); color: white; border: none;
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all var(--t); display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(232,115,26,0.38); }
.map-section { height: 420px; background: var(--navy-light); overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: 0; }

/* -------- SVG ICON COLORS -------- */
.service-icon-wrap { color: var(--orange); }
.feature-icon-box { color: white; }
.info-card-icon { color: white; }
.trust-badge-icon { color: var(--orange); }
.service-visual-icon { color: rgba(255,255,255,0.75); line-height: 0; }

/* -------- TESTIMONIALS DUO -------- */
.testimonials-duo {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; position: relative; z-index: 1;
}
.t-duo-featured { border-left: 3px solid var(--orange); padding-left: 2.5rem; position: relative; }
.t-duo-featured::before {
  content: '\201C'; font-size: 7rem; color: rgba(232,115,26,0.14);
  position: absolute; top: -2rem; left: 0.4rem; line-height: 1; font-family: Georgia, serif; pointer-events: none;
}
.t-stars-row { color: var(--orange-light); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 1.25rem; }
.t-duo-quote { font-size: 1.1rem; line-height: 1.78; color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 1.75rem; }
.t-duo-quote-sm { font-size: 0.94rem; line-height: 1.72; color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 1.5rem; }
.t-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 2rem 0; }
.t-stat-block { padding: 1.5rem; background: rgba(232,115,26,0.1); border: 1px solid rgba(232,115,26,0.2); border-radius: var(--radius-md); }
.t-stat-num { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--orange-light); margin-bottom: 0.4rem; }
.t-stat-text { font-size: 0.88rem; color: rgba(255,255,255,0.58); line-height: 1.6; }

/* -------- SERVICES ACCORDION -------- */
.services-accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; max-width: 1100px; margin: 0 auto; }
.accordion-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.75rem 3rem;
  background: var(--white); border-bottom: 1px solid var(--border); align-items: start;
}
.accordion-item:last-child { border-bottom: none; }
.accordion-item:nth-child(even) { background: var(--cream); }
.accordion-left .overline { text-align: left; display: block; }
.accordion-left h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.accordion-left > p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.68; }

/* -------- EMERGENCY CALLOUT -------- */
.emergency-callout { margin-top: 2rem; padding: 1.5rem; background: rgba(232,115,26,0.07); border: 1px solid rgba(232,115,26,0.2); border-radius: var(--radius-md); }
.emergency-callout-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.95rem; }
.emergency-callout p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.emergency-callout a { color: var(--orange); font-weight: 700; text-decoration: none; }
.emergency-callout a:hover { color: var(--orange-dark); }
.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 1rem; }

/* -------- TRUST STRIP (contact page) -------- */
.trust-strip-section { background: var(--cream); padding: 3.5rem 2rem; }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.trust-strip-item { padding: 0 1rem; }
.trust-strip-line { width: 32px; height: 3px; background: var(--orange); border-radius: 2px; margin-bottom: 1rem; }
.trust-strip-heading { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.35rem; }
.trust-strip-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.55; }

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
  .services-grid .service-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; }
  .contact-photo-wrap { grid-column: 1 / -1; }
  .contact-photo { min-height: 320px; max-height: 400px; }
  /* Hero: single column on tablet, hide photo */
  .hero-container { grid-template-columns: 1fr; gap: 0; }
  .hero-img-wrap { display: none; }
}
@media (max-width: 768px) {
  /* ---- Full-screen slide-in mobile menu ---- */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 74px; left: 0;
    width: 100%; height: calc(100vh - 74px);
    background: var(--navy-dark);
    padding: 1.75rem 1.75rem 2.5rem;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  /* Standard nav links inside mobile menu */
  .nav-links > li:not(.nav-mobile-actions) > a {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem; padding: 1rem 0.5rem; display: block;
    border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; background: transparent;
  }
  .nav-links > li:not(.nav-mobile-actions) > a:hover,
  .nav-links > li:not(.nav-mobile-actions) > a.active { color: var(--white); background: rgba(255,255,255,0.05); }
  .nav-toggle { display: flex; }
  /* Hide phone/CTA on mobile — replaced by Call Now button below */
  .nav-links li:has(.nav-phone),
  .nav-links li:has(.nav-cta) { display: none !important; }
  /* Call Now + Estimate buttons at bottom of mobile menu */
  .nav-mobile-actions {
    display: flex !important;
    flex-direction: column; gap: 0.75rem;
    margin-top: auto; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.09);
  }
  .nav-call-now {
    display: flex !important; align-items: center; justify-content: center; gap: 0.65rem;
    background: var(--orange); color: white; text-decoration: none;
    padding: 1.1rem 1.5rem; border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem;
    transition: all var(--t); border-bottom: none !important;
  }
  .nav-call-now:hover { background: var(--orange-dark); color: white; box-shadow: 0 4px 18px rgba(232,115,26,0.4); }
  .nav-estimate-mobile {
    display: flex !important; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.85); text-decoration: none;
    padding: 0.9rem 1.5rem; border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem;
    transition: all var(--t); background: transparent; border-bottom: none !important;
  }
  .nav-estimate-mobile:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); color: white; }
  /* Dim overlay behind open menu */
  .mobile-menu-overlay {
    display: block; position: fixed; inset: 0; top: 74px;
    background: rgba(0,0,0,0.55); z-index: 998;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
  /* ---- Other responsive fixes ---- */
  .stat-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:not(:last-child)::after { display: none; }
  .services-grid .service-card { flex: 0 0 100%; }
  .why-us-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials-duo { grid-template-columns: 1fr; gap: 2.5rem; }
  .t-duo-featured { padding-left: 1.5rem; }
  .accordion-item { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
  .trust-strip-grid { grid-template-columns: repeat(2,1fr); }
  .services-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-photo-wrap { grid-column: 1; }
  .contact-photo { min-height: 260px; max-height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  section { padding: 4rem 1.5rem; }
  .hero-container { padding: 7rem 1.5rem 4rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stat-strip-inner { padding: 2rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
}
