*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1A2744;
  --navy-light: #243461;
  --terracotta: #C4622D;
  --terracotta-dark: #A85525;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --text: #111111;
  --text-muted: #666666;
  --border: #E5E5E5;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
nav.scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); }
nav:not(.scrolled) .nav-links a:hover { color: var(--white); }
nav:not(.scrolled) .nav-logo-text .brand { color: var(--white); }
nav:not(.scrolled) .nav-logo-text .sub { color: rgba(255,255,255,0.65); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .brand {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.5px;
}
.nav-logo-text .sub {
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 1.5px; text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }

.btn-nav {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--terracotta-dark) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--terracotta);
  padding: 16px 40px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── SECTION COMMONS ── */
section { padding: 96px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 1px;
  line-height: 1.1; margin-bottom: 20px;
}
.section-desc {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.8; max-width: 560px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/hero-roofing-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(8,15,35,0.90) 0%,
    rgba(8,15,35,0.75) 35%,
    rgba(8,15,35,0.30) 65%,
    rgba(8,15,35,0.05) 100%
  );
  z-index: 1;
}

.hero-content {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,98,45,0.25);
  border: 1px solid rgba(196,98,45,0.6);
  color: var(--white);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px; width: fit-content;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; color: var(--white);
  line-height: 1.05; letter-spacing: 1px;
  margin-bottom: 20px; text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-title span { color: var(--terracotta); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 440px; margin-bottom: 40px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-ctas {
  display: flex; gap: 16px;
  flex-wrap: wrap; margin-bottom: 52px;
}

.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700;
  color: var(--terracotta);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-stat .lbl {
  font-size: 11px; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.8px;
}

.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; display: none; }
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ── ABOUT ── */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: stretch;
}

.about-image-wrap {
  border-radius: 8px; overflow: hidden;
  position: relative; align-self: stretch;
  display: flex; flex-direction: column;
}
.about-image-wrap img {
  width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block;
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--terracotta);
  color: var(--white);
  padding: 14px 20px; border-radius: 4px;
}
.about-badge .big {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700;
  display: block; line-height: 1;
}
.about-badge .sm {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; opacity: 0.9;
}

.about-features {
  display: flex; flex-direction: column;
  gap: 14px; margin: 24px 0 36px;
}
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.feature-dot {
  width: 22px; height: 22px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.feature-dot svg { width: 12px; height: 12px; fill: white; }
.about-feature p { font-size: 15px; color: var(--text); font-weight: 500; }

/* ── SERVICES ── */
#services { background: var(--white); }

.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px;
  flex-wrap: wrap; gap: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px; padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(26,39,68,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--navy); }

.service-title {
  font-family: var(--font-heading);
  font-size: 21px; font-weight: 600;
  color: var(--navy); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
}
.service-desc {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 24px;
}
.service-link {
  font-size: 13px; font-weight: 600;
  color: var(--terracotta); text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ── TRUST BAR ── */
#trust { background: var(--navy); padding: 64px 24px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.trust-num {
  font-family: var(--font-heading);
  font-size: 54px; font-weight: 700;
  color: var(--terracotta); line-height: 1;
  margin-bottom: 10px;
}
.trust-lbl {
  font-size: 12px; color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ── PROJECTS ── */
#projects { background: var(--off-white); }

.projects-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px;
  flex-wrap: wrap; gap: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  position: relative; border-radius: 8px;
  overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.88) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 28px;
}
.project-card:hover .project-overlay { opacity: 1; }

.proj-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600;
  color: var(--white); text-transform: uppercase;
  letter-spacing: 0.5px;
}
.proj-sub { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── REVIEWS ── */
#reviews { background: var(--white); }

.reviews-header { text-align: center; margin-bottom: 52px; }
.reviews-header .section-desc { margin: 0 auto; }

.stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--off-white);
  border-radius: 8px; padding: 32px 28px;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute; top: 14px; right: 22px;
  font-family: Georgia, serif;
  font-size: 90px; color: var(--terracotta);
  opacity: 0.12; line-height: 1;
}

.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text {
  font-size: 15px; color: var(--text);
  line-height: 1.8; margin-bottom: 24px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--white); flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; color: var(--text); }
.review-loc { font-size: 12px; color: var(--text-muted); }

/* ── CTA BANNER ── */
#cta-banner { background: var(--terracotta); padding: 88px 24px; }
.cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-inner .section-title { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.88); font-size: 17px; margin-bottom: 40px; line-height: 1.7; }

/* ── BLOG ── */
#blog { background: var(--off-white); }

.blog-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 44px;
  flex-wrap: wrap; gap: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.blog-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-body { padding: 28px 24px; }
.blog-cat {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 10px;
}
.blog-title {
  font-family: var(--font-heading);
  font-size: 19px; font-weight: 600;
  color: var(--navy); text-transform: uppercase;
  letter-spacing: 0.3px; line-height: 1.2;
  margin-bottom: 10px;
}
.blog-excerpt {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 20px;
}
.blog-link {
  font-size: 13px; font-weight: 600;
  color: var(--terracotta); text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.blog-link:hover { gap: 10px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 24px 32px;
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 11px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.62);
  line-height: 1.8; max-width: 280px; margin-bottom: 24px;
}
.footer-phone {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 600;
  color: var(--terracotta); text-decoration: none;
  display: block; margin-bottom: 6px;
}
.footer-addr { font-size: 13px; color: rgba(255,255,255,0.45); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,0.72);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--terracotta); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.38); }
.footer-rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.footer-rating .s { color: #F59E0B; letter-spacing: 1px; }

/* ── HAMBURGER / MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav:not(.scrolled) .nav-hamburger span { background: var(--white); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile ul {
  list-style: none;
  display: flex; flex-direction: column;
  margin-bottom: 20px;
}
.nav-mobile ul li a {
  display: block; padding: 14px 0;
  font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile ul li a:hover { color: var(--terracotta); }
.btn-mobile-cta { text-align: center; width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 20px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  #hero { padding-top: 72px; align-items: flex-end; }
  .hero-content { padding: 48px 24px 56px; max-width: 100%; }
  #hero::after {
    background: linear-gradient(to bottom,
      rgba(8,15,35,0.50) 0%,
      rgba(8,15,35,0.82) 55%,
      rgba(8,15,35,0.92) 100%);
  }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { text-align: center; width: 100%; box-sizing: border-box; }
  .hero-stats { gap: 20px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap { min-height: 300px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-header,
  .projects-header,
  .blog-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .trust-num { font-size: 42px; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Buttons — full width on mobile */
  section .btn-primary,
  section .btn-navy,
  section .btn-white,
  section .btn-outline {
    display: block; width: 100%;
    text-align: center; box-sizing: border-box;
  }

  /* CTA Banner */
  #cta-banner { padding: 64px 20px; }
  .cta-inner p { font-size: 15px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
  section { padding: 52px 16px; }
  #trust { padding: 52px 16px; }
  .hero-content { padding: 40px 20px 52px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 15px; }
  .hero-stat .num { font-size: 24px; }
  .hero-stats { gap: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-num { font-size: 48px; }
  .section-title { font-size: clamp(26px, 7vw, 36px); }
  .cta-inner .section-title { font-size: clamp(24px, 7vw, 32px); }
  .btn-white { padding: 14px 28px; font-size: 15px; }
  .review-card { padding: 24px 20px; }
  .service-card { padding: 28px 20px; }
  .footer-grid { gap: 28px; }
}
