:root {
  /* Brand Colors */
  --primary-color: #232537;
  --secondary-color: #ff7c1f;
  
  /* Neutral Colors */
  --bg-color: #ffffff;
  --bg-alt: #f9fafb;
  --bg-alt-2: #f3f4f6;
  --text-main: #374151;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  
  /* Typography */
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --container-width: 1400px;
  --header-height: 80px;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

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

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  opacity: 1;
}

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

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: white;
  opacity: 1;
}

/* Header */
.site-header {
  background-color: #ffffff;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  max-width: 100%;
  padding: 0 2rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo img {
  height: 56px;
  display: block;
}

.header-inner .logo {
  margin-left: 0;
}

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

.logo:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.nav-links .btn {
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
}

.nav-links .btn:hover {
  color: white;
}

.nav-phone {
  font-weight: 600;
  white-space: nowrap;
}

.header-inner .nav-links {
  margin-right: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-credibility {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Product Card (Start Here) */
.main-product-card {
  background-color: var(--bg-alt);
  padding: 0;
  border-radius: var(--radius);
  margin-bottom: 4rem;
  border: 2px solid var(--secondary-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 380px;
}

.main-product-card-img-wrapper {
  position: relative;
  border-right: 1px solid var(--border-color);
  min-height: 250px;
}

.main-product-card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-product-card-content {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}



/* Dropdown Menu */
.dropdown {
  position: static;
  display: inline-block;
}

.dropbtn {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  transition: var(--transition);
}

.dropdown:hover .dropbtn, .dropbtn:hover {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 100;
  border-radius: var(--radius);
  top: 100%;
  left: 0;
  border: 1px solid var(--border-color);
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
}

.dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--bg-alt);
  color: var(--secondary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Mega Menu */
.mega-menu-content {
  width: calc(100% - 4rem);
  max-width: 1200px;
  left: 50% !important;
  transform: translateX(-50%);
  top: 100%;
  padding: 2rem;
  border-top: 3px solid var(--secondary-color);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 2rem;
}

.mega-menu-col h4 {
  font-size: 1.125rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.mega-menu-col a {
  border-bottom: none !important;
  padding: 0.5rem 0 !important;
  color: var(--text-main) !important;
  font-weight: 400 !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.mega-menu-col a:hover {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
  padding-left: 0.5rem !important;
}

.mega-menu-col a.emergency-link {
  color: #ef4444 !important;
  font-weight: 600 !important;
}

/* Catalog Layout with Sticky Menu */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 40px;
}

.sticky-menu {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.sticky-menu h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sticky-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sticky-menu li {
  margin-bottom: 0.75rem;
}

.sticky-menu li:last-child {
  margin-bottom: 0;
}

.sticky-menu a {
  color: var(--text-main);
  font-weight: 500;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.sticky-menu a:hover {
  background-color: white;
  color: var(--secondary-color);
  padding-left: 0.75rem;
  box-shadow: var(--shadow-hover);
}

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

.product-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.product-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-meta {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.product-meta div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-meta div:last-child {
  margin-bottom: 0;
}

.product-price {
  font-weight: 700;
  color: var(--primary-color);
}

/* Feature Cards (Who We Help / Why Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  font-size: 1.25rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--border-color);
  line-height: 1;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-alt);
  color: var(--text-main);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-widget .logo img {
  height: 96px;
}

.footer-widget h4 {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-widget p {
  color: var(--text-light);
}

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

.footer-links a {
  color: var(--text-light);
}

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

/* Icon contact row, sits between the widgets and the dark bottom bar */
.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-contact-item:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.footer-contact-item svg {
  color: var(--secondary-color);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Dark bottom bar with a curved orange accent flowing up from it, echoing the letterhead */
.footer-bottom-wrap {
  position: relative;
  background-color: var(--primary-color);
  overflow: hidden;
  margin-top: 1rem;
}

.footer-bottom-wrap::before {
  content: '';
  position: absolute;
  top: -95px;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  clip-path: path('M0,190.9 C54.5,81.8 190.9,27.3 300,0 L300,300 L0,300 Z');
  transform-origin: top right;
  pointer-events: none;
}

.footer-minimal {
  background-color: transparent;
  padding: 0;
}

.footer-minimal .footer-bottom-wrap {
  margin-top: 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 124, 31, 0.2);
}

/* Product Page Specifics */
.product-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.product-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-hero p.lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin-bottom: 2rem;
}

.product-hero-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-hero-meta > div {
  display: flex;
  flex-direction: column;
}

.product-hero-meta .label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-hero-meta .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.product-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section ul li {
  margin-bottom: 0.5rem;
}

.sidebar-card {
  background-color: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.product-content-grid > div:last-child {
  position: sticky;
  top: 120px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.faq-answer {
  display: none;
  padding-top: 1rem;
  color: var(--text-main);
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Responsive */
@media (max-width: 992px) {
  .main-product-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .main-product-card-img-wrapper {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    height: 300px;
    min-height: 300px;
  }

  .catalog-layout,
  .process-grid,
  .product-content-grid,
  .footer-grid,
  .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none;
  }

  .product-content-grid {
    gap: 2rem;
  }

  .footer-bottom-wrap::before {
    transform: scale(0.65);
  }
}

@media (max-width: 768px) {
  #products .text-center p.text-light {
    white-space: normal;
  }

  .nav-links {
    display: none; /* Mobile menu logic via JS */
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.05);
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-links .btn {
    margin: 1rem 0 0 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-contact-row > div {
    margin-left: 0 !important;
    justify-content: center;
  }

  .footer-bottom-wrap::before {
    display: none;
  }
  
  .product-hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Legal Pages (Privacy Policy / Terms of Service) */
.legal-hero {
  background-color: var(--primary-color);
  padding: 3.5rem 0 2.5rem;
}

.legal-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-hero .legal-updated {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 1rem 1.5rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--secondary-color);
}

.legal-note {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-light);
}
