/*
Theme Name: Doro Plumbing
Theme URI: https://www.doroplumbing.com
Author: SCM Marketing Solutions
Author URI: https://www.scmmarkets.com
Description: Custom WordPress theme for Doro Plumbing, Hartford WI. Modern plumbing services theme with conversion-optimized hero, service grid, reviews slider, FAQ accordion, and Doro Settings panel for site-wide configuration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doro
*/

/* =============================================================================
   1. RESET + ROOT VARIABLES
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }
.clear { clear: both; }

:root {
  /* Brand */
  --blue:        #1E2EFF;     /* primary brand blue from logo */
  --blue-dark:   #0B17B8;     /* darker blue for hover/active */
  --blue-deep:   #050B6B;     /* deepest navy for overlays */
  --blue-soft:   #E8EAFF;     /* very light blue for tints */
  --black:       #0A0A0A;     /* logo black */
  --ink:         #1A1A1A;     /* body text */
  --gray-900:    #2B2B2B;
  --gray-700:    #555555;
  --gray-500:    #888888;
  --gray-300:    #D4D4D4;
  --gray-200:    #E8E8E8;
  --gray-100:    #F4F4F6;
  --white:       #FFFFFF;
  --cream:       #FAFAFB;
  --gold:        #FFB900;     /* star color */
  --green:       #1DB954;     /* trust check */

  /* Typography */
  --font-display: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;
  --gap-xxl: 96px;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 900px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 36px rgba(10,18,107,.18);
}

/* =============================================================================
   2. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.15;
  margin: 0 0 var(--gap-sm);
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 var(--gap-sm); }
strong, b { font-weight: 700; }

ul, ol { padding-left: 1.4em; margin: 0 0 var(--gap-sm); }
li { margin-bottom: 6px; }

/* =============================================================================
   3. BUTTONS
   ============================================================================= */
.button, .button2, .button3, button.btn, input[type="submit"] {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  line-height: 1;
}
.button {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.button2 {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.button2:hover { background: var(--white); color: var(--blue); }
.button3 {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
  font-size: 14px;
  padding: 11px 24px;
}
.button3:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.button-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button-outline-dark:hover { background: var(--ink); color: var(--white); }

/* =============================================================================
   4. LAYOUT HELPERS
   ============================================================================= */
.container, .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--gap-xl) 0; }
.section-tight { padding: var(--gap-lg) 0; }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h1, .section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue a { color: var(--white); text-decoration: underline; }
.section-blue .button { background: var(--white); color: var(--blue); border-color: var(--white); }
.section-blue .button:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue-soft); }
.section-gray { background: var(--gray-100); }

/* =============================================================================
   5. TOP UTILITY BAR
   ============================================================================= */
.topmenu {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 8px 0;
  font-size: 14px;
}
.topmenu .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topmenu .stars-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
}
.topmenu .stars-rating .stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 16px;
}
.topmenu .stars-rating a { color: var(--blue); font-weight: 600; }
.topmenu .topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-700);
}
.topmenu .topbar-info a { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
  .topmenu .stars-rating span.review-count { display: none; }
  .topmenu { font-size: 13px; }
}

/* =============================================================================
   6. HEADER / NAV
   ============================================================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  gap: 24px;
  min-height: 80px;
}
#logo {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
#logo img {
  max-height: 70px;
  width: auto;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gray-700);
  letter-spacing: 1px;
}
.header-phone strong {
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
}
.header-phone a { color: var(--ink); }
.header-phone a:hover { color: var(--blue); }

.desktopmenu {
  display: flex;
  align-items: stretch;
}
.desktopmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.desktopmenu li {
  margin: 0;
  position: relative;
  display: flex;
  align-items: stretch;
}
.desktopmenu a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 28px 16px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.desktopmenu a:hover,
.desktopmenu .current-menu-item > a,
.desktopmenu .current-menu-parent > a {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.desktopmenu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--blue);
  flex-direction: column;
  z-index: 10;
}
.desktopmenu .sub-menu li { width: 100%; }
.desktopmenu .sub-menu a {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}
.desktopmenu .sub-menu a:hover {
  background: var(--gray-100);
  border-bottom-color: var(--gray-200);
}

/* Hamburger icon */
.nav-toggle {
  display: none;
  width: 36px;
  height: 30px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.is-open span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .desktopmenu { display: none; }
  .nav-toggle { display: block; }
  .header-phone { font-size: 11px; }
  .header-phone strong { font-size: 18px; }
}
@media (max-width: 600px) {
  .header-cta .button { display: none; }
  #logo img { max-height: 56px; }
}

/* =============================================================================
   7. MOBILE MENU (drill-down panels)
   ============================================================================= */
.mobilemenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: right .3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobilemenu.is-open { right: 0; }
.mob-cta-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 80px 24px 24px;
  background: var(--blue);
  color: var(--white);
}
.mob-phone, .mob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  color: var(--white);
}
.mob-cta-btn { background: var(--white); color: var(--blue); }

.mob-panels {
  flex: 1;
  display: flex;
  width: 500%;
  transition: transform .3s ease;
  overflow-y: auto;
}
.mob-panel { width: 20%; padding: 16px 0; flex-shrink: 0; }
.mob-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 8px;
}
.mob-back {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.mob-panel-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16px;
  margin-left: 8px;
}
.mob-list { list-style: none; margin: 0; padding: 0; }
.mob-list-item { margin: 0; }
.mob-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-200);
}
.mob-list a:hover { background: var(--gray-100); color: var(--blue); }
.mob-view-all {
  display: block;
  padding: 12px 24px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mob-arrow { flex-shrink: 0; }
.mob-social {
  padding: 16px 24px;
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--gray-200);
}
.mob-social a img { width: 28px; height: 28px; }

body.nav-open { overflow: hidden; }

/* =============================================================================
   8. HOMEPAGE HERO
   ============================================================================= */
.home-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.45) 50%, rgba(10,10,10,.55) 100%);
  z-index: 1;
}
.home-hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.hero-text { color: var(--white); }
.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-text .city {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.hero-bullets li {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.hero-bullets li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255,255,255,.3);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero form */
.hero-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  border-top: 6px solid var(--blue);
}
.hero-form-wrap h3 {
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 6px;
  text-align: center;
}
.hero-form-wrap p.form-sub {
  text-align: center;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 20px;
}

/* Generic form field styling (works with Gravity Forms / WPForms / native) */
.hero-form-wrap input[type="text"],
.hero-form-wrap input[type="tel"],
.hero-form-wrap input[type="email"],
.hero-form-wrap select,
.hero-form-wrap textarea,
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s ease;
}
.hero-form-wrap input:focus,
.hero-form-wrap select:focus,
.hero-form-wrap textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.hero-form-wrap input[type="submit"],
.hero-form-wrap button,
.contact-form input[type="submit"],
.contact-form button {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  transition: background .15s ease;
}
.hero-form-wrap input[type="submit"]:hover,
.hero-form-wrap button:hover,
.contact-form input[type="submit"]:hover,
.contact-form button:hover { background: var(--blue-dark); }

@media (max-width: 1023px) {
  .home-hero .wrap { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* =============================================================================
   9. INTRO / TRUST SECTION
   ============================================================================= */
.home-intro {
  padding: var(--gap-xl) 0;
  background: var(--white);
}
.home-intro .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.home-intro h2 { margin-bottom: 24px; }
.home-intro .lead {
  font-size: 19px;
  color: var(--gray-700);
  margin-bottom: 20px;
}
.intro-trust-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.intro-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.intro-trust-list li svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }

@media (max-width: 900px) {
  .home-intro .wrap { grid-template-columns: 1fr; gap: 32px; }
  .intro-trust-list { grid-template-columns: 1fr; }
}

/* =============================================================================
   10. SERVICES GRID
   ============================================================================= */
.services-section {
  padding: var(--gap-xl) 0;
  background: var(--gray-100);
}
.services-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-lg);
}
.services-section .section-header p {
  font-size: 18px;
  color: var(--gray-700);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card .service-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}
.service-card p {
  color: var(--gray-700);
  font-size: 15px;
  flex: 1;
  margin-bottom: 20px;
}
.service-card .button3 { align-self: flex-start; }

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

/* =============================================================================
   11. WHY DORO BLUE BAND
   ============================================================================= */
.why-section {
  padding: var(--gap-xl) 0;
  background: var(--blue);
  color: var(--white);
}
.why-section h2 { color: var(--white); text-align: center; margin-bottom: 48px; }
.why-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-section .why-content { color: var(--white); }
.why-section h2.why-heading { text-align: left; margin-bottom: 24px; }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}
.why-list li svg { flex-shrink: 0; color: var(--white); }
.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .why-section .wrap { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
}

/* =============================================================================
   12. REVIEWS SLIDER
   ============================================================================= */
.reviews-section {
  padding: var(--gap-xl) 0;
  background: var(--white);
}
.reviews-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-lg);
}
.reviews-header p { font-size: 18px; color: var(--gray-700); }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  padding: 10px 18px;
  border-radius: 100px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.google-badge svg { width: 18px; height: 18px; }

.reviews-slider-wrap {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.reviews-slider { overflow: hidden; }
.reviews-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.review-card {
  flex: 0 0 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}
.review-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.review-inner:hover { box-shadow: var(--shadow-md); }
.review-stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  flex: 1;
  font-size: 15px;
  color: var(--gray-900);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.review-name { display: block; font-weight: 700; color: var(--ink); }
.review-via {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-500);
}
.review-via svg { width: 14px; height: 14px; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.slider-btn:hover { background: var(--blue); color: var(--white); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: background .2s ease;
}
.slider-dot.active { background: var(--blue); }

.reviews-loading {
  padding: 60px 0;
  text-align: center;
  color: var(--gray-500);
}
.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1023px) { .review-card { flex: 0 0 50%; } }
@media (max-width: 700px)  { .review-card { flex: 0 0 100%; } }

/* =============================================================================
   13. FAQ ACCORDION
   ============================================================================= */
.faq-section {
  padding: var(--gap-xl) 0;
  background: var(--gray-100);
}
.faq-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-lg);
}
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}
.faq-question:hover { color: var(--blue); }
.faq-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--blue);
  top: 50%;
  left: 50%;
}
.faq-toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-item.is-open .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
}
.faq-item.is-open .faq-answer {
  padding: 0 24px 24px;
  max-height: 800px;
}
.faq-answer p { color: var(--gray-700); font-size: 16px; }

/* =============================================================================
   14. INNER PAGE HERO (for service / about / contact pages)
   ============================================================================= */
.page-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 0;
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,11,107,.85) 0%, rgba(10,10,10,.65) 100%);
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .subtitle {
  font-size: 20px;
  color: var(--white);
  opacity: .92;
  margin-bottom: 28px;
  max-width: 640px;
}
.page-hero .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hub pages get taller hero with brighter overlay */
.page-hero--hub {
  padding: 140px 0 120px;
}
.page-hero--hub::before {
  background: linear-gradient(135deg, rgba(30,46,255,.85) 0%, rgba(11,23,184,.75) 100%);
}

/* Service pages get a compact hero with accent bar */
.page-hero--service {
  padding: 70px 0 60px;
  border-bottom: 4px solid var(--gold);
}
.page-hero--service::before {
  background: linear-gradient(90deg, rgba(11,23,184,.92) 0%, rgba(11,23,184,.55) 100%);
}
.page-hero--service h1 { font-size: clamp(32px, 4vw, 44px); }

/* City pages get a distinctive overlay treatment */
.page-hero--city {
  padding: 110px 0 90px;
}
.page-hero--city::before {
  background: linear-gradient(135deg, rgba(5,11,107,.92) 0%, rgba(30,46,255,.65) 50%, rgba(255,185,0,.35) 100%);
}
.page-hero--city h1 {
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--white); }

/* =============================================================================
   15. CONTENT BODY (single page / blog content)
   ============================================================================= */
.page-body {
  padding: var(--gap-xl) 0;
}
.page-body .content-wrap {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}
.page-body p { font-size: 17px; color: var(--gray-900); line-height: 1.75; }
.page-body h2 { margin-top: 48px; }
.page-body h3 { margin-top: 36px; }
.page-body img { border-radius: var(--radius); margin: 24px 0; }
.page-body ul li, .page-body ol li { margin-bottom: 10px; }

/* Service page split intro */
.service-intro {
  padding: var(--gap-xl) 0;
  background: var(--white);
}
.service-intro .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .service-intro .wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Features split with image */
.service-features {
  padding: var(--gap-xl) 0;
  background: var(--gray-100);
}
.service-features .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.features-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .service-features .wrap { grid-template-columns: 1fr; }
}

/* CTA banner */
.cta-banner {
  background: var(--blue);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.cta-banner h3 { color: var(--white); font-size: 28px; margin-bottom: 12px; }
.cta-banner p { font-size: 18px; max-width: 720px; margin: 0 auto 24px; opacity: .95; }
.cta-banner .button { background: var(--white); color: var(--blue); border-color: var(--white); }
.cta-banner .button:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* =============================================================================
   16. CONTACT PAGE LAYOUT
   ============================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 16px;
}
.contact-info li svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 4px;
}
.contact-info li strong { display: block; text-transform: uppercase; font-size: 13px; color: var(--gray-500); letter-spacing: 1px; margin-bottom: 2px; }
.contact-info a { color: var(--ink); font-weight: 600; }
.contact-info a:hover { color: var(--blue); }

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

/* =============================================================================
   17. BLOG / SINGLE POST
   ============================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-image {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-200);
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 20px; margin-bottom: 12px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { color: var(--gray-700); font-size: 15px; flex: 1; }
.blog-card .read-more {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--blue);
  margin-top: 12px;
}

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

.single-post-meta {
  font-size: 14px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.single-post-meta a { color: var(--blue); }

/* =============================================================================
   18. SERVICE AREA / CITY GRID
   ============================================================================= */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 32px 0;
}
.city-grid .city-card,
.city-grid > a {
  display: block;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: all .15s ease;
}
.city-grid .city-card:hover,
.city-grid > a:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.city-grid .city-card .city-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  transition: color .15s ease;
}
.city-grid .city-card:hover .city-name { color: var(--blue); }
.city-grid .city-card .city-county {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Plain-text variant for simple alphabetical lists */
.city-grid > a:not(.city-card) {
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

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

/* =============================================================================
   19. BRAND BAR (logos at bottom)
   ============================================================================= */
.brand-bar {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}
.brand-bar img {
  max-height: 48px;
  width: auto;
  filter: grayscale(100%);
  opacity: .7;
  transition: all .25s ease;
}
.brand-bar img:hover { filter: grayscale(0); opacity: 1; }

/* =============================================================================
   20. FOOTER
   ============================================================================= */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 64px 0 0;
}
.site-footer a { color: var(--gray-300); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col p { font-size: 14px; line-height: 1.6; }
.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; }
.footer-hours dt { font-weight: 700; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gray-500); margin: 0 8px; }
.footer-bottom a:hover { color: var(--white); }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.social-links a:hover { background: var(--blue); }
.social-links svg { width: 18px; height: 18px; color: var(--white); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   21. UTILITY / RESPONSIVE
   ============================================================================= */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--gap-lg); }
.mb-lg { margin-bottom: var(--gap-lg); }

@media (max-width: 600px) {
  .section, .section-tight { padding: 48px 0; }
  .home-intro, .services-section, .why-section, .reviews-section, .faq-section, .service-intro, .service-features, .page-body { padding: 48px 0; }
}

/* =============================================================================
   22. MEGA MENU (Residential & Commercial dropdowns)
   ============================================================================= */

/* Parent <li> spans the full nav so the panel can be full-width */
.desktopmenu .mega-menu-parent { position: static; }

/* Hover-bridge pseudo: extends the parent <li>'s hit area down into the panel
   so the cursor never enters dead space between the link and the panel.
   Only renders on mega-menu items, only during hover/focus, sits BEHIND the
   panel (z-index lower) so it doesn't block panel content interactions. */
.desktopmenu .mega-menu-parent > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: transparent;
  pointer-events: auto;
}

/* The panel itself — sits flush below the header. We use negative margin-top
   to overlap the 1px header border so there's zero visible gap, and the
   transparent bridge above handles any remaining cursor travel space. */
.desktopmenu .mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--blue);
  padding: 36px 0;
  z-index: 50;
  margin-top: -1px;
}

/* Show the panel on hover or when any focus is inside it */
.desktopmenu .mega-menu-parent:hover > .mega-panel,
.desktopmenu .mega-menu-parent:focus-within > .mega-panel { display: block; }

/* Three-column grid inside the panel */
.mega-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Each column is a vertical stack — explicitly override any inherited flex/grid */
.mega-col {
  display: block;
}

.mega-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 10px;
  margin: 0 0 14px;
  font-family: var(--font-display);
}

/* Reset the desktop nav's flex so list items stack vertically inside columns */
.desktopmenu .mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
.desktopmenu .mega-col li {
  margin: 0;
  display: block;
  width: 100%;
  position: static;
}
.desktopmenu .mega-col li a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border-bottom: none;
  line-height: 1.3;
}
.desktopmenu .mega-col li a:hover {
  color: var(--blue);
  border-bottom: none;
}
.desktopmenu .mega-col li a .desc {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.4;
}

/* Promo card in the right column */
.mega-promo {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.mega-promo h4 {
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
}
.mega-promo p {
  font-size: 14px;
  opacity: .92;
  margin: 0 0 16px;
  color: var(--white);
}
.mega-promo .button {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-size: 13px;
  padding: 10px 20px;
}
.mega-promo .button:hover {
  background: var(--gray-100);
  color: var(--blue);
  border-color: var(--gray-100);
}

/* Hide the desktop mega panel on mobile — the drill-down handles it */
@media (max-width: 1023px) {
  .desktopmenu .mega-panel { display: none !important; }
}

/* =============================================================================
   GRAVITY FORMS NORMALIZATION
   -----------------------------------------------------------------------------
   Gravity Forms ships with its own opinionated spacing and field markup that
   tends to look cramped or inconsistent inside our card-based form wrappers.
   These rules normalize spacing, sizing, and visual rhythm to match the rest
   of the site. Targets both Gravity Forms 2.5+ (gform-theme--orbital) and
   the older legacy markup.
   ============================================================================= */

/* Reset top/bottom margins on the wrapper so it sits flush in card containers */
.gform_wrapper.gravity-theme,
.gform_wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* Each field gets consistent vertical spacing */
.gform_wrapper .gfield,
.gform_wrapper .gform_fields .gfield {
  margin-bottom: 14px !important;
  padding: 0 !important;
}
.gform_wrapper .gfield:last-child {
  margin-bottom: 0 !important;
}

/* Hide the empty gform_heading wrapper that adds an empty paragraph above
   the form fields, creating awkward whitespace between the form intro text
   and the first input. */
.gform_wrapper .gform_heading {
  display: none !important;
}
.gform_wrapper .gform_heading:not(:empty) {
  display: block !important;
}

/* Force single-column layout — multi-column gravity layouts look bad in narrow cards */
.gform_wrapper .gform_fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  grid-template-columns: 1fr !important;
}
.gform_wrapper .gfield {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* Labels — sit cleanly above their inputs */
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
  display: block !important;
  font-family: var(--font-body);
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink);
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.4;
}
.gform_wrapper .gfield_required {
  color: var(--blue);
  margin-left: 2px;
}

/* When a field is configured to hide its label (hidden_label class), keep
   the label visually hidden but accessible to screen readers, and remove
   the margin that would otherwise push the input down and create gaps. */
.gform_wrapper .gfield.hidden_label .gfield_label,
.gform_wrapper .hidden_label .gfield_label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Input, select, textarea — match site's form inputs */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-300) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  outline: none !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(30, 46, 255, .15) !important;
}

.gform_wrapper textarea {
  min-height: 110px !important;
  height: 110px !important;
  resize: vertical;
}

/* Container inside each field — remove gravity's internal padding */
.gform_wrapper .ginput_container,
.gform_wrapper .ginput_container_text,
.gform_wrapper .ginput_container_email,
.gform_wrapper .ginput_container_phone,
.gform_wrapper .ginput_container_select,
.gform_wrapper .ginput_container_textarea {
  margin-top: 0 !important;
  padding: 0 !important;
}

/* Complex fields (Name with First/Last sub-fields, Address with multiple lines) */
.gform_wrapper .ginput_complex {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.gform_wrapper .ginput_complex > span,
.gform_wrapper .ginput_complex > .ginput_full,
.gform_wrapper .ginput_complex > .ginput_left,
.gform_wrapper .ginput_complex > .ginput_right {
  flex: 1 1 calc(50% - 6px) !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}
.gform_wrapper .ginput_complex .ginput_full {
  flex-basis: 100% !important;
}
.gform_wrapper .ginput_complex label {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--gray-500) !important;
  margin-top: 4px !important;
}

/* Sub-labels (First/Last under a Name field) */
.gform_wrapper .gform-field-label--type-sub {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--gray-500) !important;
  margin-top: 4px !important;
  display: block;
}

/* Description text under a field */
.gform_wrapper .gfield_description {
  font-size: 13px !important;
  color: var(--gray-500) !important;
  margin-top: 6px !important;
  padding: 0 !important;
  line-height: 1.4;
}

/* Validation/error messages */
.gform_wrapper .validation_message,
.gform_wrapper .gfield_error .gfield_label {
  color: #c0392b !important;
  font-size: 13px !important;
  margin-top: 6px !important;
}
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
  border-color: #c0392b !important;
}
.gform_wrapper .gform_validation_errors {
  margin: 0 0 20px !important;
  padding: 14px 18px !important;
  background: #fdecea !important;
  border: 1px solid #f5c6c2 !important;
  border-radius: 6px !important;
  color: #c0392b !important;
}

/* Checkbox and radio — tighter spacing */
.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li,
.gform_wrapper .gchoice {
  margin-bottom: 6px !important;
  padding: 0 !important;
}
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label,
.gform_wrapper .gchoice label {
  font-weight: 400 !important;
  font-size: 14px !important;
  margin-left: 8px !important;
}

/* Submit button area */
.gform_wrapper .gform_footer,
.gform_wrapper .gform-footer {
  margin: 24px 0 0 !important;
  padding: 0 !important;
}
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform-footer input[type="submit"],
.gform_wrapper .gform_button {
  display: inline-block !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 14px 28px !important;
  border: 2px solid var(--blue) !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all .15s ease !important;
  width: auto !important;
  -webkit-appearance: none !important;
}
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform-footer input[type="submit"]:hover,
.gform_wrapper .gform_button:hover {
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
  color: var(--white) !important;
}

/* Confirmation message */
.gform_confirmation_message,
.gform_confirmation_wrapper {
  padding: 20px !important;
  background: #e8f5e9 !important;
  border: 1px solid #c8e6c9 !important;
  border-radius: 6px !important;
  color: #2e7d32 !important;
  font-size: 15px !important;
}

/* ── HOMEPAGE HERO CONTEXT ──
   The hero form sits inside a dark/blue card. Labels and field text need
   higher contrast for readability against a light-on-dark background. */
.hero-form-wrap .gform_wrapper .gfield_label {
  color: var(--white) !important;
}
.hero-form-wrap .gform_wrapper .gfield_description,
.hero-form-wrap .gform_wrapper .ginput_complex label,
.hero-form-wrap .gform_wrapper .gform-field-label--type-sub {
  color: rgba(255, 255, 255, .75) !important;
}
.hero-form-wrap .gform_wrapper input[type="text"],
.hero-form-wrap .gform_wrapper input[type="tel"],
.hero-form-wrap .gform_wrapper input[type="email"],
.hero-form-wrap .gform_wrapper select,
.hero-form-wrap .gform_wrapper textarea {
  background: rgba(255, 255, 255, .96) !important;
}

/* Honeypot / spam-trap fields — always hide */
.gform_wrapper .gform_validation_container,
.gform_wrapper .gfield--type-honeypot {
  display: none !important;
}

/* Tighten mobile spacing slightly */
@media (max-width: 600px) {
  .gform_wrapper .gfield {
    margin-bottom: 14px !important;
  }
  .gform_wrapper input,
  .gform_wrapper select,
  .gform_wrapper textarea {
    font-size: 16px !important; /* prevent iOS zoom on focus */
  }
  .gform_wrapper .ginput_complex > span {
    flex-basis: 100% !important;
  }
}
