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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  background: #020617;
}

h1,
h2,
h3 {
  font-family: "Oswald", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
  color: #e5e7eb;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top bar */
.top-bar {
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  margin-right: 0.35rem;
}

.top-link {
  color: #a855f7;
  text-decoration: none;
  margin-left: 0.75rem;
}
.top-link:hover { text-decoration: underline; }

/* Nav */
.main-nav {
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

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

.brand-logo {
  height: 46px;
  width: auto;
  border-radius: 0.9rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.brand-tag {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
}
.nav-links a:hover { color: #a855f7; }

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #a855f7;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.25), transparent 55%),
              #020617;
  color: #e5e7eb;
  padding: 2.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a855f7;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.5rem, 2.9rem);
  margin: 0 0 1rem;
}

.hero-sub {
  margin: 0 0 1.4rem;
  color: #cbd5f5;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #c4b5fd;
}

.trust-item {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #a855f7;
  color: #020617;
}

.btn-primary:hover {
  background: #c084fc;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}
.btn-outline:hover {
  border-color: #a855f7;
}

.btn-dark {
  background: #020617;
  color: #e5e7eb;
}
.btn-dark:hover {
  background: #111827;
}

/* Hero card */
.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.hero-card-sub {
  margin: 0 0 1.1rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.lead-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
  color: #cbd5f5;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.45rem 0.75rem;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.86rem;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 1px solid #a855f7;
  border-color: #a855f7;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.7rem 0 0.9rem;
}
.check-row input { margin-top: 0.18rem; }

.form-note {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: #9ca3af;
}

/* Emergency bar */
.emergency-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  font-size: 0.84rem;
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.emergency-call {
  color: #a855f7;
  text-decoration: none;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 3rem 0;
  background: #020617;
  color: #e5e7eb;
}

.section-alt {
  background: #020617;
  background-image: linear-gradient(to bottom, #020617, #020617);
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Cards & grids */
.grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p { margin: 0 0 0.6rem; font-size: 0.92rem; color: #cbd5f5; }
.card ul { padding-left: 1.2rem; margin: 0; font-size: 0.86rem; color: #9ca3af; }

.storm-inner { }

.storm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.storm-copy p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}
.storm-copy ul {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.callout {
  background: radial-gradient(circle at top, rgba(168, 85, 247, 0.45), transparent 70%);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.65);
  font-size: 0.9rem;
}

.callout h3 {
  margin-top: 0;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.gallery-item {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  font-size: 0.82rem;
  color: #9ca3af;
}

.gallery-item .ph {
  height: 150px;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.4), transparent 60%);
}
.gallery-item figcaption {
  padding: 0.6rem 0.8rem 0.7rem;
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stars {
  color: #facc15 !important;
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.reviewer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.chips span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* CTA */
.cta-section {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Footer */
.footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  color: #9ca3af;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.25rem 1.6rem;
}

.footer-name {
  font-weight: 600;
  color: #e5e7eb;
}

.footer a {
  color: #a855f7;
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

.footer-copy {
  flex-basis: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .top-bar-inner, .emergency-inner, .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* === Image sizing tweaks for real project photos === */
.hero .hero-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}

/* Keep hero image from getting too huge on wide screens */
@media (min-width: 1024px) {
  .hero .hero-inner > div:last-child {
    max-width: 420px;
    justify-self: flex-end;
  }
}

/* Make gallery items consistent and cropped nicely */
.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .gallery-item img {
    height: 240px;
  }
}


/* === IPRC FINAL IMAGE FIXES (no cropping banners) === */
.hero-image img,
.hero-inner img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  margin-inline: auto;
}

/* Show full before/after and promo banners without cutting text */
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin-inline: auto;
  background-color: #020617;
}

/* Hero logo above estimate card */
.hero-logo {
  display: block;
  max-width: 120px;
  margin: 0 auto 0.75rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: screen;
}

/* Service icons */
.service-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #a855f7, #4c1d95);
  color: #f9fafb;
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

/* Review stars */
.stars {
  color: #facc15;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}


/* Map section */
.map-section {
  position: relative;
  padding-bottom: 4rem;
}

.map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 204, 21, 0.12), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(96, 165, 250, 0.16), transparent 55%);
  pointer-events: none;
  opacity: 1;
}

.map-section .map-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.95);
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(129, 140, 248, 0.22), transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(244, 114, 182, 0.12), transparent 60%);
}

.map-section iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* Hero checks list */
.hero-checks {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.hero-checks li {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.35rem;
}

.hero-checks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 700;
}
