/* ============================================
   Variables & Base Styles
============================================ */
:root {
  /* Color Palette */
  --color-primary: #333333;
  --color-primary-dark: #222222;
  --color-primary-light: #666666;
  --color-secondary: #8c7851;
  --color-secondary-dark: #6a5b3e;
  --color-secondary-light: #a99978;
  --color-accent: #d4b16a;
  --color-accent-dark: #b99248;
  --color-accent-light: #e6cfa0;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-off-white: #f8f8f8;
  --color-light-gray: #e9e9e9;
  --color-gray: #c5c5c5;
  --color-dark-gray: #565656;
  --color-black: #111111;
  
  /* UI Colors */
  --color-success: #43a047;
  --color-warning: #ff9800;
  --color-error: #e53935;
  --color-info: #2196f3;
  
  /* Text Colors */
  --text-primary: var(--color-primary);
  --text-secondary: var(--color-primary-light);
  --text-light: var(--color-white);
  --text-accent: var(--color-accent);
  
  /* Background Colors */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-off-white);
  --bg-accent: var(--color-accent);
  --bg-dark: var(--color-primary);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-round: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 400;
  --z-index-modal: 500;
  --z-index-popover: 600;
  --z-index-tooltip: 700;
  
  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-dark);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

p {
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--color-secondary-dark);
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--spacing-md);
}

/* ============================================
   Utility Classes
============================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

/* ============================================
   Buttons
============================================ */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

/* ============================================
   Header
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-index-sticky);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo h1 {
  margin-bottom: 0;
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.logo a {
  color: var(--color-primary);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li:not(:last-child) {
  margin-right: var(--spacing-lg);
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--spacing-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.main-nav a:hover {
  color: var(--color-accent);
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    transition: left var(--transition-normal);
    z-index: var(--z-index-dropdown);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: var(--spacing-lg);
  }
  
  .main-nav li {
    margin-right: 0 !important;
    margin-bottom: var(--spacing-lg);
  }
  
  .main-nav a {
    display: block;
    font-size: var(--font-size-lg);
  }
}

/* ============================================
   Hero Section
============================================ */
.hero {
  padding: 160px 0 120px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-lg);
  font-size: 3.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: #FFFFFF;
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-content p {
    font-size: var(--font-size-lg);
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

/* ============================================
   Products Section
============================================ */
.products-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 1;
}

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

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

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: var(--spacing-lg);
}

.card-content h3 {
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  margin-top: auto;
}

.product-price {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-secondary);
}

.product-rating {
  display: flex;
  align-items: center;
}

.product-rating span:first-child {
  color: var(--color-accent);
  margin-right: var(--spacing-xs);
}

.rating-count {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* Timeline */
.products-timeline {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--color-light-gray);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: var(--spacing-xl);
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: var(--spacing-md);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
    margin-left: 60px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: 100%;
  }
}

/* ============================================
   Services Section
============================================ */
.services-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-progress {
  max-width: 800px;
  margin: 0 auto;
}

.progress-container {
  margin-top: var(--spacing-lg);
}

.progress-item {
  margin-bottom: var(--spacing-md);
}

.progress-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.progress-bar {
  height: 8px;
  background-color: var(--color-light-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: width 1.5s ease-in-out;
}

.progress-fill::after {
  content: attr(data-value);
  position: absolute;
  right: var(--spacing-xs);
  top: -24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-secondary);
}

/* ============================================
   Mission Section
============================================ */
.mission-section {
  padding: var(--spacing-xl) 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-light);
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.mission-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.mission-section .section-title {
  color: var(--color-white);
}

.mission-section .section-title::after {
  background-color: var(--color-white);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.value-item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.value-item h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.value-item p {
  color: var(--color-light-gray);
}

/* ============================================
   Gallery Section
============================================ */
.gallery-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::before {
  opacity: 1;
}

/* ============================================
   Resources Section
============================================ */
.resources-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-secondary);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.resource-card {
  padding: var(--spacing-lg);
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

.resource-card a {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-weight: 500;
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* ============================================
   Clientele Section
============================================ */
.clientele-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-primary);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-content {
  padding: var(--spacing-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  margin-bottom: var(--spacing-md);
}

.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--bg-secondary);
  transform-origin: center;
  transform: translateX(-50%) rotate(45deg);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: var(--spacing-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-md);
}

.author-info h4 {
  margin-bottom: 0;
  font-size: var(--font-size-md);
}

.author-info p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ============================================
   Insights Section
============================================ */
.insights-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-secondary);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.insight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.insight-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.insight-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.insight-card .card-content {
  padding: var(--spacing-lg);
}

.insight-card h3 {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   Contact Section
============================================ */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info .info-item {
  margin-bottom: var(--spacing-lg);
}

.contact-info h3 {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
}

.contact-map {
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form {
  padding: var(--spacing-xl);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-secondary);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px rgba(140, 120, 81, 0.2);
}

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

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.footer-logo p {
  color: var(--color-gray);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.footer-column h3 {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li:not(:last-child) {
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  color: var(--color-gray);
  transition: color var(--transition-fast);
}

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

.social-links li {
  margin-bottom: var(--spacing-sm);
}

.social-links a {
  display: inline-block;
  color: var(--color-gray);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 0;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
}

.heart {
  color: var(--color-error);
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom p:first-child {
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Modal
============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-index-modal);
  overflow-y: auto;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1;
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--color-error);
}

.modal-body {
  padding: var(--spacing-xl);
}

.product-quick-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.product-info h3 {
  margin-bottom: var(--spacing-sm);
}

.product-info .product-price {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

.product-description {
  margin-bottom: var(--spacing-lg);
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-light-gray);
  border: none;
  font-size: var(--font-size-lg);
  cursor: pointer;
}

.quantity-selector input {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--color-light-gray);
  font-size: var(--font-size-md);
  -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .product-quick-view {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    margin-bottom: var(--spacing-lg);
  }
}

/* ============================================
   Additional Pages
============================================ */
.page-content {
  padding: 120px 0 var(--spacing-xl);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
}

.success-container {
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 72px;
  color: var(--color-success);
  margin-bottom: var(--spacing-lg);
}

.success-message h2 {
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary);
}

.success-message p {
  margin-bottom: var(--spacing-lg);
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2,
.terms-content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary);
}

.privacy-content h3,
.terms-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

/* ============================================
   Animations
============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideRight {
  from { 
    opacity: 0;
    transform: translateX(-20px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ============================================
   Cookie Consent
============================================ */
#cookie-consent {
  animation: slideUp 0.5s ease-out;
}

#accept-cookies:hover {
  background-color: #f0f0f0;
}

/* ============================================
   Responsive Adjustments
============================================ */
@media (max-width: 1200px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
  }
  
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

@media (max-width: 992px) {
  .card-image {
    height: 220px;
  }
  
  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
  }
  
  .products-grid,
  .services-grid,
  .insights-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-2xl);
  }
}