/* ====================================================================
   SWAYAM POLYMER — 2026 design (client file supplied 22 Oct 2026)
   Brand guidelines: documents/docs-swapolymerr/Swayam-Polymer-Visual-Brand-Guidelines-2026-10-22.md

   Loaded by homepage/layout-marketplace.blade.php AFTER swayam-polymer.css.
   Contains:
     1. Shared header, footer and mobile action bar (every public page)
     2. Home page components (scoped under .h26, resources/views/home-2026)
   Inner-page content keeps its existing markup; its colours / font sizes come
   from the --sp-* tokens in swayam-polymer.css.
   Dark mode: OFF since 2026-10-24 (client wants the light look in every browser).
   The site always renders the light palette, whatever the visitor's system/browser
   theme. The former dark rules are kept below as comments ("DARK MODE OFF").
   ==================================================================== */

:root {
  --k-navy: #12233D;
  --k-navy-2: #1B3558;
  --k-orange: #F28C28;
  --k-orange-hover: #F9A04A;
  --k-wa: #0F7A41;
  --k-footer: #0B1626;
  --k-footer-line: #24364F;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

/* ---------- Shared buttons (do not depend on Bootstrap .btn) ---------- */
.sp26-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font: 600 16px/1 "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.sp26-btn--sm { min-height: 42px; padding: 0 18px; font-size: 16px; } /* header button: 42px high, 16px text (brand guidelines §4 Button) */
.sp26-btn--o { background: var(--k-orange); color: var(--k-navy); }
.sp26-btn--o:hover { background: var(--k-orange-hover); color: var(--k-navy); }
.sp26-btn--g { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.sp26-btn--g:hover { border-color: #fff; color: #fff; }
.sp26-btn--w { background: var(--k-wa); color: #fff; }
.sp26-btn--w:hover { background: #0D6E3C; color: #fff; }
.sp26-btn:focus-visible, .sp26-nav a:focus-visible, .sp26-footer a:focus-visible { outline: 3px solid var(--k-orange); outline-offset: 2px; }

/* ---------- Header ---------- */
.sp26-header { position: sticky; top: 0; z-index: 1030; background: var(--k-navy); color: #fff; }
.sp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sp26-header .sp-wrap { max-width: 1200px; }
@media (min-width: 1400px) { .sp26-header .sp-wrap { max-width: 1360px; } }
@media (min-width: 1600px) { .sp26-header .sp-wrap { max-width: 1440px; } }
.sp26-header .navbar { padding: 0; min-height: 68px; }
.sp26-header .sp-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 68px; }
.sp26-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 20px/1 "IBM Plex Sans", system-ui, sans-serif; color: #fff; text-decoration: none; white-space: nowrap;
}
.sp26-logo:hover { color: #fff; }
.sp26-logo { min-height: 44px; }
.sp26-logo b {
  background: var(--k-orange); color: var(--k-navy); border-radius: 6px; padding: 3px 8px; font-size: 15px; font-weight: 700;
}
.sp26-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; } /* 22px link gap (client design) */
.sp26-nav .nav-link, .sp26-nav .sp26-tel {
  color: #E2E8F0; font: 500 15px/1.2 "IBM Plex Sans", system-ui, sans-serif; padding: 6px 0; margin: 0; text-decoration: none; white-space: nowrap;
}
.sp26-nav .nav-link:hover, .sp26-nav .nav-link.active, .sp26-nav .nav-link.show { color: var(--k-orange); }
.sp26-nav .sp26-tel { color: #fff; font-weight: 600; white-space: nowrap; }
.sp26-header .sp26-nav .nav-link { padding-left: 0; padding-right: 0; }
.sp26-nav .dropdown-toggle::after { vertical-align: 2px; opacity: .7; }
.sp26-nav .dropdown-menu {
  background: var(--k-navy); border: 1px solid var(--k-footer-line); border-radius: 8px; padding: 6px 0; margin-top: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.sp26-nav .dropdown-item {
  color: #E2E8F0 !important; background: transparent !important; font: 500 15px/1.3 "IBM Plex Sans", system-ui, sans-serif; padding: 9px 20px;
}
.sp26-nav .dropdown-item:hover, .sp26-nav .dropdown-item:focus, .sp26-nav .dropdown-item.active {
  background: var(--k-navy-2) !important; color: var(--k-orange) !important;
}
@media (min-width: 1400px) {
  .sp26-nav .nav-item.dropdown { position: relative; }
  .sp26-nav .nav-item.dropdown:hover > .dropdown-menu { display: block; }
  /* Hover bridge (fix 2026-10-24): invisible strip over the 8px gap between the
     link and the menu, so the menu stays open while the pointer moves down to it. */
  .sp26-nav .nav-item.dropdown > .dropdown-menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  }
}
.sp26-header .navbar-collapse { flex-grow: 1; }
@media (min-width: 1400px) and (max-width: 1599.98px) { .sp26-nav .sp26-tel-item { display: none; } }
.sp26-header .navbar-toggler { border: 1px solid rgba(255,255,255,.55); padding: 6px 10px; margin-left: 0; min-height: 44px; } /* ghost border 55% white */
.sp26-header .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.sp26-header .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(242,140,40,.5); }
.sp26-header .sp26-mobile-cta { margin-left: auto; }
@media (max-width: 1399.98px) {
  .sp26-header .sp-wrap { gap: 12px; }
  .sp26-header .collapse:not(.show) { display: none; }
  .sp26-header .navbar-collapse { flex-basis: 100%; order: 3; padding: 4px 0 16px; border-top: 1px solid var(--k-footer-line); }
  .sp26-nav { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .sp26-nav .nav-link, .sp26-nav .sp26-tel { display: block; padding: 13px 2px; border-bottom: 1px solid var(--k-footer-line); } /* ≥44px tap target */
  .sp26-nav .dropdown-menu { position: static; box-shadow: none; border: 0; margin: 0; padding: 0 0 0 14px; background: transparent; }
  .sp26-nav .sp26-desk-cta { display: none; }
}
@media (min-width: 1400px) { .sp26-header .sp26-mobile-cta { display: none; } .sp26-header .navbar-toggler { display: none; } }

/* ≤720px: the fixed bottom bar (Call / WhatsApp / Enquire) carries Enquire, so the
   header drops its duplicate button and the logo keeps its full 20px size on one 68px row. */
@media (max-width: 720px) {
  .sp26-header .sp26-mobile-cta { display: none; }
  .sp26-header .navbar-toggler { margin-left: auto; }
}
@media (max-width: 520px) {
  .sp26-header .sp-wrap { gap: 8px; }
  .sp26-header .navbar-toggler { padding: 6px 8px; }
}

/* ---------- Footer ---------- */
.sp26-footer { background: var(--k-footer); color: #CBD5E1; padding: 56px 0 32px; font: 400 15px/1.65 "IBM Plex Sans", system-ui, sans-serif; }
.sp26-footer .sp26-fh { color: #fff; margin: 0 0 12px; font: 600 16px/1.3 "IBM Plex Sans", system-ui, sans-serif; }
.sp26-footer a { color: #CBD5E1; text-decoration: none; }
.sp26-footer a:hover { color: var(--k-orange); }
.sp26-footer p { margin: 0 0 6px; color: #CBD5E1; }
.sp26-fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.sp26-fg .links a { display: block; padding: 3px 0; }
@media (max-width: 720px) { .sp26-fg .links a, .sp26-footer p a { padding-top: 8px; padding-bottom: 8px; } .sp26-fg .links a { display: block; } .sp26-footer p a { display: inline-block; } }
.sp26-mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.sp26-social { display: flex; gap: 16px; margin-top: 22px; }
.sp26-social a { font-size: 18px; }
.sp26-copy { border-top: 1px solid var(--k-footer-line); margin-top: 32px; padding-top: 18px; font-size: 13px; }
@media (max-width: 860px) { .sp26-fg { grid-template-columns: 1fr 1fr; } .sp26-fg > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sp26-fg { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.sp26-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .sp26-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    background: var(--k-navy); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .sp26-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px;
    color: #fff; font: 600 15px/1 "IBM Plex Sans", system-ui, sans-serif; text-decoration: none; background: var(--k-navy-2);
  }
  .sp26-bar a.g { background: var(--k-wa); }
  .sp26-bar a.o { background: var(--k-orange); color: var(--k-navy); }
  /* keep the Storm Widget floating buttons clear of the bar */
  .sw-wa-fab, .sw-chat-fab { bottom: 88px !important; }
  /* the bar already has a WhatsApp button — hide the floating one so they don't overlap */
  .sp-wa-float { display: none !important; }
}

/* ====================================================================
   HOME PAGE  (.h26)
   ==================================================================== */
.h26 {
  --h-bg: #FFFFFF; --h-alt: #F7F5F0; --h-text: #334155; --h-head: #12233D; --h-line: #E2E8F0;
  --h-card: #FFFFFF; --h-otext: #B45309; --h-bar: #12233D;
  background: var(--h-bg); color: var(--h-text);
  font: 400 17px/1.65 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* DARK MODE OFF (2026-10-24), always light. Former rule:
@media (prefers-color-scheme: dark) {
  .h26 {
    --h-bg: #0B1626; --h-alt: #0F1D32; --h-text: #CBD5E1; --h-head: #F1F5F9; --h-line: #24364F;
    --h-card: #12233D; --h-otext: #F5A552; --h-bar: #5B7BA8; color-scheme: dark;
  }
}
*/
.h26 h1, .h26 h2, .h26 h3 { color: var(--h-head); font-family: "IBM Plex Sans", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
.h26 h1 { font-size: clamp(32px, 5vw, 46px); }
.h26 h2 { font-size: clamp(26px, 3.4vw, 34px); }
.h26 h3 { font-size: 20px; }
.h26 p { margin: 0 0 1em; }
.h26 a:not(.sp26-btn) { color: inherit; }
.h26 .mono, .h26 .h-label, .h26 .h-num { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.h-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--h-otext); font-weight: 500; margin-bottom: 10px; display: block; }
.h-sec { padding: 80px 0; }
.h-sec.alt { background: var(--h-alt); }
.h-card { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 10px; padding: 24px; }

/* Hero */
.h-hero { background: linear-gradient(135deg, #12233D 0%, #1B3558 100%); color: #E2E8F0; padding: 72px 0; }
.h-hero h1 { color: #fff; }
.h-hero .h-label { color: #F5A552; }
.h-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.h-hero .lead { font-size: 19px; color: #E2E8F0; max-width: 560px; }
.h-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Quote form */
.h-qf { color: var(--h-text); }
.h-qf h2 { font-size: 20px; margin-bottom: 4px; }
.h-qf small { display: block; margin-bottom: 14px; font-size: 14px; }
.h-qf label { display: block; font-size: 14px; font-weight: 600; margin: 10px 0 4px; color: var(--h-head); }
.h-qf input:not([type=hidden]), .h-qf select {
  width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #94A3B8; border-radius: 6px;
  font: inherit; font-size: 16px; background: var(--h-bg); color: var(--h-text);
}
.h-qf input:focus-visible, .h-qf select:focus-visible { outline: 3px solid var(--k-orange); outline-offset: 1px; }
.h-qf .sp26-btn { width: 100%; margin-top: 16px; }
.h-qf .h-err { display: none; color: #B91C1C; font-size: 14px; margin-top: 8px; }
.h-qf .h-err.show { display: block; }
/* DARK MODE OFF: @media (prefers-color-scheme: dark) { .h-qf .h-err { color: #FCA5A5; } } */
.h-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Stats */
.h-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.h-stat { background: var(--h-card); border: 1px solid var(--h-line); border-top: 3px solid var(--k-orange); border-radius: 8px; padding: 20px; }
.h-stat .h-num { font-size: 34px; font-weight: 500; color: var(--h-head); display: block; line-height: 1.1; }
.h-stat span:last-child { font-size: 14px; }

/* About + chart */
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h-chart { display: flex; align-items: flex-end; gap: 14px; height: 230px; padding: 0 4px; border-bottom: 2px solid var(--h-line); }
.h-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.h-col i { display: block; width: 100%; background: var(--h-bar); border-radius: 4px 4px 0 0; }
.h-col.hi i { background: var(--k-orange); }
.h-col .h-num { font-size: 14px; color: var(--h-head); margin-bottom: 4px; font-weight: 500; }
.h-axis { display: flex; gap: 14px; padding: 6px 4px 0; font-size: 13px; }
.h-axis span { flex: 1; text-align: center; }

/* Products */
.h-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-prod ul { padding: 0; margin: 12px 0 18px; list-style: none; font-size: 15px; }
.h-prod li { padding: 7px 0; border-top: 1px dashed var(--h-line); }
.h-prod a.more { color: var(--h-otext); font-weight: 600; text-decoration: none; }
.h-prod a.more:hover { text-decoration: underline; }

/* Industries */
.h-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.h-chip { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 8px; padding: 16px; font-weight: 500; font-size: 16px; color: var(--h-head); }
.h-chip .h-num { color: var(--h-otext); font-size: 13px; display: block; margin-bottom: 4px; }

/* Team */
.h-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.h-person b { display: block; color: var(--h-head); font-size: 18px; }
.h-person .h-num { font-size: 13px; color: var(--h-otext); }
.h-person .ph {
  width: 56px; height: 56px; border-radius: 50%; background: var(--k-navy); color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 12px;
}
.h-person .ph img { width: 100%; height: 100%; object-fit: cover; }
/* DARK MODE OFF: @media (prefers-color-scheme: dark) { .h-person .ph { background: #1B3558; } } */

/* CTA */
.h-cta { background: var(--k-navy); color: #E2E8F0; text-align: center; }
.h-cta h2 { color: #fff; }
.h-cta .h-ctas { justify-content: center; }

/* Home responsive */
@media (max-width: 860px) {
  .h-hero-grid, .h-two { grid-template-columns: 1fr; gap: 32px; }
  .h-stats { grid-template-columns: 1fr 1fr; }
  .h-grid4, .h-chips, .h-grid3 { grid-template-columns: 1fr 1fr; }
  .h-sec { padding: 56px 0; }
  .h-hero { padding: 48px 0 72px; }
}
@media (max-width: 520px) {
  .h-grid4, .h-chips, .h-grid3 { grid-template-columns: 1fr; }
  .h-stats { grid-template-columns: 1fr 1fr; }
  .h-stat .h-num { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
