/* ==========================================================================
   Limitless Exteriors - Main Stylesheet
   Pixel-perfect match to ProWash source site
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --body-text: rgb(5, 37, 46);
  --body-bg: #f8fafb;
  /* #0985BE measured 4.11:1 on white AND under white text - failed 1.4.3 in
     both directions, so the token itself moves to the theme's own darker blue. */
  --primary: #076a96;
  --primary-dark: #05506f;
  --primary-light: rgba(9, 133, 190, 0.1);
  --accent: #F98C1F;
  --accent-dark: #e07a10;
  /* Text-only variants. The brand fills above keep their exact hex; only type
     laid on a light background uses these. */
  --accent-text: #b15b05;
  --green-text: #177347;
  --text-muted: #477584;
  --green: #24B26D;
  --white: #fff;
  --slate-50: #f1f5f9;
  --footer-bg: rgb(5, 37, 46);
  --border-color: #e2e8f0;
  --border: #e2e8f0; /* alias: var(--border) was referenced in 3 rules but never defined */
  --input-bg: #f8fafb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --container-max: 1200px;
  --section-py: 128px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  background-color: var(--body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--body-text);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Every focusable thing gets a ring, not just buttons (2.4.7). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

/* On the navy header and footer the orange ring is too dim - go white there. */
.site-header:not(.scrolled) a:focus-visible,
.site-header:not(.scrolled) button:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible {
  outline-color: var(--white);
}

/* Skip link: hidden until focused, then pinned top-left. Fixed, and above
   .site-header - the header is position:fixed at z-index 1000, so an absolute
   link at the same index focuses but paints underneath it. */
.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 1100;
  padding: 12px 20px;
  background: var(--white);
  color: var(--body-text);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

#main-content:focus {
  outline: none;
}

/* Primary/Accent buttons are ORANGE per source site.
   Label is navy, not white: white on #F98C1F measures 2.39:1. */
.btn-accent,
.btn-primary {
  background-color: var(--accent);
  color: var(--body-text);
}

.btn-accent:hover,
.btn-primary:hover {
  background-color: var(--accent-dark);
  color: var(--body-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 140, 31, 0.35);
}

.btn-accent:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

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

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Section Shared Styles
   -------------------------------------------------------------------------- */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   1. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

/* Nav links white on transparent header */
.site-header .nav-menu a {
  color: var(--white);
  transition: color 0.4s ease;
}

.site-header .nav-menu a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.site-header .logo {
  color: var(--white);
  transition: color 0.4s ease;
}

.site-header .logo i {
  color: var(--primary);
}

.site-header .logo-accent {
  color: var(--primary);
}

.site-header .nav-toggle i {
  color: var(--white);
  transition: color 0.4s ease;
}

/* Scrolled state: solid white */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .nav-menu a {
  color: var(--body-text);
}

.site-header.scrolled .nav-menu a:hover {
  color: var(--primary);
}

.site-header.scrolled .logo {
  color: var(--body-text);
}

.site-header.scrolled .nav-toggle i {
  color: var(--body-text);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--body-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--body-text);
}

.logo i {
  color: var(--primary);
  font-size: 1.4rem;
}

.logo-img {
  height: 40px;
  width: auto;
}
.site-header .logo-img {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
.site-header.scrolled .logo-img {
  filter: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
}

.logo-accent {
  color: var(--primary);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--body-text);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  width: 100%;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle i {
  font-size: 10px;
  transition: transform var(--transition), color 0.4s ease;
}

.site-header .dropdown-toggle i {
  color: rgba(255, 255, 255, 0.7);
}

.site-header.scrolled .dropdown-toggle i {
  color: var(--text-muted);
}

.has-dropdown:hover .dropdown-toggle i,
.has-dropdown:focus-within .dropdown-toggle i,
.has-dropdown.open .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
  list-style: none;
  margin: 0;
}

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

.dropdown-menu li a,
.site-header .dropdown-menu li a,
.site-header.scrolled .dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--body-text);
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-menu li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover,
.site-header .dropdown-menu li a:hover,
.site-header.scrolled .dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Nav CTA - ORANGE, rounded-full */
.nav-cta {
  margin-left: 16px;
  background-color: var(--accent);
  color: var(--body-text);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: var(--accent-dark);
  color: var(--body-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 140, 31, 0.3);
}

.nav-phone {
  background-color: var(--green);
  color: var(--body-text);
  margin-left: 8px;
}
.nav-phone:hover {
  background-color: #1a8250;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(36, 178, 109, 0.3);
}

/* Nav Toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle i {
  font-size: 20px;
  color: var(--body-text);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 999;
  padding: 32px 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--body-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   2. Hero - Dark photo bg, white text, wave bottom
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background-color: #0a1a20;
}

/* Hero overlay (dark layer over bg image) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Wave/curve at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* bg-image no longer needs ::after since we have .hero-overlay */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 140px;
}

.hero-content {
  max-width: 600px;
}

/* H1: white, italic, large */
.hero-content h1,
.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

/* "True Beauty." in green */
.hero-content h1 span,
.hero-highlight {
  color: var(--green);
  font-style: italic;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Trust Badges - white text on dark bg */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.badge i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--green);
  flex-shrink: 0;
  font-size: 16px;
}

/* Google badge special styling */
.badge:first-child i {
  color: var(--white);
}

/* Google badge pill */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(36, 178, 109, 0.35);
  border: 1px solid rgba(36, 178, 109, 0.55);
  border-radius: 9999px;
  padding: 8px 16px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.google-badge i {
  font-size: 16px;
}

.google-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
}

/* Trust list - vertical bullet list */
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--white);
}

.trust-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
}

/* Hero Form Card - GLASSMORPHISM */
.hero-form-card,
.glassmorphism {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

.hero-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--white);
}

.form-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* Hero form inputs - glass style */
.hero-form-card .form-group label,
.hero-form-card .form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-form-card .form-group input,
.hero-form-card .form-group select,
.hero-form-card .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-form-card .form-group input::placeholder,
.hero-form-card .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-form-card .form-group input:focus,
.hero-form-card .form-group select:focus,
.hero-form-card .form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.hero-form-card .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.hero-form-card .form-group select option {
  background-color: var(--body-text);
  color: var(--white);
}

.hero-form-card .form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Hero form: stack everything vertically, form-row handles 2-col internally */
.hero-form-card .quote-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-form-card .quote-form .form-group {
  margin-bottom: 16px;
}

.hero-form-card .quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-form-card .quote-form .form-row .form-group {
  margin-bottom: 16px;
}

/* Submit button in hero: ORANGE, full width */
.hero-form-card .btn {
  width: 100%;
  background-color: var(--accent);
  color: var(--body-text);
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-form-card .btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 140, 31, 0.35);
}

.quote-form {
  /* Wrapper for general quote forms */
}

/* --------------------------------------------------------------------------
   Form Styles (shared - used in bottom quote section, CF7, etc.)
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label,
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--body-text);
  background-color: var(--input-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 133, 190, 0.15);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23508595' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background-color: var(--accent);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 140, 31, 0.35);
}

.form-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.form-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Contact Form 7 integration */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--body-text);
  background-color: var(--input-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 133, 190, 0.15);
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: var(--accent);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 140, 31, 0.35);
}

.wpcf7 label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. Services
   -------------------------------------------------------------------------- */
.services {
  background-color: var(--slate-50);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

.services .section-label {
  color: var(--primary);
}

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

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Bottom divider on each card */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background-color: var(--border-color);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-icon svg,
.service-icon i,
.service-icon img {
  width: 24px;
  height: 24px;
  font-size: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--body-text);
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-card a:hover {
  gap: 10px;
}

.card-divider {
  height: 1px;
  background-color: var(--border-color);
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   4. Why Choose Us
   -------------------------------------------------------------------------- */
.why-us {
  background-color: var(--white);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-image {
  position: relative;
}

.why-us-image video {
  width: 100%;
  height: 630px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-us-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Floating "Rated Excellent" badge */
.rated-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* A+ green circle - via ::before or .rated-icon */
.rated-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--body-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.rated-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--body-text);
  display: block;
}

.rated-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.why-us-content .section-label {
  text-align: left;
  color: var(--text-muted);
}

.why-us-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  color: var(--body-text);
}

.why-us-content > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon svg,
.feature-icon i {
  width: 20px;
  height: 20px;
  font-size: 18px;
}

.feature-item h3,
.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Reviews - Solid blue bg, WHITE cards
   -------------------------------------------------------------------------- */
.reviews {
  background-color: var(--primary);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  color: var(--white);
}

.reviews .section-label {
  /* 0.7 alpha measured 3.78:1 on the blue panel. */
  color: rgba(255, 255, 255, 0.92);
}

.reviews .section-header h2 {
  color: var(--white);
}

.reviews .section-header p {
  color: rgba(255, 255, 255, 0.92);
}

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

/* Reviews Carousel */
.reviews-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.reviews-carousel {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.reviews-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-track .review-card {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  overflow: hidden;
  word-wrap: break-word;
}

.carousel-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 16px;
  transition: all var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: 7px solid transparent; /* 24x24 hit area, 10px dot (2.5.8) */
  background-clip: content-box;
  box-sizing: content-box;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-header .review-stars {
  margin-bottom: 0;
}

.review-google-icon {
  opacity: 0.6;
}

.reviewer-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--body-text);
}

/* White cards on blue bg */
.review-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-md);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Decorative large quote mark */
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* Orange stars */
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: 16px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 24px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 2px;
}

.reviewer-location {
  font-size: 13px;
  color: var(--text-muted);
}

/* Decorative quote mark element */
.review-quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* Reviewer info row */
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Bottom Quote Section - Split card layout
   -------------------------------------------------------------------------- */
.bottom-quote {
  background-color: var(--body-bg);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.quote-grid,
.quote-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Left panel: blue bg */
.quote-content,
.quote-card-left {
  background-color: var(--primary);
  padding: 48px 40px;
  color: var(--white);
}

.quote-content .section-label,
.quote-card-left .section-label {
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
}

.quote-content h2,
.quote-card-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
  color: var(--white);
}

.quote-content > p,
.quote-card-left > p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 32px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* Green check circles */
.benefits-list li i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--body-text);
  font-size: 11px;
  flex-shrink: 0;
}

.quote-contact {
  margin-top: 24px;
}

.quote-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.quote-contact p i {
  color: rgba(255, 255, 255, 0.6);
  width: 18px;
}

.quote-contact a {
  color: var(--white);
  font-weight: 500;
}

.quote-contact a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Green check circles in benefits list */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--body-text);
  font-size: 11px;
  flex-shrink: 0;
}

/* Right panel: white form */
.quote-form-wrapper,
.quote-card-right {
  background-color: var(--white);
  padding: 48px 40px;
}

.quote-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.quote-form-wrapper > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 80px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col .logo,
.footer-col .footer-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-col .logo:hover,
.footer-col .footer-logo:hover {
  color: var(--white);
}

.footer-col .logo .logo-accent {
  color: var(--green);
}

.footer-col .logo i,
.footer-col .footer-logo i {
  color: var(--green);
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

/* Contact list: GREEN icons */
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-list li i,
.contact-list li svg,
.contact-icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 14px;
}

.contact-list li address {
  font-style: normal;
}

.contact-list li a {
  color: rgba(255, 255, 255, 0.6);
}

.contact-list li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Responsive: Desktop (min-width: 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .quote-content,
  .quote-card-left {
    padding: 40px;
  }

  .quote-form-wrapper,
  .quote-card-right {
    padding: 40px;
  }

  .why-us-image {
    max-width: 560px;
  }

  .rated-badge {
    bottom: -16px;
    left: 16px;
  }

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

  /* Nav collapse to burger */
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px) !important;
    background-color: var(--white);
    z-index: 999;
    padding: 32px 20px;
    flex-direction: column;
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-nav .nav-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    color: var(--body-text);
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav .nav-menu li a::after {
    display: none;
  }

  .main-nav .has-dropdown.mobile-open > a {
    color: var(--accent-text);
  }

  .main-nav .nav-menu li {
    text-align: center;
  }

  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    display: none;
  }

  .main-nav .has-dropdown.mobile-open .dropdown-menu {
    display: block;
  }

  .main-nav .dropdown-menu li a {
    padding: 10px 0;
    font-size: 16px;
    color: var(--body-text);
    text-align: center;
    justify-content: center;
  }

  .main-nav .dropdown-menu li a::before {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-phone {
    display: flex;
    margin-left: auto;
    margin-right: 12px;
    padding: 8px 16px;
    font-size: 0;
  }
  .nav-phone i {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .hero-form-card {
    padding: 28px;
  }

  .hero-form-card .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-form-card .quote-form .form-group:nth-child(n+3) {
    grid-column: 1;
  }

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

  .reviews-track .review-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .quote-content,
  .quote-form-wrapper,
  .quote-card-left,
  .quote-card-right {
    padding: 28px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Small Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card::after {
    left: 24px;
    right: 24px;
  }

  .review-card {
    padding: 24px;
  }

  .hero-form-card {
    padding: 24px;
  }

  .quote-content,
  .quote-form-wrapper,
  .quote-card-left,
  .quote-card-right {
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .nav-toggle,
  .mobile-nav,
  .social-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero::after {
    display: none;
  }

  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ==========================================================================
   Service Page Styles
   ========================================================================== */

/* Service Hero — short, dark, no form */
.service-hero {
  position: relative;
  background-color: var(--footer-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 160px 0 80px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.service-hero .eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
}
.service-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  margin: 16px 0 24px;
  font-family: var(--font-heading);
  color: var(--white);
}
.service-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Service Intro — white bg copy block */
.service-intro {
  padding: var(--section-py) 0;
}
.service-intro .intro-content {
  max-width: 800px;
  margin: 0 auto;
}
.service-intro .intro-content p {
  text-align: justify;
  margin-bottom: 20px;
}
.service-intro .intro-content p:last-child {
  margin-bottom: 0;
}
.service-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 28px;
}

/* Service Items — icon grid or checklist */
.service-items {
  background: var(--slate-50);
  padding: var(--section-py) 0;
}
.service-items h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 28px;
}
.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-items-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius);
}

/* Service Process — numbered steps */
.service-process {
  padding: var(--section-py) 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-step {
  text-align: center;
}
.process-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-text);
  font-family: var(--font-heading);
}
.process-step h3 {
  margin: 12px 0 8px;
}

/* Differentiator block — video background */
.service-differentiator {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}
.service-differentiator .diff-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.service-differentiator .diff-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 37, 46, 0.7);
  z-index: 1;
}
.service-differentiator .container {
  position: relative;
  z-index: 2;
}
.differentiator-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.differentiator-card h2 {
  color: var(--green-text);
  margin-bottom: 20px;
}
.differentiator-card p {
  color: var(--body-text);
  line-height: 1.8;
  text-align: justify;
}

/* Special Offer callout */
.service-offer {
  padding: 80px 0;
}
.offer-box {
  border-left: 5px solid var(--green);
  background: #f0fdf4;
  padding: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ section */
.service-faq {
  background: white;
  padding: var(--section-py) 0;
}
.service-faq h2 {
  margin-bottom: 40px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.3s ease;
}
.faq-item h3::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active h3 {
  color: var(--green-text);
}
.faq-item.active h3::after {
  content: '\2212';
}
.faq-item h3:hover {
  color: var(--green-text);
}
.faq-item p {
  color: var(--body-text);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}
.faq-item.active p {
  max-height: 300px;
  padding: 0 0 20px 0;
}

/* Legal pages (Privacy Policy, Terms) */
.privacy-content h2,
.terms-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--primary);
}
.privacy-content p,
.terms-content p {
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--body-text);
}
.privacy-content ul,
.terms-content ul {
  margin: 16px 0 24px 20px;
  line-height: 1.8;
}
.privacy-content ul li,
.terms-content ul li {
  margin-bottom: 8px;
}

/* CTA strip */
.service-cta-strip {
  background: var(--accent);
  color: var(--body-text);
  padding: 64px 0;
  text-align: center;
}
.service-cta-strip h2 {
  color: var(--body-text);
  margin-bottom: 24px;
}
.service-cta-strip .btn-accent {
  background: var(--green);
  border-color: var(--green);
}
.service-cta-strip .btn-accent:hover {
  background: #1a8250;
  border-color: #1a8250;
  color: var(--white);
}
.service-cta-strip .phone-link {
  color: var(--body-text);
  font-size: 1.25rem;
  margin-left: 24px;
}

/* Service hero image placeholders */
.service-hero::after {
  content: attr(data-img);
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  color: #94a3b8;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
  pointer-events: none;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* About Hero */
.about-hero {
  background-color: var(--footer-bg);
  color: white;
  padding: 140px 0 80px;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  margin: 16px 0 24px;
  color: var(--white);
  font-family: var(--font-heading);
}
.about-hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Matt's Story */
.about-story {
  padding: var(--section-py) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: stretch;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.story-content h2 {
  margin-bottom: 24px;
}
.story-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.story-signature {
  font-style: italic;
  font-weight: 600;
  color: var(--green-text);
  margin-top: 24px;
}

/* Values */
.about-values {
  background: var(--slate-50);
  padding: var(--section-py) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(36, 178, 109, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--green-text);
}
.value-card h3 {
  margin-bottom: 12px;
}

/* Certifications */
.about-certs {
  padding: var(--section-py) 0;
}
.certs-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.cert-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.cert-icon {
  flex-shrink: 0;
}
.cert-icon {
  flex-shrink: 0;
}
.cert-card h3 {
  margin-bottom: 8px;
}
.cert-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* About page responsive */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 0 60px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .cert-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Service page responsive */
@media (max-width: 768px) {
  .service-hero {
    padding: 80px 0 60px;
  }
  .service-intro,
  .service-items,
  .service-process,
  .service-differentiator,
  .service-faq {
    padding: 64px 0;
  }
  .service-offer {
    padding: 48px 0;
  }
  .service-cta-strip {
    padding: 48px 0;
  }
  .service-cta-strip .phone-link {
    display: block;
    margin: 16px 0 0;
  }
  .service-items-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .why-us-image {
    display: none;
  }
  .differentiator-card {
    padding: 24px;
  }
  .offer-box {
    padding: 24px;
  }
}

/* ==========================================================================
   Reviews Page
   ========================================================================== */
.reviews-trust-strip {
  background: white;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.reviews-section {
  padding: var(--section-py) 0;
}
.reviews-category-heading {
  font-size: 1.5rem;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green);
  display: inline-block;
}
.reviews-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card-full {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 250px;
}
.review-card-full .review-text-full {
  flex: 1;
  overflow: hidden;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-stars-date {
  margin-left: auto;
  text-align: right;
}
.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.review-text-full {
  color: var(--body-text);
  line-height: 1.7;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.reviews-cta {
  padding: var(--section-py) 0;
}
.review-cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.review-cta-card h2 {
  margin-bottom: 16px;
}
.review-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Gallery Page
   ========================================================================== */
.gallery-section {
  padding: var(--section-py) 0;
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.gallery-filter {
  padding: 10px 24px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  background: white;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.gallery-filter:hover,
.gallery-filter.active {
  background: var(--green);
  color: var(--body-text);
  border-color: var(--green);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.gallery-item-info {
  padding: 16px;
}
.gallery-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.gallery-item-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.gallery-submit {
  padding: var(--section-py) 0;
}
.gallery-submit-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.gallery-submit-card h2 {
  margin-bottom: 16px;
}
.gallery-submit-card p {
  margin-bottom: 24px;
}

/* ==========================================================================
   Service Areas Page
   ========================================================================== */
.areas-map {
  padding: 64px 0;
}
.map-embed iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.areas-cities {
  padding: var(--section-py) 0;
  background: var(--slate-50);
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.city-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.city-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.city-card p {
  color: var(--text-muted);
  line-height: 1.6;
}
.areas-cta {
  padding: var(--section-py) 0;
}
.areas-cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.areas-cta-card h2 {
  margin-bottom: 16px;
}
.areas-cta-card p {
  margin-bottom: 24px;
}
.areas-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-split {
  padding: var(--section-py) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info-panel {
  background: var(--footer-bg);
  color: white;
  padding: 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.contact-panel-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.contact-info-panel h2,
.contact-info-panel > p,
.contact-trust-list,
.contact-info-panel .contact-details {
  padding-left: 48px;
  padding-right: 48px;
}
.contact-info-panel h2 {
  padding-top: 32px;
}
.contact-info-panel .contact-details {
  margin-top: auto;
  padding-bottom: 48px;
}
.contact-info-panel h2 {
  color: white;
  margin-bottom: 16px;
}
.contact-info-panel > p {
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.6;
}
.contact-trust-list {
  list-style: none;
  padding-left: 56px;
  padding-right: 48px;
  margin: 0 0 32px;
}
.contact-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}
.contact-details {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-details a {
  color: white;
  text-decoration: none;
}
.contact-details a:hover {
  color: var(--green);
}
.contact-form-panel {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-process {
  padding: var(--section-py) 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 28px;
  }
  .reviews-grid-page {
    grid-template-columns: 1fr;
  }
  .video-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cities-grid {
    grid-template-columns: 1fr;
  }
  .map-embed iframe {
    height: 300px;
  }
}

/* --------------------------------------------------------------------------
   Accessibility pass (WCAG 2.1 AA) — 2026-08-29
   -------------------------------------------------------------------------- */

/* The form rules above kill the UA outline on :focus and replace it with a
   3px 15%-alpha shadow, which is not a visible indicator. Restore a real ring
   for keyboard focus only; the specificity here has to beat `.form-group
   input:focus`. */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.wpcf7 input:focus-visible,
.wpcf7 select:focus-visible,
.wpcf7 textarea:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}

.hero-form-card .form-group input:focus-visible,
.hero-form-card .form-group select:focus-visible,
.hero-form-card .form-group textarea:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* FAQ questions are real buttons now (they used to be click handlers on an
   <h3>, which no keyboard could reach). The button carries the heading's
   type styling; the h3 keeps the heading semantics. */
.faq-item h3 {
  padding: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-item h3::after,
.faq-item.active h3::after {
  content: none; /* the marker moved onto the button */
}

/* Carousel play/pause — 2.2.2 needs a way to stop the 6s auto-advance. */
.carousel-playpause {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 8px 16px;
  min-height: 24px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
}

.carousel-playpause:hover {
  color: var(--body-text);
  border-color: var(--text-muted);
}

/* The reviews section is a solid blue panel, so controls that read fine on
   white are unreadable there: the pause button measured 1.18:1 and the outline
   button 1.24:1 against #076a96. */
.reviews .carousel-playpause {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.reviews .carousel-playpause:hover {
  color: var(--white);
  border-color: var(--white);
}

.reviews .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.reviews .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.reviews .carousel-dot {
  background: #b7c9d2; /* 3.5:1 on the blue panel */
}

.reviews .carousel-dot.active {
  background: var(--white); /* 5.98:1; also carries aria-current and scale */
}

/* Escape-dismissed dropdown: has to beat .has-dropdown:focus-within, which is
   still true because focus lands back on the toggle inside the same element. */
.has-dropdown.dropdown-dismissed .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* The scroll-reveal observer sets inline opacity:0 before it fires. If
     motion is off we never want that state to exist at all — see script.js,
     which skips the observer entirely under this query. */
  .service-card,
  .feature-item,
  .review-card,
  .badge {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* --------------------------------------------------------------------------
   Giveaway landing page (/giveaway) + Official Rules (/giveaway-rules)
   Celebratory register: navy hero, confetti, orange and green accents. Every
   colour pair here was measured against WCAG AA before it shipped.
   -------------------------------------------------------------------------- */

.giveaway-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--footer-bg);
  padding: 130px 0 90px;
  color: var(--white);
}

.giveaway-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.giveaway-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.giveaway-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.giveaway-highlight {
  color: var(--green);
}

.giveaway-lede {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  max-width: 34em;
}

.giveaway-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 15px;
}

.giveaway-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.giveaway-facts i {
  color: var(--accent);
}

.giveaway-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.giveaway-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.giveaway-checks i {
  color: var(--green);
  margin-top: 4px;
}

/* Confetti: decorative, aria-hidden in the markup, and it stops entirely
   under prefers-reduced-motion (see the block at the end of this file). */
.giveaway-confetti {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.giveaway-confetti span {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  opacity: 0.35;
  animation: giveaway-drift 9s ease-in-out infinite;
}

.giveaway-confetti span:nth-child(3n) {
  background: var(--accent);
}

.giveaway-confetti span:nth-child(3n + 1) {
  background: var(--green);
}

.giveaway-confetti span:nth-child(3n + 2) {
  background: var(--white);
}

.giveaway-confetti span:nth-child(1) {
  left: 4%;
  top: 12%;
  animation-delay: 0s;
}
.giveaway-confetti span:nth-child(2) {
  left: 12%;
  top: 68%;
  animation-delay: 0.6s;
}
.giveaway-confetti span:nth-child(3) {
  left: 19%;
  top: 30%;
  animation-delay: 1.2s;
}
.giveaway-confetti span:nth-child(4) {
  left: 27%;
  top: 82%;
  animation-delay: 0.3s;
}
.giveaway-confetti span:nth-child(5) {
  left: 34%;
  top: 8%;
  animation-delay: 1.8s;
}
.giveaway-confetti span:nth-child(6) {
  left: 41%;
  top: 56%;
  animation-delay: 0.9s;
}
.giveaway-confetti span:nth-child(7) {
  left: 48%;
  top: 22%;
  animation-delay: 2.4s;
}
.giveaway-confetti span:nth-child(8) {
  left: 55%;
  top: 88%;
  animation-delay: 1.5s;
}
.giveaway-confetti span:nth-child(9) {
  left: 62%;
  top: 40%;
  animation-delay: 0.45s;
}
.giveaway-confetti span:nth-child(10) {
  left: 69%;
  top: 14%;
  animation-delay: 2.1s;
}
.giveaway-confetti span:nth-child(11) {
  left: 76%;
  top: 74%;
  animation-delay: 1.05s;
}
.giveaway-confetti span:nth-child(12) {
  left: 83%;
  top: 34%;
  animation-delay: 2.7s;
}
.giveaway-confetti span:nth-child(13) {
  left: 89%;
  top: 62%;
  animation-delay: 0.75s;
}
.giveaway-confetti span:nth-child(14) {
  left: 94%;
  top: 18%;
  animation-delay: 1.65s;
}
.giveaway-confetti span:nth-child(15) {
  left: 8%;
  top: 46%;
  animation-delay: 2.25s;
}
.giveaway-confetti span:nth-child(16) {
  left: 58%;
  top: 6%;
  animation-delay: 0.15s;
}
.giveaway-confetti span:nth-child(17) {
  left: 30%;
  top: 48%;
  animation-delay: 1.35s;
}
.giveaway-confetti span:nth-child(18) {
  left: 72%;
  top: 52%;
  animation-delay: 2.55s;
}

@keyframes giveaway-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(12deg);
  }
}

/* Entry form card - same treatment as the homepage quote card. */
/* Focus target for the "go to the form" CTAs: the global smooth-scroll handler
   calls preventDefault, which cancels the browser's own focus move, so the card
   takes tabindex="-1" and the handler focuses it. No ring - focus lands here by
   navigation, not by tabbing. */
#enter:focus {
  outline: none;
}

.giveaway-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  color: var(--body-text);
}

.giveaway-card-headline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 8px;
}

.giveaway-card-subline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.giveaway-form .form-group {
  margin-bottom: 16px;
}

.form-required {
  color: var(--accent-text);
  font-weight: 600;
}

.form-optional {
  color: var(--text-muted);
  font-weight: 500;
}

.form-help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: 14px;
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

/* Honeypot - moved off-screen rather than display:none so bots still fill it. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.giveaway-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
}

.giveaway-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.giveaway-status.is-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.giveaway-status.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.giveaway-fineprint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 16px;
}

.giveaway-fineprint a {
  color: var(--primary);
  text-decoration: underline;
}

/* How to enter */
.giveaway-entries {
  background-color: var(--slate-50);
  padding: var(--section-py) 0;
}

.entry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.entry-card-required {
  /* The badge is a heading for the card, so it sits on its own line above the
     content rather than competing with it in a row. */
  border: 2px solid var(--accent);
  margin-bottom: 40px;
}

.entry-card-required .entry-badge {
  margin-bottom: 18px;
}

.entry-card-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.entry-card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 320px;
}

.entry-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--body-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 9999px;
}

.entry-icon {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.entry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--body-text);
}

.entry-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.entry-card p a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-card .btn {
  text-decoration: none;
}

.entry-bonus-heading {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--body-text);
}

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

.entry-grid .entry-icon {
  display: block;
  margin-bottom: 12px;
}

.entry-value {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.entry-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* The prize */
.giveaway-prize {
  background: var(--white);
  padding: var(--section-py) 0;
}

.giveaway-prize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.giveaway-prize-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 8px 0 16px;
}

.giveaway-lede-dark {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 22px;
}

.giveaway-prize-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.giveaway-prize-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.giveaway-prize-list i {
  color: var(--green-text);
  margin-top: 4px;
}

.giveaway-value {
  font-size: 18px;
  margin-bottom: 12px;
}

.giveaway-terms {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.giveaway-prize-photo {
  margin: 0;
}

.giveaway-prize-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.giveaway-prize-photo figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* The story */
.giveaway-story {
  background-color: var(--slate-50);
  padding: var(--section-py) 0;
}

.giveaway-story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.giveaway-story-photo {
  margin: 0;
}

.giveaway-story-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* The section title sits in the copy column beside the photo, not centred
   above the whole section, so it is left-aligned and loses the 640px cap. */
.giveaway-story-body .section-header {
  text-align: left;
  max-width: none;
  margin: 0 0 20px;
}

.giveaway-story-body .section-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.giveaway-story-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.giveaway-story-body .story-signature {
  margin-bottom: 0;
}

/* Bottom CTA strip */
.giveaway-cta-strip {
  /* #24B26D under white text measures 2.74:1, so the strip uses the deeper
     green that carries white at 5.87:1. */
  background: var(--green-text);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.giveaway-cta-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.giveaway-cta-strip h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.giveaway-cta-strip p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.giveaway-cta-strip .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* Meta disclaimer strip */
.giveaway-legal {
  background-color: var(--slate-50);
  padding: 36px 0;
}

.giveaway-legal p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto 8px;
  text-align: center;
}

.giveaway-legal a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Official Rules page */
.legal-page {
  background: var(--white);
  padding: 140px 0 var(--section-py);
}

.legal-page .container {
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.legal-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.legal-notice {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--slate-50);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 32px;
}

.legal-terms {
  margin: 0;
}

.legal-terms dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-top: 24px;
}

.legal-terms dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.75;
}

.legal-terms dd a,
.legal-back a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-back {
  margin-top: 40px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .giveaway-hero-grid,
  .giveaway-prize-grid,
  .giveaway-story-grid {
    grid-template-columns: 1fr;
  }

  /* Stacked, the portrait photo would eat the screen before the text. */
  .giveaway-story-photo img {
    max-width: 420px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .giveaway-hero {
    padding: 110px 0 64px;
  }

  .giveaway-card {
    padding: 24px 20px;
  }

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

  .giveaway-facts {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .giveaway-confetti span {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   200-review giveaway promo (front page, between Why Us and Reviews)
   -------------------------------------------------------------------------- */
.review-milestone {
  background-color: var(--green);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.review-milestone-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  /* Green band, white block: the card is the readable surface. */
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  color: var(--body-text);
}

.review-milestone-title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--body-text);
}

/* Title breaks after "200 Reviews." on every width. */
.review-milestone-line {
  display: block;
}

.review-milestone-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.review-milestone-trust {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-text);
  line-height: 1.6;
  margin-bottom: 28px;
}

.review-milestone-cta {
  font-size: 16px;
  padding: 16px 34px;
}

.review-milestone-fine {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

@media (max-width: 640px) {
  .review-milestone-card {
    padding: 32px 20px;
  }

  .review-milestone-cta {
    width: 100%;
    white-space: normal;
  }
}

/* Green button. Brand green is a fill, so the label is navy, same rule as
   .btn-accent: white on #24B26D measures 2.6:1. */
.btn-green {
  background-color: var(--green);
  color: var(--body-text);
}

.btn-green:hover {
  background-color: #1d9a5c;
  color: var(--body-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 178, 109, 0.35);
}

.btn-green:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Site-wide announcement bar (giveaway campaign)
   The header is position:fixed at top:0, so the bar is fixed above it and the
   header drops by --announce-h. Only .hero pads exactly to the header height;
   .service-hero (160px) and .giveaway-hero (130px) already clear it.
   -------------------------------------------------------------------------- */
:root {
  --announce-h: 40px;
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
  background-color: var(--green-text);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition);
}

.announcement-bar:hover {
  background-color: #12603b;
  color: var(--white);
}

.announcement-cta {
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.site-header {
  top: var(--announce-h);
}

.hero {
  padding-top: calc(70px + var(--announce-h));
}

@media (max-width: 768px) {
  :root {
    --announce-h: 56px;
  }

  .announcement-bar {
    font-size: 13px;
    gap: 4px;
  }
}

/* Mobile nav overlays anchor to the bottom of the header, which the bar moved
   down. Both were hardcoded to the 70px bar-less header height. */
.mobile-nav,
.main-nav {
  top: calc(70px + var(--announce-h));
}

@media (max-width: 1024px) {
  .main-nav {
    height: calc(100vh - 70px - var(--announce-h)) !important;
  }
}
