/* =========================================================
   Mountain View Window Cleaning Theme CSS
   Optimised replacement stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   01. Design Tokens
   ========================================================= */

:root {
  --mv-navy: #172d55;
  --mv-navy-dark: #102447;
  --mv-hero-blue: #061f70;
  --mv-red: #f23d3d;
  --mv-red-dark: #df3030;
  --mv-blue-btn: #1367e8;
  --mv-blue-btn-dark: #0f59cb;

  --mv-white: #fff;
  --mv-light: #f5f7fb;
  --mv-grey: #eef2f7;
  --mv-border: #d9dde4;
  --mv-text: #172033;
  --mv-muted: #586274;

  --mv-max: 1280px;
  --mv-content: 1170px;
  --mv-radius: 18px;
  --mv-shadow: 0 18px 42px rgba(23, 45, 85, 0.10);
  --mv-shadow-strong: 0 24px 55px rgba(23, 45, 85, 0.16);

  --mv-font: 'Manrope', Arial, Helvetica, sans-serif;
  --mv-hero-image: url('../images/hero.jpg');
}

/* =========================================================
   02. Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--mv-text);
  font-family: var(--mv-font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.mv-container,
.header-inner {
  width: min(100% - 40px, var(--mv-max));
  margin-inline: auto;
}

.mv-full-width-content > * {
  margin-block-start: 0;
}

/* =========================================================
   03. Typography
   ========================================================= */

h1,
h2,
h3,
h4,
.mv-page-hero h1,
.mv-blog-hero h1,
.mv-homepage-hero h1,
.mv-home-heading h2,
.mv-home-intro__content h2,
.mv-page-content h2,
.mv-readable-content h2,
.mv-service-card h3,
.mv-sidebar-widget h3,
.footer-inner h3 {
  font-family: var(--mv-font);
  font-weight: 800;
}

h1,
.mv-page-hero h1,
.mv-blog-hero h1,
.mv-homepage-hero h1 {
  letter-spacing: -0.025em;
}

h2,
.mv-home-heading h2,
.mv-home-intro__content h2,
.mv-page-content h2,
.mv-readable-content h2 {
  letter-spacing: -0.02em;
}

.mv-eyebrow,
.mv-section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--mv-red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   04. Buttons / Links
   ========================================================= */

.mv-pill-btn,
.mv-blue-pill-btn,
.mv-outline-pill-btn,
.mv-post-read-more,
.mobile-quote,
.mobile-menu-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
}

.mv-pill-btn,
.mv-blue-pill-btn,
.mv-outline-pill-btn {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mv-pill-btn,
.mv-post-read-more,
.mobile-quote,
.mobile-menu-quote {
  background: var(--mv-red);
  color: #fff;
}

.mv-pill-btn:hover,
.mv-post-read-more:hover,
.mobile-quote:hover,
.mobile-menu-quote:hover {
  background: var(--mv-red-dark);
}

.mv-blue-pill-btn {
  background: var(--mv-blue-btn);
  color: #fff;
}

.mv-blue-pill-btn:hover {
  background: var(--mv-blue-btn-dark);
}

.mv-outline-pill-btn {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.mv-outline-pill-btn:hover {
  background: #fff;
  color: var(--mv-navy);
}

.mv-text-link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--mv-red);
  color: var(--mv-navy);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.mv-text-link:hover {
  color: var(--mv-red);
}

/* =========================================================
   05. Header + Navigation
   ========================================================= */

.site-header {
  position: relative;
  z-index: 200;
  background: var(--mv-navy);
  color: #fff;
}

.header-inner {
  min-height: 132px;
  padding: 20px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.custom-logo-link {
  display: block;
}

.site-logo img,
.custom-logo-link img {
  width: 155px;
  max-height: 105px;
  object-fit: contain;
  display: block;
}

.call-box {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.call-icon {
  font-size: 30px;
  line-height: 1;
}

.call-label,
.call-number {
  display: block;
}

.call-label {
  margin-bottom: 3px;
  font-size: 13px;
  opacity: 0.9;
}

.call-number {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.mobile-phone,
.mobile-actions {
  display: none;
}

.nav-wrap {
  position: relative;
  z-index: 210;
}

.main-nav {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(23, 45, 85, 0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.nav-links {
  flex: 1 1 auto;
  list-style: none;
  margin: 0;
  padding: 5px;
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-links li {
  display: flex;
  flex: 0 0 auto;
}

.nav-links a,
.quote-btn {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a {
  min-height: 48px;
  padding: 0 11px;
  border-radius: 4px;
  color: #07132a;
}

.nav-links a::before,
.nav-links a::after {
  display: none;
  content: none;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--mv-red);
}

.quote-btn {
  flex: 0 0 auto;
  min-width: 175px;
  justify-content: center;
  padding: 0 24px 0 42px;
  background: var(--mv-red);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  color: #fff;
  transition: background 0.2s ease;
}

.quote-btn:hover {
  background: var(--mv-red-dark);
}

.quote-btn::after {
  content: '›';
  margin-left: 10px;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.quote-btn:hover::after {
  transform: translate(4px, -1px);
}

/* Desktop overlay header: logo left, phone above menu, menu right */
@media (min-width: 901px) {
  .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent !important;
  }

  body.admin-bar .site-header {
    top: 32px;
  }

  .header-inner {
    width: min(100% - 80px, var(--mv-content));
    min-height: 126px;
    padding: 14px 0;
    align-items: flex-start;
    position: relative;
  }

  .site-logo,
  .custom-logo-link {
    width: 170px;
    position: relative;
    z-index: 230;
  }

  .call-box {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 240;
    gap: 9px;
  }

  .call-icon {
    font-size: 24px;
  }

  .call-label,
  .call-number {
    display: inline;
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    opacity: 1;
  }

  .call-label::after {
    content: ' ';
  }

  .nav-wrap {
    position: absolute;
    top: 42px;
    left: calc((100vw - min(100% - 80px, var(--mv-content))) / 2 + 235px);
    right: calc((100vw - min(100% - 80px, var(--mv-content))) / 2);
    z-index: 220;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    clip-path: none !important;
  }

  body.admin-bar .nav-wrap {
    top: 80px;
  }
}

/* =========================================================
   06. Mobile Header / Flyout Menu
   ========================================================= */

.mobile-quote {
  height: 41px;
  padding: 0 13px;
  font-size: 13px;
  text-transform: uppercase;
}

.burger-btn,
.close-menu {
  cursor: pointer;
}

.burger-btn {
  width: 52px;
  height: 41px;
  border: 0;
  background: #f4f4f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  width: 23px;
  height: 3px;
  display: block;
  background: #222;
}

.burger-btn span {
  position: relative;
}

.burger-btn span::before,
.burger-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger-btn span::before { top: -8px; }
.burger-btn span::after { top: 8px; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(86vw, 360px);
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--mv-navy);
}

.mobile-menu-logo img {
  width: 130px;
  display: block;
}

.close-menu {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.mobile-phone span,
.mobile-menu-phone span {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

.mobile-menu-phone {
  display: block;
  padding: 15px 22px;
  background: var(--mv-navy-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.mobile-menu-links a {
  min-height: 56px;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  color: var(--mv-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-menu-links a:hover,
.mobile-menu-links .current-menu-item > a,
.mobile-menu-links .current_page_item > a {
  padding-left: 20px;
  border-left: 4px solid var(--mv-red);
  background: #f7f8fb;
  color: var(--mv-red);
}

.mobile-menu-quote {
  display: none !important;
}

/* =========================================================
   07. Hero Banners
   ========================================================= */

.mv-page-hero,
.mv-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 85px;
  background: linear-gradient(90deg, rgba(23,45,85,.96), rgba(23,45,85,.82)), var(--mv-hero-image) center center / cover no-repeat;
  color: #fff;
}

body.home {
  --mv-hero-image: url('../images/hero.jpg');
}

.mv-page-hero::before,
.mv-blog-hero::before,
.mv-homepage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23,45,85,.38) 0, rgba(23,45,85,.16) 110px, rgba(23,45,85,0) 220px);
  pointer-events: none;
}

body.home .mv-page-hero::after,
body.home .mv-blog-hero::after,
body.home .mv-homepage-hero::after {
  display: none !important;
  content: none !important;
}

.mv-page-hero__content,
.mv-blog-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.mv-page-hero h1,
.mv-blog-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
}

.mv-blog-hero p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.6;
}

.mv-homepage-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 110px 0 100px;
}

.mv-homepage-hero .mv-page-hero__content {
  max-width: 780px;
}

.mv-homepage-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.08;
}

.mv-homepage-hero .mv-page-hero__content > p:last-of-type {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.6;
}

.mv-homepage-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mv-template-strip {
  display: none;
}

@media (min-width: 901px) {
  .mv-page-hero,
  .mv-blog-hero,
  .mv-homepage-hero {
    margin-top: 0;
    padding-top: 225px;
    background-position: center top !important;
  }

  .mv-template-strip {
    display: block;
    height: 180px;
    background: var(--mv-navy);
  }
}

/* =========================================================
   08. Homepage Intro
   ========================================================= */

.mv-home-intro {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
  background: #fff;
}

.mv-home-intro::before,
.mv-home-intro::after,
.mv-home-intro__image::before,
.mv-home-intro__image::after,
.mv-home-quote-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.mv-home-intro::before {
  top: -80px;
  right: 9%;
  width: 135px;
  height: 520px;
  background: rgba(23, 45, 85, 0.06);
  transform: skewX(-17deg);
}

.mv-home-intro::after {
  top: 0;
  right: 16%;
  width: 5px;
  height: 160px;
  background: var(--mv-red);
  transform: skewX(-17deg);
  opacity: 0.9;
}

.mv-home-intro__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 72px;
  align-items: center;
}

.mv-home-intro__image-wrap {
  position: relative;
}

.mv-home-intro__image {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 28px;
  background: #dfe5ee;
  box-shadow: 0 26px 60px rgba(23, 45, 85, 0.18);
}

.mv-home-intro__image::before {
  inset: 22px;
  z-index: 2;
  border: 5px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
}

.mv-home-intro__image::after {
  top: 0;
  right: -78px;
  z-index: 3;
  width: 165px;
  height: 100%;
  background: rgba(238, 242, 247, 0.88);
  transform: skewX(-17deg);
}

.mv-home-intro__image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mv-home-intro__badge {
  position: absolute;
  left: 28px;
  bottom: -28px;
  z-index: 5;
  min-width: 260px;
  max-width: 320px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--mv-navy);
  color: #fff;
  box-shadow: 0 18px 38px rgba(23, 45, 85, 0.22);
}

.mv-home-intro__badge strong,
.mv-home-intro__badge span {
  display: block;
}

.mv-home-intro__badge strong {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.mv-home-intro__badge span {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  opacity: 0.88;
}

.mv-home-intro__content h2 {
  margin: 0 0 22px;
  color: var(--mv-navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.mv-home-intro__content p {
  max-width: 700px;
  margin: 0 0 20px;
  color: var(--mv-muted);
  font-size: 17px;
  line-height: 1.75;
}

.mv-home-intro__ticks {
  list-style: none;
  max-width: 680px;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.mv-home-intro__ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--mv-muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.mv-home-intro__ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mv-red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.mv-home-intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

/* =========================================================
   09. Services / Service Areas
   ========================================================= */

.mv-services-section,
.mv-service-areas-section {
  background: #fff;
}

.mv-services-section {
  padding: 80px 0;
  background: #f5f5f5;
}

.mv-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mv-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(10, 25, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(10, 25, 55, 0.14);
}

.mv-service-card__image {
  height: 190px;
  overflow: hidden;
  background: #dfe5ee;
}

.mv-service-card__image img,
.mv-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mv-service-card__body {
  flex: 1;
  padding: 24px 22px;
  border-top: 4px solid var(--mv-red);
}

.mv-service-card h3 {
  margin: 0 0 12px;
  color: var(--mv-navy);
  font-size: 17px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.mv-service-card p {
  margin: 0 0 18px;
  color: var(--mv-muted);
  font-size: 16px;
  line-height: 1.6;
}

.mv-service-card a {
  color: var(--mv-red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.mv-service-card a:hover {
  color: var(--mv-red-dark);
}

.mv-service-areas-section {
  padding: 60px 0;
}

.mv-service-areas-list {
  columns: 4;
  column-gap: 40px;
  max-width: 1000px;
  margin: 30px auto 0;
}

.mv-service-areas-list a {
  margin: 0 0 10px;
  color: var(--mv-navy);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
}

.mv-service-areas-list a:hover {
  color: var(--mv-red);
  text-decoration: underline;
}

/* =========================================================
   10. Quote Forms / Contact Form 7
   ========================================================= */

.mv-home-quote {
  padding: 60px 0 80px;
  background: #fff;
}

.mv-home-quote-card,
.mv-sidebar-quote-form {
  background: var(--mv-navy);
  color: #fff;
  box-shadow: var(--mv-shadow-strong);
}

.mv-home-quote-card {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 44px 48px;
  border-radius: 24px;
}

.mv-home-quote-card::after {
  right: -55px;
  bottom: -90px;
  width: 150px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
  transform: skewX(-17deg);
}

.mv-home-quote-card__intro,
.mv-home-quote-card__form {
  position: relative;
  z-index: 2;
  margin-inline: auto;
}

.mv-home-quote-card__intro {
  max-width: 560px;
  margin-bottom: 26px;
  text-align: center;
}

.mv-home-quote-card__intro .mv-section-kicker,
.mv-guarantee-strip__content .mv-section-kicker {
  color: var(--mv-red);
}

.mv-home-quote-card__intro h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.mv-home-quote-card__intro p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
}

.mv-home-quote-card__phone {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.mv-home-quote-card__phone:hover {
  color: var(--mv-red);
}

.mv-home-quote-card__form {
  max-width: 500px;
}

.mv-home-quote-card .wpcf7,
.mv-home-quote-card .wpcf7 form,
.mv-home-quote-card .wpcf7 p,
.mv-sidebar-quote-form .wpcf7,
.mv-sidebar-quote-form .wpcf7 form,
.mv-sidebar-quote-form .wpcf7 p {
  margin: 0;
  padding: 0;
}

.mv-home-quote-card .wpcf7 br,
.mv-sidebar-quote-form .wpcf7 br {
  display: none;
}

.mv-cf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mv-cf7-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.mv-cf7-form label > span:first-child {
  display: block;
  margin-top: 6px;
}

.mv-cf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  padding: 0;
}

.mv-cf7-form input,
.mv-cf7-form select,
.mv-cf7-form textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--mv-text);
  font: inherit;
}

.mv-cf7-form textarea {
  min-height: 105px;
  resize: vertical;
}

.mv-cf7-form input:focus,
.mv-cf7-form select:focus,
.mv-cf7-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(242, 61, 61, 0.25);
}

.mv-cf7-submit {
  margin-top: 4px;
}

.mv-cf7-form input[type='submit'] {
  width: auto;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--mv-red);
  color: #fff;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mv-cf7-form input[type='submit']:hover {
  background: var(--mv-red-dark);
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #ffd5d5;
  font-size: 13px;
  font-weight: 700;
}

.wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.mv-sidebar-quote-form {
  width: 100%;
  padding: 28px 24px;
  border-radius: 22px;
}

.mv-page-sidebar .mv-sidebar-widget:has(.mv-sidebar-quote-form),
.mv-page-sidebar .widget:has(.mv-sidebar-quote-form),
.mv-page-sidebar .widget_block:has(.mv-sidebar-quote-form),
.mv-page-sidebar .widget_text:has(.mv-sidebar-quote-form),
.mv-blog-sidebar .mv-sidebar-widget:has(.mv-sidebar-quote-form),
.mv-blog-sidebar .widget:has(.mv-sidebar-quote-form),
.mv-blog-sidebar .widget_block:has(.mv-sidebar-quote-form),
.mv-blog-sidebar .widget_text:has(.mv-sidebar-quote-form) {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* =========================================================
   11. Content / Page Layouts
   ========================================================= */

.mv-page-content-section {
  padding: 76px 0;
  background: #fff;
}

.mv-page-content,
.mv-readable-content {
  max-width: 860px;
  color: var(--mv-muted);
  font-size: 17px;
  line-height: 1.75;
}

.mv-page-content h2,
.mv-readable-content h2 {
  margin: 0 0 16px;
  color: var(--mv-navy);
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.mv-page-content h3,
.mv-readable-content h3 {
  margin: 28px 0 10px;
  color: var(--mv-navy);
  font-size: 24px;
}

.mv-readable-content h4,
.mv-page-content h4,
.entry-content h4 {
  margin: 32px 0 16px;
  color: var(--mv-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mv-page-content p,
.mv-readable-content p {
  margin: 0 0 22px;
}

.mv-two-column-layout,
.mv-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

.mv-page-sidebar,
.mv-blog-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 22px;
}

.mv-single-featured {
  margin-bottom: 30px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--mv-shadow);
}

.mv-single-featured img {
  display: block;
  width: 100%;
}

/* =========================================================
   12. Blog / Sidebar
   ========================================================= */

.mv-blog-section {
  padding: 80px 0;
  background: var(--mv-light);
}

.mv-blog-list {
  display: grid;
  gap: 30px;
}

.mv-post-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--mv-shadow);
}

.mv-post-card__image {
  display: block;
  min-height: 260px;
  background: #e8edf4;
}

.mv-post-card__image img {
  min-height: 260px;
}

.mv-post-card__content {
  padding: 32px;
}

.mv-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--mv-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mv-post-meta a,
.mv-post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.mv-post-card h2 {
  margin: 0 0 14px;
  color: var(--mv-navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.mv-post-card h2 a:hover {
  color: var(--mv-red);
}

.mv-post-card p {
  margin: 0 0 20px;
  color: var(--mv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.mv-post-read-more {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  text-transform: uppercase;
}

.mv-sidebar-widget {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 45, 85, 0.09);
}

.mv-sidebar-widget h3 {
  margin: 0 0 16px;
  color: var(--mv-navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.mv-sidebar-widget p,
.mv-sidebar-widget li {
  color: var(--mv-muted);
  font-size: 15px;
}

.mv-sidebar-widget p {
  margin: 0 0 20px;
  line-height: 1.65;
}

.mv-sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.mv-sidebar-widget li {
  line-height: 1.45;
}

.mv-sidebar-widget li a {
  color: var(--mv-text);
  font-weight: 700;
  text-decoration: none;
}

.mv-sidebar-widget li a:hover {
  color: var(--mv-red);
}

.mv-sidebar-cta {
  position: relative;
  overflow: hidden;
  background: var(--mv-navy);
  color: #fff;
}

/* =========================================================
   13. FAQ / Guarantee / Tabs
   ========================================================= */

.mv-faq-section {
  padding: 80px 0;
  background: #fff;
}

.mv-home-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.mv-home-heading h2 {
  margin: 0;
  color: var(--mv-navy);
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mv-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.mv-faq-item {
  overflow: hidden;
  border: 1px solid var(--mv-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 45, 85, 0.06);
}

.mv-faq-item[open] {
  border-color: rgba(242, 61, 61, 0.35);
}

.mv-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 21px 64px 21px 24px;
  color: var(--mv-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

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

.mv-faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 22px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mv-red);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.mv-faq-item[open] summary::after {
  content: '−';
}

.mv-faq-answer {
  padding: 0 24px 22px;
  color: var(--mv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.mv-faq-answer p {
  margin: 0;
}

.mv-guarantee-strip {
  padding: 36px 40px;
  background: #fff;
}

.mv-readable-content .mv-guarantee-strip {
  padding: 35px 0 0;
}

.mv-guarantee-strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px 22px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  border-radius: 22px;
  background: var(--mv-navy);
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 45, 85, 0.13);
}

.mv-guarantee-strip__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-guarantee-strip__image img {
  width: 124px;
  max-width: 100%;
  height: auto;
  display: block;
}

.mv-guarantee-strip__content {
  max-width: 900px;
  margin: 0;
}

.mv-guarantee-strip__content .mv-section-kicker {
  margin: 0 0 8px;
  line-height: 1.2;
}

.mv-guarantee-strip__content h2,
.mv-guarantee-strip__content .mv-guarantee-strip__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.mv-guarantee-strip__content p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.55;
}

.mv-readable-content .mv-guarantee-strip__inner,
.mv-readable-content .mv-guarantee-strip__content {
  max-width: none;
}

.mv-tabs-target {
  margin: 0 0 44px;
}

.mv-tabs-target__anchor {
  position: relative;
  top: -140px;
}

.mv-tabs-target__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  margin: 0 0 34px;
}

.mv-tabs-target__nav a {
  position: relative;
  padding-bottom: 10px;
  color: var(--mv-muted);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.mv-tabs-target__nav span {
  width: 1px;
  height: 26px;
  background: rgba(23, 45, 85, 0.25);
}

.mv-tabs-target__panel {
  display: none;
}

.mv-tabs-target__residential {
  display: block;
}

#commercial:target ~ .mv-tabs-target__nav a[href='#commercial'],
.mv-tabs-target:not(:has(#commercial:target)) .mv-tabs-target__nav a[href='#residential'],
#residential:target ~ .mv-tabs-target__nav a[href='#residential'] {
  color: var(--mv-navy);
}

#commercial:target ~ .mv-tabs-target__nav a[href='#commercial']::after,
.mv-tabs-target:not(:has(#commercial:target)) .mv-tabs-target__nav a[href='#residential']::after,
#residential:target ~ .mv-tabs-target__nav a[href='#residential']::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--mv-red);
}

#commercial:target ~ .mv-tabs-target__panels .mv-tabs-target__residential {
  display: none;
}

#commercial:target ~ .mv-tabs-target__panels .mv-tabs-target__commercial {
  display: block;
}

/* =========================================================
   14. WordPress Content Defaults
   ========================================================= */

.alignleft,
img.alignleft,
.wp-caption.alignleft {
  float: left;
  margin: 6px 28px 18px 0;
}

.alignright,
img.alignright,
.wp-caption.alignright {
  float: right;
  margin: 6px 0 18px 28px;
}

.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
  display: block;
  margin: 28px auto;
  text-align: center;
}

.wp-caption {
  max-width: 100%;
}

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

.wp-caption-text {
  margin: 8px 0 0;
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.mv-readable-content::after,
.mv-page-content::after,
.entry-content::after {
  content: '';
  display: table;
  clear: both;
}

.mv-readable-content p > img,
.mv-page-content p > img,
.entry-content p > img,
img.alignleft,
img.alignright,
img.aligncenter,
.wp-caption img {
  border-radius: 16px;
}

/* =========================================================
   15. Footer
   ========================================================= */

.site-footer {
  padding: 56px 0 26px;
  background: var(--mv-navy);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 46px;
}

.footer-logo img {
  width: 145px;
  margin-bottom: 18px;
  display: block;
}

.footer-inner h3 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 900;
}

.footer-inner p,
.footer-inner a {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

.footer-inner a {
  color: #fff;
  text-decoration: none;
}

.footer-inner a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  opacity: 0.72;
}

/* =========================================================
   16. Responsive
   ========================================================= */

@media (max-width: 980px) {
  .mv-home-intro {
    padding: 68px 0 64px;
  }

  .mv-home-intro::before {
    right: -30px;
    height: 420px;
  }

  .mv-home-intro::after {
    display: none;
  }

  .mv-home-intro__layout,
  .mv-two-column-layout,
  .mv-blog-layout {
    grid-template-columns: 1fr;
  }

  .mv-home-intro__layout {
    gap: 58px;
  }

  .mv-home-intro__image,
  .mv-home-intro__image img {
    min-height: 390px;
  }

  .mv-page-sidebar,
  .mv-blog-sidebar {
    position: static;
  }

  .mv-post-card {
    grid-template-columns: 1fr;
  }

  .mv-post-card__image,
  .mv-post-card__image img {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .site-header {
    border-top: 2px solid #5e6b79;
  }

  .header-inner {
    min-height: 132px;
    padding: 12px 0 16px;
    align-items: flex-end;
  }

  .site-logo img,
  .custom-logo-link img {
    width: 150px;
  }

  .call-box,
  .nav-wrap {
    display: none;
  }

  .mobile-phone {
    display: block;
    position: absolute;
    top: 8px;
    right: 23px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
  }

  .mv-page-hero,
  .mv-blog-hero {
    padding: 75px 0 70px;
  }

  .mv-homepage-hero {
    min-height: 440px;
    padding: 70px 0 65px;
  }

  .mv-homepage-hero__buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .mv-homepage-hero__buttons .mv-pill-btn,
  .mv-homepage-hero__buttons .mv-outline-pill-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding-inline: 14px;
    font-size: 13px;
    white-space: nowrap;
  }

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

  .mv-service-areas-list {
    columns: 2;
  }

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

@media (max-width: 700px) {
  .mv-home-quote {
    padding: 52px 0 68px;
  }

  .mv-home-quote-card {
    max-width: none;
    padding: 34px 22px 38px;
    border-radius: 22px;
  }

  .mv-home-quote-card__intro {
    margin-bottom: 24px;
    text-align: left;
  }

  .mv-home-quote-card__intro h2 {
    font-size: 34px;
  }

  .mv-home-quote-card__phone {
    font-size: 26px;
  }

  .mv-home-quote-card__form {
    max-width: none;
  }

  .mv-cf7-form {
    gap: 13px;
  }

  .mv-cf7-form input[type='submit'] {
    width: 100%;
  }

  .mv-guarantee-strip {
    padding: 28px 20px;
  }

  .mv-readable-content .mv-guarantee-strip {
    padding: 30px 0 0;
  }

  .mv-guarantee-strip__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px 26px;
    text-align: left;
  }

  .mv-guarantee-strip__image {
    justify-content: flex-start;
  }

  .mv-guarantee-strip__image img {
    width: 110px;
  }

  .mv-guarantee-strip__content h2,
  .mv-guarantee-strip__content .mv-guarantee-strip__title {
    font-size: 30px;
  }

  .mv-guarantee-strip__content p {
    font-size: 15.5px;
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .mv-container,
  .header-inner {
    width: min(100% - 30px, var(--mv-max));
  }

  .site-logo img,
  .custom-logo-link img {
    width: 140px;
  }

  .mobile-phone {
    right: 18px;
    font-size: 17px;
  }

  .mobile-actions {
    gap: 10px;
  }

  .mobile-quote {
    padding: 0 10px;
    font-size: 12px;
  }

  .burger-btn {
    width: 50px;
  }

  .mv-page-hero h1,
  .mv-blog-hero h1,
  .mv-homepage-hero h1 {
    font-size: 40px;
  }

  .mv-homepage-hero .mv-page-hero__content > p:last-of-type,
  .mv-home-intro__content p,
  .mv-home-intro__ticks li {
    font-size: 16px;
  }

  .mv-homepage-hero__buttons {
    gap: 10px;
  }

  .mv-homepage-hero__buttons .mv-pill-btn,
  .mv-homepage-hero__buttons .mv-outline-pill-btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .mv-home-intro,
  .mv-services-section,
  .mv-home-quote,
  .mv-blog-section,
  .mv-page-content-section,
  .mv-faq-section {
    padding: 55px 0;
  }

  .mv-home-intro::before {
    display: none;
  }

  .mv-home-intro__layout {
    gap: 50px;
  }

  .mv-home-intro__image,
  .mv-home-intro__image img {
    min-height: 300px;
  }

  .mv-home-intro__image {
    border-radius: 20px;
  }

  .mv-home-intro__image::before {
    inset: 14px;
    border-width: 4px;
    border-radius: 15px;
  }

  .mv-home-intro__image::after {
    right: -92px;
    width: 145px;
  }

  .mv-home-intro__badge {
    left: 18px;
    right: 18px;
    bottom: -32px;
    min-width: 0;
    max-width: none;
    padding: 18px 20px;
  }

  .mv-home-intro__badge strong {
    font-size: 20px;
  }

  .mv-home-intro__content h2,
  .mv-home-heading h2 {
    font-size: 32px;
  }

  .mv-home-intro__actions {
    display: grid;
    gap: 16px;
  }

  .mv-home-intro__actions .mv-pill-btn {
    width: 100%;
  }

  .mv-text-link {
    justify-self: start;
  }

  .mv-services-grid {
    grid-template-columns: 1fr;
  }

  .mv-service-card__image {
    height: 220px;
  }

  .mv-post-card__content,
  .mv-sidebar-widget {
    padding: 24px;
  }

  .mv-post-card__image,
  .mv-post-card__image img {
    min-height: 220px;
  }

  .mv-home-heading {
    text-align: left;
    margin-bottom: 28px;
  }

  .mv-faq-item {
    border-radius: 14px;
  }

  .mv-faq-item summary {
    padding: 18px 58px 18px 20px;
    font-size: 17px;
  }

  .mv-faq-item summary::after {
    right: 18px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .mv-faq-answer {
    padding: 0 20px 20px;
    font-size: 15.5px;
  }

  .mv-tabs-target__nav {
    gap: 14px;
  }

  .mv-tabs-target__nav a {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .mv-tabs-target__nav span {
    height: 22px;
  }

  .alignleft,
  .alignright,
  img.alignleft,
  img.alignright,
  .wp-caption.alignleft,
  .wp-caption.alignright {
    float: none;
    display: block;
    margin: 24px auto;
  }
}

@media (max-width: 520px) {
  .mv-service-areas-list {
    columns: 1;
  }
}

@media (max-width: 390px) {
  .site-logo img,
  .custom-logo-link img {
    width: 130px;
  }

  .mobile-quote {
    font-size: 11px;
  }

  .burger-btn {
    width: 46px;
  }
}


@media (max-width: 900px) {
  .site-header {
    position: relative;
    z-index: 1200;
  }

  .mobile-actions,
  .burger-btn {
    position: relative;
    z-index: 1300;
  }

  .menu-overlay {
    z-index: 900;
  }

  .mobile-menu {
    z-index: 1000;
  }
}