/* ==========================================================================
   KebunHijau.co.id — Company Profile Stylesheet
   PT Kebun Lahan Hijau | Segar • Sehat • Terpercaya
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --primary: #1B5E20;
  --primary-light: #2E7D32;
  --primary-lighter: #E8F5E9;
  --primary-gradient: linear-gradient(135deg, #1B5E20, #2E7D32);
  --accent: #F9A825;
  --accent-light: #FFF8E1;
  --dark: #1A1A2E;
  --light: #FAFAFA;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #666666;
  
  /* Shadows */
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  
  /* Border Radius */
  --radius: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* ==========================================================================
   2. GLOBAL RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

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

section {
  padding: 100px 0;
}

/* Section Titles & Subtitles */
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin-top: 16px;
  border-radius: 4px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

/* ==========================================================================
   12. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

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

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-logo img {
  border-color: var(--primary);
}

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

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

.nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

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

.nav-cta:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.nav-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background-color: var(--dark);
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 30px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  background-color: var(--accent);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  opacity: 0.9;
  max-width: 650px;
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.btn {
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(27, 94, 32, 0.3);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
}

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

.stat-number {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: var(--white);
  opacity: 0.3;
}

/* ==========================================================================
   5. ABOUT
   ========================================================================== */
.section-label {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

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

.section-title-left {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

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

.about-tagline {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
}

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

.info-label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.info-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.about-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.info-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

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

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.info-details p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ==========================================================================
   6. PRODUCTS
   ========================================================================== */
.products {
  background-color: var(--primary-lighter);
}

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.tab-btn:hover {
  background-color: rgba(27, 94, 32, 0.1);
}

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

.product-panel {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}

.product-panel.active {
  display: block;
}

/* Product Item List (Individual Items) */
.product-subcategory {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(27, 94, 32, 0.15);
}

.product-panel .product-subcategory:first-child {
  margin-top: 0;
}

.product-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.product-item {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.product-item::before {
  content: "•";
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: var(--primary);
}

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

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

.product-card-img {
  position: relative;
  overflow: hidden;
}

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

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

.product-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-cta {
  text-align: center;
  margin-top: 56px;
}

/* Product Highlights */
.product-highlights {
  margin-top: 32px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.highlight-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlight-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.highlight-item span {
  font-weight: 600;
  color: var(--dark);
  font-family: var(--font-heading);
}

.highlight-item small {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Catalog Showcase */
.catalog-showcase {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.catalog-showcase:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.catalog-showcase::after {
  content: 'View Full Catalog';
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.8);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.catalog-showcase:hover::after {
  opacity: 1;
}

.catalog-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   7. ADVANTAGES
   ========================================================================== */
.advantages {
  background-color: var(--white);
}

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

.advantage-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  border-bottom: 3px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.advantage-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   8. GALLERY
   ========================================================================== */
.gallery {
  background-color: var(--dark);
}

.gallery .section-title,
.gallery .section-subtitle {
  color: var(--white);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

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

.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* ==========================================================================
   9. FORM (.catalog-form)
   ========================================================================== */
.catalog-form {
  background-color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.form-content {
  background: var(--white);
}

.form-content > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.required {
  color: #e53935;
}

.error-message {
  display: block;
  color: #e53935;
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--light);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0A0A0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
  outline: none;
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--light);
  font-weight: 500;
}

.checkbox-label:hover {
  border-color: #BDBDBD;
}

.checkbox-label:has(input:checked) {
  border-color: var(--primary);
  background-color: var(--primary-lighter);
  color: var(--primary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(27, 94, 32, 0.25);
}

.form-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-info-card {
  background-color: var(--primary-lighter);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.form-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.form-info-card > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.form-info-item:last-child {
  margin-bottom: 0;
}

.form-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.form-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.form-info-item a,
.form-info-item span {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-info-item a:hover {
  color: var(--primary);
}

.form-info-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--primary-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 350px;
}

.footer-tagline {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-light);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
  display: flex;
  gap: 16px;
}

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

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  border: 4px solid rgba(255, 255, 255, 0.05);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   11. WHATSAPP FAB
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  animation: none;
}

/* ==========================================================================
   12. ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (Landscape/Large) */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }

  .about .container {
    gap: 40px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

/* Tablet (Portrait) & Mobile (Large) */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  /* Navbar adjustments for mobile */
  .nav-toggle {
    display: flex;
    cursor: pointer;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1000;
  }

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

  .nav-link {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
  }
  
  .navbar.scrolled .nav-link {
    color: var(--white);
  }

  .nav-cta {
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
  }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-divider {
    display: none;
  }

  /* Sections */
  .about-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .about-image {
    order: -1;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Mobile (Small) */
@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }

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

  .hero h1 {
    font-size: 2.25rem;
  }

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

  .product-tabs {
    flex-direction: column;
    width: 100%;
  }
  
  .product-item-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .tab-btn {
    width: 100%;
  }

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

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

  .whatsapp-fab {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}
