/**
 * Wooley Manufacturing - Joomla 5.4 Template Stylesheet
 * Matches style of the Wooley Manufacturing one-page site
 */

/* ===================== CUSTOM PROPERTIES ===================== */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --steel: #1e2022;
  --gray: #2c2c2c;
  --mid: #444;
  --light-gray: #888;
  --silver: #c0c0c0;
  --white: #f4f4f4;
  --orange: #e8610a;
  --orange-bright: #ff7b1f;
  --orange-dim: #7a3205;
  --nav-height: 72px;
  --section-padding: 7rem 4rem;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  cursor: default;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===================== NOISE OVERLAY ===================== */
.noise-overlay {
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ===================== NAV ===================== */
#wooley-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 97, 10, 0.2);
  height: var(--nav-height);
  transition: background 0.3s;
}

#wooley-nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span { color: var(--orange); }

/* Nav links — works with Joomla menu module or fallback HTML */
#wooley-nav .nav-links,
#wooley-nav nav ul,
#wooley-nav ul.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

#wooley-nav .nav-links a,
#wooley-nav nav ul li a,
#wooley-nav ul.nav-links li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s;
}

#wooley-nav .nav-links a:hover,
#wooley-nav nav ul li a:hover {
  color: var(--orange);
}

#wooley-nav .nav-cta,
#wooley-nav .nav-links li:last-child a {
  background: var(--orange) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.4rem !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

#wooley-nav .nav-cta:hover,
#wooley-nav .nav-links li:last-child a:hover {
  background: var(--orange-bright) !important;
  color: var(--black) !important;
}

/* Active menu item */
#wooley-nav .nav-links li.current a,
#wooley-nav nav ul li.active a {
  color: var(--orange);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  transition: all 0.3s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.3s;
}

.mobile-nav-drawer[hidden] { display: none; }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-links a:hover { color: var(--orange); }
.mobile-nav-links .nav-cta { color: var(--orange) !important; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 4rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-tag::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-top: 0.3rem;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(232, 97, 10, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.015) 20px,
      rgba(255, 255, 255, 0.015) 21px
    );
  z-index: 1;
}

.hero-right-inner {
  position: absolute;
  inset: 0;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.hero-graphic {
  width: 80%;
  max-width: 320px;
  aspect-ratio: 1;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(232, 97, 10, 0.4));
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  background: var(--orange);
  color: var(--black);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  animation: spin-badge 20s linear infinite;
}

@keyframes spin-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--orange);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  line-height: 1;
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--silver);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--mid);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.btn-secondary:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ===================== MARQUEE ===================== */
.marquee-strip {
  background: var(--orange);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 2rem;
}

.marquee-item::after {
  content: '◆';
  margin-left: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SECTION COMMONS ===================== */
section {
  padding: var(--section-padding);
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-tag::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

/* ===================== ABOUT ===================== */
#about {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-text p strong {
  color: var(--white);
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray);
}

.feature-box {
  background: var(--steel);
  padding: 2rem;
  transition: background 0.2s;
}

.feature-box:hover { background: #252829; }

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--light-gray);
  line-height: 1.5;
}

/* ===================== SERVICES ===================== */
#services {
  background: var(--black);
  position: relative;
}

#services::before {
  content: 'SERVICES';
  position: absolute;
  top: 3rem;
  right: 2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

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

.service-card {
  background: var(--dark);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--orange);
  transition: height 0.4s ease;
}

.service-card:hover::before { height: 100%; }
.service-card:hover { background: #161616; }

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: rgba(232, 97, 10, 0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.service-card:hover .service-num { color: rgba(232, 97, 10, 0.25); }

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-list li::before {
  content: '—';
  color: var(--orange);
}

/* ===================== QUOTE FORM ===================== */
#quote {
  background: var(--steel);
  position: relative;
  overflow: hidden;
}

#quote::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 97, 10, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-gray);
  margin-bottom: 3rem;
}

/* Joomla Contact Form overrides */
.quote-form,
#quote .contact-form,
#quote form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group,
#quote .control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full,
#quote .control-group.full-width {
  grid-column: 1 / -1;
}

.form-group label,
#quote label,
#quote .control-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

.form-group input,
.form-group select,
.form-group textarea,
#quote input,
#quote select,
#quote textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gray);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
#quote input:focus,
#quote select:focus,
#quote textarea:focus {
  border-color: var(--orange);
  background: rgba(232, 97, 10, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
#quote input::placeholder,
#quote textarea::placeholder {
  color: var(--mid);
}

.form-group textarea,
#quote textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select option,
#quote select option {
  background: var(--dark);
}

.form-submit,
#quote .form-actions,
#quote .btn-group {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8rem;
  color: var(--light-gray);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
}

.btn-submit,
#quote button[type="submit"],
#quote input[type="submit"] {
  background: var(--orange);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border-radius: 0;
}

.btn-submit:hover,
#quote button[type="submit"]:hover,
#quote input[type="submit"]:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

/* ===================== CONTACT ===================== */
#contact {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-info p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--white);
}

.contact-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-value a:hover { color: var(--orange); }

/* Map Placeholder */
.map-placeholder {
  background: var(--steel);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg, transparent, transparent 39px,
      rgba(255, 255, 255, 0.03) 39px, rgba(255, 255, 255, 0.03) 40px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 39px,
      rgba(255, 255, 255, 0.03) 39px, rgba(255, 255, 255, 0.03) 40px
    );
}

.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.map-pin-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(232, 97, 10, 0.5));
}

.map-pin-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--black);
  border-top: 1px solid var(--gray);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-logo span { color: var(--orange); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--light-gray);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===================== FADE ANIMATIONS ===================== */
.fade-enabled .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-enabled .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== COMPONENT AREA ===================== */
/* Joomla component output (used in #quote by default, or on inner pages) */
.site-component {
  min-height: 20vh;
}

/* ===================== ERROR / OFFLINE PAGES ===================== */
.error-page,
.offline-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--black);
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  color: var(--orange);
  line-height: 1;
}

.error-message {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin: 1rem 0 2rem;
  font-weight: 300;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  :root { --section-padding: 5rem 3rem; }

  #wooley-nav { padding: 1rem 2rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 3rem 3rem; min-height: calc(100vh - var(--nav-height)); }

  #about, #contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 3rem;
  }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem 1.5rem; }

  #wooley-nav { padding: 1rem 1.5rem; }
  #wooley-nav .nav-links,
  #wooley-nav nav ul { display: none; }
  .nav-hamburger { display: flex; }

  .hero-left { padding: 3rem 1.5rem; }
  .hero-stats { gap: 2rem; }

  .about-features { grid-template-columns: 1fr; }

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

  footer { padding: 2rem 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  #services::before { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 3.5rem; }
  .stat-num { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
}

/* ===================== FLUID CONTAINER ===================== */
/*
 * When fluidContainer = ON in template params, the body gets the .fluid class.
 * Sections stretch edge-to-edge with no max-width cap.
 * When OFF (default), sections are constrained to a comfortable reading width.
 */

/* Default (non-fluid): cap content width on very wide screens */
body:not(.fluid) section,
body:not(.fluid) nav,
body:not(.fluid) footer {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Fluid: full bleed, no max-width restriction */
body.fluid section,
body.fluid #wooley-nav,
body.fluid footer {
  max-width: 100%;
  width: 100%;
}

/* Either mode: nav stays fixed full-width */
#wooley-nav {
  max-width: 100% !important;
  width: 100%;
}

/* Fluid mode: bump up internal padding on wide screens so content
   doesn't kiss the edges */
@media (min-width: 1400px) {
  body.fluid section {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  body.fluid #wooley-nav {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  body.fluid footer {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

@media (min-width: 1800px) {
  body.fluid section {
    padding-left: 8rem;
    padding-right: 8rem;
  }
  body.fluid #wooley-nav {
    padding-left: 8rem;
    padding-right: 8rem;
  }
  body.fluid footer {
    padding-left: 8rem;
    padding-right: 8rem;
  }
}

/* ===================== PRINT ===================== */
@media print {
  .noise-overlay,
  #wooley-nav,
  .marquee-strip,
  .hero-badge,
  .hero-right { display: none !important; }

  body { background: white; color: black; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  section { padding: 2rem; }
}
