/* ============================================================
   TRAFLO — Global Design System
   ============================================================ */

:root {
  --navy-900: #0a2e5c;
  --navy-800: #0d3e78;
  --navy-700: #12539c;
  --navy-600: #1a63b3;
  --navy-50:  #eaf2fb;

  --orange-500: #f5821f;
  --orange-600: #dd6f0f;
  --orange-50:  #fff2e6;

  --yellow-500: #f6b31a;
  --teal-500: #1c93a6;

  --white: #ffffff;
  --gray-50:  #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde5ee;
  --gray-400: #9fadbe;
  --gray-500: #7c8ba0;
  --gray-600: #5b6b7f;
  --gray-800: #2a3648;
  --gray-900: #16202e;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(10, 46, 92, 0.07);
  --shadow: 0 14px 40px rgba(10, 46, 92, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 46, 92, 0.18);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--gray-50); }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-50);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 17px; }

/* ---------- Reveal-on-scroll ----------
   Hidden state only applies once JS confirms it can reveal them again
   (html.js-anim, set by an inline script in <head>). No-JS / crawler
   visitors always see full content, no animation gating. */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js-anim .reveal:not(.in-view) { opacity: 0; transform: translateY(28px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(245, 130, 31, 0.35);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(245, 130, 31, 0.4); }

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(10, 46, 92, 0.25);
}
.btn-navy:hover { background: var(--navy-900); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(10, 46, 92, 0.32); }

.btn-outline {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-700); transform: translateY(-3px); }

.btn-white-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.18); border-color: var(--white); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,46,92,0.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; transition: transform 0.3s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 19px; color: var(--navy-900); letter-spacing: 0.01em; }
.brand-text span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-800);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2.5px; background: var(--orange-500); border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-call { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); font-size: 14.5px; }
.nav-call svg { color: var(--orange-500); }

/* ---------- Language switcher ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--gray-100); border-radius: 100px; padding: 3px;
}
.lang-btn {
  padding: 6px 12px; border-radius: 100px; border: none; background: transparent;
  font-size: 12.5px; font-weight: 700; color: var(--gray-600); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  font-family: inherit; line-height: 1.4;
}
.lang-btn.active { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.lang-btn:not(.active):hover { color: var(--navy-700); }

.mobile-menu .lang-toggle { margin: 4px 0 18px; align-self: flex-start; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 220;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-50) 0%, var(--white) 65%);
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}
.hero-blob-1 { width: 420px; height: 420px; background: var(--orange-500); top: -160px; right: -120px; opacity: 0.16; }
.hero-blob-2 { width: 320px; height: 320px; background: var(--teal-500); bottom: -140px; left: -100px; opacity: 0.12; }

.hero .container {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 20px; letter-spacing: -0.01em; }
.hero h1 .highlight { color: var(--orange-500); }
.hero p.lead { color: var(--gray-600); font-size: 18px; max-width: 520px; margin-bottom: 30px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block; font-family: 'Poppins', sans-serif; font-size: 30px;
  color: var(--navy-900); font-weight: 800;
}
.hero-stats div span { color: var(--gray-500); font-size: 13.5px; font-weight: 600; }

.hero-visual { position: relative; display: flex; justify-content: flex-start; padding: 2px 0 34px; }
.hero-visual img { width: 150%; max-width: 150%; height: auto; margin-left: 4%; filter: drop-shadow(0 30px 40px rgba(10,46,92,0.28)); }
.hero-tag {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-900);
  animation: float 4s ease-in-out infinite;
}
.hero-tag.tag-1 { top: 8%; left: -4%; }
.hero-tag.tag-2 { bottom: 10%; right: -2%; animation-delay: -2s; }
.hero-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); flex-shrink: 0; }

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

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track { display: inline-flex; gap: 48px; animation: marquee 26s linear infinite; }
.strip-track span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 10px; }
.strip-track span::before { content: "\2726"; color: var(--orange-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about-media-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.about-media-badge strong { display: block; font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--orange-500); }
.about-media-badge span { font-size: 12.5px; color: var(--gray-600); font-weight: 600; }

.about-text h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; }
.about-text p { color: var(--gray-600); font-size: 16px; margin-bottom: 16px; }
.about-text .quote {
  border-left: 3px solid var(--orange-500);
  padding-left: 18px; margin: 26px 0;
  font-style: italic; color: var(--navy-800); font-weight: 600; font-size: 16.5px;
}

.about-list { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--gray-800); font-size: 14.5px; }
.check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-500); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

/* ---------- Use cases ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.usecase-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.usecase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange-500); }
.usecase-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--navy-50); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.usecase-card:hover .usecase-icon { background: var(--orange-500); color: var(--white); transform: scale(1.08) rotate(-4deg); }
.usecase-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.usecase-card p { font-size: 13.5px; color: var(--gray-600); }

/* ---------- Product tabs ---------- */
.product-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.tab-btn {
  padding: 13px 26px; border-radius: 100px; border: 2px solid var(--gray-200);
  background: var(--white); font-weight: 700; font-size: 14.5px; color: var(--gray-600);
  cursor: pointer; transition: all 0.3s var(--ease);
}
.tab-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); box-shadow: var(--shadow-sm); }
.tab-btn:not(.active):hover { border-color: var(--navy-700); color: var(--navy-800); }

.product-panel { display: none; }
.product-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.product-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: 48px;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
}
.product-card img { width: 100%; }
.product-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.badge-flagship { background: var(--orange-50); color: var(--orange-600); }
.badge-alt { background: var(--navy-50); color: var(--navy-700); }
.product-info h3 { font-size: 26px; margin-bottom: 12px; }
.product-info > p { color: var(--gray-600); font-size: 15px; margin-bottom: 22px; }
.product-specs-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 28px; }
.product-specs-mini li { font-size: 14px; color: var(--gray-800); font-weight: 600; display: flex; gap: 8px; }
.product-specs-mini li b { color: var(--navy-800); font-weight: 700; }
.product-price-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 22px; border-top: 1px dashed var(--gray-200);
}
.product-price-row .price { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--navy-900); font-weight: 800; }
.product-price-row .price small { font-size: 12.5px; color: var(--gray-500); font-weight: 500; display: block; }

/* ---------- Colour picker ---------- */
.color-picker { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: stretch; }

.color-options { display: flex; flex-direction: column; gap: 16px; }
.color-option {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius);
  padding: 20px 22px; cursor: pointer; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.color-option:hover { transform: translateY(-3px); border-color: var(--gray-200); }
.color-option.active { border-color: var(--orange-500); box-shadow: var(--shadow); }

.color-swatch-lg {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(10,46,92,0.12); box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}
.swatch-white { background: #ffffff; }
.swatch-blue { background: var(--navy-600); }
.swatch-yellow { background: var(--yellow-500); }

.color-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.color-option-text strong { font-size: 16px; color: var(--navy-900); font-family: 'Poppins', sans-serif; }
.color-option-text small { font-size: 13px; color: var(--gray-500); font-weight: 500; }

.color-check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--orange-500); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
  opacity: 0; transform: scale(0.6); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  flex-shrink: 0;
}
.color-option.active .color-check { opacity: 1; transform: scale(1); }

.color-preview {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.color-preview img {
  width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease;
}
.color-preview-tag {
  position: absolute; top: 20px; left: 20px; background: var(--white); color: var(--navy-900);
  font-weight: 800; font-size: 13.5px; padding: 8px 18px; border-radius: 100px; box-shadow: var(--shadow-sm);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .usecase-icon { margin: 0 0 20px; border-radius: 14px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--gray-600); font-size: 14.5px; }
.feature-card.feature-highlight { background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border: none; }
.feature-card.feature-highlight h3, .feature-card.feature-highlight p { color: var(--white); }
.feature-card.feature-highlight p { color: rgba(255,255,255,0.75); }
.feature-card.feature-highlight .usecase-icon { background: rgba(255,255,255,0.15); color: var(--orange-500); }

/* ---------- Specs table ---------- */
.specs-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.specs-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.specs-table tr { border-bottom: 1px solid var(--gray-100); transition: background 0.2s ease; }
.specs-table tr:hover { background: var(--gray-50); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 15px 22px; font-size: 14.5px; }
.specs-table td:first-child { color: var(--gray-600); font-weight: 600; width: 46%; }
.specs-table td:last-child { color: var(--navy-900); font-weight: 700; }

.colors-row { display: flex; gap: 10px; align-items: center; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); display: inline-block; }

.tractor-box { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: 36px; color: var(--white); position: sticky; top: 100px; }
.tractor-box h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.tractor-box p { color: rgba(255,255,255,0.72); font-size: 14.5px; margin-bottom: 24px; }
.tractor-specs { display: grid; gap: 14px; }
.tractor-specs li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.tractor-specs .check { background: var(--orange-500); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card {
  background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 38px 32px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--orange-500); box-shadow: var(--shadow); }
.price-card.featured::before {
  content: "Most Popular"; position: absolute; top: -14px; right: 28px;
  background: var(--orange-500); color: var(--white); font-size: 12px; font-weight: 800;
  padding: 6px 16px; border-radius: 100px; letter-spacing: 0.03em;
}
html[lang="hi"] .price-card.featured::before { content: "सबसे लोकप्रिय"; }
html[lang="gu"] .price-card.featured::before { content: "સૌથી લોકપ્રિય"; }
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price-tag { font-family: 'Poppins', sans-serif; font-size: 34px; font-weight: 800; color: var(--navy-800); margin: 16px 0 4px; }
.price-card .price-tag small { font-size: 13px; color: var(--gray-500); font-weight: 500; }
.price-card .price-note { font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }
.price-list { display: grid; gap: 12px; margin-bottom: 28px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-800); font-weight: 500; }
.price-foot { text-align: center; margin-top: 36px; color: var(--gray-600); font-size: 14px; }

/* ---------- Why choose us ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 20px;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); }
.stat-card strong { display: block; font-family: 'Poppins', sans-serif; font-size: 38px; color: var(--orange-500); font-weight: 800; }
.stat-card span { color: var(--gray-600); font-weight: 600; font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.gallery-grid button {
  overflow: hidden; border-radius: var(--radius); display: block; border: none; padding: 0; cursor: zoom-in;
  position: relative; background: var(--gray-100);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.08); }
.gallery-grid button::after {
  content: "\2921"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 22px; background: rgba(10,46,92,0.25); opacity: 0; transition: opacity 0.3s ease;
}
.gallery-grid button:hover::after { opacity: 1; }
.gallery-grid .tall { grid-row: span 2; }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--gray-900);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,15,25,0.92); z-index: 500;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease; padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(900px, 90vw); max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 28px; right: 32px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, var(--teal-500));
  border-radius: var(--radius-lg); padding: 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--orange-500); opacity: 0.18; filter: blur(50px); top: -100px; right: -60px;
}
.cta-banner h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 15.5px; position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Page hero (Contact / Terms) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-50), var(--white));
  padding: 68px 0 56px; text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: var(--gray-600); font-size: 16.5px; max-width: 560px; margin: 0 auto; }

.breadcrumbs { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--gray-500); margin-bottom: 18px; font-weight: 600; }
.breadcrumbs a:hover { color: var(--navy-700); }
.breadcrumbs span { color: var(--gray-400); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .usecase-icon { margin: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--gray-600); }
.contact-card a:hover { color: var(--orange-600); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 18px; border: 1px solid var(--gray-100); }
.map-embed iframe { width: 100%; height: 230px; border: 0; display: block; filter: grayscale(15%); }

.form-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 25px; margin-bottom: 6px; }
.form-card > p.form-sub { color: var(--gray-600); font-size: 14.5px; margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--gray-900); background: var(--gray-50);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--navy-600); background: var(--white); box-shadow: 0 0 0 4px var(--navy-50);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 16px; text-align: center; }

.form-success {
  display: none; align-items: center; gap: 12px;
  background: var(--orange-50); border: 1.5px solid var(--orange-500); color: var(--navy-900);
  padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; margin-bottom: 20px;
}
.form-success.show { display: flex; animation: fadeUp 0.4s var(--ease); }

/* ---------- Terms page ---------- */
.terms-wrap { max-width: 860px; margin: 0 auto; }
.terms-updated { color: var(--gray-500); font-size: 14px; margin-bottom: 8px; text-align: center; }
.terms-toc {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 32px 0 60px; padding: 20px; background: var(--gray-50); border-radius: var(--radius);
}
.terms-toc a {
  font-size: 13.5px; font-weight: 700; color: var(--navy-700); background: var(--white);
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--gray-200); transition: all 0.25s ease;
}
.terms-toc a:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.terms-block { margin-bottom: 46px; scroll-margin-top: 100px; }
.terms-block h2 {
  font-size: 21px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--gray-100);
  display: flex; align-items: center; gap: 12px;
}
.terms-block h2 .num {
  width: 32px; height: 32px; border-radius: 9px; background: var(--navy-900); color: var(--white);
  font-size: 14px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; flex-shrink: 0;
}
.terms-block p, .terms-block li { color: var(--gray-600); font-size: 15px; margin-bottom: 10px; }
.terms-block ul { padding-left: 4px; margin-top: 10px; }
.terms-block ul li { display: flex; gap: 10px; align-items: flex-start; }
.terms-block ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); margin-top: 8px; flex-shrink: 0; }

.mini-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-100); }
.mini-table th, .mini-table td { padding: 13px 16px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.mini-table th { background: var(--navy-50); color: var(--navy-800); font-weight: 700; }
.mini-table td { color: var(--gray-700); }

.terms-highlight {
  background: var(--orange-50); border-left: 3px solid var(--orange-500); padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14.5px; color: var(--gray-700); margin-top: 14px;
}

.terms-cta { text-align: center; padding: 44px; background: var(--navy-900); border-radius: var(--radius-lg); margin-top: 20px; }
.terms-cta h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.terms-cta p { color: rgba(255,255,255,0.7); font-size: 14.5px; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 72px 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-wrap { background: var(--white); border-radius: 12px; padding: 6px; display: flex; }
.footer-logo-wrap img { height: 40px; width: auto; }
.footer-brand strong { font-family: 'Poppins', sans-serif; font-size: 19px; color: var(--white); }
.footer-about p { font-size: 14.5px; line-height: 1.75; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--orange-500); transform: translateY(-3px); }

.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.65); transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-col a:hover { color: var(--orange-500); padding-left: 4px; }

.footer-bottom { padding: 24px 0; text-align: center; font-size: 13.5px; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.65); font-weight: 600; }
.footer-bottom a:hover { color: var(--orange-500); }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Counter animation helper ---------- */
[data-count] { display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero .container, .about-grid, .specs-wrap, .contact-grid, .product-card, .color-picker { grid-template-columns: 1fr; }
  .color-preview { min-height: 260px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .tractor-box { position: static; }
  .usecase-grid, .feature-grid, .stats-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn, .nav-call { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 26px; }
  .about-list { grid-template-columns: 1fr; }
  .usecase-grid, .feature-grid, .stats-grid, .pricing-grid, .form-row, .product-specs-mini { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .tall { grid-row: span 1; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card { padding: 30px 22px; }
  .product-tabs { gap: 10px; }
  .tab-btn { padding: 11px 18px; font-size: 13.5px; }
  .float-whatsapp { width: 52px; height: 52px; bottom: 18px; right: 18px; }

  .site-header .nav { position: relative; }
  .mobile-menu {
    position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh;
    background: var(--white); z-index: 210; box-shadow: -10px 0 40px rgba(10,46,92,0.18);
    padding: 100px 30px 30px; transition: right 0.4s var(--ease);
    display: flex; flex-direction: column; gap: 6px;
  }
  .mobile-menu.open { right: 0; }
  .mobile-menu a { font-size: 17px; font-weight: 700; color: var(--navy-900); padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .mobile-menu .btn { margin-top: 20px; }
  .menu-backdrop {
    position: fixed; inset: 0; background: rgba(10,15,25,0.5); z-index: 205;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .menu-backdrop.open { opacity: 1; pointer-events: auto; }
}

@media (min-width: 721px) {
  .mobile-menu, .menu-backdrop { display: none; }
}
