/* ════════════════════════════════════════════════════════════════
   IGIM — styles.css  (Full Responsive — Clean Rewrite)
   ════════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ── */
:root {
  --g900: #0d2200;
  --g800: #183000;
  --g700: #2f6b1e;
  --g500: #4a8a2c;
  --g300: #7bbf4e;
  --lime: #d7e84a;
  --lime-dark: #b5c730;

  --text-900: #0a1800;
  --text-600: #4a5c3a;
  --text-400: #7a9060;

  --border: rgba(47, 107, 30, 0.15);
  --border-hover: rgba(47, 107, 30, 0.4);
  --bg: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.88);

  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  --shadow-green: 0 8px 40px rgba(47, 107, 30, 0.22);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);

  --container-pad: clamp(14px, 4vw, 24px);
}

/* ── 2. RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

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

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--text-900);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  max-width: 100%;
  padding-top: 64px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/bg-horticulture.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(240, 248, 230, 0.68) 45%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

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

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

/* ── 3. CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

.small {
  font-size: clamp(11px, 1.2vw, 13px);
}
.muted {
  color: var(--text-600);
}

/* ── 4. KEYFRAMES ── */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── 5. HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--g700),
    var(--lime),
    var(--g500),
    var(--lime-dark)
  );
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  min-height: 60px;
  flex-wrap: nowrap;
}

/* Brand */
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: clamp(34px, 5vw, 44px);
  height: clamp(34px, 5vw, 44px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 232, 74, 0.2);
  flex-shrink: 0;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.brand:hover img {
  box-shadow:
    0 0 0 5px rgba(215, 232, 74, 0.3),
    var(--shadow-green);
  transform: scale(1.05);
}
.brand .name {
  font-weight: 900;
  font-size: clamp(12px, 1.5vw, 15px);
  color: var(--g900);
  white-space: nowrap;
}
.brand .tag {
  font-size: clamp(9px, 1.1vw, 11px);
  color: var(--text-600);
  font-weight: 500;
  white-space: nowrap;
}

/* Desktop nav */
.menu {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: clamp(12px, 1.3vw, 13.5px);
  flex-shrink: 1;
  min-width: 0;
}
.menu a {
  padding: 6px clamp(6px, 1vw, 12px);
  border-radius: var(--r-sm);
  color: var(--text-600);
  font-weight: 500;
  transition:
    color 0.18s,
    background 0.18s;
  white-space: nowrap;
}
.menu a:hover,
.menu a.active {
  color: var(--g700);
  background: rgba(47, 107, 30, 0.07);
}
.menu a b {
  color: var(--g700);
  font-weight: 700;
}

.cta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.hamburger:hover {
  border-color: var(--g700);
  background: rgba(47, 107, 30, 0.05);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--g900);
  border-radius: 2px;
  transition:
    transform 0.28s ease,
    opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 6. MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0, 0.08, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1;
}
.drawer-head .brand .name {
  font-size: 13px;
}
.drawer-head .brand .tag {
  font-size: 10px;
}

.drawer-close {
  background: rgba(47, 107, 30, 0.07);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-600);
  font-size: 15px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.drawer-close:hover {
  background: rgba(47, 107, 30, 0.12);
  color: var(--g700);
  border-color: var(--g700);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 2px;
  flex: 1;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-600);
  transition:
    color 0.18s,
    background 0.18s;
}
.drawer-nav a:hover,
.drawer-nav a.active {
  color: var(--g700);
  background: rgba(47, 107, 30, 0.07);
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
  flex-shrink: 0;
  transition:
    background 0.18s,
    transform 0.18s;
}
.drawer-nav a:hover .nav-dot,
.drawer-nav a.active .nav-dot {
  background: var(--g500);
  transform: scale(1.4);
}

.drawer-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.drawer-btns .btn {
  width: 100%;
  justify-content: center;
}

/* ── 7. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
  font-family: inherit;
  letter-spacing: 0.1px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active {
  transform: scale(0.97);
}

.btn .ripple-el {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--g800) 0%, var(--g700) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(47, 107, 30, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--g700) 0%, var(--g500) 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--g800);
  border-color: var(--border-hover);
}
.btn-secondary:hover {
  border-color: var(--g700);
  color: var(--g700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-link {
  background: transparent;
  color: var(--g700);
  padding: 10px 6px;
  border: none;
  font-weight: 700;
}
.btn-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: var(--r-sm);
}

/* ── 8. PILLS ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-600);
  white-space: nowrap;
  line-height: 1.4;
  flex-shrink: 0;
  transition:
    border-color 0.18s,
    color 0.18s,
    background 0.18s;
}
.pill:hover {
  border-color: var(--g700);
  color: var(--g700);
  background: rgba(215, 232, 74, 0.12);
}

/* Pills containers */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.pills-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 0 4px;
}
.pills-scroll::-webkit-scrollbar {
  display: none;
}

/* ── 9. HERO ── */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(12px, 2vw, 20px);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.5s ease both;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(215, 232, 74, 0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -1.5px;
  color: var(--g900);
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--g700), var(--g500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  margin: 0 0 20px;
  color: var(--text-600);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.75;
  overflow-wrap: break-word;
  max-width: 52ch;
}

/* Hero CTA buttons */
.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.hero-btns .btn-primary {
  padding: 12px 24px;
  font-size: 14px;
}
.hero-btns .btn-secondary {
  padding: 11px 22px;
  font-size: 14px;
}

/* Hero pills — single scrollable row, never wraps */
.hero-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 2px 0 2px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero-pills::-webkit-scrollbar {
  display: none;
}
.hero-pills .pill {
  flex-shrink: 0;
  font-size: 12.5px;
  padding: 5px 14px;
}

/* ── 10. PANEL ── */
.panel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-xl);
  padding: clamp(14px, 2.5vw, 20px);
  position: relative;
  overflow: hidden;
  align-self: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--g500));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 30, 0.3);
  box-shadow: var(--shadow-green);
}
.panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--g900);
}
.panel ul {
  margin: 0;
  padding-left: 18px;
}
.panel li {
  font-size: 13px;
  color: var(--text-600);
  padding: 3px 0;
  line-height: 1.55;
}

/* ── 11. BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(215, 232, 74, 0.3),
    rgba(181, 199, 48, 0.2)
  );
  border: 1px solid rgba(181, 199, 48, 0.55);
  color: var(--g800);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}
/* .badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--g500);
  display: inline-block;
}
.badge::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--g500);
  position: absolute;
  animation: pulse-ring 1.8s ease-out infinite;
  pointer-events: none;
} */

/* ── 12. TRUST STRIP ── */
.trust {
  padding: clamp(10px, 2vw, 16px) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(248, 250, 244, 0.8);
}
.trust-track-wrap {
  overflow: hidden;
  position: relative;
}
.trust-track-wrap::before,
.trust-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 6vw, 80px);
  z-index: 2;
  pointer-events: none;
}
.trust-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 250, 244, 0.9), transparent);
}
.trust-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 250, 244, 0.9), transparent);
}
.trust-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: 4px 16px;
}
.trust-track:hover {
  animation-play-state: paused;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: clamp(6px, 1.5vw, 10px) clamp(10px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.brand-logo-item:hover {
  box-shadow: 0 6px 24px rgba(47, 107, 30, 0.18);
  transform: translateY(-3px);
  border-color: rgba(47, 107, 30, 0.3);
}
.brand-logo-item img {
  height: clamp(26px, 3.5vw, 40px);
  width: auto;
  max-width: clamp(70px, 11vw, 130px);
  object-fit: contain;
}

/* ── 13. SOFT BAND ── */
.soft {
  background: rgba(244, 248, 240, 0.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── 14. PILLS STRIP (standalone row between sections) ── */
.pills-strip {
  padding: 6px 0 8px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.pills-strip .pills-scroll {
  padding: 0;
}

/* ── 15. PULSE TABLE ── */
.pulse-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.pulse-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--r-md);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.pulse-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--g500);
  border-radius: 3px 0 0 3px;
  opacity: 0.5;
}
.pulse-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.pulse-item:hover::before {
  opacity: 1;
}
.pulse-item .k {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-900);
}
.pulse-item .v {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
}
.status-good {
  color: #16a34a;
}
.status-ok {
  color: #15803d;
}
.status-limited {
  color: #b45309;
}
.status-out {
  color: #dc2626;
}

/* ── 16. CARD ── */
.card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  padding: clamp(14px, 2.5vw, 22px);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  align-self: start;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 107, 30, 0.28);
  box-shadow: var(--shadow-green);
}
.card h3 {
  margin: 0 0 8px;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 800;
  color: var(--g900);
}
.card p {
  margin: 0 0 12px;
  color: var(--text-600);
  font-size: clamp(12.5px, 1.4vw, 14px);
  line-height: 1.6;
}
.meta {
  font-size: 11.5px;
  color: var(--text-400);
  font-weight: 600;
  padding: 3px 9px;
  background: rgba(47, 107, 30, 0.06);
  border-radius: var(--r-sm);
  display: inline-block;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}

/* ── 17. SECTIONS ── */
section {
  padding: clamp(24px, 5vw, 48px) 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: clamp(16px, 3vw, 26px);
  padding-bottom: clamp(12px, 2vw, 18px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--g700), var(--lime));
  border-radius: 2px;
}
.section-title h1 {
  font-size: clamp(20px, 4vw, 38px);
  font-weight: 900;
  color: var(--g900);
  letter-spacing: -0.5px;
}
.section-title h2 {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 900;
  color: var(--g900);
  letter-spacing: -0.4px;
}
.section-title p {
  margin: 5px 0 0;
  color: var(--text-600);
  font-size: clamp(12.5px, 1.4vw, 14px);
  line-height: 1.6;
  max-width: 60ch;
}
.section-title > .btn {
  flex-shrink: 0;
}

/* ── 18. GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 2vw, 16px);
  align-items: start;
}
.grid > * {
  align-self: start;
}
.span-4 {
  grid-column: span 4;
}
.span-6 {
  grid-column: span 6;
}
.span-8 {
  grid-column: span 8;
}
.span-12 {
  grid-column: span 12;
}

/* ── 19. FORM ── */
.form-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.field {
  grid-column: span 6;
}
.field.full {
  grid-column: span 12;
}

label {
  display: block;
  font-size: 11.5px;
  color: var(--text-600);
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
select,
input,
textarea {
  width: 100%;
  border: 1.5px solid rgba(47, 107, 30, 0.2);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 14px; /* ≥14px prevents iOS zoom */
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  color: var(--text-900);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5c3a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 34px;
}
textarea {
  min-height: 88px;
  resize: vertical;
}
select:focus,
input:focus,
textarea:focus {
  border-color: var(--g700);
  box-shadow: 0 0 0 3px rgba(47, 107, 30, 0.1);
  background: #fff;
}

.radio-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.radio-row label {
  font-weight: 700;
  color: var(--text-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
  flex: 1 1 auto;
  justify-content: center;
}
.radio-row label:has(input:checked) {
  border-color: var(--g700);
  background: rgba(47, 107, 30, 0.06);
  color: var(--g700);
}
.radio-row label:hover {
  border-color: var(--g500);
}
.radio-row input[type="radio"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--g700);
  flex-shrink: 0;
}

/* ── 20. MAP ── */
.map-wrap {
  height: clamp(180px, 28vw, 300px);
  overflow: hidden;
}
.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}
.contact-icon {
  color: var(--g700);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 21. TIMELINE ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--g700), var(--lime));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.num {
  width: clamp(40px, 5.5vw, 50px);
  height: clamp(40px, 5.5vw, 50px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g800), var(--g700));
  color: #fff;
  font-weight: 900;
  font-size: clamp(14px, 2vw, 17px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border: 3px solid white;
  box-shadow:
    0 4px 14px rgba(47, 107, 30, 0.3),
    0 0 0 3px rgba(215, 232, 74, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.step:hover .num {
  transform: scale(1.1);
  box-shadow:
    0 7px 24px rgba(47, 107, 30, 0.4),
    0 0 0 5px rgba(215, 232, 74, 0.25);
}
.step h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--g900);
  margin-bottom: 3px;
}
.step p {
  font-size: 12px;
  color: var(--text-600);
  line-height: 1.5;
}

/* ── 22. FOOTER ── */
footer {
  background: linear-gradient(
    160deg,
    rgba(9, 26, 0, 0.97) 0%,
    rgba(24, 48, 0, 0.96) 100%
  );
  color: #fff;
  padding: clamp(24px, 5vw, 48px) 0 clamp(14px, 3vw, 22px);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(215, 232, 74, 0.07),
    transparent 65%
  );
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: clamp(14px, 2.5vw, 24px);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.foot-title {
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
}
.foot-text {
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.7;
}
.foot-small {
  opacity: 0.7;
  font-size: 12.5px;
  line-height: 2;
}
footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s;
}
footer a:hover {
  color: var(--lime);
}
.footer-copy {
  text-align: center;
  font-size: 11.5px;
  opacity: 0.4;
  position: relative;
  z-index: 1;
  padding-top: 4px;
}

/* ── 23. MOBILE BOTTOM BAR ── */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 7px 8px;
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 5px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-600);
  border: 1.5px solid transparent;
  transition:
    border-color 0.18s,
    color 0.18s,
    background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar a:active {
  border-color: var(--border-hover);
  color: var(--g700);
  background: rgba(47, 107, 30, 0.05);
}

/* ── 24. WA FAB ── */
.wa-fab {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 300;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab:active {
  transform: scale(0.94);
}

/* ── 25. SCROLL-TO-TOP ── */
#scrollTop {
  position: fixed;
  bottom: 144px;
  right: 16px;
  z-index: 300;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g800), var(--g700));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: var(--shadow-green);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTop:active {
  transform: scale(0.94);
}

/* ── 26. READ PROGRESS ── */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g700), var(--lime));
  z-index: 999;
  transition: width 0.1s;
  border-radius: 0 2px 2px 0;
}

/* ── 27. HEADINGS ── */
h1 {
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--g900);
  line-height: 1.12;
}
h2 {
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--g900);
}
h3 {
  font-weight: 800;
  color: var(--g900);
}

/* ── 28. BRAND CARDS ── */
.brand-logo-wrap {
  height: clamp(56px, 8vw, 72px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.brand-card-img {
  max-height: clamp(96px, 5vw, 16px);
  max-width: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-name-fallback {
  display: none;
  font-weight: 900;
  font-size: 17px;
  color: var(--g800);
  align-items: center;
}
.brand-tag-line {
  display: block;
  font-size: 11px;
  color: var(--text-400);
  font-weight: 600;
  font-style: italic;
  margin-top: -6px;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* Large tablet ≤1100px */
@media (max-width: 1100px) {
  .menu a {
    padding: 6px 8px;
    font-size: 12.5px;
  }
  .cta .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

/* Tablet landscape ≤980px */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .panel {
    animation: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .pulse-table {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .timeline::before {
    display: none;
  }
  .span-4 {
    grid-column: span 6;
  }
  .span-8 {
    grid-column: span 12;
  }
}

/* Mobile nav ≤820px */
@media (max-width: 820px) {
  .menu {
    display: none;
  }
  .cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .mobile-bar {
    display: block;
  }
  /* body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  } */
  .wa-fab {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
  #scrollTop {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }
}

/* Tablet portrait ≤768px */
@media (max-width: 768px) {
  /* Footer center on mobile */
  .footer-grid {
    text-align: center;
  }
  .footer-grid .foot-small,
  .footer-grid .foot-text {
    text-align: center;
  }
  section {
    padding: clamp(20px, 5vw, 36px) 0;
  }
  .hero {
    padding: clamp(18px, 4vw, 30px) 0 clamp(14px, 3vw, 22px);
  }
  .hero h1 {
    font-size: clamp(24px, 5.5vw, 38px);
    letter-spacing: -1px;
  }
  .hero p {
    font-size: clamp(13px, 3.5vw, 14.5px);
  }
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-title > .btn {
    width: 100%;
    justify-content: center;
  }
  .field,
  .form-row .field {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .map-wrap {
    height: clamp(160px, 42vw, 230px);
  }
  .map-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 90px;
    justify-content: center;
  }
}

/* Mobile ≤640px */
@media (max-width: 640px) {
  .span-4,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }
  .footer-grid {
    text-align: center;
  }
  .hero-grid {
    gap: 12px;
  }
  .hero h1 {
    font-size: clamp(22px, 6.5vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.8px;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .pulse-table {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }
  .panel {
    padding: 14px;
  }
  .card {
    padding: 13px;
  }
  .card h3 {
    font-size: 14px;
  }
  .actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-btns .btn-link {
    order: 3;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  :root {
    --container-pad: 14px;
  }
  .brand .tag {
    display: none;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand .name {
    font-size: 13px;
    max-width: 160px;
  }
  .btn {
    font-size: 12.5px;
    padding: 9px 12px;
  }
  .btn-sm {
    font-size: 11.5px;
    padding: 6px 10px;
  }
  .trust-track {
    gap: 8px;
  }
  .brand-logo-item {
    padding: 6px 9px;
  }
  .brand-logo-item img {
    height: 24px;
    max-width: 65px;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .num {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: clamp(20px, 7vw, 26px);
    letter-spacing: -0.5px;
  }
  .hero p {
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .footer-grid .foot-title {
    text-align: center;
  }
  .footer-grid .foot-small {
    text-align: center;
  }
  .footer-grid .foot-text {
    text-align: center;
  }
  .pulse-table {
    grid-template-columns: 1fr;
  }
  .pulse-item {
    padding: 10px 11px;
  }
  .section-title h1 {
    font-size: clamp(18px, 6vw, 26px);
  }
  .section-title h2 {
    font-size: clamp(16px, 5.5vw, 22px);
  }
  .pill {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* Very small ≤360px */
@media (max-width: 360px) {
  :root {
    --container-pad: 12px;
  }
  .drawer-panel {
    width: 92vw;
  }
  .hero h1 {
    font-size: 22px;
    letter-spacing: -0.5px;
  }
  .hero p {
    font-size: 12.5px;
  }
  .btn {
    font-size: 12px;
    padding: 8px 10px;
  }
  .nav {
    min-height: 54px;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .panel:hover,
  .brand-logo-item:hover {
    transform: none;
    box-shadow: none;
  }
  .btn:hover {
    transform: none;
  }
  .btn:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  .card:active {
    opacity: 0.95;
  }
  select,
  input,
  textarea {
    font-size: 16px !important;
  }
}

/* Safe area insets */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .container {
    padding-left: max(var(--container-pad), env(safe-area-inset-left));
    padding-right: max(var(--container-pad), env(safe-area-inset-right));
  }
  .mobile-bar {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

/* Print */
@media print {
  .header,
  .mobile-bar,
  .wa-fab,
  #scrollTop,
  #read-progress,
  .trust,
  .hamburger,
  .mobile-drawer {
    display: none !important;
  }
  body {
    background: white;
    padding: 0;
  }
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
