/*
Theme Name: Hello Elementor Child (Custom BBClean)
Template: hello-elementor
Version: 1.0.0
Description: Optimized clean child theme for Baltimore Best Cleaning.
*/

/* --- Paste your original CSS rules below this line --- */
:root {
  --silver: #c8c8c8;
  --silver-light: #e8e8e8;
  --silver-pale: #f0f0f0;
  --dark: #080808;
  --dark-2: #101010;
  --dark-3: #161616;
  --dark-4: #1c1c1c;
  --off-white: #efefef;
  --text-muted: #888888;
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://d3ey4dbjkt2f6s.cloudfront.net/assets/external/work_request_embed.css');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */

:root {
  --silver: #c8c8c8;
  --silver-light: #e8e8e8;
  --silver-pale: #f0f0f0;
  --dark: #080808;
  --dark-2: #101010;
  --dark-3: #161616;
  --dark-4: #1c1c1c;
  --off-white: #efefef;
  --text-muted: #888888;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #111;
  border: 1px solid rgba(200, 200, 200, 0.15);
  box-shadow:
    0 0 0 1px rgba(200, 200, 200, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(200, 200, 200, 0.05);
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(200, 200, 200, 0.1);
  position: sticky;
  top: 0;
  background: #111;
  z-index: 2;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.modal-close {
  background: none;
  border: 1px solid rgba(200, 200, 200, 0.2);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.modal-close:hover {
  border-color: rgba(200, 200, 200, 0.6);
  color: #fff;
  background: rgba(200, 200, 200, 0.06);
}

.modal-body {
  padding: 1.5rem 1.75rem 2rem;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 200, 200, 0.12);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--silver-light);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--silver-light);
}

.nav-cta {
  color: var(--off-white) !important;
  padding: 0.52rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  border: 1px solid rgba(200, 200, 200, 0.5);
  box-shadow:
    0 0 12px rgba(200, 200, 200, 0.1),
    inset 0 0 8px rgba(200, 200, 200, 0.04);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(200, 200, 200, 0.08) !important;
  border-color: var(--silver-light) !important;
  box-shadow: 0 0 20px rgba(200, 200, 200, 0.2) !important;
  color: #fff !important;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 5vw 5rem;
  position: relative;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 80%,
      rgba(200, 200, 200, 0.05) 0%,
      transparent 70%
    ),
    var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(200, 200, 200, 0.025) 60px,
      rgba(200, 200, 200, 0.025) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(200, 200, 200, 0.025) 60px,
      rgba(200, 200, 200, 0.025) 61px
    );
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: var(--silver);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(200, 200, 200, 0.6),
    0 0 20px rgba(200, 200, 200, 0.2),
    0 0 50px rgba(200, 200, 200, 0.08);
}

.btn-primary:hover {
  background: var(--silver-pale);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(220, 220, 220, 0.9),
    0 0 30px rgba(200, 200, 200, 0.35),
    0 6px 40px rgba(200, 200, 200, 0.2);
}

.btn-secondary {
  display: inline-block;
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid rgba(200, 200, 200, 0.3);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow:
    0 0 16px rgba(200, 200, 200, 0.06),
    inset 0 0 10px rgba(200, 200, 200, 0.03);
}

.btn-secondary:hover {
  border-color: rgba(200, 200, 200, 0.7);
  background: rgba(200, 200, 200, 0.06);
}

.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.trust-icon {
  color: var(--silver);
  font-size: 1rem;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 5vw;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}
.section-title em {
  font-style: italic;
  color: var(--silver);
}
.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1rem;
  margin-bottom: 3rem;
}
.silver-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--silver), transparent);
  margin-bottom: 1.5rem;
}

/* ── TIERS ── */
.tiers-section {
  background: var(--dark-2);
  position: relative;
}
.tiers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.5),
    transparent
  );
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(200, 200, 200, 0.08);
  border: 1px solid rgba(200, 200, 200, 0.08);
}

.tier-card {
  background: var(--dark-3);
  padding: 2.5rem;
  position: relative;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tier-card:hover {
  background: var(--dark-4);
}
.tier-card.featured {
  background: linear-gradient(145deg, #141414, #1a1a1a);
}

.tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(200, 200, 200, 0.25);
}
.tier-badge.subtle {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(200, 200, 200, 0.2);
  box-shadow: none;
}

.tier-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
}
.tier-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.tier-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(200, 200, 200, 0.3);
  padding: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(200, 200, 200, 0.05);
}
.tier-cta:hover {
  border-color: rgba(200, 200, 200, 0.7);
  background: rgba(200, 200, 200, 0.06);
  color: #fff;
}
.tier-cta.white-fill {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow:
    0 0 0 1px rgba(200, 200, 200, 0.5),
    0 0 20px rgba(200, 200, 200, 0.25);
}
.tier-cta.white-fill:hover {
  background: var(--silver-pale);
  box-shadow:
    0 0 0 1px rgba(200, 200, 200, 0.8),
    0 0 32px rgba(200, 200, 200, 0.4);
}

/* ── ADD-ONS ── */
.addons-section {
  background: var(--dark);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(200, 200, 200, 0.07);
  border: 1px solid rgba(200, 200, 200, 0.07);
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.addon-item {
  background: var(--dark-2);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}
.addon-item:hover {
  background: var(--dark-3);
}
.addon-icon {
  color: var(--silver);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.addon-name {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: #fff;
}
.addon-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── GUARANTEE ── */
.guarantee-section {
  background: var(--dark-2);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.guarantee-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.4),
    transparent
  );
}
.guarantee-section::after {
  content: '100%';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  font-weight: 900;
  color: rgba(200, 200, 200, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.guarantee-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.guarantee-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(200, 200, 200, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 0 30px rgba(200, 200, 200, 0.08);
}
.guarantee-seal span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(200, 200, 200, 0.07);
  border: 1px solid rgba(200, 200, 200, 0.07);
  max-width: 1000px;
  margin: 0 auto 3.5rem;
}
.testimonial-card {
  background: var(--dark-2);
  padding: 2rem;
}
.stars {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--off-white);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
}
.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 7rem 5vw;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 50%,
      rgba(200, 200, 200, 0.04) 0%,
      transparent 70%
    ),
    var(--dark-2);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.4),
    transparent
  );
}
.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
}
.final-cta h2 em {
  font-style: italic;
  color: var(--silver);
}
.final-cta p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(200, 200, 200, 0.1);
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--silver-light);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.footer-contact {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}
.footer-contact a {
  color: var(--silver);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-trust {
    gap: 1.2rem;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-contact {
    text-align: center;
  }
  .guarantee-section::after {
    display: none;
  }
  .modal-box {
    max-height: 95vh;
  }
  .modal-body {
    padding: 1rem;
  }
}

:root {
  --silver: #c8c8c8;
  --silver-light: #e8e8e8;
  --silver-pale: #f0f0f0;
  --dark: #080808;
  --dark-2: #101010;
  --dark-3: #161616;
  --dark-4: #1c1c1c;
  --off-white: #efefef;
  --text-muted: #888888;
}
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--dark);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: rgb(17, 17, 17);
  border: 1px solid rgba(200, 200, 200, 0.15);
  box-shadow:
    rgba(200, 200, 200, 0.08) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.8) 0px 30px 80px,
    rgba(200, 200, 200, 0.05) 0px 0px 60px;
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(200, 200, 200, 0.1);
  position: sticky;
  top: 0px;
  background: rgb(17, 17, 17);
  z-index: 2;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
}
.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}
.modal-close {
  background: none;
  border: 1px solid rgba(200, 200, 200, 0.2);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.2s;
}
.modal-close:hover {
  border-color: rgba(200, 200, 200, 0.6);
  color: rgb(255, 255, 255);
  background: rgba(200, 200, 200, 0.06);
}
.modal-body {
  padding: 1.5rem 1.75rem 2rem;
}
nav {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 200, 200, 0.12);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--silver-light);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--silver-light);
}
.nav-cta {
  padding: 0.52rem 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(200, 200, 200, 0.5);
  box-shadow:
    rgba(200, 200, 200, 0.1) 0px 0px 12px,
    rgba(200, 200, 200, 0.04) 0px 0px 8px inset;
  transition: 0.2s;
  color: var(--off-white) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}
.nav-cta:hover {
  background: rgba(200, 200, 200, 0.08) !important;
  border-color: var(--silver-light) !important;
  box-shadow: rgba(200, 200, 200, 0.2) 0px 0px 20px !important;
  color: rgb(255, 255, 255) !important;
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 5vw 5rem;
  position: relative;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 80%,
      rgba(200, 200, 200, 0.05) 0%,
      transparent 70%
    ),
    var(--dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0px;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(200, 200, 200, 0.024) 60px,
      rgba(200, 200, 200, 0.024) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(200, 200, 200, 0.024) 60px,
      rgba(200, 200, 200, 0.024) 61px
    );
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: rgb(255, 255, 255);
}
.hero h1 em {
  font-style: italic;
  color: var(--silver);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0px auto 2.5rem;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  transition: 0.2s;
  cursor: pointer;
  box-shadow:
    rgba(200, 200, 200, 0.6) 0px 0px 0px 1px,
    rgba(200, 200, 200, 0.2) 0px 0px 20px,
    rgba(200, 200, 200, 0.08) 0px 0px 50px;
}
.btn-primary:hover {
  background: var(--silver-pale);
  transform: translateY(-2px);
  box-shadow:
    rgba(220, 220, 220, 0.9) 0px 0px 0px 1px,
    rgba(200, 200, 200, 0.35) 0px 0px 30px,
    rgba(200, 200, 200, 0.2) 0px 6px 40px;
}
.btn-secondary {
  display: inline-block;
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid rgba(200, 200, 200, 0.3);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: 0.2s;
  box-shadow:
    rgba(200, 200, 200, 0.06) 0px 0px 16px,
    rgba(200, 200, 200, 0.03) 0px 0px 10px inset;
}
.btn-secondary:hover {
  border-color: rgba(200, 200, 200, 0.7);
  background: rgba(200, 200, 200, 0.06);
}
.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.trust-icon {
  color: var(--silver);
  font-size: 1rem;
}
section {
  padding: 6rem 5vw;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: rgb(255, 255, 255);
}
.section-title em {
  font-style: italic;
  color: var(--silver);
}
.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1rem;
  margin-bottom: 3rem;
}
.silver-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--silver), transparent);
  margin-bottom: 1.5rem;
}
.tiers-section {
  background: var(--dark-2);
  position: relative;
}
.tiers-section::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.5),
    transparent
  );
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0px auto;
  background: rgba(200, 200, 200, 0.08);
  border: 1px solid rgba(200, 200, 200, 0.08);
}
.tier-card {
  background: var(--dark-3);
  padding: 2.5rem;
  position: relative;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tier-card:hover {
  background: var(--dark-4);
}
.tier-card.featured {
  background: linear-gradient(145deg, rgb(20, 20, 20), rgb(26, 26, 26));
}
.tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  box-shadow: rgba(200, 200, 200, 0.25) 0px 0px 14px;
}
.tier-badge.subtle {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(200, 200, 200, 0.2);
  box-shadow: none;
}
.tier-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: rgb(255, 255, 255);
}
.tier-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-style: italic;
}
.tier-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(200, 200, 200, 0.3);
  padding: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: rgba(200, 200, 200, 0.05) 0px 0px 12px;
}
.tier-cta:hover {
  border-color: rgba(200, 200, 200, 0.7);
  background: rgba(200, 200, 200, 0.06);
  color: rgb(255, 255, 255);
}
.tier-cta.white-fill {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border-color: rgb(255, 255, 255);
  box-shadow:
    rgba(200, 200, 200, 0.5) 0px 0px 0px 1px,
    rgba(200, 200, 200, 0.25) 0px 0px 20px;
}
.tier-cta.white-fill:hover {
  background: var(--silver-pale);
  box-shadow:
    rgba(200, 200, 200, 0.8) 0px 0px 0px 1px,
    rgba(200, 200, 200, 0.4) 0px 0px 32px;
}
.addons-section {
  background: var(--dark);
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(200, 200, 200, 0.07);
  border: 1px solid rgba(200, 200, 200, 0.07);
  max-width: 1000px;
  margin: 0px auto 3rem;
}
.addon-item {
  background: var(--dark-2);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}
.addon-item:hover {
  background: var(--dark-3);
}
.addon-icon {
  color: var(--silver);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.addon-name {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: rgb(255, 255, 255);
}
.addon-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.guarantee-section {
  background: var(--dark-2);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.guarantee-section::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.4),
    transparent
  );
}
.guarantee-section::after {
  content: '100%';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  font-weight: 900;
  color: rgba(200, 200, 200, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.guarantee-inner {
  max-width: 680px;
  margin: 0px auto;
  position: relative;
  z-index: 1;
}
.guarantee-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(200, 200, 200, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0px auto 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgb(255, 255, 255);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: rgba(200, 200, 200, 0.08) 0px 0px 30px;
}
.guarantee-seal span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}
.testimonials-section {
  background: var(--dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(200, 200, 200, 0.07);
  border: 1px solid rgba(200, 200, 200, 0.07);
  max-width: 1000px;
  margin: 0px auto 3.5rem;
}
.testimonial-card {
  background: var(--dark-2);
  padding: 2rem;
}
.stars {
  color: rgb(255, 255, 255);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--off-white);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
}
.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.final-cta {
  text-align: center;
  padding: 7rem 5vw;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 50%,
      rgba(200, 200, 200, 0.04) 0%,
      transparent 70%
    ),
    var(--dark-2);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 200, 200, 0.4),
    transparent
  );
}
.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: rgb(255, 255, 255);
}
.final-cta h2 em {
  font-style: italic;
  color: var(--silver);
}
.final-cta p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 460px;
  margin: 0px auto 2.5rem;
}
footer {
  background: var(--dark);
  border-top: 1px solid rgba(200, 200, 200, 0.1);
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--silver-light);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.footer-contact {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}
.footer-contact a {
  color: var(--silver);
  text-decoration: none;
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-trust {
    gap: 1.2rem;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-contact {
    text-align: center;
  }
  .guarantee-section::after {
    display: none;
  }
  .modal-box {
    max-height: 95vh;
  }
  .modal-body {
    padding: 1rem;
  }
}

html::before {
  content: 'CodePen ♥ The Web';
  position: fixed;
  inset: 0px;
  z-index: -1;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: monospace;
  opacity: 0.6;
  background: rebeccapurple;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

/* From style.css */
html::before {
  content: 'CodePen ♥ The Web';
  position: fixed;
  inset: 0;
  z-index: -1;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: monospace;
  opacity: 0.6;
  background: rebeccapurple;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Source extracted CSS */

/* From style.css */
html::before {
  content: 'CodePen ♥ The Web';
  position: fixed;
  inset: 0;
  z-index: -1;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: monospace;
  opacity: 0.6;
  background: rebeccapurple;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
section,
.section {
  max-width: none !important;
}

.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
/* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
/* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses. */
header ul#wpconvert-primary-ul,
#wpconvert-primary-ul,
#wpconvert-primary-ul.menu,
ul#wpconvert-primary-ul.menu,
ul.menu:not(.submenu):not(.sub-menu) {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
/* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
header nav.main-nav ul#wpconvert-primary-ul,
header .main-nav ul#wpconvert-primary-ul,
nav.main-nav ul#wpconvert-primary-ul,
.main-nav #wpconvert-primary-ul,
.main-nav ul#wpconvert-primary-ul {
  /* Inherit the original .main-nav ul styles */
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* Preserve original .main-nav link styling */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
/* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
header ul#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li.menu-item,
#wpconvert-primary-ul > li.menu-item-type-post_type,
#wpconvert-primary-ul > li.menu-item-type-custom,
#wpconvert-primary-ul > li.menu-item-object-page,
#wpconvert-primary-ul > li.menu-item-object-custom,
#wpconvert-primary-ul > li.menu-item-has-children,
#wpconvert-primary-ul > li.current-menu-item,
#wpconvert-primary-ul > li.current_page_item,
#wpconvert-primary-ul > li.current-menu-ancestor,
#wpconvert-primary-ul.menu > li,
ul.menu:not(.submenu):not(.sub-menu) > li,
body #wpconvert-primary-ul > li {
  display: inline-block !important;
  position: relative !important;
  flex-shrink: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  vertical-align: middle !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: white !important;
  min-width: 200px !important;
  max-width: 500px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 9999 !important; /* Higher than content */
  padding: 0.5rem 0 !important;
  list-style: none !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
[role='dialog'][class*='fixed'],
[data-radix-dialog-content][class*='fixed'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop'] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav) {
  position: relative !important;
  z-index: 1000 !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
nav.sticky,
nav[class*='sticky']:not([style*='position']),
header nav.sticky,
header nav[class*='sticky']:not([style*='position']),
header.sticky,
header[class*='sticky']:not([style*='position']) {
  position: sticky !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
nav.fixed,
nav[class*='fixed']:not([style*='position']),
header nav.fixed,
header nav[class*='fixed']:not([style*='position']),
header.fixed,
header[class*='fixed']:not([style*='position']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up). */
.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type {
  margin-top: 0;
}

/* EC-NAV-086: Fixed nav + full-viewport hero (Tailwind min-h-screen) — React/Vite SPAs
 * stack the hero at document top with fixed nav overlaid; body/main background shows through
 * any empty band under the bar. Pull the first min-h-screen hero up by the header bar height
 * (--wpconvert-header-bar-height from header.php EC-NAV-100; fallback 4rem) so background layers
 * align with the original SPA.
 * Only on front-page template (body.front-page); skip sections with explicit pt-* / mt-* utilities.
 * :first-of-type required: newline/whitespace between #primary and hero <section> breaks :first-child. */
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  /* Logged out: --wp-admin--admin-bar--height is unset → 0px. Logged in: WP sets 32px / 46px (782px). */
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  );
}

/* EC-NAV-089: Admin bar is fixed at top:0; in-flow content gets html { margin-top } but fixed nav does not,
 * so the site navbar sits under #wpadminbar. Offset primary fixed nav; exclude full-screen mobile drawer. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav) {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-NAV-087: Merged / blog / legacy CSS often sets body { padding-top: 5rem+ } as “clearance”
 * for fixed headers. With a fixed overlay nav, that padding does NOT move the bar — it only
 * pushes <main> down while body background shows through → white/cream band (~nav height) under
 * the bar. Stay Boost ships this in bundled style.css; EC-NAV-086 margin alone cannot cancel it. */
body.front-page {
  padding-top: 0 !important;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body {
  line-height: 1.6;
}
body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-BTN-104: :where() = 0 specificity so Tailwind text-* utilities always win over these resets.
   Plain "a:hover { color: inherit }" can outrank .text-white on links (0,2,0 vs 0,1,0) and wash out hero CTAs. */
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(a:hover) {
  color: inherit;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-STATIC-013: Site CSS sets position:fixed on nav — override WPConvert base relative reset.
   Selector mirrors the base rule's :not() guards so specificity (1,2,1) matches; source-order wins. */
nav:not([class*='sticky']):not([class*='fixed']):not(#wpconvert-mobile-nav) {
  position: fixed !important;
}

/* EC-NAV-162b: Site CSS sets position:sticky on header — override WPConvert base relative reset.
   Non-Tailwind sites define fixed positioning in their stylesheet, not as a utility class.
   EC-NAV-197: selector includes :not([class*='absolute']) so specificity (0,4,0) ties the
   EC-NAV-190 safety-net; source-order then makes this override win the !important cascade. */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']) {
  position: sticky !important;
  z-index: 1000 !important;
}