/* ============================================
   Mid-America Safety Corp (MASC) — Main Styles
   Modern, professional, patriotic design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1a365d;
  --primary-light: #2a4a7f;
  --primary-dark: #0f2440;
  --secondary: #c53030;
  --secondary-light: #e53e3e;
  --accent: #2b6cb0;
  --accent-light: #3182ce;
  --white: #ffffff;
  --off-white: #f7fafc;
  --light-gray: #edf2f7;
  --mid-gray: #a0aec0;
  --dark-gray: #4a5568;
  --text: #2d3748;
  --text-light: #718096;
  --success: #38a169;
  --gold: #d69e2e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --max-width: 1280px;
  --header-height: 80px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-main);
  --amazon: #ff9900;
  --amazon-hover: #ffad33;
  --near-black: #111;
  --row-hover: #ebf4ff;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }

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

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: var(--light-gray);
  transition: color var(--transition);
}

.top-bar a:hover { color: var(--white); }

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right .made-usa {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--white);
}

.top-bar-right .made-usa img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* --- Header / Navigation --- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Desktop Navigation */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--primary);
  background: var(--off-white);
}

.nav-list > li > a .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-list > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  border: 1px solid var(--light-gray);
}

.nav-list > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.dropdown a:hover {
  background: var(--off-white);
  color: var(--primary);
  padding-left: 24px;
}

/* Amazon CTA button in nav */
.nav-cta {
  margin-left: 12px;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--secondary);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-cta a:hover {
  background: var(--secondary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 1;
}

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

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-amazon {
  background: var(--amazon);
  color: var(--near-black);
  border-color: var(--amazon);
  font-weight: 700;
}

.btn-amazon:hover {
  background: var(--amazon-hover);
  border-color: var(--amazon-hover);
  color: var(--near-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* --- Pillars / Feature Cards --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--off-white);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.niosh {
  background: var(--success);
}

.product-badge.fda {
  background: var(--accent);
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-card-body .model {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 16px;
  flex: 1;
}

.product-card-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.product-card-body .tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--off-white);
  color: var(--text-light);
  font-weight: 500;
  border: 1px solid var(--light-gray);
}

.product-card-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 10px;
}

.product-card-footer .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* --- Image Carousel / Slider --- */
.image-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  min-width: 100%;
  height: 400px;
  object-fit: contain;
  background: var(--off-white);
  padding: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mid-gray);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.comparison-table thead {
  background: var(--primary);
  color: var(--white);
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
}

.comparison-table td:first-child {
  min-width: 140px;
  white-space: nowrap;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.comparison-table tbody tr:hover {
  background: var(--row-hover);
}

.comparison-table .check { color: var(--success); font-weight: bold; }
.comparison-table .cross { color: var(--mid-gray); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary);
  padding: 24px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  text-align: center;
  color: var(--white);
}

.stat-item {
  white-space: nowrap;
  padding: 8px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.stat-item:not(:last-child)::after {
  content: "–";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}

.stat-item .stat-number {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-main);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--off-white); }

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* --- Certifications Grid --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

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

.cert-card .cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.cert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.75;
}

.cert-card p:last-child {
  margin-bottom: 0;
}

.cert-card-body {
  text-align: left;
  margin-top: 16px;
}

.cert-card-body .cert-detail {
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--light-gray);
}

.cert-card-body h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 12px;
}

.cert-card-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 18px;
}

.cert-card-body ul li {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.6;
}

.cert-card-body p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.cert-card .cert-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  margin-bottom: 8px;
}

.cert-card .cert-image {
  margin: 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cert-card .cert-image img {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* --- Product Detail Page --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-images {
  position: sticky;
  top: 100px;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.product-detail-info .model-number {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-detail-info .description {
  font-size: 1.05rem;
  color: var(--dark-gray);
  margin-bottom: 24px;
  line-height: 1.8;
}

.spec-list {
  margin-bottom: 24px;
}

.spec-list dt {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-list dd {
  color: var(--dark-gray);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-gray);
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary-dark);
  color: var(--light-gray);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 20px;
}

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

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

.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

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

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: var(--mid-gray);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col .contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.footer-badges img {
  height: 40px;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-badges img:hover { opacity: 1; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

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

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.6;
}

.cookie-inner p a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.cookie-buttons .btn-decline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.cookie-buttons .btn-decline:hover {
  border-color: var(--white);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: '/'; color: var(--mid-gray); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .current { color: var(--text); font-weight: 500; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- Content Formatting --- */
.content-block { margin-bottom: 32px; }
.content-block h2 { margin-bottom: 16px; }
.content-block h3 { margin-bottom: 12px; }
.content-block p { margin-bottom: 16px; }

.content-block ul, .content-block ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-block ul { list-style: disc; }
.content-block ol { list-style: decimal; }
.content-block li { margin-bottom: 8px; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Scroll-to-Top --- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-image { order: 0; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-images { position: static; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .top-bar { display: none; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 80px 24px 24px;
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .main-nav.open { right: 0; }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--light-gray);
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 0 16px;
  }

  .dropdown.open { display: block; }

  .dropdown a {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-cta {
    margin: 16px 0 0;
    width: 100%;
  }

  .nav-cta a {
    width: 100%;
    justify-content: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-overlay.active { display: block; }

  .hero { min-height: auto; }
  .hero .container { padding-top: 40px; padding-bottom: 40px; }
  .hero-image img { max-height: 280px; }

  .section { padding: 50px 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 4px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { padding: 6px 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }

  .cookie-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .product-actions { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

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

.animate {
  opacity: 0;
  transform: translateY(30px);
}

.animate.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.animate.visible:nth-child(2) { animation-delay: 0.1s; }
.animate.visible:nth-child(3) { animation-delay: 0.2s; }
.animate.visible:nth-child(4) { animation-delay: 0.3s; }
.animate.visible:nth-child(5) { animation-delay: 0.4s; }
.animate.visible:nth-child(6) { animation-delay: 0.5s; }

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible,
.carousel-btn:focus-visible,
.dot:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.nav-cta a:focus-visible {
  outline-color: var(--white);
}

/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  .animate {
    opacity: 1;
    transform: none;
  }
}

/* --- Print Stylesheet --- */
@media print {
  .site-header, .top-bar, .cookie-banner, .scroll-top,
  .nav-overlay, .menu-toggle, .nav-cta, .cta-banner,
  .hero-buttons, .btn, footer.site-footer {
    display: none !important;
  }
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  .hero {
    background: #fff !important;
    color: #000 !important;
    min-height: auto !important;
    padding: 20px 0 !important;
  }
  .hero h1, .hero p {
    color: #000 !important;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }
  .faq-answer {
    max-height: none !important;
    overflow: visible !important;
  }
  .section, .section-alt {
    background: #fff !important;
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}
