/* ==========================================================================
   Emergency Plumber Murrieta - header & footer styles
   ========================================================================== */

:root {
  --blue: #2076C4;
  --blue-dark: #15508a;
  --red: #E4181C;
  --white: #ffffff;
  --black: #000000;
  --gray: #9c9c9c;
  --gray-light: #ccc;
  --border: #2a2a2a;
}

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

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: #222;
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --------------------------------------------------------------------------
   Header (logo has black background, so header is black)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
}

.logo {
  flex: none;
  display: block;
  line-height: 0;
  justify-self: start;
}

.logo img {
  width: auto;
  height: 46px;
}

/* Right zone: call button + hamburger */
.header-right {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.call-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.call-btn:hover {
  background: #b81215;
}

.call-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.call-num {
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

/* Desktop navigation - centered between logo and call button */
.nav {
  justify-self: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus-visible {
  color: var(--red);
}

.caret {
  font-size: 11px;
  margin-left: 2px;
  color: var(--gray);
}

/* Dropdown menus (hover on desktop) */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--black);
  border: 1px solid var(--border);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1100;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--gray-light);
  font-size: 14px;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--white);
  background: #1a1a1a;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: var(--red);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background: #b81215;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: var(--gray);
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 16px 40px;
}

.footer-brand img {
  width: auto;
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 40ch;
}

.footer-brand .call-btn {
  margin-left: 0;
}

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  .nav-list > li > a {
    padding: 10px 10px;
    font-size: 14px;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-right {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex: none;
    border-top: 1px solid var(--border);
    padding: 8px 0;
  }

  .header-inner.nav-open .nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list > li > a {
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid #1a1a1a;
  }

  .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    transition: max-height 0.3s;
  }

  .has-dropdown.open .dropdown {
    max-height: 600px;
  }

  .dropdown a {
    padding: 12px 24px;
    font-size: 15px;
  }

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

@media (max-width: 600px) {
  .call-btn {
    padding: 10px 12px;
    gap: 6px;
  }

  .call-num {
    font-size: 13px;
  }

  .logo img {
    height: 38px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .call-num {
    display: none;
  }

  .call-btn {
    padding: 11px;
  }

  .call-icon {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   Page content styles (home page)
   ========================================================================== */

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 14px;
}

.section {
  padding: 72px 0;
}

.section-dark {
  background: #f4f6f8;
}

.section-light {
  background: var(--white);
}

.section-kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 17px;
  color: #555;
  max-width: 60ch;
}

.section-more {
  margin: 28px 0 0;
}

.section-more a {
  color: var(--blue-dark);
  font-weight: 700;
}

.section-more a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #b81215;
}

.btn-outline {
  background: none;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background: #f0f0f0;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 118, 196, 0.35), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 24, 28, 0.22), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  color: #8fc4ee;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 22px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 18px;
  color: #cfcfcf;
  max-width: 58ch;
  margin: 0 auto 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 34px 0 0;
  color: #a9a9a9;
  font-size: 14px;
}

.hero-trust li {
  position: relative;
  padding-left: 18px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.service-card {
  display: block;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-top: 3px solid var(--blue);
  padding: 26px;
  border-radius: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.service-card h3 {
  color: #111;
  margin-bottom: 8px;
}

.service-card p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.feature {
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  padding: 26px;
}

.feature h3 {
  color: var(--blue-dark);
  font-size: 17px;
  margin-bottom: 8px;
}

.feature p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Emergency band ---------- */
.emergency-band {
  background: var(--red);
  color: var(--white);
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  flex-wrap: wrap;
}

.emergency-inner h2 {
  margin-bottom: 6px;
}

.emergency-inner p {
  margin: 0;
  opacity: 0.92;
}

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #444;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.split-panel {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 34px;
  text-align: center;
}

.split-panel h3 {
  font-size: 21px;
}

.split-panel p {
  color: #c5c5c5;
  font-size: 15px;
}

.phone-block {
  display: inline-block;
  margin: 8px 0 4px;
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
}

.phone-block:hover {
  color: var(--red);
}

.panel-note {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a8a8a !important;
}

/* ---------- Areas ---------- */
.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 22px;
  margin-top: 28px;
  max-width: 720px;
}

.area-list li a {
  display: block;
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-radius: 4px;
  padding: 14px 18px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.area-list li a:hover {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}

/* ---------- Tips ---------- */
.tip-card {
  display: block;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-left: 3px solid var(--red);
  padding: 26px;
  border-radius: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tip-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.tip-card h3 {
  color: #111;
  margin-bottom: 8px;
  font-size: 17px;
}

.tip-card p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Reviews ---------- */
.reviews-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.reviews-inner .btn-outline {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.reviews-inner .btn-outline:hover {
  background: rgba(32, 118, 196, 0.08);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.final-cta-inner {
  padding-top: 64px;
  padding-bottom: 64px;
}

.final-cta h2 {
  margin-bottom: 8px;
}

.final-cta p {
  color: #b5b5b5;
  margin-bottom: 26px;
}

/* ---------- Responsive page ---------- */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 34px;
  }

  .hero {
    padding: 72px 0 64px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-text,
  .split-panel {
    min-width: 0;
  }

  .split .btn {
    white-space: normal;
    text-align: center;
  }

  .phone-block {
    font-size: clamp(24px, 8vw, 34px);
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    text-align: center;
  }

  .emergency-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   About page styles
   ========================================================================== */

.about-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-intro .section-sub {
  margin: 0 auto;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--black);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.stat {
  text-align: center;
  border-left: 1px solid #2a2a2a;
  padding: 8px 12px;
}

.stat:first-child {
  border-left: 0;
}

.stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: #b5b5b5;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- About story ---------- */
.about-story-text p {
  color: #444;
}

.about-values {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 34px;
}

.about-values h3 {
  font-size: 21px;
  color: var(--white);
}

.about-values .check-list li {
  color: #c5c5c5;
}

.about-values .check-list {
  margin-bottom: 0;
}

/* ---------- Services tags ---------- */
.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.services-tags li {
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* ---------- Contact info cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.contact-card {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  padding: 26px;
  text-align: center;
}

.contact-card h3 {
  font-size: 15px;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

.contact-card a {
  color: var(--blue-dark);
  font-weight: 700;
}

.contact-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .stats-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid #2a2a2a;
    padding: 18px 8px;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stat-num {
    font-size: 30px;
  }

  .about-values {
    padding: 26px 22px;
  }
}

/* ==========================================================================
   Inner pages (service areas, legal, etc.)
   ========================================================================== */

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 118, 196, 0.35), transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero .hero-kicker {
  margin-bottom: 18px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  color: #cfcfcf;
  font-size: 17px;
  margin-bottom: 26px;
}

.page-hero .hero-cta {
  justify-content: flex-start;
}

/* ---------- Service area cards ---------- */
.area-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.area-card {
  display: block;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-top: 3px solid var(--blue);
  padding: 26px;
  border-radius: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.area-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.area-card h3 {
  color: #111;
  margin-bottom: 8px;
}

.area-card p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-size: 24px;
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-size: 18px;
  margin: 26px 0 10px;
  color: var(--blue-dark);
}

.legal-content p {
  color: #444;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}

.legal-content li {
  color: #444;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-meta {
  font-size: 14px;
  color: #777;
}

@media (max-width: 1024px) {
  .area-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero {
    padding: 56px 0 48px;
  }
}

@media (max-width: 600px) {
  .area-card-grid {
    grid-template-columns: 1fr;
  }

  .legal-content h2 {
    font-size: 21px;
  }
}

/* ==========================================================================
   Reviews page
   ========================================================================== */

/* ---------- Rating summary ---------- */
.reviews-summary {
  background: var(--black);
  color: var(--white);
}

.reviews-summary-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

.summary-score {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.summary-score span {
  font-size: 26px;
  color: #8a8a8a;
  font-weight: 500;
}

.summary-stars {
  color: #ffb400;
  font-size: 26px;
  letter-spacing: 3px;
  margin: 10px 0 6px;
}

.summary-count {
  color: #b5b5b5;
  font-size: 15px;
}

.summary-bar-block {
  width: 100%;
  max-width: 420px;
  text-align: left;
}

.summary-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #b5b5b5;
}

.summary-bar-label {
  width: 42px;
  flex: none;
}

.summary-bar-track {
  flex: 1;
  height: 8px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

.summary-bar-fill {
  display: block;
  height: 100%;
  background: #ffb400;
  border-radius: 4px;
}

.summary-bar-pct {
  width: 38px;
  flex: none;
  text-align: right;
}

/* ---------- Review cards ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-top: 3px solid var(--blue);
  border-radius: 6px;
  padding: 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.review-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.review-stars {
  color: #ffb400;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-stars .star-off {
  color: #d6d9dd;
}

.review-text {
  color: #444;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f1f3;
  padding-top: 14px;
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.review-avatar.alt {
  background: var(--red);
}

.review-who {
  min-width: 0;
}

.review-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #111;
  margin: 0 0 2px;
}

.review-loc {
  font-size: 12.5px;
  color: #777;
  margin: 0;
}

.review-date {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.review-service {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: #eef4fa;
  border-radius: 12px;
  padding: 4px 12px;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .summary-score {
    font-size: 56px;
  }

  .reviews-summary-inner {
    gap: 32px;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

/* ---------- Left: contact details ---------- */
.contact-details {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 34px;
}

.contact-details h2 {
  color: var(--white);
}

.contact-details p {
  color: #c5c5c5;
  font-size: 15px;
}

.detail-list {
  margin: 24px 0 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
}

.detail-item:last-child {
  border-bottom: 0;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.detail-item h3 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--white);
}

.detail-item p {
  font-size: 14px;
  margin: 0;
  color: #b5b5b5;
}

.detail-item a {
  color: var(--white);
  font-weight: 600;
}

.detail-item a:hover {
  color: var(--red);
}

.detail-item .phone-big {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.detail-item .phone-big:hover {
  color: var(--red);
}

.contact-note {
  margin-top: 24px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 16px;
  font-size: 13.5px !important;
  color: #a9a9a9 !important;
}

/* ---------- Right: form ---------- */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  padding: 34px;
}

.contact-form-wrap h2 {
  margin-bottom: 6px;
}

.contact-form-wrap .form-intro {
  color: #555;
  font-size: 15px;
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form .field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-field label span {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #222;
  background: #f7f8fa;
  border: 1px solid #d8dce1;
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 118, 196, 0.15);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: #888;
  margin: 0;
}

.form-success {
  display: none;
  grid-column: 1 / -1;
  background: #eaf7ee;
  border: 1px solid #bfe6cc;
  color: #1e6b3a;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* ---------- Map ---------- */
.contact-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
  line-height: 0;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    justify-self: stretch;
    text-align: center;
  }

  .contact-details,
  .contact-form-wrap {
    padding: 26px 20px;
  }

  .contact-map-wrap iframe {
    height: 320px;
  }
}

/* ==========================================================================
   Services hub page
   ========================================================================== */

.hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hub-links a {
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: border-color 0.2s, color 0.2s;
}

.hub-links a:hover {
  border-left-color: var(--red);
  color: var(--blue-dark);
}

.hub-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hub-cat-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
}

.hub-cat-head h2 {
  margin: 0;
}

.hub-cat-sub {
  color: #555;
  max-width: 70ch;
}

.section-dark .hub-cat-head h2 {
  color: #111;
}

.section-dark .hub-cat-sub {
  color: #555;
}

.hub-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.hub-how-step {
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  padding: 26px;
  text-align: center;
}

.hub-how-step h3 {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.hub-how-step p {
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

.hub-how-step .hub-cat-num {
  margin: 0 auto 14px;
  background: var(--blue);
}

@media (max-width: 1024px) {
  .hub-how {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ==========================================================================
   Service area city pages
   ========================================================================== */

.city-local {
  background: #f0f6fb;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: #333;
  margin: 20px 0 0;
}

.city-local strong {
  color: var(--blue-dark);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 840px;
  margin-top: 28px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: #111;
  list-style: none;
  position: relative;
  padding-right: 46px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 22px 18px;
  color: #555;
  font-size: 14.5px;
  margin: 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */

/* ---------- Post cards (listing) ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-left: 3px solid var(--red);
  padding: 26px;
  border-radius: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.post-card .post-cat {
  align-self: flex-start;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: #eef4fa;
  border-radius: 12px;
  padding: 4px 12px;
}

.post-card h3 {
  color: #111;
  margin-bottom: 8px;
  font-size: 18px;
}

.post-card p {
  color: #555;
  font-size: 14.5px;
  margin: 0 0 16px;
  flex: 1;
}

.post-card .post-meta {
  color: #999;
  font-size: 13px;
  border-top: 1px solid #f0f1f3;
  padding-top: 12px;
}

/* ---------- Article page ---------- */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e6ea;
  font-size: 13.5px;
  color: #777;
}

.post-meta-bar .post-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: #eef4fa;
  border-radius: 12px;
  padding: 4px 12px;
}

.post-body {
  max-width: 820px;
}

.post-body > p {
  color: #444;
}

.post-body h2 {
  font-size: 24px;
  margin: 40px 0 14px;
}

.post-body h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--blue-dark);
}

.post-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}

.post-body li {
  color: #444;
  margin-bottom: 8px;
}

.post-body a:not(.btn) {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:not(.btn):hover {
  color: var(--red);
}

.post-callout {
  background: #f0f6fb;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 24px 0;
}

.post-callout p {
  margin: 0;
  color: #333;
  font-size: 15px;
}

.post-callout a {
  color: var(--blue-dark);
  font-weight: 700;
}

.post-callout.urgent {
  background: #fdecec;
  border-left-color: var(--red);
}

.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 22px;
  margin: 40px 0 0;
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
}

.author-box h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #111;
}

.author-box p {
  margin: 0;
  font-size: 13.5px;
  color: #666;
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  border-top: 1px solid #e3e6ea;
  padding-top: 24px;
}

.post-nav a {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14.5px;
}

.post-nav a:hover {
  color: var(--red);
}

.review-card .review-text {
  flex: 1;
}

@media (max-width: 600px) {
  .post-body h2 {
    font-size: 21px;
  }
}