/* ==========================================================================
   Indovex International — main stylesheet
   --------------------------------------------------------------------------
   Sections (search for the "==" banners to jump around):
     1. Theme tokens        8. Product cards & catalogue
     2. Base / reset        9. About / services / process
     3. Layout helpers     10. FAQ accordion
     4. Buttons & tags     11. Contact & inquiry form
     5. Top bar & header   12. WhatsApp (floating + CTA)
     6. Hero & page hero   13. Footer
     7. Category cards     14. Responsive tweaks
   To re-theme the site, change the variables in section 1 only.
   ========================================================================== */


/* == 1. Theme tokens ====================================================== */
:root {
  /* Brand colours */
  --ivory: #FAF6EE;          /* page background */
  --ivory-deep: #F2EBDD;     /* alternate section background */
  --navy: #1C2B3A;           /* text, nav, footer */
  --navy-soft: #2C3E50;
  --brass: #D9A441;          /* accent: buttons, rules, highlights */
  --brass-dark: #8A6216;     /* brass for small text on ivory (passes contrast) */
  --white: #FFFFFF;

  /* Neutrals derived from navy */
  --text: var(--navy);
  --text-muted: #556270;
  --border: rgba(28, 43, 58, 0.12);
  --border-strong: rgba(28, 43, 58, 0.22);

  /* Status */
  --success: #2F6B4F;
  --error: #A23B2A;
  --whatsapp: #25D366;

  /* Type */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  /* Shape & depth */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 58, 0.06);
  --shadow: 0 1px 2px rgba(28, 43, 58, 0.05), 0 8px 24px -12px rgba(28, 43, 58, 0.18);
  --shadow-lg: 0 2px 4px rgba(28, 43, 58, 0.06), 0 18px 40px -18px rgba(28, 43, 58, 0.30);

  --wrap: 1180px;
  --header-h: 76px;
}


/* == 2. Base / reset ====================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; color: var(--brass-dark); }

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* == 3. Layout helpers ==================================================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.section { padding: 96px 0; }
.section--alt { background: var(--ivory-deep); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.7); }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }

/* Small uppercase label above headings, e.g. "CAT–01" or "OUR STORY" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section--navy .eyebrow { color: var(--brass); }

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.muted { color: var(--text-muted); }


/* == 4. Buttons & tags ==================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--brass); color: var(--navy); }
.btn--primary:hover { background: #E4B252; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--outline { border-color: var(--border-strong); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); }
.btn--whatsapp { background: var(--whatsapp); color: #0B3D1F; }
.btn--whatsapp:hover { background: #3ADF7A; }
.btn--sm { padding: 9px 14px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--brass); padding-bottom: 2px;
}
.text-link:hover { color: var(--brass-dark); }

/* Category tag on product cards, e.g. "SPICES" */
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(217, 164, 65, 0.16); color: var(--brass-dark);
}


/* == 5. Top bar & header ================================================== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, 0.78); font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-contact { display: flex; gap: 24px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--brass); }

/* Social icon list — used in top bar and footer */
.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: inherit; transition: background-color .2s, color .2s;
}
.social a:hover { background: rgba(255, 255, 255, 0.1); color: var(--brass); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 66px; height: 48px; object-fit: contain; }
.brand-text { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1; color: var(--navy); }
.brand-text small {
  display: block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark); margin-top: 3px;
}

/* Main nav. To add a page (e.g. Blog), add one <li> to .nav-list on every page. */
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.93rem; font-weight: 500; text-decoration: none; color: var(--navy);
}
.nav-list a:hover { background: rgba(28, 43, 58, 0.06); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav-list .nav-cta { margin-left: 8px; }
.nav-list .nav-cta a { background: var(--navy); color: var(--white); padding: 10px 18px; }
.nav-list .nav-cta a:hover { background: var(--navy-soft); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--navy); cursor: pointer; place-items: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }


/* == 6. Hero & page hero ================================================== */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border); list-style: none; padding-left: 0;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.hero-facts li::before { content: "◆"; color: var(--brass); margin-right: 8px; font-size: 0.6rem; vertical-align: 2px; }

/* Navy "shipping manifest" panel with route map */
.route-panel {
  background: var(--navy); border-radius: 16px; padding: 28px; color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg); position: relative;
}
.route-panel-head {
  display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.route-panel-head strong { color: var(--brass); font-weight: 500; }
.route-svg { width: 100%; height: auto; margin: 12px 0; }
.route-svg .route { fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: 0.75; animation: dash 30s linear infinite; }
.route-svg .node { fill: var(--brass); }
.route-svg .node-origin { fill: var(--white); }
.route-svg .ring { fill: none; stroke: var(--white); opacity: 0.4; }
.route-svg text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; fill: rgba(255, 255, 255, 0.72); }
.route-svg .grid line { stroke: rgba(255, 255, 255, 0.06); }
@keyframes dash { to { stroke-dashoffset: -300; } }
.route-panel-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.route-panel-foot div { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.route-panel-foot strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--white); font-weight: 500; margin-top: 2px; }

/* Inner page header */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 820px; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-hero p { max-width: 680px; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 0; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }


/* == 7. Category cards ==================================================== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px 24px; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border-strong); }
.category-code { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brass-dark); margin-bottom: 20px; }
.category-icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--navy); }
.category-card h3 { margin-bottom: 8px; }
.category-card p { color: var(--text-muted); font-size: 0.93rem; flex: 1; }
.category-card .card-link { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-top: 8px; }
.category-card .card-link::after { content: " →"; color: var(--brass-dark); }


/* == 8. Product cards & catalogue ========================================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-grid--preview { grid-template-columns: repeat(4, 1fr); }

.product-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card[hidden] { display: none; }
.product-media { aspect-ratio: 4 / 3; background: var(--ivory-deep); border-bottom: 1px solid var(--border); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body .tag { align-self: flex-start; margin-bottom: 10px; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.product-specs {
  list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px dashed var(--border-strong);
  display: grid; gap: 4px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em;
}
.product-specs li { display: flex; justify-content: space-between; gap: 12px; }
.product-specs span { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.product-hsn {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--brass-dark);
  margin: -2px 0 10px;
}
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.product-sample {
  align-self: center; margin-top: 12px; font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px;
}
.product-sample:hover { color: var(--navy); }
.product-actions .btn { flex: 1; padding: 9px 10px; font-size: 0.82rem; white-space: nowrap; }

/* Catalogue: one section per category */
.catalog-group + .catalog-group { margin-top: 56px; }
.catalog-group[hidden] { display: none; }
.catalog-group .product-body .tag { display: none; } /* section heading already names the category */
.catalog-group-head { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.catalog-group-head .category-code { display: block; margin-bottom: 6px; }
.catalog-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 4px; }
.catalog-group-head p { margin: 0; color: var(--text-muted); }

.catalog-search { position: relative; flex: 1 1 260px; max-width: 360px; }
.catalog-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.catalog-search input {
  width: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--white); color: var(--navy); font-family: var(--font-sans); font-size: 0.93rem;
}
.catalog-search input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25); }
.catalog-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }

.catalog-empty {
  text-align: center; padding: 48px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--white);
}
.catalog-empty h2 { font-size: 1.4rem; }
.catalog-empty p { color: var(--text-muted); max-width: 460px; margin: 0 auto 20px; }
.catalog-disclaimer { margin-top: 20px; font-size: 0.8rem; color: var(--text-muted); }

/* Catalogue filter bar */
.catalog-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--white); color: var(--navy); cursor: pointer; transition: all .2s;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-chip .count { font-family: var(--font-mono); font-size: 0.75rem; opacity: 0.6; margin-left: 4px; }
.catalog-count { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.catalog-note {
  margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--brass); background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: 0.93rem;
}
.catalog-note p:last-child { margin: 0; }

/* Share row (catalogue page) */
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); }
.share-row a {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); color: var(--navy); transition: all .2s;
}
.share-row a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.share-row svg { width: 15px; height: 15px; fill: currentColor; }


/* == 9. About / services / process ======================================== */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.split p { color: var(--text-muted); font-size: 1.03rem; }

.pull-quote {
  margin: 0; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 36px;
  position: relative; box-shadow: var(--shadow-lg);
}
.pull-quote blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.4; font-style: italic; }
.pull-quote figcaption { margin-top: 20px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--white); padding: 28px 24px; }
.fact strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--navy); line-height: 1.2; }
.fact span { display: block; margin-top: 4px; line-height: 1.5; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card .num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--brass-dark); margin-bottom: 14px; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }
.info-card ul { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--border-strong); list-style: none; font-size: 0.9rem; }
.info-card li { padding: 3px 0; }
.info-card li::before { content: "—"; color: var(--brass-dark); margin-right: 8px; }
.section--navy .info-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.section--navy .info-card p { color: rgba(255, 255, 255, 0.7); }
.section--navy .info-card .num { color: var(--brass); }

/* Four-step process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; border-top: 1px dashed var(--border-strong); }
.timeline li { position: relative; counter-increment: step; }
.timeline li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--brass);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy); margin-bottom: 18px; position: relative;
}
.section--alt .timeline li::before { background: var(--ivory-deep); }
.timeline h3 { font-size: 1.1rem; }
.timeline p { color: var(--text-muted); font-size: 0.93rem; }

/* Closing call-to-action band */
.cta-band { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 72px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }


/* == 10. FAQ accordion ==================================================== */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside p { color: var(--text-muted); font-size: 0.95rem; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 16px; }
.faq-list { border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif); font-size: 1.12rem; font-weight: 500; color: var(--navy);
}
.faq-question:hover { color: var(--brass-dark); }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; transition: transform .25s, background-color .25s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq-question[aria-expanded="true"] .faq-icon { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
/* Collapsed answers animate open; visibility keeps closed answers hidden from screen readers */
.faq-answer { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility .3s; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { color: var(--text-muted); padding-right: 52px; margin: 0 0 20px; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; visibility: visible; }


/* == 11. Contact & inquiry form =========================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-intro > p { color: var(--text-muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: grid; place-items: center; color: var(--navy); }
.contact-list .icon svg { width: 18px; height: 18px; }
.contact-list .label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.contact-list a { font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--brass-dark); }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card-head {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 28px;
  background: var(--navy); color: var(--white);
}
.form-card-head strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; white-space: nowrap; }
.form-card-head span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--brass); text-align: right; }
.inquiry-form { padding: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--ivory); color: var(--navy); font-family: var(--font-sans); font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: var(--white); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap */
.form-footnote { font-size: 0.8rem; color: var(--text-muted); margin: 14px 0 0; }

.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(47, 107, 79, 0.1); color: var(--success); border: 1px solid rgba(47, 107, 79, 0.3); }
.form-status.is-error { background: rgba(162, 59, 42, 0.08); color: var(--error); border: 1px solid rgba(162, 59, 42, 0.3); }
.form-status a { font-weight: 600; }

.btn.is-loading { opacity: 0.7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* == 12. WhatsApp (floating + CTA) ======================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; align-items: center; gap: 10px; padding: 0; border-radius: 999px;
  background: var(--whatsapp); color: var(--white); text-decoration: none;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.35); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.4); }
/* Hidden (by main.js) while the contact section or footer is on screen — they have their own WhatsApp links */
.wa-float { transition: transform .2s, box-shadow .2s, opacity .25s, visibility .25s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
.wa-float-icon { width: 58px; height: 58px; display: grid; place-items: center; }
.wa-float-icon svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float-label { display: none; }

.wa-cta {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(37, 211, 102, 0.45); box-shadow: var(--shadow-sm);
}
.wa-cta-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: grid; place-items: center; }
.wa-cta-icon svg { width: 26px; height: 26px; fill: currentColor; }
.wa-cta strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; }
.wa-cta p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.wa-cta .btn { margin-left: auto; flex: none; }


/* == 13. Footer =========================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { display: inline-block; background: var(--ivory); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.footer-logo img { width: 150px; }
.footer-brand p { max-width: 300px; }
.site-footer h2 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.site-footer .social { margin-left: -8px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.5);
}


/* == 14. Responsive tweaks ================================================ */
@media (max-width: 1080px) {
  .category-grid, .product-grid--preview { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .split, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .faq-aside { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }

  /* Mobile nav: slide-down panel */
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 12px 20px 20px; display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 12px 12px; font-size: 1rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brass); }
  .nav-list .nav-cta { margin: 10px 0 0; }
  .nav-list .nav-cta a { text-align: center; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head--row { align-items: flex-start; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero p, .hero .lede { font-size: 1rem; }

  /* Header */
  .topbar-contact .hide-sm { display: none; }
  .topbar .wrap { min-height: 36px; }
  .topbar-contact { min-width: 0; }
  .topbar-contact a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .social { gap: 0; flex: none; }
  .topbar .social a { width: 30px; }
  .brand img { width: 55px; height: 40px; }
  .brand-text { font-size: 1.05rem; }
  .brand-text small { display: none; }
  .site-nav { max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto; }

  /* Hero: full-width buttons; the route map collapses to a compact manifest strip */
  .hero { padding: 36px 0 48px; }
  .hero h1 { margin-bottom: 16px; }
  .hero .btn-row .btn, .cta-band .btn-row .btn, .faq-aside .btn { flex: 1 1 100%; }
  .hero-facts { margin-top: 28px; gap: 8px 20px; font-size: 0.7rem; }
  .route-panel { padding: 18px; border-radius: 12px; }
  .route-svg { display: none; }
  .route-panel-head { padding-bottom: 12px; }
  .route-panel-foot { border-top: 0; padding-top: 12px; }

  /* Category cards: compact rows, icon on the left */
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; padding: 18px;
  }
  .category-card .category-icon { grid-row: 1 / span 4; margin: 2px 0 0; width: 40px; height: 40px; }
  .category-code { margin-bottom: 4px; }
  .category-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .category-card p { font-size: 0.88rem; margin-bottom: 6px; }
  .category-card .card-link { margin-top: 0; }

  /* Product cards: two per row, showing the essentials (name, category, MOQ) */
  .product-grid, .product-grid--preview { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-body .tag { font-size: 0.58rem; padding: 3px 6px; margin-bottom: 8px; }
  .product-body h3 { font-size: 0.98rem; }
  .product-body p { display: none; }
  .product-specs { margin-bottom: 12px; padding-top: 8px; font-size: 0.68rem; }
  .product-specs li:not(:first-child) { display: none; }
  .product-specs li { flex-wrap: wrap; gap: 0 6px; }
  .product-hsn { font-size: 0.66rem; margin: 0 0 10px; }
  .product-sample { font-size: 0.75rem; margin-top: 10px; }
  .catalog-group + .catalog-group { margin-top: 40px; }
  .catalog-group-head { margin-bottom: 16px; }
  .catalog-search { max-width: none; flex-basis: 100%; }
  .catalog-search input { font-size: 16px; }
  .product-actions { flex-direction: column; gap: 6px; }
  .product-actions .btn { padding: 9px 6px; font-size: 0.8rem; }

  /* Catalogue filters: one swipeable row instead of wrapping */
  .catalog-toolbar { margin-bottom: 20px; padding-bottom: 14px; }
  .filter-group {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; padding: 8px 14px; font-size: 0.85rem; }

  /* Content cards & timeline */
  .card-grid, .timeline { grid-template-columns: 1fr; gap: 12px; }
  .timeline { row-gap: 24px; }
  .info-card { padding: 22px; }
  .fact { padding: 20px 16px; }
  .fact strong { font-size: 1.3rem; }
  .pull-quote { padding: 28px 24px; }
  .pull-quote blockquote { font-size: 1.2rem; }
  .split, .contact-grid, .faq-layout { gap: 36px; }
  .cta-band { padding: 48px 0; }
  .cta-band .wrap { gap: 24px; }

  /* FAQ */
  .faq-question { font-size: 1.02rem; padding: 16px 0; gap: 16px; }
  .faq-answer p { padding-right: 0; }
  .faq-group + .faq-group { margin-top: 36px; }

  /* Form: 16px inputs stop iPhones zooming in when a field is tapped */
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px; }
  .inquiry-form { padding: 20px 16px; }
  .form-card-head { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .form-card-head span { text-align: left; }
  .contact-list { margin: 24px 0; }
  .wa-cta { flex-wrap: wrap; padding: 16px; }
  .wa-cta .btn { margin-left: 0; width: 100%; }

  /* Footer: link columns side by side */
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 36px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  /* WhatsApp becomes a slim bar fixed to the bottom of the screen.
     The body gets matching bottom padding so the bar never covers content. */
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .wa-float {
    left: 0; right: 0; bottom: 0; border-radius: 0; justify-content: center; gap: 8px;
    height: calc(52px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px -6px rgba(0, 0, 0, 0.25);
  }
  .wa-float:hover { transform: none; }
  .wa-float.is-hidden { opacity: 1; visibility: visible; transform: none; } /* always shown on phones */
  .wa-float-label { display: block; order: 2; font-weight: 600; font-size: 0.95rem; }
  .wa-float-icon { width: auto; height: auto; }
  .wa-float-icon svg { width: 22px; height: 22px; }
}

/* Very small phones (e.g. iPhone SE 1st gen) */
@media (max-width: 360px) {
  .product-grid, .product-grid--preview { grid-template-columns: 1fr; }
  .route-panel-foot strong { font-size: 0.95rem; }
}

@media (min-width: 921px) {
  /* Wider screens: show "Chat with us" text next to the floating icon */
  .wa-float-label { display: block; padding-left: 20px; font-weight: 600; font-size: 0.9rem; }
  .wa-float-more { display: none; }
  .wa-float-icon { width: 52px; height: 52px; }
}
