/*
Theme Name: GeneratePress Child - StazOn Roofing
Template: generatepress
Version: 1.0.2
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  --stz-red: #C41E3A;
  --stz-red-light: #D94452;
  --stz-red-dark: #9E1830;
  --stz-navy: #1B2A4A;
  --stz-navy-light: #2D3D5E;
  --stz-blue: #2563EB;
  --stz-blue-light: #60A5FA;
  --stz-gray: #F8FAFC;
  --stz-slate: #64748B;
  --stz-white: #FFFFFF;
  --stz-gold: #D4A843;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1152px;
  --container-sm: 896px;
  --container-xs: 672px;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--stz-navy);
  background: var(--stz-gray);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--stz-navy);
  margin-top: 0;
}

a { color: var(--stz-red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--stz-red-dark); }

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

/* ==========================================================================
   Header
   ========================================================================== */
.stz-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--stz-red);
}

.stz-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stz-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.stz-header-spacer { height: 5rem; }

/* Brand */
.stz-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.stz-brand:hover { color: var(--stz-white); }

.stz-brand-logo {
  height: 3rem;
  width: auto;
  transition: transform 0.3s;
}

.stz-brand:hover .stz-brand-logo {
  transform: scale(1.05);
}

.stz-brand-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--stz-white);
  letter-spacing: -0.025em;
}

.stz-brand-accent { color: var(--stz-red); }

/* Desktop Nav */
.stz-nav-desktop {
  display: none;
}

@media (min-width: 1080px) {
  .stz-nav-desktop { display: flex; align-items: center; gap: 1rem; }
}

.stz-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.stz-nav-list li a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0.5rem 0.5rem;
}

@media (min-width: 1280px) {
  .stz-nav-list { gap: 0.5rem; }
  .stz-nav-list li a { font-size: 0.875rem; padding: 0.5rem 0.625rem; }
}

.stz-nav-list li a:hover,
.stz-nav-list li.current-menu-item a {
  color: var(--stz-white);
}

/* Desktop Nav - parent items with children */
.stz-nav-list > li {
  position: relative;
}

.stz-nav-list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 0.375rem;
  vertical-align: middle;
  transition: transform 0.2s;
}

/* Desktop Dropdown */
.stz-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.5rem 0;
  background: var(--stz-navy);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 60;
}

/* Invisible hover bridge — spans the gap so the cursor
   can travel from the parent link down into the dropdown */
.stz-nav-list .sub-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.stz-nav-list > li:hover > .sub-menu {
  display: block;
}

.stz-nav-list .sub-menu li a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: all 0.15s;
}

.stz-nav-list .sub-menu li a:hover {
  color: var(--stz-white);
  background: rgba(255, 255, 255, 0.06);
}

.stz-nav-list .sub-menu li.current-menu-item a {
  color: var(--stz-white);
}

/* Header Phone CTA */
.stz-header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stz-white);
  text-decoration: none;
  transition: color 0.2s;
}

.stz-header-phone:hover { color: var(--stz-red-light); }

.stz-header-phone svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 1280px) {
  .stz-header-phone { display: flex; }
}

/* Header CTA Button */
.stz-header-cta {
  display: none;
  padding: 0.5rem 1rem;
  background: var(--stz-red);
  color: var(--stz-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.stz-header-cta:hover {
  background: var(--stz-red-dark);
  color: var(--stz-white);
}

@media (min-width: 1080px) {
  .stz-header-cta { display: inline-flex; }
}

/* Mobile Nav Toggle */
.stz-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: var(--stz-white);
  cursor: pointer;
  transition: all 0.2s;
}

.stz-nav-toggle:hover {
  color: var(--stz-red);
  background: rgba(196, 30, 58, 0.1);
}

.stz-nav-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (min-width: 1080px) {
  .stz-nav-toggle { display: none; }
}

/* Mobile Menu */
.stz-nav-mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  background: var(--stz-navy);
}

.stz-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stz-nav-mobile-list li a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.stz-nav-mobile-list li a:hover {
  color: var(--stz-white);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile Submenu */
.stz-nav-mobile-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
}

.stz-nav-mobile-list .sub-menu li a {
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.stz-nav-mobile-list .sub-menu li a:hover {
  color: var(--stz-white);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.stz-footer {
  background: var(--stz-navy);
  color: var(--stz-white);
  padding: 4rem 0 2rem;
}

.stz-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stz-footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .stz-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.stz-footer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stz-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.stz-footer-links li { margin-bottom: 0.75rem; }

.stz-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.stz-footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.stz-footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

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

/* Footer Social Icons */
.stz-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.stz-social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.stz-social-links a:hover { color: var(--stz-white); }
.stz-social-links svg { width: 1.25rem; height: 1.25rem; }

/* Footer Bottom Bar */
.stz-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .stz-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.stz-footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.stz-footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stz-footer-legal a,
.stz-footer-legal button {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: color 0.2s;
}

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

.stz-footer-sep { color: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   GP Content Area Reset (let our sections go full-bleed)
   ========================================================================== */
.stz-page .site-content,
.blog .site-content,
.single .site-content {
  max-width: 100%;
  padding: 0;
  margin-bottom: 0;
  flex-direction: column;
}

.stz-page .inside-article,
.stz-page .entry-content {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.stz-page #primary,
.stz-page .site-main,
.stz-page article {
  margin-bottom: 0;
  padding-bottom: 0;
}

.stz-page .separate-containers .inside-article {
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.stz-page .separate-containers .site-main > article {
  margin-bottom: 0;
  padding-bottom: 0;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.animate-fade-up { animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both; }
.animate-float   { animation: float 6s ease-in-out infinite; }
.animate-pulse   { animation: pulse 2s ease-in-out infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ==========================================================================
   Section Containers
   ========================================================================== */
.stz-section {
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .stz-section { padding: 6rem 2rem; } }
@media (min-width: 1024px) { .stz-section { padding: 8rem 2rem; } }

.stz-inner       { max-width: var(--container);    margin: 0 auto; }
.stz-inner-sm    { max-width: var(--container-sm); margin: 0 auto; }
.stz-inner-xs    { max-width: var(--container-xs); margin: 0 auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.stz-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--stz-navy) 0%, #1a3a5c 50%, var(--stz-navy-light) 100%);
  color: var(--stz-white);
}

.stz-eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stz-red);
  margin-bottom: 1rem;
}

.stz-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--stz-white);
}

.stz-hero-sub {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.stz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.stz-btn svg { margin-left: 0.5rem; width: 1.25rem; height: 1.25rem; }

.stz-btn-primary {
  background: var(--stz-red);
  color: var(--stz-white);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
}
.stz-btn-primary:hover {
  background: var(--stz-red-dark);
  color: var(--stz-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.stz-btn-secondary {
  background: transparent;
  color: var(--stz-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.stz-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  color: var(--stz-white);
}

.stz-btn-outline {
  background: transparent;
  color: var(--stz-navy);
  border: 2px solid rgba(27, 42, 74, 0.2);
}
.stz-btn-outline:hover {
  border-color: var(--stz-red);
  color: var(--stz-red);
}

.stz-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .stz-btn-group { flex-direction: row; } }

/* ==========================================================================
   Cards
   ========================================================================== */
.stz-card {
  background: var(--stz-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 42, 74, 0.05);
  transition: all 0.3s;
}
.stz-card:hover { box-shadow: var(--shadow-md); }

@media (min-width: 768px) { .stz-card { padding: 2.5rem; } }

.stz-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stz-navy);
  margin-bottom: 0.75rem;
}

.stz-card-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--stz-slate);
  line-height: 1.625;
}

/* Service cards */
.stz-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stz-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.2);
  color: inherit;
}

.stz-service-card:hover .stz-card-title { color: var(--stz-red); }

/* Icon box */
.stz-icon-box {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.stz-icon-box svg { width: 1.75rem; height: 1.75rem; }
.stz-icon-red  { background: rgba(196,30,58,0.08); color: var(--stz-red); }
.stz-icon-navy { background: rgba(27,42,74,0.08);  color: var(--stz-navy); }
.stz-icon-blue { background: rgba(37,99,235,0.08); color: var(--stz-blue); }

/* ==========================================================================
   Grids
   ========================================================================== */
.stz-grid { display: grid; gap: 2rem; }
.stz-grid-2 { display: grid; gap: 1.5rem; }

@media (min-width: 640px) { .stz-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .stz-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.stz-testimonial {
  background: var(--stz-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--stz-red);
}

.stz-testimonial-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--stz-navy);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.stz-testimonial-author {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stz-navy);
}

.stz-testimonial-source {
  font-size: 0.8125rem;
  color: var(--stz-slate);
  font-weight: 400;
}

/* ==========================================================================
   Certifications / Trust Bar
   ========================================================================== */
.stz-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.stz-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stz-navy);
}

.stz-trust-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--stz-gold);
}

/* ==========================================================================
   Page Header (shared inner pages)
   ========================================================================== */
.stz-page-header {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--stz-navy) 0%, var(--stz-navy-light) 100%);
  color: var(--stz-white);
}
@media (min-width: 768px) { .stz-page-header { padding: 7rem 2rem 5rem; } }

.stz-page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--stz-white);
}

.stz-page-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin: 0 auto;
}

/* ==========================================================================
   Contact Cards
   ========================================================================== */
.stz-contact-card {
  background: var(--stz-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 42, 74, 0.05);
  transition: all 0.3s;
}
.stz-contact-card:hover { box-shadow: var(--shadow-md); }
.stz-contact-card a { color: var(--stz-red); }
.stz-contact-card a:hover { color: var(--stz-red-dark); }

/* ==========================================================================
   Boffo Forms
   ========================================================================== */
.boffo-form-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stz-navy);
  margin-bottom: 0.5rem;
}

.boffo-form-subtext {
  font-family: var(--font-body);
  color: var(--stz-slate);
  margin-bottom: 2rem;
}

.boffo-form { position: relative; }
.boffo-field { margin-bottom: 1.5rem; }

.boffo-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stz-navy);
  margin-bottom: 0.5rem;
}

.boffo-required { color: var(--stz-red); }

.boffo-field input[type="text"],
.boffo-field input[type="email"],
.boffo-field select,
.boffo-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--stz-navy);
  border: 1px solid rgba(27, 42, 74, 0.15);
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.2s;
  background: var(--stz-white);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.boffo-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.boffo-field input:focus,
.boffo-field select:focus,
.boffo-field textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--stz-red);
}

.boffo-field textarea { resize: none; }

.boffo-submit {
  width: 100%;
  background: var(--stz-red);
  color: var(--stz-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.boffo-submit:hover {
  background: var(--stz-red-dark);
}

.boffo-form-success {
  text-align: center;
  padding: 2rem 0;
}

.boffo-success-icon {
  width: 4rem; height: 4rem;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

.boffo-success-icon svg {
  width: 2rem; height: 2rem; color: var(--stz-red);
}

.boffo-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stz-navy);
  margin-bottom: 0.5rem;
}

.boffo-form-success p { color: var(--stz-slate); }

.boffo-form-error {
  background: rgba(220, 38, 38, 0.05);
  color: #dc2626;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   Prose (Privacy, FAQs, Safety pages)
   ========================================================================== */
.stz-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.stz-prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.stz-prose p  { color: var(--stz-slate); margin-bottom: 1.5rem; line-height: 1.75; }
.stz-prose ul { list-style: disc; padding-left: 1.5rem; color: var(--stz-slate); margin-bottom: 1.5rem; }
.stz-prose ul li { margin-bottom: 0.5rem; }
.stz-prose a { color: var(--stz-red); text-decoration: underline; }
.stz-prose a:hover { color: var(--stz-red-dark); }

/* ==========================================================================
   Backgrounds / Gradients
   ========================================================================== */
.stz-bg-navy { background: var(--stz-navy); color: var(--stz-white); }
.stz-bg-navy-gradient {
  background: linear-gradient(135deg, var(--stz-navy) 0%, var(--stz-navy-light) 100%);
  color: var(--stz-white);
  text-align: center;
}
.stz-bg-navy-gradient h2 { color: var(--stz-white); }
.stz-bg-navy-gradient p { color: rgba(255, 255, 255, 0.8); }
.stz-bg-gray { background: var(--stz-gray); }
.stz-bg-white { background: var(--stz-white); }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.text-red    { color: var(--stz-red); }
.text-navy   { color: var(--stz-navy); }
.text-slate  { color: var(--stz-slate); }
.text-white  { color: var(--stz-white); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.stz-faq details {
  background: var(--stz-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 42, 74, 0.05);
  overflow: hidden;
}

.stz-faq summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--stz-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.stz-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--stz-red);
  font-weight: 300;
}

.stz-faq details[open] summary::after { content: '\2212'; }

.stz-faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--stz-slate);
  line-height: 1.7;
}

/* ==========================================================================
   Check List (service page benefits)
   ========================================================================== */
.stz-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.stz-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--stz-slate);
  line-height: 1.6;
}

.stz-check-list li::before {
  content: '\2713';
  color: var(--stz-red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   Stats Row
   ========================================================================== */
.stz-stats {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 640px) { .stz-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .stz-stats { grid-template-columns: repeat(4, 1fr); } }

.stz-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--stz-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stz-stat-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--stz-slate);
  font-weight: 500;
}

/* ==========================================================================
   Hero with Background Image
   ========================================================================== */
.stz-hero-img {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1.5rem;
  color: var(--stz-white);
}

.stz-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.stz-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 74, 0.92) 0%,
    rgba(27, 42, 74, 0.78) 40%,
    rgba(27, 42, 74, 0.65) 100%
  );
  z-index: 1;
}

.stz-hero-img > * {
  position: relative;
  z-index: 2;
}

/* Page header with background image */
.stz-page-header-img {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
  text-align: center;
  color: var(--stz-white);
}
@media (min-width: 768px) { .stz-page-header-img { padding: 7rem 2rem 5rem; } }

.stz-page-header-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.stz-page-header-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.9) 0%, rgba(27, 42, 74, 0.75) 100%);
  z-index: 1;
}

.stz-page-header-img > * {
  position: relative;
  z-index: 2;
}

.stz-page-header-img h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--stz-white);
}

.stz-page-header-img p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin: 0 auto;
}

/* ==========================================================================
   Certification / Affiliate Logo Bar
   ========================================================================== */
.stz-logo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.stz-logo-bar img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stz-logo-bar img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.08);
}

/* Logo bar on dark backgrounds */
.stz-bg-navy .stz-logo-bar img {
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.5;
}

.stz-bg-navy .stz-logo-bar img:hover {
  filter: grayscale(0%) brightness(1.2);
  opacity: 1;
}

/* ==========================================================================
   Project Photo Gallery
   ========================================================================== */
.stz-photo-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stz-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.stz-photo-grid-2x2 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

.stz-photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.stz-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stz-photo-item:hover img {
  transform: scale(1.06);
}

.stz-photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27, 42, 74, 0.3) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.stz-photo-item:hover::after {
  opacity: 1;
}

/* Tall item spans 2 rows */
.stz-photo-tall {
  aspect-ratio: auto;
  grid-row: span 2;
}

/* Wide item spans 2 columns */
.stz-photo-wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ==========================================================================
   Feature Image + Text Split
   ========================================================================== */
.stz-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .stz-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.stz-split-reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .stz-split-reverse { grid-template-columns: 1fr 1fr; }
  .stz-split-reverse > :first-child { order: 2; }
  .stz-split-reverse > :last-child { order: 1; }
}

.stz-split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.stz-split-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stz-split-img:hover img {
  transform: scale(1.03);
}

/* Diagonal accent on image */
.stz-split-img::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 6rem;
  height: 6rem;
  background: var(--stz-red);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 2;
  opacity: 0.85;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.stz-team-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 42, 74, 0.2);
}

.stz-team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.stz-team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(27, 42, 74, 0.85));
  color: var(--stz-white);
}

.stz-team-photo-overlay p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--stz-white);
}

/* ==========================================================================
   Award / Badge Showcase
   ========================================================================== */
.stz-award-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.stz-award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.stz-award-item img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  transition: transform 0.3s;
}

.stz-award-item:hover img {
  transform: scale(1.1);
}

.stz-award-item span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--stz-slate);
  max-width: 8rem;
}

/* ==========================================================================
   Image reveal animation (scroll-triggered via IntersectionObserver)
   ========================================================================== */
.stz-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.stz-reveal.stz-visible {
  opacity: 1;
  transform: translateY(0);
}

.stz-reveal-delay-1 { transition-delay: 0.1s; }
.stz-reveal-delay-2 { transition-delay: 0.2s; }
.stz-reveal-delay-3 { transition-delay: 0.3s; }
.stz-reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Grain overlay (atmospheric texture)
   ========================================================================== */
.stz-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.stz-contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .stz-contact-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
  }
}

.stz-contact-form-col {
  order: 2;
}

.stz-contact-info-col {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .stz-contact-form-col { order: 1; }
  .stz-contact-info-col { order: 2; }
}

.stz-contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--stz-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  border: 1px solid transparent;
}

.stz-contact-info-card:hover {
  background: var(--stz-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 30, 58, 0.1);
}

.stz-contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(196, 30, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stz-contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--stz-red);
}

.stz-contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stz-slate);
}

.stz-contact-hours-card {
  padding: 1.25rem;
  background: var(--stz-gray);
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 42, 74, 0.06);
}

.stz-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  font-size: 0.9375rem;
}

.stz-hours-row span:first-child {
  font-weight: 600;
  color: var(--stz-navy);
}

.stz-hours-row span:last-child {
  color: var(--stz-slate);
}

/* Google Maps */
.stz-map-embed {
  width: 100%;
  background: var(--stz-gray);
}

.stz-map-embed iframe {
  width: 100%;
  display: block;
}

/* ==========================================================================
   Blog / Resources — Vertical Article List
   ========================================================================== */

/* Vertical stack of articles */
.stz-article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Article meta (date, read time) */
.stz-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stz-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.stz-article-meta-sep {
  color: rgba(27, 42, 74, 0.2);
}

/* Read link with arrow */
.stz-article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stz-red);
  text-decoration: none;
  transition: all 0.2s;
}

.stz-article-read-link:hover {
  color: var(--stz-red-dark);
  gap: 0.75rem;
}

/* Article card — full-width stacked */
.stz-article-card {
  position: relative;
  background: var(--stz-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 42, 74, 0.05);
  transition: all 0.3s;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stz-article-card { padding: 2.5rem 3rem; }
}

.stz-article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 30, 58, 0.12);
}

.stz-article-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--stz-red);
  border-radius: 4px 0 0 4px;
}

.stz-article-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.stz-article-card-title a {
  color: var(--stz-navy);
  text-decoration: none;
  transition: color 0.2s;
}

.stz-article-card-title a:hover { color: var(--stz-red); }

.stz-article-card-excerpt {
  font-size: 1rem;
  color: var(--stz-slate);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 48rem;
}

/* ==========================================================================
   Single Post — Reading Progress Bar
   ========================================================================== */
.stz-article-progress {
  position: fixed;
  top: 5rem; /* below fixed header */
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--stz-red) 0%, var(--stz-red-light) 100%);
  z-index: 40;
  transition: width 0.1s linear;
}

/* Article body refinements */
.stz-article-body {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.stz-article-body h2:first-child {
  margin-top: 0;
}

/* Override link styles inside article body */
.stz-article-body p:first-of-type {
  font-size: 1.125rem;
  line-height: 1.8;
}
