/* =====================================================================
   TATVA IMPEX — Stylesheet
   Palette drawn from the Tatva Impex & Vasudha marks:
     --ink        #1b1918  (logo wordmark black)
     --primary    #443e8e  (Tatva indigo)
     --primary-dk #102a83  (Tatva deep blue, the "V" swoosh)
     --accent     #e94d21  (Tatva orange-red dot/accent)
     --vasudha    #008530  (Vasudha brand green)
     --paper      #f6f5f2  (warm off-white background)
     --line       #e4e1da  (hairline borders)
   Signature device: a "stacked sheet" motif — offset rectangles that
   echo layered PVC/WPC board stock — used on section dividers & cards.
   ===================================================================== */

:root {
  --ink: #1b1918;
  --ink-soft: #4a4744;
  --primary: #443e8e;
  --primary-dk: #102a83;
  --primary-light: #6f68b8;
  --accent: #e94d21;
  --accent-dk: #c53c15;
  --vasudha: #008530;
  --vasudha-dk: #026b27;
  --paper: #f6f5f2;
  --surface: #ffffff;
  --line: #e4e1da;
  --line-dk: #d3cfc5;
  --success: #008530;
  --danger: #c53c15;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1240px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(27, 25, 24, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 42, 131, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 42, 131, 0.16);
}

/* ---------------------------------------------------------------- */
/* Reset                                                             */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: #f2f1ee; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

h2.section-title { font-size: clamp(28px, 3.4vw, 42px); max-width: 720px; }
p.section-lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

/* ---------------------------------------------------------------- */
/* Buttons                                                            */
/* ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dk); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--primary-dk); }
.btn-outline:hover { background: var(--primary-dk); color: #fff; border-color: var(--primary-dk); }
.btn-light { background: #fff; color: var(--primary-dk); }
.btn-light:hover { background: var(--paper); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #17893f; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------------------------------------------------------------- */
/* Header / Nav                                                       */
/* ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 245, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--primary-dk);
  color: #e8e7f6;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #fff; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.topbar-links a:hover { color: var(--accent); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--primary-dk); }
.brand-mark span { color: var(--accent); }
.brand-sub { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0 0 0 30%; background: #fff; flex-direction: column; padding: 100px 32px 32px; gap: 26px; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.12); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta .btn span.btn-text-full { display: none; }
  .topbar-links a:not(:first-child) { display: none; }
}

/* ---------------------------------------------------------------- */
/* Hero                                                               */
/* ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    linear-gradient(180deg, rgba(16,42,131,0.04), rgba(16,42,131,0) 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { font-size: 18.5px; color: var(--ink-soft); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--primary-dk); }
.hero-stat span { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.sheet-stack { position: relative; height: 380px; border-radius: 6px; overflow: hidden; }
.sheet-stack .sheet {
  position: absolute; inset: 0; border-radius: 6px;
  display: flex; align-items: flex-end; padding: 22px;
  font-family: var(--font-mono); font-size: 12px; color: #fff; letter-spacing: 0.04em;
}
.sheet-stack .sheet:nth-child(1) { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); transform: translate(0,0) rotate(0deg); z-index: 3; }
.sheet-stack .sheet:nth-child(2) { background: linear-gradient(135deg, var(--vasudha), var(--vasudha-dk)); transform: translate(16px,16px); z-index: 2; opacity: 0.9; }
.sheet-stack .sheet:nth-child(3) { background: linear-gradient(135deg, var(--accent), var(--accent-dk)); transform: translate(32px,32px); z-index: 1; opacity: 0.8; }

/* ---------------------------------------------------------------- */
/* Trust bar                                                          */
/* ---------------------------------------------------------------- */
.trust-bar { background: var(--primary-dk); color: #fff; padding: 22px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; font-size: 14px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------------------------------------------------------------- */
/* Cards: categories / products                                       */
/* ---------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line-dk); }
.card-media { aspect-ratio: 4/3; background: var(--paper); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .no-image {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-family: var(--font-mono); font-size: 12px; background: repeating-linear-gradient(135deg, #eeece6, #eeece6 10px, #e6e3da 10px, #e6e3da 20px);
}
.card-body { padding: 20px 22px 22px; }
.card-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vasudha-dk); }
.card-title { font-size: 18px; margin: 6px 0 8px; }
.card-desc { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }

.category-card { display: block; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; position: relative; }
.category-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); border-radius: 8px 0 0 8px; }
.category-card h3 { font-size: 17px; margin-bottom: 6px; }
.category-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.category-card:hover { box-shadow: var(--shadow-md); }

/* ---------------------------------------------------------------- */
/* Why us / features                                                  */
/* ---------------------------------------------------------------- */
.feature { display: flex; gap: 16px; }
.feature-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 8px;
  background: rgba(68,62,142,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
}
.feature h4 { font-size: 16.5px; margin-bottom: 4px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------- */
/* Reviews                                                            */
/* ---------------------------------------------------------------- */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.review-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.review-name { font-weight: 700; font-size: 14px; }
.review-source { font-size: 12px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- */
/* Security / trust strip                                             */
/* ---------------------------------------------------------------- */
.security-strip { border: 1px dashed var(--line-dk); border-radius: 8px; padding: 28px; background: var(--surface); }

/* ---------------------------------------------------------------- */
/* CTA band                                                           */
/* ---------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--primary-dk), var(--primary)); color: #fff; border-radius: 10px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #d9d7f0; margin: 0; }

/* ---------------------------------------------------------------- */
/* Forms                                                              */
/* ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--line-dk); border-radius: var(--radius);
  font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(68,62,142,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 20px; }
.alert-success { background: #e6f6ea; color: var(--vasudha-dk); border: 1px solid #b9e5c4; }
.alert-error { background: #fdece7; color: var(--accent-dk); border: 1px solid #f6c3b0; }

/* ---------------------------------------------------------------- */
/* Contact page                                                        */
/* ---------------------------------------------------------------- */
.branch-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.branch-card h3 { font-size: 18px; margin-bottom: 4px; }
.branch-card .branch-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vasudha-dk); }
.branch-card address { font-style: normal; color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 16px; }
.branch-card .map-embed { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: 6px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- */
/* Catalogue                                                          */
/* ---------------------------------------------------------------- */
.catalogue-card { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.catalogue-icon { flex-shrink: 0; width: 56px; height: 68px; background: var(--primary); border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 12px; }
.catalogue-meta { flex: 1; }
.catalogue-meta h4 { font-size: 16px; margin-bottom: 4px; }
.catalogue-meta span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- */
/* Footer                                                             */
/* ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cbc9c5; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: 10px; font-size: 14.5px; }
.footer-brand p { font-size: 14px; color: #a9a7a2; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #3a3836;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.footer-social a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid #3a3836; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8a8884; }

/* ---------------------------------------------------------------- */
/* Floating WhatsApp button                                            */
/* ---------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 10px rgba(37,211,102,0); }
}

/* ---------------------------------------------------------------- */
/* Page header (inner pages)                                          */
/* ---------------------------------------------------------------- */
.page-header { background: var(--primary-dk); color: #fff; padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-header h1 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.page-header p { color: #d9d7f0; max-width: 600px; font-size: 16.5px; }
.breadcrumb { font-size: 13px; color: #b7b4e0; margin-bottom: 14px; font-family: var(--font-mono); }
.breadcrumb a:hover { color: #fff; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-dk);
  font-size: 13.5px; font-weight: 600; background: #fff; color: var(--ink-soft);
}
.filter-chip.active, .filter-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
