/* ============================================================
   American Remodeling & Construction — Main Stylesheet
   Warm & Modern aesthetic | Multi-page static site
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #1a2744;
  --navy-light: #243258;
  --gold:       #c8922a;
  --gold-light: #e0a83a;
  --cream:      #faf8f4;
  --warm-gray:  #f4f1ec;
  --mid-gray:   #8a8a8a;
  --dark-text:  #1e1e1e;
  --body-text:  #3d3d3d;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;
  --max-width:  1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold  { color: var(--gold); }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--warm-gray);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.site-nav.solid {
  background: var(--navy);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding-top: 8px;
  padding: 0.5rem 0;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  color: var(--navy) !important;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  transition: background var(--transition);
}

.dropdown-menu a:hover {
  background: var(--warm-gray);
}

/* Dropdown is toggled via JS click — not pure CSS hover — to prevent accidental dismissal */
.nav-dropdown.open .dropdown-menu { display: block; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,0.95) 0%, rgba(200,146,42,0.15) 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--navy-light);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200,146,42,0.3);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 { margin-bottom: 0.5rem; }

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.service-card-body p { color: var(--body-text); flex: 1; margin-bottom: 1.25rem; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ---------- Process Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(200,146,42,0.3));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(200,146,42,0.4);
}

.process-step h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.process-step p { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

/* ---------- Gallery / Projects ---------- */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid var(--navy);
  color: var(--navy);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.review-text {
  color: var(--body-text);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.review-date { font-size: 0.78rem; color: var(--mid-gray); }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--navy);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--body-text);
  line-height: 1.75;
}

/* ---------- Financing Section ---------- */
.financing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.financing-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,146,42,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition);
}

.financing-card:hover { border-color: var(--gold); }

.financing-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(200,146,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.financing-card h4 { color: var(--white); margin-bottom: 0.5rem; }
.financing-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.calc-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,146,42,0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.calc-box h3 { color: var(--white); margin-bottom: 1.5rem; }

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select option { background: var(--navy); }

.calc-result {
  background: rgba(200,146,42,0.15);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin: 1.25rem 0;
}

.calc-result .monthly { font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.calc-result .monthly-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(200,146,42,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 0.2rem; }
.contact-detail-text span { font-size: 0.95rem; color: var(--navy); font-weight: 500; }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 { margin-bottom: 1.5rem; }

/* Contractor Plus embed: allow iframe to expand freely */
#request_form-8VA2JT8UAX {
  width: 100%;
  overflow: visible;
}
#request_form-8VA2JT8UAX iframe {
  width: 100% !important;
  min-height: 750px;
  height: auto;
  border: none !important;
  display: block;
  overflow: visible;
}

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

.contact-form .form-group label { color: var(--navy); }

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: var(--warm-gray);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--dark-text);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.contact-form .form-group select option { background: var(--white); color: var(--dark-text); }
.contact-form .form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,146,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sticky Bottom Bar ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
}

.sticky-bar strong { color: var(--gold); }

.sticky-bar-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ---------- About Section ---------- */
.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge .badge-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.about-content { padding-left: 1rem; }
.about-content h2 { margin-bottom: 1.25rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(200,146,42,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-feature-text strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.about-feature-text span { font-size: 0.82rem; color: var(--mid-gray); }

/* ---------- Service Detail Pages ---------- */
.service-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-intro img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.service-includes {
  margin-top: 1.5rem;
}

.service-includes h4 { margin-bottom: 1rem; font-size: 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }

.service-includes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.service-includes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--body-text);
}

.service-includes li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 52px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 0.1rem; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: var(--gold); }

/* ---------- Scroll Animations ---------- */
/* Elements are always visible — animation is purely additive enhancement */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* JS will add .animate class to enable the animation on capable browsers */
.fade-up.animate-ready {
  opacity: 0;
  transform: translateY(24px);
}

.fade-up.animate-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .financing-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  /* Always solid navy on mobile — no transparent nav */
  .site-nav {
    background: var(--navy) !important;
    box-shadow: var(--shadow-md);
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open a { padding: 0.75rem 1rem; }
  .nav-dropdown > a::after { display: none; }
  .dropdown-menu {
    display: block;
    position: static;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border-radius: var(--radius-sm);
    padding: 0.25rem 0 0.25rem 1rem;
  }
  .dropdown-menu a { color: rgba(255,255,255,0.8) !important; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-intro { grid-template-columns: 1fr; }
  .financing-options { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .service-includes ul { grid-template-columns: 1fr; }
  .about-badge { bottom: -1rem; right: 0.5rem; }
  .sticky-bar { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-row { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Hide hero tagline badge on mobile — too cramped next to logo */
  .hero-tagline-badge { display: none !important; }
  /* Ensure hero content clears the solid nav bar */
  #hero .container { padding-top: calc(var(--nav-height) + 2rem) !important; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* End of stylesheet */
