/* ===========================
   CANYON CONTROLS WEBSITE CSS
   Modern, Premium, Clean Design
   =========================== */

/* ========== TYPOGRAPHY & IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --primary-green: #1F4D2E;
  --primary-green-dark: #163A22;
  --secondary-orange: #E58A2B;
  --secondary-orange-dark: #D17620;
  --tertiary-sand: #F4EFE6;
  --dark-bg: #1a1a1a;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-light: #666666;
  --bg-light: #fafafa;
  --border-light: #eee;
  --border-lighter: #ddd;
  --white: #ffffff;
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

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

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

/* ========== NAVBAR / NAVIGATION ========== */
.navbar {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-logo {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.nav-logo img {
  height: 100%;
  object-fit: contain;
}

/* Logo class (used in switch.html) */
.logo {
  height: 60px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-orange);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--secondary-orange);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-active,
.nav-link.active {
  color: var(--secondary-orange);
}

.nav-link.nav-active::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  min-width: 160px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 100;
  margin-top: 8px;
}

.dropdown-menu a,
.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  transition: background-color var(--transition);
}

.dropdown-menu a:hover,
.dropdown-link:hover {
  background-color: var(--bg-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .nav-container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }

  .nav-logo {
    padding: 8px 0;
    height: 70px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-open .nav-menu {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    z-index: 1001;
  }

  .nav-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .nav-link {
    display: block;
    padding: 12px 24px;
    text-align: center;
    font-size: 1rem;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown > a {
    display: block;
    padding: 12px 24px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: var(--bg-light);
    border-radius: 0;
    margin-top: 0;
    min-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 300px;
    padding: 4px 0;
  }

  .dropdown-menu a {
    padding: 10px 24px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
  }

  .dropdown-menu a:hover {
    background-color: rgba(31, 77, 46, 0.05);
    color: var(--primary-green);
  }
}

/* ========== HERO SECTIONS ========== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-green) 0%, #2d6b3f 50%, var(--secondary-orange) 100%);
  overflow: hidden;
}

.hero-products,
.hero-green {
  min-height: 45vh;
  background-color: var(--primary-green);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.canyon-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  color: var(--white);
  font-size: 3.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========== HERO SPLIT LAYOUT ========== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 48px;
  align-items: center;
}

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

.hero-image-wrapper,
.hero-image {
  background-color: transparent;
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-right,
.hero-content {
  text-align: left;
  color: var(--text-primary);
}

.hero-right h1,
.hero-split h1 {
  color: var(--primary-green);
  margin-bottom: 16px;
}

.hero-right .hero-description,
.hero-split .hero-description {
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }

  .hero-right,
  .hero-content {
    text-align: center;
  }
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
  align-items: center;
}

.breadcrumb a {
  color: var(--primary-green);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-orange);
}

.breadcrumb-separator {
  color: #ccc;
}

.breadcrumb-current {
  color: #999;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--secondary-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-green);
  border: 2px solid var(--white);
}

.btn-light:hover {
  background-color: var(--bg-light);
}

.btn-link {
  color: var(--secondary-orange);
  background: none;
  padding: 0;
  border: none;
  font-weight: 600;
  box-shadow: none;
}

.btn-link:hover {
  color: var(--primary-green);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* ========== SECTIONS ========== */
section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title,
.section-heading {
  text-align: center;
  color: var(--primary-green);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 48px;
  font-size: 2.5rem;
  line-height: 1.2;
}

/* ========== BRAND STATEMENT ========== */
.brand-statement {
  background-color: var(--tertiary-sand);
  text-align: center;
  padding: 80px 24px;
}

.statement-heading {
  color: var(--primary-green);
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 24px;
}

.statement-divider {
  width: 60px;
  height: 3px;
  background-color: var(--secondary-orange);
  margin: 0 auto 24px;
}

.statement-text {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ========== PRODUCT SHOWCASE (HOME PAGE) ========== */
.product-showcase {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

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

.product-image-container {
  background-color: transparent;
  padding: 32px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-container .product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-content {
  padding: 28px;
}

.product-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 4px;
  padding: 24px 24px 0;
  line-height: 1.3;
}

.product-subtitle {
  color: var(--secondary-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 0 24px;
  margin-bottom: 8px;
}

.product-description,
.product-summary {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 24px;
  margin-bottom: 16px;
}

.product-link {
  color: var(--secondary-orange);
  font-weight: 600;
  padding: 0 24px 24px;
  display: inline-block;
  transition: color var(--transition);
}

.product-link:hover {
  color: var(--primary-green);
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== WHY CANYON / FEATURES ========== */
.why-canyon {
  background-color: var(--white);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--tertiary-sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
  font-size: 2rem;
  color: var(--primary-green);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-green);
  color: var(--white);
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== CONFIGURATOR CTA ========== */
.configurator-cta {
  background-color: var(--primary-green);
  text-align: center;
  padding: 80px 24px;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-heading {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.cta-text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ========== CTA SECTION (PRODUCTS PAGE) ========== */
.cta-section {
  background-color: var(--primary-green);
  text-align: center;
  padding: 60px 24px;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 2rem;
}

.cta-button {
  background-color: var(--secondary-orange);
  color: var(--white);
}

.cta-button:hover {
  background-color: var(--secondary-orange-dark);
}

/* ========== PRODUCTS PAGE - PRODUCT SECTIONS ========== */
.product-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
}

.product-section:nth-child(even) {
  background-color: var(--bg-light);
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-container.reverse {
  direction: rtl;
}

.product-container.reverse > * {
  direction: ltr;
}

.product-container .product-image {
  position: relative;
}

.product-container .product-card {
  background-color: transparent;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.product-container .product-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.product-container .product-content h2 {
  color: var(--primary-green);
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-container .product-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-container,
  .product-container.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .product-container.reverse > * {
    direction: ltr;
  }
}

/* ========== SPECS PILLS ========== */
.specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  background-color: var(--tertiary-sand);
  color: var(--primary-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

/* ========== FINISHES / THUMBNAILS ========== */
.finishes-section {
  margin-bottom: 24px;
}

.finishes-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.finishes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.finish-thumbnail {
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 8px;
  overflow: hidden;
}

.finish-thumbnail img {
  width: 100%;
  height: auto;
  background-color: #e5e5e5;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.finish-thumbnail:hover img {
  border-color: var(--secondary-orange);
}

.finish-thumbnail p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .finishes-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== PRODUCT DETAIL PAGE ========== */
.finish-gallery {
  margin: 32px 0;
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.finish-card {
  background-color: transparent;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.finish-card:hover,
.finish-card.active {
  border-color: var(--secondary-orange);
}

.finish-card img {
  width: 100%;
  object-fit: contain;
  height: 200px;
}

.caption {
  text-align: center;
  color: var(--text-primary);
  font-size: 0.85rem;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .finish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== DETAIL SECTIONS ========== */
.detail-closeup {
  padding: 80px 24px;
  background-color: var(--bg-light);
}

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

.description {
  color: var(--text-secondary);
  line-height: 1.8;
}

.subtitle {
  color: var(--secondary-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

/* ========== SPECIFICATIONS TABLE ========== */
.specifications {
  padding: 80px 0;
}

.spec-table,
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table tr,
.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-table tr:last-child,
.specs-table tr:last-child {
  border-bottom: none;
}

.spec-table td,
.spec-table th,
.specs-table td,
.specs-table th {
  padding: 16px 24px;
  text-align: left;
}

.spec-label {
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-light);
  width: 40%;
  font-family: 'Montserrat', sans-serif;
}

.spec-value {
  color: var(--text-secondary);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 80px 0;
  background-color: var(--tertiary-sand);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step,
.step-card {
  text-align: center;
  background-color: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.step-icon,
.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== RELATED PRODUCTS ========== */
.related-products {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.products-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.products-grid .product-card,
.related-grid .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.products-grid .product-card img,
.related-grid .product-card img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.products-grid .product-card h3,
.related-grid .product-card h3 {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .products-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CONFIGURATIONS ========== */
.configurations {
  padding: 80px 0;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.config-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.config-card:hover {
  transform: translateY(-4px);
}

.config-image {
  background-color: transparent;
  padding: 24px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.config-image img {
  max-height: 100%;
  object-fit: contain;
}

.config-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 16px 16px 4px;
  color: var(--text-primary);
}

.config-description {
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0 16px 16px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========== COLOR OPTIONS ========== */
.color-options {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.color-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.color-image,
.color-image-wrapper {
  background-color: transparent;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.color-image img {
  max-width: 100%;
  object-fit: contain;
}

.color-name {
  text-align: center;
  padding: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========== DESIGN PHILOSOPHY ========== */
.design-philosophy {
  padding: 80px 24px;
  background-color: var(--tertiary-sand);
}

.philosophy-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ========== USE CASE GUIDE ========== */
.use-case-guide {
  padding: 80px 0;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.use-case-item {
  background-color: var(--white);
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid var(--secondary-orange);
  box-shadow: var(--shadow-sm);
}

.use-case-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.use-case-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .use-cases {
    grid-template-columns: 1fr;
  }
}

/* ========== ABOUT PAGE ===== */
.brand-story {
  padding: 80px 24px;
  background-color: var(--tertiary-sand);
}

.values-section {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ECOSYSTEM SECTION ========== */
.ecosystem-intro {
  padding: 60px 24px;
  background-color: var(--tertiary-sand);
  text-align: center;
}

.ecosystem-description {
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.ecosystem-diagram {
  max-width: 400px;
  margin: 0 auto;
}

.ecosystem-section {
  padding: 80px 0;
}

.ecosystem-box {
  background-color: var(--bg-light);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.ecosystem-connector,
.ecosystem-devices,
.ecosystem-item {
  margin: 16px 0;
}

.ecosystem-note {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form-wrapper,
.contact-info-wrapper {
  background-color: var(--white);
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-lighter);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(31, 77, 46, 0.1);
}

.required {
  color: #C62828;
}

.error-message {
  color: #C62828;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.error-message.show {
  display: block;
}

.submit-button {
  width: 100%;
  padding: 14px 28px;
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.submit-button:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.success-message {
  background-color: #E8F5E9;
  color: #2E7D32;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #2E7D32;
  display: none;
  margin-bottom: 16px;
}

.success-message.show {
  display: block;
}

.map-placeholder {
  background-color: #f0f0f0;
  height: 200px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

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

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-toggle {
  color: var(--secondary-orange);
  font-size: 1.4rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

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

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== SEPARATOR ========== */
.separator {
  width: 60px;
  height: 3px;
  background-color: var(--secondary-orange);
  margin: 0 auto 24px;
}

/* ========== DARK BACKGROUND ========== */
.dark-bg {
  background-color: var(--dark-bg);
  color: var(--white);
}

.dark-bg a {
  color: var(--secondary-orange);
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--primary-green);
  padding: 64px 24px 32px;
}

.footer-content,
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4,
.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

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

.footer-logo img,
.footer-branding img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 250px;
  margin-top: 12px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* ========== KEY FEATURES (SENSOR PAGE) ========== */
.key-features {
  padding: 80px 0;
}

.feature-box {
  background-color: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-box .feature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.feature-box .feature-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-orange);
  transform: translateY(-2px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mb-32 {
  margin-bottom: 32px;
}

.fade-in-down {
  animation: fadeInDown 0.6s ease;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease;
}

/* ========== ADDITIONAL RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .section-title,
  .section-heading {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  .statement-heading {
    font-size: 1.5rem;
  }

  .product-container .product-content h2 {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .scroll-indicator {
    bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title,
  .section-heading {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

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