/* =====================================================
   MGC SEEDS — STYLES
   Theme: White + Nature Green | Mobile-First
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --primary-50: #f0fdf4;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--gray-900);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

.text-green { color: var(--primary); }
.text-lightgreen { color: var(--green-300); }
.center { text-align: center; }
.mt-3 { margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
  height: var(--nav-height);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  line-height: 1;
  z-index: 1001;
}

.navbar.scrolled .nav-logo { color: var(--gray-900); }

.nav-logo img {
  height: 36px;
  width: auto;
  min-width: 36px;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.navbar.scrolled .nav-logo img {
  filter: none;
}

.nav-logo span {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

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

.navbar.scrolled .nav-link {
  color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, rgba(20,83,45,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 16px 60px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: var(--green-200);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 .text-green {
  color: var(--green-300);
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-300);
  font-family: var(--font-display);
}

.hero-stats .stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 8px auto 0;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ---------- Section Headers ---------- */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.section-tag.light { color: var(--green-300); }

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-500);
  max-width: 520px;
  font-size: 15px;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 400px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-img-accent {
  display: none;
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.exp-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-display);
}

.exp-text {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 16px;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 12px;
}

.about-content > p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-icon svg { width: 22px; height: 22px; }

.about-feature strong {
  display: block;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--gray-800);
  margin-bottom: 2px;
}

.about-feature span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ---------- Categories ---------- */
.categories-section {
  background: var(--gray-50);
}

.categories-section .section-header {
  margin-bottom: 40px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.category-img {
  height: 130px;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-info {
  padding: 14px;
}

.category-info h3 {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 4px;
}

.category-info span {
  font-size: 12px;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Why Section ---------- */
.why-section {
  position: relative;
  padding: 80px 0;
}

.why-bg {
  position: absolute;
  inset: 0;
}

.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,83,45,0.92), rgba(22,101,52,0.88));
}

.why-section .container {
  position: relative;
  z-index: 2;
}

.why-section .section-header {
  margin-bottom: 40px;
}

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

.why-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--green-300);
}

.why-card h3 {
  font-size: 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ---------- Featured Products ---------- */
.featured-section .section-header {
  margin-bottom: 40px;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-badge.op {
  background: var(--gray-700);
}

.product-badge.imp {
  background: #d97706;
}

.product-img {
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.product-info {
  padding: 14px;
}

.product-crop {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 4px 0 6px;
  color: var(--gray-900);
}

.product-info .product-number {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.product-info p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-info .btn {
  font-size: 12px;
  padding: 8px 16px;
  width: 100%;
}

/* ---------- Gallery Banner ---------- */
.gallery-banner {
  overflow: hidden;
  padding: 20px 0;
  background: var(--green-50);
}

.gallery-scroll {
  display: flex;
  gap: 12px;
  animation: scrollGallery 30s linear infinite;
  width: max-content;
}

.gallery-scroll img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- CTA Section ---------- */
.cta-box {
  background: var(--green-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-content {
  padding: 40px 24px;
}

.cta-content h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.cta-content p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 14px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-image {
  display: none;
}

/* ---------- Page Header ---------- */
.page-header {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(20,83,45,0.6));
}

.page-header .container {
  position: relative;
  z-index: 2;
  padding: 40px 16px;
}

.page-header h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

/* ---------- Products Page Filters ---------- */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filters-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: var(--primary);
  background: var(--white);
}

.search-box svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  width: 100%;
  color: var(--gray-800);
}

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.crop-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

.crop-tabs::-webkit-scrollbar { display: none; }

.crop-tab {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.crop-tab:hover {
  border-color: var(--green-400);
  color: var(--primary);
}

.crop-tab.active {
  background: var(--green-100);
  color: var(--green-800);
  border-color: var(--green-300);
}

/* ---------- Products Grid ---------- */
.products-section {
  padding-top: 24px;
  background: var(--gray-50);
  min-height: 60vh;
}

.products-count {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.products-grid .product-card .product-img {
  height: 160px;
}

.crop-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 8px;
}

.crop-section-title h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  white-space: nowrap;
}

.crop-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.no-results svg {
  margin: 0 auto 16px;
}

.no-results h3 {
  font-family: var(--font-sans);
  margin-bottom: 8px;
  color: var(--gray-600);
}

.no-results p {
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* ---------- Contact Page ---------- */
.contact-section {
  background: var(--gray-50);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

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

.contact-card.whatsapp { border-top-color: var(--whatsapp); }
.contact-card.phone { border-top-color: var(--primary); }
.contact-card.email { border-top-color: #3b82f6; }

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card.whatsapp .contact-card-icon { color: var(--whatsapp); background: #e8fbef; }
.contact-card.phone .contact-card-icon { color: var(--primary); background: var(--green-50); }
.contact-card.email .contact-card-icon { color: #3b82f6; background: #eff6ff; }

.contact-card h3 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.contact-detail {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
  display: grid;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-form-image {
  display: none;
}

.contact-form {
  padding: 32px 20px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-success {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--primary);
}

.form-success svg {
  margin: 0 auto 16px;
  color: var(--primary);
}

.form-success h3 {
  color: var(--gray-800);
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
}

.form-error {
  text-align: center;
  padding: 32px 20px;
}

.form-error svg {
  margin: 0 auto 16px;
  color: #ef4444;
}

.form-error h3 {
  color: var(--gray-800);
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.form-error p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}

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

.footer-logo img {
  height: 42px;
  width: auto;
  min-width: 42px;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.footer-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--whatsapp);
  color: var(--white);
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 13px;
  color: var(--gray-400);
  transition: color 0.2s;
}

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

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.footer-contact li svg {
  color: var(--green-400);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--gray-400);
}

.footer-contact a:hover { color: var(--green-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.developed-by {
  color: var(--gray-500);
}

.developed-by a {
  color: var(--green-400);
  font-weight: 600;
  transition: color 0.2s;
}

.developed-by a:hover {
  color: var(--green-300);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* =====================================================
   RESPONSIVE — TABLET (768px+)
   ===================================================== */
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  .hero h1 { font-size: 52px; }
  .hero p { font-size: 18px; }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .about-img-main img { height: 420px; }
  .about-img-secondary img { height: 220px; }

  .about-img-accent {
    display: block;
    position: absolute;
    top: 60px;
    left: -20px;
    width: 40%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
  }

  .about-img-accent img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .category-img { height: 160px; }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-img { height: 220px; }
  .product-info h3 { font-size: 18px; }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .contact-cards {
    gap: 20px;
  }

  .contact-card { padding: 32px 20px; }

  .contact-form-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-image {
    display: block;
    position: relative;
  }

  .contact-form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .form-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
  }

  .form-image-overlay h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 8px;
  }

  .form-image-overlay p {
    font-size: 14px;
    opacity: 0.8;
  }

  .contact-form {
    padding: 40px 32px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cta-content { padding: 60px 40px; }

  .cta-image {
    display: block;
  }

  .cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-scroll img {
    width: 280px;
    height: 180px;
  }

  .filters-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .search-box {
    max-width: 300px;
  }
}

/* =====================================================
   RESPONSIVE — DESKTOP (1024px+)
   ===================================================== */
@media (min-width: 1024px) {
  .section { padding: 100px 0; }

  .hero h1 { font-size: 64px; }

  .about-content h2 { font-size: 38px; }

  .section-header h2 { font-size: 38px; }

  .featured-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .products-grid .product-card .product-img {
    height: 200px;
  }

  .why-card { padding: 32px 24px; }
}

/* =====================================================
   MOBILE MENU
   ===================================================== */
@media (max-width: 767px) {
  .footer-logo img {
    height: 38px;
    max-width: 150px;
  }

  .nav-logo {
    gap: 10px;
  }

  .nav-logo img {
    height: 30px;
    max-width: 104px;
  }

  .nav-logo span {
    font-size: clamp(19px, 5.5vw, 24px);
  }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 40px;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }

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

  .nav-menu .nav-link {
    color: var(--gray-700);
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: var(--green-50);
    color: var(--primary);
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--gray-800);
  }

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

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--gray-800);
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Product card in listing (extra tweaks) ---------- */
.product-card .product-chars {
  display: none;
}

/* ---------- Loading state for product images ---------- */
.product-img.loading {
  background: linear-gradient(110deg, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Placeholder for products without images ---------- */
.product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--gray-100) 100%);
}

.product-img-placeholder img {
  width: 60% !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.5;
  filter: grayscale(0.3);
}
