:root {
  --bg: #071a2f;
  --card: #0f2f4f;
  --text: #f4f9ff;
  --muted: #c6d8f0;
  --accent: #1d4ed8;
  --accent2: #38bdf8;
  --border: rgba(148, 197, 253, 0.24);
  --shadow: 0 10px 30px rgba(5, 30, 57, 0.35);
  --radius: 16px;
  --max: 1100px;
}

/* ==========================================
   GLOBAL
   ========================================== */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  body {
    font-family: "Inter", Arial, sans-serif;
  }

  h1,
  h2,
  h3,
  .logo-text {
    font-family: "Montserrat", Arial, sans-serif;
  }

  color: var(--text);
  background: rgba(7, 26, 47, 0.82);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

a:hover {
  color: var(--accent2);
}

section {
  scroll-margin-top: 90px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px;
}

/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #f8fbff;

  border-bottom: 1px solid #cfe3f8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1200px;

  margin: 0 auto;

  padding: 12px 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  width: auto;
  height: 70px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: #0a2a4f;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a.cta {
  padding: 8px 14px;

  border-radius: 6px;

  background: #1d4ed8;

  color: #ffffff;

  font-weight: 600;
}

.main-nav a.cta:hover {
  background: #2563eb;
  color: #ffffff;
}

/* ==========================================
   BUTTONS
   ========================================== */

button,
.btn {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    filter 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 12px 14px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(219, 234, 254, 0.08);

  color: var(--text);

  font-weight: 700;

  cursor: pointer;
}

.btn:hover {
  background: rgba(147, 197, 253, 0.16);

  border-color: var(--accent2);
}

.btn.primary {
  border-color: rgba(56, 189, 248, 0.45);

  background: linear-gradient(135deg, rgba(29, 78, 216, 0.98), rgba(56, 189, 248, 0.85));

  color: #ffffff;
}

.btn.primary:hover {
  filter: brightness(1.08);
}

/* ==========================================
   HERO
   ========================================== */

.hero {
  padding: 1px 0 18px;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 20px;

  align-items: start;
}

.hero-image {
  background-image: linear-gradient(rgba(7, 26, 47, 0.76), rgba(7, 26, 47, 0.76)), url("../img/hero.png");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;

  padding: 6px 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(219, 234, 254, 0.06);

  color: var(--muted);

  font-size: 13px;
}

h1 {
  margin: 14px 0 10px;

  font-size: 44px;
  line-height: 1.05;

  letter-spacing: -0.6px;
}

h2 {
  margin: 14px 0 10px;

  font-size: 36px;
  line-height: 1.05;

  letter-spacing: -0.6px;
}

.tagline {
  max-width: 64ch;

  margin: 0 0 18px;

  color: var(--muted);

  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 10px;
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: 26px 0;
}

.section h2 {
  margin: 0 0 10px;

  font-size: 26px;

  letter-spacing: -0.2px;
}

.section .lead {
  max-width: 80ch;

  margin: 0 0 16px;

  color: var(--muted);
}

/* ==========================================
   CARDS
   ========================================== */

.cards {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.card {
  padding: 14px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: rgba(219, 234, 254, 0.07);

  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 6px;

  font-size: 16px;
}

.card p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
}

.card:hover {
  transform: none;
  filter: none;
  opacity: 1;

  background: rgba(219, 234, 254, 0.07);

  border-color: var(--border);
}

/* ==========================================
   GRIDS
   ========================================== */

.grid-3 {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;
}

.two-col {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;

  align-items: start;
}

.pricing {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

/* ==========================================
   PILLS
   ========================================== */

.pill-list {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin: 10px 0 0;
  padding: 0;

  list-style: none;
}

.pill-list li {
  padding: 6px 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(219, 234, 254, 0.07);

  color: var(--text);

  font-size: 13px;
}

/* ==========================================
   MISC
   ========================================== */

.note {
  margin-top: 10px;

  color: var(--muted);

  font-size: 13px;
}

.small {
  color: var(--muted);

  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding: 8px 10px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(219, 234, 254, 0.06);

  color: var(--muted);
}

/* ==========================================
   FORMS
   ========================================== */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.field {
  display: grid;

  gap: 6px;

  margin-bottom: 10px;
}

label {
  color: var(--muted);

  font-size: 13px;
}

input,
textarea {
  width: 100%;

  padding: 12px;

  border: 1px solid var(--border);
  border-radius: 12px;

  outline: none;

  background: rgba(219, 234, 254, 0.06);

  color: var(--text);

  font-size: 14px;
}

textarea {
  min-height: 120px;

  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, 0.65);

  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

/* ==========================================
   SERVICES IMAGE
   ========================================== */

.services-image {
  display: block;

  width: 100%;
  max-width: 1100px;
  height: auto;

  margin: 20px auto 30px;

  border-radius: 16px;

  box-shadow: var(--shadow);
}

/* ==========================================
   BEFORE & AFTER GALLERY
   ========================================== */

.before-after-gallery {
  display: grid;

  gap: 28px;

  width: 100%;

  margin-top: 30px;
}

/* ==========================================
   PROJECT STORIES
   ========================================== */

.stories-section {
  background: rgba(219, 234, 254, 0.04);
}

.story-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.story-card,
.story-empty {
  display: grid;

  gap: 12px;

  align-content: start;
}

.story-card h3,
.story-empty h3 {
  margin: 0;
}

.story-card p,
.story-empty p {
  margin: 0;
}

.story-date {
  color: var(--accent2);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.story-embed {
  display: flex;

  justify-content: center;

  min-height: 140px;

  padding: 12px;

  overflow: hidden;

  border: 1px solid rgba(148, 197, 253, 0.18);
  border-radius: 14px;

  background: #f8fbff;
}

.story-embed .fb-post,
.story-embed .fb-post span,
.story-embed .fb-post iframe {
  max-width: 100% !important;
}

/* ==========================================
   PROJECT CARD
   ========================================== */

.before-after-project {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 24px;
  row-gap: 0;

  width: 100%;

  margin: 0;

  padding: 24px;

  border-radius: 14px;

  background: #f8fbff;

  color: #0a2a4f;

  box-shadow: 0 4px 18px rgba(8, 47, 86, 0.14);
}

/* Project title spans both columns */

.before-after-project > h3 {
  grid-column: 1 / -1;

  margin: 0 0 22px;

  color: #0a2a4f;

  text-align: center;

  font-size: 1.5rem;
}

/* ==========================================
   BEFORE / AFTER SECTIONS
   ========================================== */

.photo-section {
  margin: 0;

  min-width: 0;
}

.photo-section-title {
  margin: 0 0 12px;

  padding: 10px 14px;

  border-radius: 8px;

  font-size: 1rem;
  font-weight: 700;

  letter-spacing: 0.7px;

  text-transform: uppercase;
}

.before-title {
  background: #dbeafe;

  color: #0a2a4f;
}

.after-title {
  background: #bfdbfe;

  color: #082f56;
}

/* ==========================================
   PHOTO GRID
   ========================================== */

#gallery .project-photo-grid {
  display: flex !important;

  flex-wrap: wrap !important;

  gap: 12px !important;

  align-items: flex-start !important;

  justify-content: flex-start !important;

  width: 100%;
}

/* ==========================================
   THUMBNAIL FRAME
   ========================================== */

#gallery .ba-photo {
  flex: 0 0 170px !important;

  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;

  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;

  margin: 0 !important;

  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;

  background: #eaf4ff;

  border-radius: 10px;

  box-shadow: 0 2px 8px rgba(8, 47, 86, 0.12);
}

/* ==========================================
   THUMBNAIL IMAGE
   NO CROPPING
   ========================================== */

#gallery .ba-photo img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  margin: 0 !important;

  cursor: pointer;

  transform: none !important;
  filter: none !important;
  opacity: 1 !important;

  transition: none !important;
}

#gallery .ba-photo img:hover,
#gallery .ba-photo img:focus,
#gallery .ba-photo img:active {
  object-fit: contain !important;

  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* ==========================================
   PROJECT DESCRIPTION
   ========================================== */

.project-description {
  grid-column: 1 / -1;

  margin: 24px 0 0;

  padding-top: 18px;

  border-top: 1px solid #cfe3f8;

  color: #123c69;

  line-height: 1.6;

  text-align: center;
}

/* ==========================================
   COLLAPSIBLE GALLERY
   ========================================== */

.gallery-toggle {
  display: inline-flex;

  min-width: 260px;

  margin-top: 10px;
}

.gallery-toggle:hover {
  background: rgba(147, 197, 253, 0.16);

  border-color: var(--accent2);

  color: var(--text);
}

.gallery-content {
  display: none;

  width: 100%;
}

.gallery-content.open {
  display: block;
}

/* ==========================================
   NON-CLICKABLE GALLERY HOVER
   ========================================== */

.before-after-project:hover,
.photo-section:hover,
.ba-photo:hover,
.before-after-project h3:hover,
.photo-section-title:hover,
.before-title:hover,
.after-title:hover,
.project-description:hover {
  transform: none;
  filter: none;
  opacity: 1;
}

.before-after-project:hover {
  background: #f8fbff;

  color: #0a2a4f;
}

.before-title:hover {
  background: #dbeafe;

  color: #0a2a4f;
}

.after-title:hover {
  background: #bfdbfe;

  color: #082f56;
}

/* ==========================================
   LIGHTBOX
   ========================================== */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: none;

  place-items: center;

  padding: 18px;

  background: rgba(5, 18, 34, 0.84);
}

.lightbox.open {
  display: grid;
}

.lb-close {
  position: absolute;

  top: 16px;
  right: 16px;

  padding: 10px 12px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(219, 234, 254, 0.12);

  color: var(--text);

  font-weight: 800;

  cursor: pointer;
}

.lb-close:hover {
  background: rgba(147, 197, 253, 0.22);

  border-color: var(--accent2);
}

.lb-img {
  display: block;

  width: auto;
  height: auto;

  max-width: min(980px, 95vw);
  max-height: 75vh;

  object-fit: contain;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: var(--shadow);
}

.lb-cap {
  max-width: min(980px, 95vw);

  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;

  text-align: center;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
  padding: 18px 0 40px;

  border-top: 1px solid var(--border);

  color: var(--muted);

  font-size: 13px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .before-after-project {
    column-gap: 18px;
  }

  #gallery .ba-photo {
    flex-basis: 150px !important;

    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
  }
}

/* ==========================================
   MOBILE HEADER
   ========================================== */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;

    gap: 10px;
  }

  .site-logo {
    height: 48px;
  }

  .main-nav {
    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;
  }
}

/* ==========================================
   PHONE
   ========================================== */

@media (max-width: 750px) {
  .before-after-project {
    grid-template-columns: 1fr;

    padding: 16px;
  }

  .before-after-project > h3,
  .project-description {
    grid-column: 1;
  }

  .photo-section {
    margin-bottom: 22px;
  }

  #gallery .project-photo-grid {
    gap: 10px !important;
  }

  #gallery .ba-photo {
    flex: 0 0 calc(50% - 5px) !important;

    width: calc(50% - 5px) !important;
    min-width: 0 !important;
    max-width: calc(50% - 5px) !important;

    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
  }

  .gallery-toggle {
    width: 100%;

    min-width: 0;
  }
}

/* ==========================================
   VERY SMALL PHONES
   ========================================== */

@media (max-width: 380px) {
  #gallery .ba-photo {
    flex: 0 0 100% !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}

/* Rewritten homepage supplemental styles */
html {
  scroll-behavior: smooth;
}
section[id] {
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero .hero-copy {
  max-width: 760px;
}
.hero .hero-title-small {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}
.hero h1 {
  max-width: 850px;
}
.hero h2 {
  max-width: 760px;
}
.hero .tagline {
  max-width: 720px;
  font-size: 1.08rem;
}
.hero-location {
  margin-top: 10px;
  opacity: 0.85;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.45fr);
  gap: 34px;
  align-items: center;
}
.about-photo-card {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(219, 234, 254, 0.08);
  border: 1px solid rgba(148, 197, 253, 0.24);
}
.about-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.about-photo-card .photo-fallback {
  padding: 30px;
  text-align: center;
  line-height: 1.5;
  opacity: 0.8;
}
.about-content p {
  max-width: 760px;
}
.about-lead {
  font-size: 1.12rem;
  font-weight: 700;
}

.punch-list-box {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 18px;
  background: rgba(219, 234, 254, 0.08);
  border: 1px solid rgba(148, 197, 253, 0.24);
}
.punch-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.punch-list-items span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(148, 197, 253, 0.2);
  font-size: 0.92rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card .stars {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}
.review-card .review-source {
  opacity: 0.72;
  font-size: 0.9rem;
}
.reviews-note {
  margin-top: 16px;
  opacity: 0.76;
  font-size: 0.92rem;
}

.quote-intro {
  max-width: 780px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.service-area-list li {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.1);
  border: 1px solid rgba(148, 197, 253, 0.2);
}

.final-cta {
  text-align: center;
}
.final-cta .cta-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 20px;
  background: rgba(219, 234, 254, 0.08);
  border: 1px solid rgba(148, 197, 253, 0.24);
}
.final-cta .hero-actions {
  justify-content: center;
}

.review-template {
  border-style: dashed;
}
.gallery-content[aria-hidden="true"] {
  display: none;
}
.gallery-content[aria-hidden="false"] {
  display: block;
}
.lightbox {
  display: none;
}
.lightbox.open {
  display: flex;
}

@media (max-width: 900px) {
  .benefits-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-card {
    min-height: 260px;
  }
  .about-photo-card img {
    min-height: 260px;
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    display: grid;
    gap: 7px;
  }
}
.fb-post
{
  background: rgba(255, 255, 255, 0);
}
.section stories-section {
  background-color:white !important;
}