/* -------------------------------------------------------------
   SERVIDIVERSA S.A. - Modern Corporate & Agro-Export Design System
   Optimized for Cloudflare Pages & Ultra Fast Performance
   ------------------------------------------------------------- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Design Tokens & CSS Variables */
:root {
  /* Color Palette */
  --primary-900: #062316;
  --primary-800: #0d3824;
  --primary-700: #145336;
  --primary-600: #1b6d47;
  --primary-500: #228b5a;
  --primary-400: #38b479;
  --primary-300: #6ee7ad;
  --primary-100: #d1fae5;
  --primary-50:  #ecfdf5;

  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --accent-blue: #0284c7;

  --neutral-950: #0b0f17;
  --neutral-900: #0f172a;
  --neutral-800: #1e293b;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-500: #64748b;
  --neutral-400: #94a3b8;
  --neutral-300: #cbd5e1;
  --neutral-200: #e2e8f0;
  --neutral-100: #f1f5f9;
  --neutral-50:  #f8fafc;

  --white: #ffffff;
  
  /* Glassmorphism & Shadow Effects */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 20px 40px -15px rgba(6, 35, 22, 0.08);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(6, 35, 22, 0.15);
  --shadow-glow: 0 0 30px rgba(34, 139, 90, 0.25);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button, input, textarea, select {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Common Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--primary-100);
  color: var(--primary-800);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 720px;
  margin-bottom: 3rem;
}

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

.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* Top Bar Announcement Header */
.top-bar {
  background-color: var(--primary-900);
  color: var(--neutral-300);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary-400);
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--neutral-400);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

/* Main Navigation Bar (Sticky Glassmorphism) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-900);
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--neutral-700);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(13, 56, 36, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(13, 56, 36, 0.4);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-900);
  border-color: var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

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

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(245, 158, 11, 0.5);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--neutral-800);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(34, 139, 90, 0.12), transparent 50%),
              radial-gradient(circle at bottom left, rgba(6, 35, 22, 0.05), transparent 50%),
              var(--neutral-50);
  padding: 4rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(34, 139, 90, 0.1);
  border: 1px solid rgba(34, 139, 90, 0.2);
  border-radius: 9999px;
  color: var(--primary-800);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--primary-600);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--neutral-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-200);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--neutral-500);
  font-weight: 600;
}

/* Hero Showcase Slider */
.hero-image-wrapper {
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: var(--transition-normal);
  height: 480px;
  background: var(--neutral-900);
}

.hero-slider:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 35, 22, 0.92) 0%, rgba(6, 35, 22, 0.4) 60%, transparent 100%);
  padding: 2.2rem 2rem 1.8rem 2rem;
  color: var(--white);
  z-index: 2;
}

.hero-card-overlay h4 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-card-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  max-width: 90%;
}

/* Slider Controls */
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-slider-btn:hover {
  background: var(--white);
  color: var(--primary-700);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.hero-slider-btn.prev {
  left: 1.2rem;
}

.hero-slider-btn.next {
  right: 1.2rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-slider-dots .dot.active {
  width: 26px;
  border-radius: 12px;
  background: var(--primary-500);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.floating-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

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

.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-box {
  background: var(--neutral-50);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
  transition: var(--transition-fast);
}

.feature-box:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  padding: 2rem;
  border-radius: 20px;
  color: var(--white);
}

.mv-card.mision {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
}

.mv-card.vision {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
}

.mv-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--neutral-200);
  line-height: 1.6;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.product-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 35, 22, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

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

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--neutral-900);
}

.product-description {
  font-size: 0.95rem;
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spec-chip {
  font-size: 0.8rem;
  background: var(--neutral-100);
  color: var(--neutral-700);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Brands Section */
.brands-section {
  background: linear-gradient(to bottom, var(--white), var(--neutral-100));
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.brand-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-normal);
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}

.brand-logo-img {
  width: 100%;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition-normal);
}

.brand-card:hover .brand-logo-img {
  border-color: var(--primary-300);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.brand-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.brand-card p {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* Portfolio Filter Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--neutral-300);
  background: var(--white);
  color: var(--neutral-700);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 35, 22, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

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

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

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
}

.gallery-item-overlay p {
  font-size: 0.85rem;
  color: var(--primary-300);
}

/* Global Markets Grid */
.global-section {
  background: var(--primary-900);
  color: var(--white);
}

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

.global-section .section-description {
  color: var(--neutral-300);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.country-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.country-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-400);
  transform: translateY(-3px);
}

.flag-icon {
  font-size: 1.75rem;
}

.country-name {
  font-weight: 700;
  font-size: 1rem;
}

.clients-title {
  text-align: center;
  font-size: 1.2rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.clients-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.client-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-100);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

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

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--neutral-50);
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-card p, .info-card a {
  font-size: 0.95rem;
  color: var(--neutral-600);
}

.info-card a:hover {
  color: var(--primary-600);
}

/* Form Styling */
.contact-form {
  background: var(--neutral-50);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neutral-800);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-300);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--neutral-900);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(34, 139, 90, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 35, 22, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 650px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--primary-900);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--neutral-300);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.modal-body {
  padding: 2rem;;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-900);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--neutral-950);
  color: var(--neutral-400);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Media Queries & Responsive Layout */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: circle(140% at 100% 0);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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