:root {
  --ink: #17212b;
  --muted: #667085;
  --blue: #135e9e;
  --teal: #0f8b8d;
  --amber: #f8b735;
  --coral: #e56b4f;
  --green: #317b5a;
  --mist: #f5f9fb;
  --paper: #ffffff;
  --line: #d9e4ea;
  --shadow: 0 18px 50px rgba(18, 46, 70, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}

p { color: var(--muted); line-height: 1.75; }

.site-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(19, 94, 158, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.07);
}

.navbar { padding: 14px 0; transition: padding 0.25s ease, box-shadow 0.25s ease; }
.navbar.compact { padding: 8px 0; box-shadow: 0 8px 26px rgba(23, 33, 43, 0.12); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 245px;
  object-fit: contain;
}

.footer-logo .site-logo {
  height: 64px;
  max-width: 260px;
}

.brand-mark strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  white-space: normal;
}

.brand-mark small {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 24px rgba(15, 139, 141, 0.25);
  flex: 0 0 auto;
}

.nav-link {
  font-weight: 700;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 12px !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: #edf6fb;
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown-item {
  font-weight: 700;
  color: var(--ink);
}

.nav-cta { margin-left: 10px; }

.btn {
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 44px;
}

.btn-call, .btn-yellow {
  color: #271b00;
  background: var(--amber);
  box-shadow: 0 12px 26px rgba(248, 183, 53, 0.32);
}

.btn-call:hover, .btn-yellow:hover {
  color: #271b00;
  background: #ffd166;
  transform: translateY(-1px);
}

.btn-chat {
  color: var(--blue);
  background: #e9f6f6;
  border: 1px solid rgba(15, 139, 141, 0.18);
}

.btn-primary {
  background: var(--blue);
  color: var(--paper);
}

.btn-primary:hover { background: #0d4d84; }

.btn-ghost, .btn-light-outline {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost { color: var(--blue); border-color: var(--line); background: var(--paper); }
.btn-ghost:hover { color: var(--paper); background: var(--blue); }

.home-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
  background: #0e3649;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 73, 0.92) 0%, rgba(14, 54, 73, 0.78) 42%, rgba(14, 54, 73, 0.18) 72%),
    url("../images/hero-technician-conroe.png") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.min-vh-hero { min-height: 760px; position: relative; z-index: 1; }

.hero-content {
  max-width: 820px;
  padding: 120px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  background: #fff4ef;
  border: 1px solid #ffd8cc;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #251a00;
  background: var(--amber);
  border-color: var(--amber);
}

.home-hero h1 {
  color: var(--paper);
  font-size: clamp(1.85rem, 3.3vw, 3.45rem);
  line-height: 1.12;
  max-width: 760px;
  margin: 16px 0 20px;
}

.home-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
}

.hero-proof strong { color: var(--amber); }

.sub-hero {
  background:
    linear-gradient(135deg, #f2f9fc 0%, #ffffff 54%, #fff7eb 100%);
  padding: 92px 0 62px;
  border-bottom: 1px solid var(--line);
}

.sub-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  margin: 18px 0;
}

.sub-hero p {
  font-size: 1.08rem;
  max-width: 760px;
}

.hero-card-image, .section-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.section-pad { padding: 86px 0; }

.section-title {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 16px 0 12px;
}

.intro-strip {
  margin-top: -66px;
  position: relative;
  z-index: 2;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.intro-grid div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.intro-grid div:last-child { border-right: 0; }
.intro-grid span { color: var(--coral); font-weight: 900; }
.intro-grid strong { display: block; font-size: 1.2rem; margin: 6px 0; }
.intro-grid p { margin: 0; }

.feature-section, .faq-band, .gallery-band { background: var(--mist); }

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

.feature-card, .service-card, .review-card, .compare-card, .blog-card, .form-panel, .request-copy, .sticky-side, .contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 46, 70, 0.08);
}

.feature-card {
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover, .service-card:hover, .review-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #e9f6f6;
  color: var(--teal);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3, .service-card h3, .review-card h3, .blog-card h2 { font-size: 1.16rem; }

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card div { padding: 22px; }
.service-card span { color: var(--green); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.service-card a, .blog-card a { color: var(--blue); font-weight: 900; text-decoration: none; }

.center-action { text-align: center; margin-top: 34px; }

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

.compare-card { padding: 16px; }
.compare-card img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.compare-card span {
  display: inline-block;
  margin-top: 16px;
  color: var(--paper);
  background: var(--coral);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.compare-card:nth-child(2) span { background: var(--green); }
.compare-card h3 { margin: 14px 0 8px; }

.stats-band {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--paper);
  padding: 58px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid div {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
}

.stats-grid strong { display: block; color: var(--paper); font-size: clamp(2rem, 4vw, 3.5rem); }
.stats-grid span { color: rgba(255, 255, 255, 0.86); font-weight: 800; }

.creative-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 155px;
  gap: 14px;
}

.gallery-tile {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ink);
  cursor: zoom-in;
}

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

.gallery-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: var(--paper);
  background: rgba(23, 33, 43, 0.74);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-weight: 900;
}

.gallery-tile:hover img { transform: scale(1.07); }
.tile-1 { grid-column: span 3; grid-row: span 2; }
.tile-2, .tile-3 { grid-column: span 3; }
.tile-4, .tile-5, .tile-6 { grid-column: span 2; }

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

.review-card, .blog-card { padding: 28px; }
.stars { color: var(--amber); letter-spacing: 0; margin-bottom: 14px; }

.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 26px rgba(18, 46, 70, 0.06);
}

.accordion-button {
  font-weight: 900;
  color: var(--ink);
  background: var(--paper);
}

.accordion-button:not(.collapsed) {
  color: var(--paper);
  background: var(--blue);
}

.accordion-body { color: var(--muted); line-height: 1.75; }

.coupon-band { background: #fff8e8; }
.coupon-card {
  display: block;
  border: 2px dashed var(--amber);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.coupon-card img { border-radius: var(--radius); }

.request-band {
  background:
    linear-gradient(135deg, rgba(19, 94, 158, 0.08), rgba(248, 183, 53, 0.12)),
    var(--paper);
}

.request-copy, .form-panel, .contact-panel { height: 100%; padding: 30px; }
.request-copy h2, .contact-panel h2 { margin: 16px 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }

.contact-stack, .contact-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-stack a, .contact-stack span, .contact-panel a, .contact-panel span {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.contact-stack i, .contact-panel i { color: var(--teal); margin-right: 8px; }

.form-control {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfdfe;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(15, 139, 141, 0.15);
}

.service-textarea { min-height: 118px; resize: vertical; }
.btn-submit { min-width: 210px; }

.service-detail {
  background:
    radial-gradient(circle at 10% 12%, rgba(15, 139, 141, 0.07), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(248, 183, 53, 0.12), transparent 24%),
    var(--paper);
}
.copy-block {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18, 46, 70, 0.06);
  padding: 28px 28px 28px 34px;
  margin-bottom: 18px;
}

.copy-block::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--teal), var(--amber));
}

.copy-block h2 { margin-bottom: 16px; }
.copy-block p { font-size: 1.03rem; }

.word-copy-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.word-copy-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  background:
    linear-gradient(90deg, rgba(19, 94, 158, 0.85), rgba(15, 139, 141, 0.5)),
    url("../images/hero-technician-conroe.png") center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.word-copy-section .container {
  position: relative;
  z-index: 1;
}

.word-copy-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: stretch;
}

.word-copy-card {
  position: relative;
  overflow: hidden;
  grid-column: span 6;
  min-height: 245px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18, 46, 70, 0.07);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.word-copy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.96) 48%, #ffffff 100%),
    url("../images/maintenance-service.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.word-copy-card::after {
  content: "\f0ad";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--teal);
  background: #e9f6f6;
}

.word-copy-card:nth-child(1),
.word-copy-card:nth-child(4) {
  grid-column: span 7;
}

.word-copy-card:nth-child(2),
.word-copy-card:nth-child(5) {
  grid-column: span 5;
}

.word-copy-card:nth-child(1)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.96) 48%, #ffffff 100%),
    url("../images/hero-water-heater-service.png") center / cover no-repeat;
  opacity: 1;
}

.word-copy-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.96) 48%, #ffffff 100%),
    url("../images/tankless-service.png") center / cover no-repeat;
  opacity: 0.22;
}

.word-copy-card:nth-child(4)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.96) 48%, #ffffff 100%),
    url("../images/installation-service.png") center / cover no-repeat;
  opacity: 1;
}

.word-copy-card:nth-child(5)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.96) 48%, #ffffff 100%),
    url("../images/emergency-leak-service.png") center / cover no-repeat;
  opacity: 0.22;
}

.word-copy-card:hover::before {
  transform: scale(1.03);
}

.word-copy-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.word-copy-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.sticky-side {
  position: sticky;
  top: 100px;
  padding: 24px;
}
.sticky-side .btn { margin-top: 12px; }
.sticky-side ul {
  padding-left: 18px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.check-list span {
  font-weight: 800;
  color: var(--ink);
}
.check-list i { color: var(--green); margin-right: 8px; }

.footer-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  background: #f1f6f8;
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-brand p { margin-top: 16px; }

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.footer-list a { color: var(--muted); text-decoration: none; }
.footer-list a:hover { color: var(--blue); }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; }
.columns-2 { columns: 2; }

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--blue);
  text-decoration: none;
}

.footer-map {
  grid-column: span 2;
}
.footer-map iframe { height: 240px; border-radius: var(--radius); }

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p { margin: 0; }

.narrow { max-width: 780px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(8, 22, 34, 0.88);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 78vh;
  width: min(1100px, 92vw);
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox p { color: var(--paper); font-weight: 900; margin: 0; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .service-card-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .word-copy-card,
  .word-copy-card:nth-child(1),
  .word-copy-card:nth-child(2),
  .word-copy-card:nth-child(4),
  .word-copy-card:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 991px) {
  .nav-cta { margin-left: 0; margin-top: 10px; }
  .navbar-nav { align-items: stretch !important; gap: 4px; padding-top: 14px; }
  .home-hero, .min-vh-hero { min-height: 680px; }
  .hero-bg { background-position: 62% center; }
  .intro-grid, .comparison-grid, .review-grid, .blog-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .word-copy-card,
  .word-copy-card:nth-child(1),
  .word-copy-card:nth-child(2),
  .word-copy-card:nth-child(4),
  .word-copy-card:nth-child(5) {
    grid-column: span 12;
  }
  .creative-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .footer-map { grid-column: span 2; }
}

@media (max-width: 767px) {
  .brand-mark strong { font-size: 0.9rem; }
  .brand-icon { width: 38px; height: 38px; }
  .site-logo {
    height: 46px;
    max-width: 205px;
  }
  .footer-logo .site-logo {
    height: 56px;
  }
  .section-pad { padding: 62px 0; }
  .home-hero, .min-vh-hero { min-height: 720px; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(14, 54, 73, 0.96) 0%, rgba(14, 54, 73, 0.82) 58%, rgba(14, 54, 73, 0.58) 100%),
      url("../images/hero-technician-conroe.png") center / cover no-repeat;
  }
  .hero-content { padding: 94px 0 70px; }
  .home-hero h1 { font-size: clamp(1.75rem, 8vw, 2.45rem); }
  .home-hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: stretch; flex-direction: column; }
  .intro-strip { margin-top: 0; }
  .intro-grid, .feature-grid, .service-card-grid, .comparison-grid, .review-grid, .blog-grid, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .word-copy-grid {
    grid-template-columns: 1fr;
  }
  .word-copy-card,
  .word-copy-card:nth-child(1),
  .word-copy-card:nth-child(2),
  .word-copy-card:nth-child(4),
  .word-copy-card:nth-child(5) {
    grid-column: auto;
  }
  .intro-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-grid div:last-child { border-bottom: 0; }
  .creative-gallery { grid-template-columns: 1fr; }
  .footer-map { grid-column: span 1; }
  .columns-2 { columns: 1; }
  .request-copy, .form-panel, .contact-panel { padding: 22px; }
}
