/* ===========================================================
   Galveston Elite Plumbing — Global Stylesheet
   =========================================================== */

:root {
  --navy: #0b2d4a;
  --navy-dark: #071c30;
  --navy-light: #123a5e;
  --blue: #1670c9;
  --blue-light: #eaf3fc;
  --orange: #f5a623;
  --orange-dark: #d98c0f;
  --white: #ffffff;
  --off-white: #f6f9fb;
  --gray-900: #17232e;
  --gray-700: #45566a;
  --gray-500: #6b7d8f;
  --gray-200: #dfe7ee;
  --gray-100: #eef2f6;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 45, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 45, 74, 0.14);
  --shadow-lg: 0 20px 48px rgba(11, 45, 74, 0.18);
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--gray-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #c7d6e3; }

.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p { margin-top: 12px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: var(--orange);
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35);
}
.btn-orange:hover { background: var(--orange-dark); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--gray-100); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: var(--navy-dark);
  color: #c7d6e3;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #c7d6e3; }
.topbar a:hover { color: var(--orange); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 20px; flex-wrap: wrap; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand-logo {
  height: 62px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  line-height: 1.3;
  max-width: 150px;
  padding-left: 14px;
  border-left: 2px solid var(--gray-200);
}
@media (max-width: 640px) {
  .brand-logo { height: 50px; }
}
@media (max-width: 560px) {
  .brand-tagline { display: none; }
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.brand-text-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Icon SVGs ---------- */
.icon-svg {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.topbar-item .icon-svg { width: 15px; height: 15px; color: var(--orange); }
.call-btn .icon-svg,
.btn .icon-svg { width: 18px; height: 18px; }
.hero-badge .icon-svg { width: 19px; height: 19px; color: var(--orange); }
.icon-badge .icon-svg { width: 26px; height: 26px; }
.site-footer ul .icon-svg { width: 16px; height: 16px; margin-right: 2px; color: var(--orange); }
.footer-licensed { display: flex; align-items: center; gap: 8px; }
.footer-licensed .icon-svg { width: 16px; height: 16px; color: var(--orange); }
.footer-legal { display: flex; align-items: center; gap: 18px; }
.footer-legal a { color: #b9cadb; }
.footer-legal a:hover { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

/* ---------- Services nav dropdown ---------- */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-drop-link {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  padding: 6px 0;
}
.nav-drop-link:hover, .nav-drop-link.active { color: var(--blue); }
.nav-drop-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: var(--gray-500);
}
.nav-drop-toggle .icon-svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-item-dropdown:hover .nav-drop-toggle .icon-svg,
.nav-item-dropdown.open .nav-drop-toggle .icon-svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 6px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 80;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 22px;
}
.nav-drop-group {
  display: flex;
  flex-direction: column;
}
.nav-drop-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  padding: 0 12px;
}
.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: normal;
  line-height: 1.3;
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.nav-dropdown-menu a.view-all {
  display: block;
  text-align: center;
  border-top: 1px solid var(--gray-100);
  margin-top: 14px;
  padding-top: 14px;
  font-weight: 700;
  color: var(--blue);
}
@media (max-width: 900px) {
  .nav-item-dropdown {
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-drop-link { padding: 14px 24px; flex: 1; border-bottom: none; }
  .nav-drop-toggle { padding: 14px 20px; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: var(--gray-100);
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.25s ease;
  }
  .nav-item-dropdown.open .nav-dropdown-menu {
    max-height: 900px;
    padding: 10px 24px;
  }
  .nav-dropdown-groups { grid-template-columns: 1fr; gap: 0; }
  .nav-drop-group { padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
  .nav-drop-group:last-child { border-bottom: none; }
  .nav-drop-heading { padding: 0 6px; }
  .nav-dropdown-menu a { padding: 8px 6px; white-space: normal; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-toggle { display: flex; }
  .nav-actions .btn-call-text { display: none; }
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--navy-dark);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}
.call-btn:hover { background: var(--orange-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(7,28,48,0.92) 20%, rgba(7,28,48,0.55) 65%, rgba(7,28,48,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-content p { color: #dce8f2; font-size: 1.1rem; margin-top: 16px; }
.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badge { font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.page-hero {
  min-height: 360px;
}
.page-hero .hero-content { max-width: 720px; }
.breadcrumbs {
  font-size: 0.9rem;
  color: #cfe0ee;
  margin-bottom: 14px;
}
.breadcrumbs a { color: #cfe0ee; }
.breadcrumbs a:hover { color: var(--orange); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 44px 0 38px;
}
.trust-items-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-item {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.trust-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(22, 112, 201, 0.28);
  transition: background 0.25s ease, transform 0.3s ease, box-shadow 0.25s ease;
}
.trust-item:hover .trust-icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.35);
}
.trust-icon .icon-svg { width: 26px; height: 26px; }
.trust-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.trust-caption { display: block; font-weight: 500; color: var(--gray-500); font-size: 0.82rem; line-height: 1.3; }

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-100);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.trust-badge .icon-svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; transition: color 0.2s ease; }
.trust-badge:hover {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trust-badge:hover .icon-svg { color: var(--white); }
@media (max-width: 700px) {
  .trust-item { min-width: 100%; }
}
@media (max-width: 560px) {
  .trust-badge { font-size: 0.74rem; padding: 8px 14px; }
}

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.service-card-img.img-infographic {
  object-fit: contain;
  background: var(--gray-100, #eef2f6);
  height: 220px;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card-body p { font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.card-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--orange-dark); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ---------- Feature list ---------- */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-700);
}
.feature-list .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-dark);
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Two column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split img.img-infographic {
  object-fit: contain;
  height: auto;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}
.service-detail-block .split img.img-infographic { height: auto; }

.img-stack { position: relative; }
.img-stack .img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .img-stack .img-float { display: none; }
}

/* ---------- Service detail page ---------- */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.service-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service-gallery img.img-banner {
  height: auto;
  object-fit: contain;
}
@media (max-width: 640px) {
  .service-gallery { grid-template-columns: 1fr; }
}

.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.related-services a {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.related-services a:hover { background: var(--orange); color: var(--navy-dark); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  padding: 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #dce8f2; }

/* ---------- Photo CTA banner ---------- */
.cta-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.cta-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.82) 40%, rgba(11, 31, 58, 0.25) 100%);
  z-index: 1;
}
.cta-photo-content {
  position: relative;
  z-index: 2;
  padding: 52px;
  max-width: 560px;
}
.cta-photo-content h2 { color: var(--white); margin-bottom: 10px; }
.cta-photo-content p { color: #dce8f2; margin-bottom: 24px; }
@media (max-width: 640px) {
  .cta-photo { min-height: 280px; }
  .cta-photo-content { padding: 32px 22px; max-width: 100%; }
}

/* ---------- Numbered steps list ---------- */
.steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: step-counter;
}
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray-700);
}
.steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.steps-list strong { color: var(--navy-dark); }

/* ---------- Service detail blocks (alternating image/text) ---------- */
.service-detail-block { padding: 36px 0; border-bottom: 1px solid var(--gray-100); }
.service-detail-block:first-of-type { padding-top: 4px; }
.service-detail-block:last-of-type { border-bottom: none; padding-bottom: 4px; }
.service-detail-block .split img { height: 300px; }

/* ---------- Large service type icons (~150px) ---------- */
.service-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.heater-type-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-type-item {
  text-align: center;
  padding: 28px 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-type-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-type-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--blue-light) 0%, #d6e8f8 100%);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(22, 112, 201, 0.08), 0 10px 24px rgba(22, 112, 201, 0.12);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}
.service-type-item:hover .service-type-icon {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  transform: scale(1.04);
}
.service-type-icon .icon-svg {
  width: 72px;
  height: 72px;
}
.service-type-icon.heater-icon {
  background: var(--white);
  color: var(--navy-dark);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.service-type-item:hover .service-type-icon.heater-icon {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
  transform: scale(1.04);
}
.service-type-icon.heater-icon .icon-svg {
  width: 88px;
  height: 88px;
}
.service-type-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.35;
  color: var(--navy);
}
@media (max-width: 1100px) {
  .heater-type-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .service-type-grid { grid-template-columns: repeat(2, 1fr); }
  .heater-type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-type-grid,
  .heater-type-grid { grid-template-columns: 1fr; }
  .service-type-icon { width: 130px; height: 130px; }
  .service-type-icon .icon-svg { width: 60px; height: 60px; }
  .service-type-icon.heater-icon .icon-svg { width: 72px; height: 72px; }
}

/* ---------- Why choose us reason grid ---------- */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.why-choose-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(22, 112, 201, 0.28);
  transition: background 0.25s ease, transform 0.3s ease;
}
.why-choose-item:hover .why-choose-icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  transform: rotate(-6deg) scale(1.05);
}
.why-choose-icon .icon-svg {
  width: 30px;
  height: 30px;
}
.why-choose-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.why-choose-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray-700);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-choose-grid { grid-template-columns: 1fr; }
}

/* ---------- Article ---------- */
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h3 { margin: 28px 0 10px; color: var(--navy-dark); }
.article-body h3:first-child { margin-top: 0; }
.article-body p { color: var(--gray-700); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial .stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial p.quote { color: var(--gray-700); font-style: italic; margin-bottom: 18px; }
.testimonial .author { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial .author span { display: block; font-weight: 400; color: var(--gray-500); font-size: 0.82rem; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 18px; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 10px; }

/* ---------- Contact info blocks ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; }
.contact-info-item .icon-badge { margin-bottom: 0; }
.contact-info-item h4 { color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { font-size: 0.92rem; margin: 0; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #b9cadb;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; }
.footer-logo-wrap {
  display: inline-flex;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.footer-logo-img { height: 40px; width: auto; display: block; }
.site-footer .footer-tagline {
  color: #b9cadb;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.3;
  max-width: 150px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-item .icon-svg { margin-top: 3px; margin-right: 0; flex-shrink: 0; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { color: #b9cadb; font-size: 0.92rem; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7f93a8;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #b9cadb;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a .icon-svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

/* ---------- Misc ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.divider { height: 1px; background: var(--gray-200); margin: 48px 0; }

.text-center { text-align: center; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-icon .icon-svg {
  width: 24px;
  height: 24px;
  fill: none !important;
  stroke: currentColor;
  transition: color 0.25s ease, transform 0.25s ease;
}
.stat-item:hover .stat-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.35);
}
.stat-item:hover .stat-icon .icon-svg {
  fill: none !important;
  stroke: currentColor;
  transform: scale(1.06);
}
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.88rem; color: #c7d6e3; margin-top: 0; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content .updated { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 36px; }
.legal-content h2 { color: var(--navy); margin-top: 36px; margin-bottom: 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--gray-700); line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--gray-700); line-height: 1.6; }
.legal-content a { color: var(--blue); font-weight: 600; }

.not-found {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 16px;
  padding: 80px 24px;
}

/* ---------- Gallery (team + fleet) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-grid--preview {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
}
.gallery-wrap.is-expanded .gallery-grid--preview {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.gallery-item-more { display: none; }
.gallery-wrap.is-expanded .gallery-item-more { display: block; }
.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(7,28,48,0) 0%, rgba(7,28,48,0.88) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-item.tall { grid-row: span 2; }
@media (max-width: 980px) {
  .gallery-grid,
  .gallery-grid--preview,
  .gallery-wrap.is-expanded .gallery-grid--preview { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery-grid,
  .gallery-grid--preview,
  .gallery-wrap.is-expanded .gallery-grid--preview {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: block;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-35%) rotate(225deg); }
.faq-item p {
  color: var(--gray-700);
  padding: 0 0 20px;
  margin: 0;
  font-size: 0.95rem;
}
.faq-item[open] summary { color: var(--blue); }

/* ---------- Reviews summary ---------- */
.reviews-summary {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.rating-score {
  text-align: center;
  flex-shrink: 0;
  padding-right: 40px;
  border-right: 1px solid var(--gray-200);
}
@media (max-width: 700px) {
  .rating-score { border-right: none; padding-right: 0; }
}
.rating-num { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-score .stars { color: var(--orange); font-size: 1.2rem; margin: 8px 0 6px; }
.rating-count { font-size: 0.85rem; color: var(--gray-500); }
.rating-bars { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: grid; grid-template-columns: 50px 1fr 42px; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--gray-700); }
.rating-bar { height: 8px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.rating-bar span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }

.review-cta { flex-shrink: 0; margin-left: auto; }
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  background: var(--white);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-review .icon-svg { width: 17px; height: 17px; transition: transform 0.3s ease; }
.btn-review:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-review:hover .icon-svg { transform: rotate(72deg) scale(1.2); }
@media (max-width: 700px) {
  .review-cta { margin-left: 0; width: 100%; }
  .btn-review { width: 100%; justify-content: center; }
}

/* ---------- Reviews carousel ---------- */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.reviews-track .testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  box-sizing: border-box;
}
.reviews-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.reviews-arrow svg {
  width: 20px;
  height: 20px;
}
.reviews-arrow:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.reviews-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (max-width: 900px) {
  .reviews-track .testimonial {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 640px) {
  .reviews-carousel { gap: 8px; }
  .reviews-arrow { width: 40px; height: 40px; }
  .reviews-track .testimonial {
    flex: 0 0 100%;
  }
}
