/* ==========================================================================
   AGRI SANOCTO SRL - High-Performance Responsive Design System
   100% Calibrated for Mobile, Tablet, Laptop & Desktop screens
   ========================================================================== */

:root {
  --primary: #0d5f3a;
  --primary-dark: #083c24;
  --primary-light: #168a55;
  --primary-glow: rgba(22, 138, 85, 0.25);
  
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-lime: #22c55e;
  
  --dark-bg: #09130d;
  --dark-surface: #102117;
  --dark-surface-card: #142a1d;
  --dark-border: rgba(255, 255, 255, 0.08);
  
  --light-bg: #f8faf8;
  --light-surface: #ffffff;
  --light-border: #e5e9e5;
  
  --text-main: #18241c;
  --text-muted: #4e6155;
  --text-light: #ffffff;
  --text-dim: #94a39b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(13, 95, 58, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 35px rgba(34, 197, 94, 0.25);
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

/* ==========================================================================
   Header & Topbar (Permanently Fixed Header)
   ========================================================================== */
.site-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  padding-top: 105px; /* Offset for permanently fixed header on desktop */
}

.topbar {
  background: var(--dark-bg);
  color: #c2d6cb;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: margin-top 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
}
.site-header-fixed.scrolled .topbar {
  margin-top: -38px;
  opacity: 0;
  pointer-events: none;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: nowrap; width: 100%; }
.topbar-info { display: flex; align-items: center; gap: 14px; white-space: nowrap; flex-shrink: 0; }
.topbar-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  white-space: nowrap;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.topbar-contacts { display: flex; align-items: center; gap: 14px; white-space: nowrap; flex-shrink: 0; }
.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c2d6cb;
  transition: var(--transition);
}
.topbar-contacts a:hover {
  color: #ffffff;
}

/* Main Navbar */
.site-navbar {
  position: relative;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--light-border);
  z-index: 1000;
  transition: var(--transition);
  padding: 8px 0;
}
.site-navbar.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.98);
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo-img {
  width: clamp(48px, 4.5vw, 60px);
  height: clamp(48px, 4.5vw, 60px);
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(13, 95, 58, 0.15);
  transition: transform 0.25s ease;
}
.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.4px;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  white-space: nowrap;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(10px, 1.5vw, 22px);
  margin: 0;
  padding: 0;
}
.nav-link {
  font-weight: 600;
  color: var(--text-main);
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
  padding: 6px 0;
  display: inline-block;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.drawer-header, .mobile-drawer-actions {
  display: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-call-icon-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eaf6ee;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 95, 58, 0.15);
  transition: var(--transition);
}
.mobile-call-icon-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #15794a 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 95, 58, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #15794a 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 95, 58, 0.38);
  color: #ffffff;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}
.btn-outline-call {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary-dark);
  width: 100%;
  padding: 12px;
  border-radius: 12px;
}
.btn-whatsapp-drawer {
  background: #25D366;
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
}

.mobile-toggle {
  display: none;
  background: #f4f7f5;
  border: 1px solid var(--light-border);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-toggle:hover {
  background: #eaf2ed;
  color: var(--primary);
}

/* Mobile Drawer Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071910 0%, #0c2b1a 60%, #113824 100%);
  color: #ffffff;
  padding: clamp(45px, 7vw, 90px) 0;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 4vw, 50px);
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 640px;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.25);
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero-title {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}
.hero-title .gradient-text {
  background: linear-gradient(90deg, #86efac 0%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: #d1e2d7;
  margin-bottom: 26px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}
.stat-item h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.8rem;
  color: #9cb8a7;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  width: 100%;
}
.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-main-card img {
  width: 100%;
  height: clamp(280px, 32vw, 440px);
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-main-card:hover img {
  transform: scale(1.03);
}
.floating-order-box {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(9, 19, 13, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.order-clock-icon {
  width: 40px;
  height: 40px;
  background: rgba(234, 179, 8, 0.18);
  color: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.order-box-text strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.3;
}
.order-box-text span {
  font-size: 0.78rem;
  color: #9cb8a7;
  display: block;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-border);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.8vw, 22px);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: #eaf6ee;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.trust-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  line-height: 1.25;
}
.trust-item p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: clamp(45px, 6vw, 80px) 0;
}
.section-alt {
  background: #ffffff;
}
.section-dark {
  background: var(--dark-bg);
  color: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4.5vw, 50px);
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--primary);
  background: rgba(13, 95, 58, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-tag.tag-light {
  color: #86efac;
  background: rgba(134, 239, 172, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.2);
}
.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  color: var(--text-muted);
  line-height: 1.6;
}
.section-dark .section-subtitle {
  color: #a4beaf;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 30px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #22c55e 100%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 95, 58, 0.2);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #eef9f2 0%, #dcfce7 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
  background: var(--primary);
  color: #ffffff;
}
.service-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.service-highlights {
  list-style: none;
  border-top: 1px dashed var(--light-border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-highlights li {
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-highlights li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Product Catalog
   ========================================================================== */
.catalog-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.catalog-btn {
  background: #ffffff;
  border: 1px solid var(--light-border);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.catalog-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.catalog-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(13, 95, 58, 0.25);
}

.catalog-search-bar {
  max-width: 480px;
  margin: 0 auto 26px;
  position: relative;
  width: 100%;
}
.catalog-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: 30px;
  border: 1px solid var(--light-border);
  background: #ffffff;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.catalog-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 95, 58, 0.1);
}
.catalog-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 95, 58, 0.2);
}
.product-card-header {
  padding: 18px 18px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #f1f5f2;
}
.product-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--primary);
  background: #eaf6ee;
  padding: 4px 8px;
  border-radius: 6px;
}
.product-availability {
  font-size: 0.75rem;
  color: #15803d;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.product-card-body {
  padding: 18px;
  flex-grow: 1;
}
.product-card-body h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.product-features-list li {
  font-size: 0.84rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.product-features-list li svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}
.product-card-footer {
  padding: 14px 18px 16px;
  background: #fbfdfc;
  border-top: 1px solid var(--light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.product-package-info {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.product-package-info strong {
  display: block;
  color: var(--text-main);
}
.product-inquire-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.product-inquire-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   B2B Sectors & Target Clients
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.sector-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 26px);
  transition: var(--transition);
}
.sector-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.sector-icon {
  font-size: 1.85rem;
  margin-bottom: 14px;
  display: inline-block;
}
.sector-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.sector-card p {
  font-size: 0.86rem;
  color: #a4beaf;
  line-height: 1.5;
  margin-bottom: 12px;
}
.sector-perks {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sector-perks li {
  font-size: 0.78rem;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Story & Cold Chain Showcase
   ========================================================================== */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 50px);
  margin-bottom: clamp(40px, 5vw, 65px);
}
.story-row:last-child {
  margin-bottom: 0;
}
.story-row.reversed {
  direction: rtl;
}
.story-row.reversed > * {
  direction: ltr;
}
.story-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
}
.story-image-wrap img {
  width: 100%;
  height: clamp(260px, 30vw, 380px);
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-image-wrap:hover img {
  transform: scale(1.03);
}
.story-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 19, 13, 0.85);
  backdrop-filter: blur(10px);
  color: #86efac;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(134, 239, 172, 0.3);
}
.story-content h3 {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-main);
}
.story-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.story-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.story-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}
.story-checklist li svg {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Order Flow
   ========================================================================== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.flow-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.flow-step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #22c55e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
.flow-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.flow-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Interactive B2B Calculator
   ========================================================================== */
.calculator-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  padding: clamp(20px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 36px);
}
.calc-field-group {
  margin-bottom: 20px;
}
.calc-field-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.calc-option-btn {
  background: #f8faf8;
  border: 1px solid var(--light-border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-option-btn:hover {
  border-color: var(--primary);
  background: #ffffff;
}
.calc-option-btn.selected {
  background: #eaf6ee;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 95, 58, 0.15);
}
.calc-range-wrap {
  margin-top: 8px;
}
.calc-range-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
  height: 6px;
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-summary-panel {
  background: linear-gradient(135deg, #0a2617 0%, #06190e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 18px;
}
.calc-summary-badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.calc-result-row span:first-child {
  color: #a4beaf;
}
.calc-result-row span:last-child {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
}
.calc-total-banner {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
}
.calc-total-banner strong {
  display: block;
  font-size: 1rem;
  color: #86efac;
  margin-bottom: 3px;
}
.calc-total-banner p {
  font-size: 0.78rem;
  color: #c2d6cb;
  line-height: 1.4;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-header {
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
}
.faq-header:hover {
  color: var(--primary);
}
.faq-icon-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.76rem;
  flex-shrink: 0;
}
.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-card.open .faq-body {
  padding-bottom: 18px;
}

/* ==========================================================================
   Contact & Quote Request Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(20px, 3vw, 36px);
}
.contact-info-panel {
  background: linear-gradient(135deg, #091a10 0%, #102d1d 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  gap: 24px;
}
.contact-info-panel h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info-panel p {
  color: #b7cebf;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-item strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #86efac;
  margin-bottom: 2px;
}
.contact-detail-item a, .contact-detail-item span {
  font-size: 0.92rem;
  color: #ffffff;
  transition: var(--transition);
}
.contact-detail-item a:hover {
  color: #86efac;
}
.emergency-checkpoint {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.emergency-checkpoint strong {
  display: block;
  color: #f59e0b;
  font-size: 0.82rem;
  margin-bottom: 3px;
}
.emergency-checkpoint a {
  color: #ffffff;
  font-weight: 700;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: clamp(1.3rem, 1.8vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}
.form-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--light-border);
  background: #fbfdfc;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  min-height: 44px;
}
.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 95, 58, 0.12);
}
textarea.form-control {
  min-height: 105px;
  resize: vertical;
}

/* Alert Feedback */
.alert {
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.alert-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06110a;
  color: #cbdad1;
  padding: clamp(45px, 6vw, 70px) 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(22px, 2.5vw, 36px);
  margin-bottom: 45px;
}
.footer-brand p {
  color: #90a89a;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 14px 0 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}
.social-icon-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #a2b7aa;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #799182;
}

/* ==========================================================================
   Floating Action Buttons & Toast Notification
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.3rem;
  border: none;
}
.floating-whatsapp {
  background: #25D366;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}
.floating-scrolltop {
  background: var(--primary-dark);
  opacity: 0;
  pointer-events: none;
}
.floating-scrolltop.visible {
  opacity: 1;
  pointer-events: auto;
}
.floating-scrolltop:hover {
  transform: scale(1.08);
  background: var(--primary);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #142a1d;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(134, 239, 172, 0.3);
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERHAUL (Flawless UX on all devices)
   ========================================================================== */

/* Laptops / Tablets (1100px and down) -> Switch to Mobile Drawer */
@media (max-width: 1100px) {
  .site-navbar {
    padding: 8px 0;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 30px;
    gap: 4px;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
    border-left: 1px solid var(--light-border);
    overflow-y: auto;
    z-index: 1002;
  }
  .nav-menu.open {
    right: 0;
  }
  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f2;
  }
  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-dark);
  }
  .drawer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
  }
  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--light-border);
    background: #f8faf8;
    color: var(--text-main);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-link {
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 8px;
    width: 100%;
    display: block;
    color: var(--text-main);
    border-bottom: 1px solid #f8faf8;
  }
  .nav-link:hover, .nav-link.active {
    background: #eef8f2;
    color: var(--primary);
  }
  .nav-link::after {
    display: none;
  }
  .mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--light-border);
  }
  .mobile-toggle {
    display: flex;
  }
  #headerCtaBtn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* Tablets (992px and down) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats-row {
    max-width: 520px;
    margin: 0 auto;
  }
  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }
  .services-grid, .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-row, .calculator-box, .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-row.reversed {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphone & Small Tablet (768px and down) */
@media (max-width: 768px) {
  body {
    padding-top: 62px !important;
  }
  .topbar {
    display: none !important;
  }
  
  .brand-logo-img {
    width: 44px;
    height: 44px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-sub {
    display: none;
  }

  /* Show instant call icon in header on mobile */
  .mobile-call-icon-btn {
    display: flex;
  }
  #headerCtaBtn {
    display: none;
  }

  /* Hero adjustments */
  .hero-section {
    padding: 38px 0 45px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6.2vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.3px;
  }
  .hero-description {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Image & floating box stacking on mobile */
  .hero-main-card img {
    height: 250px;
  }
  .floating-order-box {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 12px;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  /* Trust Bar: 2 compact columns */
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .trust-item {
    gap: 8px;
  }
  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .trust-item h4 {
    font-size: 0.82rem;
  }
  .trust-item p {
    font-size: 0.72rem;
  }

  /* Single column grids for clarity */
  .services-grid, .catalog-grid, .sectors-grid, .flow-steps {
    grid-template-columns: 1fr;
  }

  /* Mobile App-like horizontal scrolling category pills */
  .catalog-nav {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 4px 16px 12px;
    margin: 0 -16px 18px -16px;
    scrollbar-width: none;
  }
  .catalog-nav::-webkit-scrollbar {
    display: none;
  }
  .catalog-btn {
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Form & Calculator stack */
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  .calculator-box {
    padding: 18px 16px;
  }
  .calc-summary-panel {
    padding: 18px 16px;
  }

  .contact-info-panel, .contact-form-card {
    padding: 22px 16px;
  }
  .contact-detail-item {
    gap: 10px;
  }

  /* Footer stack */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Floating action buttons */
  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}


