/* ============================================================
   Barakah Valves Trading — public site styles
   ============================================================ */

:root {
  --navy-900: #081833;
  --navy-800: #0b1f3f;
  --navy-700: #12294f;
  --navy-600: #1b3a6b;
  --teal-500: #0ea5a3;
  --teal-400: #14b8a6;
  --teal-300: #2dd4bf;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #10213b;
  --ink-soft: #4b5b74;
  --line: #e3e9f2;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(8, 24, 51, .06);
  --shadow-md: 0 10px 30px rgba(8, 24, 51, .10);
  --shadow-lg: 0 24px 60px rgba(8, 24, 51, .18);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-500); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }

.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }

.grad {
  background: linear-gradient(92deg, var(--teal-400), #4cc9f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  border: 0; border-radius: 10px; cursor: pointer; padding: 11px 22px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, var(--teal-500), #0d8ddb); color: #fff; box-shadow: 0 6px 18px rgba(14, 165, 163, .35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(14, 165, 163, .45); }
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,.16); }
.btn-outline-dark { background: transparent; color: var(--navy-800); border: 1.5px solid var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { background: #edf2f9; color: var(--navy-800); }
.btn-ghost:hover { background: #e0e8f3; }
.btn-whatsapp { background: #22c15e; color: #fff; box-shadow: 0 6px 18px rgba(34, 193, 94, .35); }
.btn-whatsapp:hover { background: #1daf54; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- topbar ---------- */
.topbar { background: var(--navy-900); color: #b7c6dd; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 14px; padding: 7px 22px; flex-wrap: wrap; }
.topbar-contacts { display: flex; gap: 18px; }
.topbar a { color: #d4e0f0; }
.topbar a:hover { color: var(--teal-300); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 26px; padding: 12px 22px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-800); }
.brand-logo { width: 42px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 17px; letter-spacing: .04em; }
.brand-text small { font-size: 9.5px; letter-spacing: .42em; color: var(--ink-soft); }

.main-nav { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.main-nav > a, .nav-drop-toggle {
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  padding: 9px 13px; border-radius: 8px; transition: background .15s, color .15s;
}
.main-nav > a:hover, .nav-drop-toggle:hover { background: #eef3fa; color: var(--teal-500); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-drop-menu a:hover { background: #eef7f7; color: var(--teal-500); }
.nav-drop-all { border-top: 1px solid var(--line); margin-top: 6px; font-weight: 600 !important; color: var(--teal-500) !important; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-search { display: flex; background: #eef2f8; border-radius: 10px; overflow: hidden; }
.header-search input { border: 0; background: transparent; padding: 9px 14px; width: 170px; font-size: 14px; outline: none; }
.header-search button { border: 0; background: transparent; padding: 0 12px; cursor: pointer; font-size: 15px; }

.quote-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy-800); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 10px; transition: background .15s;
}
.quote-btn:hover { background: var(--navy-600); }
.cart-badge {
  position: absolute; top: -7px; right: -7px; background: var(--teal-400); color: #fff;
  font-size: 11.5px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff;
}
.account-link { font-weight: 600; font-size: 14px; color: var(--ink); }
.account-link:hover { color: var(--teal-500); }
.nav-toggle { display: none; border: 0; background: #eef2f8; font-size: 20px; padding: 8px 12px; border-radius: 10px; cursor: pointer; }

/* ---------- toasts ---------- */
.toast {
  position: fixed; top: 86px; right: 22px; z-index: 300;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-lg); animation: toastIn .35s ease, toastOut .4s ease 4s forwards;
  max-width: 340px;
}
.toast-success { background: #eafcf2; color: #157347; border: 1px solid #bff0d4; }
.toast-error { background: #fdecec; color: #b42323; border: 1px solid #f6c6c6; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px); visibility: hidden; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 18, 40, .96) 30%, rgba(8, 27, 58, .82) 60%, rgba(10, 32, 66, .55));
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.hero-orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,184,166,.55), transparent 65%); top: -120px; right: -60px; animation: drift 11s ease-in-out infinite alternate; }
.hero-orb-2 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(13,141,219,.5), transparent 65%); bottom: -100px; left: 8%; animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(40px, 30px); } }

.hero-inner { position: relative; display: flex; gap: 30px; padding-top: 84px; padding-bottom: 130px; }
.hero-copy { max-width: 640px; }
.hero-eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(20, 184, 166, .16); border: 1px solid rgba(20, 184, 166, .4);
  color: var(--teal-300); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; font-weight: 600;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; margin-bottom: 18px; }
.hero-copy > p { color: #c2d1e5; font-size: 17px; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 30px; color: var(--teal-300); }
.hero-stats strong::after { content: '+'; opacity: .7; }
.hero-stats span { font-size: 13px; color: #9fb2cc; }

.hero-cards { position: relative; flex: 1; min-width: 220px; }
.hero-chip {
  position: absolute; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); color: #e6eef8; font-size: 13.5px; font-weight: 600;
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.hc-1 { top: 12%; right: 4%; animation: floaty 6s ease-in-out infinite; }
.hc-2 { top: 44%; right: 20%; animation: floaty 7s ease-in-out 1s infinite; }
.hc-3 { top: 74%; right: 2%; animation: floaty 8s ease-in-out .5s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 64px; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: #eef2f8; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-500); font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }
.section-more { text-align: center; margin-top: 40px; }

/* ---------- reveal on scroll (only hidden when JS is available) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .3, 1) var(--d, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-chip, .hero-orb { animation: none !important; }
}

/* ---------- category grid ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; color: var(--ink); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(20, 184, 166, .5); }
.category-card-img { height: 130px; border-radius: 10px; overflow: hidden; background: #eef2f8; display: grid; place-items: center; margin-bottom: 8px; }
.category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .category-card-img img { transform: scale(1.07); }
.category-card-name { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; }
.category-card-desc { font-size: 13px; color: var(--ink-soft); }
.category-card-cta { font-size: 13.5px; font-weight: 600; color: var(--teal-500); margin-top: auto; padding-top: 8px; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalog-main .product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; display: grid; place-items: center; background: #fff; height: 190px; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-card-img img { max-height: 165px; width: auto; max-width: 92%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.img-placeholder { font-size: 54px; opacity: .3; }
.img-placeholder-lg { font-size: 110px; display: grid; place-items: center; height: 100%; }
.ribbon {
  position: absolute; top: 12px; left: 12px; background: linear-gradient(120deg, var(--teal-500), #0d8ddb);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-card-body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); }
.product-card-body h3 { font-size: 15.5px; }
.product-card-body h3 a { color: var(--ink); }
.product-card-body h3 a:hover { color: var(--teal-500); }
.product-card-body p { font-size: 13px; color: var(--ink-soft); }
.product-card-sizes { font-size: 12.5px; color: var(--ink-soft); }
.product-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(120deg, var(--teal-500), #0d8ddb); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- band ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 18, 40, .95), rgba(8, 27, 58, .8)); }
.band-inner { position: relative; padding: 84px 22px; text-align: center; max-width: 760px; }
.band-inner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 16px; }
.band-inner p { color: #c2d1e5; font-size: 16.5px; margin-bottom: 28px; }
.band-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sector {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 10px; font-size: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sector span { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: center; }
.sector:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(20, 184, 166, .5); }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; padding-bottom: 18px; color: var(--ink); display: flex; flex-direction: column; gap: 8px;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 170px; background: #eef2f8; overflow: hidden; margin-bottom: 6px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-date { font-size: 12px; color: var(--ink-soft); padding: 0 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.blog-card h3 { font-size: 16.5px; padding: 0 18px; }
.blog-card p { font-size: 13.5px; color: var(--ink-soft); padding: 0 18px; }

/* ---------- local SEO section ---------- */
.seo-section { background: #eef2f8; }
.seo-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.seo-cols h3 { font-size: 16.5px; margin-bottom: 10px; }
.seo-cols p { font-size: 14px; color: var(--ink-soft); }
.seo-cols a { font-weight: 600; }
@media (max-width: 860px) { .seo-cols { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(110deg, var(--navy-900), var(--navy-600)); color: #fff; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 54px 22px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-strip p { color: #c2d1e5; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 8px; }
.page-hero p { color: #c2d1e5; max-width: 640px; }
.page-hero-link { color: var(--teal-300); text-decoration: underline; }
.page-hero-img { padding: 90px 0; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 18, 40, .94), rgba(8, 27, 58, .72)); }
.page-hero .container { position: relative; }

/* ---------- catalog layout ---------- */
.catalog-section { padding-top: 46px; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.catalog-side { position: sticky; top: 92px; }
.catalog-side h3 { font-size: 16px; margin-bottom: 12px; }
.cat-filter { display: flex; flex-direction: column; gap: 4px; }
.cat-filter a {
  padding: 9px 14px; border-radius: 9px; color: var(--ink); font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.cat-filter a:hover { background: #e8eef7; }
.cat-filter a.active { background: var(--navy-800); color: #fff; font-weight: 600; }
.side-help { margin-top: 26px; background: #eef7f7; border: 1px solid #cdeae8; border-radius: var(--radius); padding: 18px; }
.side-help h4 { font-size: 14.5px; margin-bottom: 6px; }
.side-help p { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }

.catalog-search { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.catalog-search input {
  flex: 1; min-width: 220px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; background: #fff;
}
.catalog-search input:focus { outline: none; border-color: var(--teal-400); }
.catalog-count { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state span { font-size: 54px; display: block; margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 20px; }

/* ---------- product page ---------- */
.product-page { padding-top: 40px; }
.breadcrumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--teal-500); }
.breadcrumbs span { color: var(--ink); font-weight: 600; }

.product-layout { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 40px; margin-bottom: 50px; }
.product-media {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; padding: 26px; min-height: 360px; box-shadow: var(--shadow-sm);
}
.product-media img { max-height: 380px; object-fit: contain; }
.product-info h1 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 4px; }
.product-sku { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.product-short { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }

.product-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.product-meta div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.product-meta span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; margin-bottom: 3px; }
.product-meta strong { font-size: 13.5px; font-weight: 600; }

.product-quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.product-quote-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.product-quote-form input {
  display: block; width: 100%; margin-top: 5px; padding: 10px 13px;
  border: 1.5px solid var(--line); border-radius: 9px; font-size: 14px;
}
.product-quote-form input:focus { outline: none; border-color: var(--teal-400); }
.pqf-row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.pqf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.product-details { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; margin-bottom: 50px; }
.product-desc h2, .product-specs h2, .related h2 { font-size: 22px; margin-bottom: 14px; }
.product-desc p { color: var(--ink-soft); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table th { width: 34%; background: #f2f6fb; font-family: var(--font-head); font-size: 13px; color: var(--navy-800); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- quote cart ---------- */
.quote-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.quote-items h2, .quote-form-card h2 { font-size: 21px; margin-bottom: 16px; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th { text-align: left; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-size: 12.5px; letter-spacing: .05em; padding: 12px 14px; }
.cart-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-table input[type="text"] { width: 140px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13.5px; }
.cart-table input[type="number"] { width: 70px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13.5px; }
.row-remove { border: 0; background: #fdecec; color: #b42323; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.row-remove:hover { background: #f9d3d3; }
.cart-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.quote-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote-form-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 13px; }
.quote-form-card input, .quote-form-card textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: 9px; font-size: 14px; font-family: var(--font-body);
}
.quote-form-card input:focus, .quote-form-card textarea:focus { outline: none; border-color: var(--teal-400); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- thanks ---------- */
.thanks-wrap { max-width: 720px; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 44px; text-align: center; box-shadow: var(--shadow-md); }
.thanks-icon { font-size: 54px; display: block; margin-bottom: 12px; }
.thanks-card h1 { font-size: 28px; margin-bottom: 10px; }
.thanks-card > p { color: var(--ink-soft); margin-bottom: 24px; }
.thanks-table { text-align: left; margin-bottom: 24px; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.about-grid h2 { font-size: clamp(22px, 3vw, 32px); margin: 8px 0 16px; }
.about-grid p { color: var(--ink-soft); margin-bottom: 14px; }
.about-side { display: flex; flex-direction: column; gap: 18px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.about-card h3 { font-size: 17px; margin-bottom: 10px; }
.about-card ul { padding-left: 18px; color: var(--ink-soft); font-size: 14px; display: grid; gap: 6px; }
.about-card p { font-size: 14px; margin-bottom: 10px; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.contact-card span { font-size: 28px; display: block; margin-bottom: 8px; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- auth & account ---------- */
.auth-wrap { max-width: 460px; }
.auth-card h1 { font-size: 26px; margin-bottom: 4px; }
.auth-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.auth-alt { font-size: 14px; margin-top: 16px; text-align: center; color: var(--ink-soft); }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.account-quotes h2 { font-size: 20px; margin-bottom: 16px; }
.account-quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.aqc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.aqc-head span { font-size: 13px; color: var(--ink-soft); }
.aqc-items { list-style: none; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 3px; }

.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.badge-new { background: #e7f0ff; color: #1d4fd7; }
.badge-reviewing { background: #fff4e0; color: #b06000; }
.badge-quoted { background: #eafcf2; color: #157347; }
.badge-closed { background: #eceff4; color: #5b6577; }

/* ---------- article ---------- */
.article-section { padding-top: 40px; }
.article-wrap { max-width: 820px; }
.article h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 20px; }
.article-img { border-radius: var(--radius); margin-bottom: 24px; width: 100%; max-height: 420px; object-fit: cover; }
.article-body p { color: #33445f; font-size: 16px; margin-bottom: 16px; }
.article .blog-card-date { padding: 0; }
.related { margin-top: 50px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #22c15e; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(34, 193, 94, .45);
  transition: transform .2s ease;
  animation: pulse 2.6s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 10px 26px rgba(34,193,94,.45), 0 0 0 0 rgba(34,193,94,.4); }
  70% { box-shadow: 0 10px 26px rgba(34,193,94,.45), 0 0 0 18px rgba(34,193,94,0); }
  100% { box-shadow: 0 10px 26px rgba(34,193,94,.45), 0 0 0 0 rgba(34,193,94,0); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #a8b9d2; margin-top: 30px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-row .brand-footer { margin-bottom: 0; }
.brand-logo-footer { background: #fff; border-radius: 10px; padding: 4px; width: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 60px 22px 40px; }
.brand-footer { display: flex; flex-direction: column; line-height: 1.1; margin-bottom: 14px; }
.brand-footer strong { font-family: var(--font-head); color: #fff; font-size: 19px; letter-spacing: .04em; }
.brand-footer small { font-size: 10px; letter-spacing: .42em; color: #7e93b3; }
.footer-about p { font-size: 13.5px; margin-bottom: 14px; }
.footer-catalogue { font-size: 13.5px; font-weight: 600; color: var(--teal-300); }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; color: #a8b9d2; font-size: 13.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact { font-size: 13.5px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; font-size: 12.5px; flex-wrap: wrap; }
.vision { color: #7e93b3; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .header-search { display: none; }
  .hero-cards { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-details { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 14px; }
  .nav-toggle { display: block; }
  .topbar { display: none; }
  .quote-layout, .contact-layout, .about-grid, .account-grid, .product-layout { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .cat-filter { flex-direction: row; flex-wrap: wrap; }
  .hero-inner { padding-top: 56px; padding-bottom: 100px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 620px) {
  .category-grid, .product-grid, .catalog-main .product-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps, .form-row, .pqf-row, .contact-cards { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .account-link { display: none; }
  .cart-table input[type="text"] { width: 100%; min-width: 90px; }
}

@media (max-width: 460px) {
  .category-grid, .product-grid, .catalog-main .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
}
