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

:root {
  --charcoal: #1B2A4A;
  --charcoal2: #162340;
  --orange: #B83232;
  --orange-dark: #962828;
  --orange-light: #D94040;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --text: #1C1F26;
  --text2: #4B5563;
  --text3: #9CA3AF;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 88px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: .3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  color: var(--text2);
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.mobile-cta {
  margin-top: 12px;
  background: var(--orange);
  color: var(--white) !important;
  text-align: center;
  border-radius: 8px;
  padding: 12px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(27,42,74,.97) 0%, rgba(27,42,74,.88) 60%, rgba(27,42,74,.97) 100%);
  background-color: var(--charcoal);
}
/* Geometric accent shapes */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,50,50,.12) 0%, transparent 65%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -50px; left: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,50,50,.06) 0%, transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  max-width: 720px;
  padding-left: 24px;
  margin-left: max(24px, calc(50vw - 580px));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,50,50,.15);
  border: 1px solid rgba(184,50,50,.35);
  color: #E88080;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}
.hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION SHARED ── */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label.light { color: rgba(255,255,255,.5); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text2);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── SERVICES ── */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.service-icon {
  width: 52px; height: 52px;
  color: var(--orange);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.service-card > p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.service-card ul li {
  font-size: 13px;
  color: var(--text2);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card ul li:last-child { border-bottom: none; }
.service-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  transition: gap .2s;
}
.service-link:hover { color: var(--orange-dark); }

/* ── WHY US ── */
.why-us {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--white);
}
.why-text > p {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.why-item p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }
.why-visual { display: flex; align-items: center; justify-content: center; }
.why-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}
.why-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.wc1 { background: var(--orange); }
.wc2 { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.wc3 { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.wc4 { background: rgba(184,50,50,.15); border: 1px solid rgba(184,50,50,.25); }
.wc-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.wc-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .3px;
}

/* ── GALLERY ── */
.gallery {
  padding: 100px 0;
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
  margin-bottom: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }
.gallery-placeholder {
  width: 100%; height: 100%;
  transition: transform .4s;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }
.gallery-item:hover img { transform: scale(1.04); }
.gp1 { background: linear-gradient(135deg, #2D3A52 0%, #1C2333 100%); }
.gp2 { background: linear-gradient(135deg, #3A2D20 0%, #5A3D25 100%); }
.gp3 { background: linear-gradient(135deg, #1D3A30 0%, #1A4D3A 100%); }
.gp4 { background: linear-gradient(135deg, #3A2020 0%, #5A2A1A 100%); }
.gp5 { background: linear-gradient(135deg, #2A2D3A 0%, #1C2240 100%); }

/* Placeholder labels */
.gp1::after { content: 'SIDING'; }
.gp2::after { content: 'SOFFIT & FASCIA'; }
.gp3::after { content: 'GUTTERS'; }
.gp4::after { content: 'DECK'; }
.gp5::after { content: 'SIDING'; }
.gallery-placeholder::after {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,.15);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,31,38,.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.gallery-note {
  text-align: center;
  font-size: 14px;
  color: var(--text3);
}
.gallery-note a { color: var(--orange); font-weight: 600; }

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.8px;
  margin-bottom: 14px;
  color: var(--white);
}
.contact-info > p {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(184,50,50,.15);
  border: 1px solid rgba(184,50,50,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px; height: 18px;
  color: var(--orange);
}
.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-item a, .contact-item span {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}
.contact-item a:hover { color: var(--orange-light); }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,96,28,.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--orange-dark); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 10px;
}
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
}
.form-success svg { width: 18px; height: 18px; stroke: #059669; }
.form-success.visible { display: flex; }

/* ── FOOTER ── */
.footer {
  background: var(--white);
  color: var(--text);
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text2);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { order: -1; }
  .why-card-stack { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-tall { grid-row: span 1; }
  .gi-wide { grid-column: span 1; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
  .hero-content { padding-top: 100px; margin-left: 0; max-width: 100%; }
  .hero-stats { gap: 16px; }
  .hero-stat-div { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .services { padding: 70px 0; }
  .why-us, .gallery, .contact { padding: 70px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
}
