/* ============================================================
   Sarsanwala Trading Co. LLC — Industrial B2B catalogue
   Steel-navy + safety-orange system. Mobile-first.
   ============================================================ */

:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --text: #1B2127;
  --muted: #5C6670;
  --primary: #233543;
  --primary-700: #1A2832;
  --secondary: #4C5B68;
  --accent: #E8631A;
  --accent-600: #D2530E;
  --border: #D8DEE4;
  --focus: #1F6FEB;
  --whatsapp: #25D366;

  --maxw: 1240px;
  --gutter: clamp(18px, 5vw, 40px);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 33, 39, .06), 0 1px 3px rgba(27, 33, 39, .05);
  --shadow-md: 0 6px 18px rgba(27, 33, 39, .10);
  --shadow-lg: 0 22px 50px -18px rgba(27, 33, 39, .35);

  --ff-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #FF8a4d; }

.h-display { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: -0.02em; }
.h-section { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.h-sub { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }

.lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted); max-width: 60ch; }

.muted { color: var(--muted); }

.section-head { max-width: 64ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head > * + * { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  min-height: 50px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 99, 26, .6); }
.btn--accent:hover { background: var(--accent-600); box-shadow: 0 12px 26px -8px rgba(232, 99, 26, .65); }

.btn--whatsapp { background: var(--whatsapp); color: #06351a; }
.btn--whatsapp:hover { background: #1fc15c; }

.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-700); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--secondary); background: rgba(76, 91, 104, .06); }

.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .92rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 52px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.18rem; letter-spacing: .01em; color: var(--primary); }
.brand__sub { font-family: var(--ff-head); font-weight: 500; font-size: .64rem; letter-spacing: .34em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  color: var(--secondary); padding: 10px 14px; border-radius: var(--radius);
  position: relative; transition: color .15s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header__cta { margin-left: 8px; }
.header__cta .btn { display: inline-flex; }

.burger {
  margin-left: auto; display: none; width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); align-items: center; justify-content: center; color: var(--primary);
}
.burger svg { width: 24px; height: 24px; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(27,33,39,.5); backdrop-filter: blur(2px); animation: fade .2s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--surface); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 20px;
  animation: slidein .26s var(--ease); overflow-y: auto;
}
@keyframes slidein { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__link {
  font-family: var(--ff-head); font-weight: 600; font-size: 1.22rem;
  padding: 15px 8px; border-bottom: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__link.is-active { color: var(--accent); }
.drawer__cats { padding: 4px 8px 12px; }
.drawer__cat { display: block; padding: 9px 0; color: var(--muted); font-weight: 500; font-size: .98rem; }
.drawer__actions { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(232,99,26,.16), transparent 46%),
    linear-gradient(180deg, #2a3e4e 0%, var(--primary) 60%, var(--primary-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 40%, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(54px, 8vw, 96px); }
.hero__copy > * + * { margin-top: 22px; }
.hero h1 { color: #fff; }
.hero__lead { color: #C5D0D9; font-size: clamp(1.05rem, 1.9vw, 1.28rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 14px; color: #9fb0bc; font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 4 / 4.2;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(26,40,50,.55)); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--surface); color: var(--text);
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; max-width: 84%;
}
.hero__badge .yr { font-family: var(--ff-head); font-weight: 700; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.hero__badge small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; }
.hero__badge strong { font-family: var(--ff-head); font-size: 1rem; color: var(--text); }

/* ---------- Trust strip ---------- */
.trust { background: var(--primary-700); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 22px var(--gutter); display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.08); }
.trust__item:last-child { border-right: none; }
.trust__item svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.trust__item b { font-family: var(--ff-head); font-weight: 700; font-size: 1.04rem; display: block; }
.trust__item span { color: #9fb0bc; font-size: .82rem; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  min-height: 100%;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.cat-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--primary); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26,40,50,.4)); }
.cat-card__num { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--ff-head); font-weight: 700; font-size: .82rem; letter-spacing: .1em; color: #fff; background: rgba(27,33,39,.5); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 3px; }

/* CSS placeholder treatment for categories without a photo */
.cat-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(80% 120% at 80% -10%, rgba(232,99,26,.22), transparent 50%),
    linear-gradient(150deg, #2c4150, var(--primary-700));
}
.cat-ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.cat-ph svg { width: 56px; height: 56px; color: rgba(255,255,255,.85); position: relative; }

.cat-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card__title { font-family: var(--ff-head); font-weight: 700; font-size: 1.28rem; line-height: 1.08; }
.cat-card__desc { color: var(--muted); font-size: .94rem; line-height: 1.5; flex: 1; }
.cat-card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 600; color: var(--accent); font-size: .98rem; margin-top: 4px; }
.cat-card__link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

/* ---------- Audience band ---------- */
.aud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.aud__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.aud__item:hover { border-color: var(--secondary); transform: translateY(-3px); }
.aud__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(35,53,67,.06); color: var(--primary); }
.aud__ico svg { width: 26px; height: 26px; }
.aud__item b { font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; line-height: 1.15; }

/* ---------- Process / how we work ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process__step {
  position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.process__step:hover { border-color: var(--secondary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process__num { font-family: var(--ff-head); font-weight: 700; font-size: .98rem; letter-spacing: .12em; color: var(--accent); }
.process__ico { width: 50px; height: 50px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(35,53,67,.06); color: var(--primary); }
.process__ico svg { width: 26px; height: 26px; }
.process__step b { font-family: var(--ff-head); font-weight: 700; font-size: 1.12rem; color: var(--text); line-height: 1.2; }
.process__step p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------- Split / about teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__copy > * + * { margin-top: 20px; }
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 6px; }
.stat b { font-family: var(--ff-head); font-weight: 700; font-size: 2.4rem; color: var(--primary); line-height: 1; display: block; }
.stat span { color: var(--muted); font-size: .9rem; }

.checklist { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 130% at 90% 10%, rgba(232,99,26,.2), transparent 50%); }
.ctaband__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.ctaband h2 { color: #fff; }
.ctaband p { color: #C5D0D9; margin-top: 12px; max-width: 52ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-700); color: #B8C4CD; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 72px); }
.footer__brand img { height: 76px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .94rem; line-height: 1.6; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1.06rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: #B8C4CD; font-size: .94rem; padding: 4px 0; transition: color .15s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #8b99a3; }

/* ---------- Page header ---------- */
.pagehead { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 88% -10%, rgba(232,99,26,.16), transparent 50%); }
.pagehead::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(120% 100% at 0% 0%, #000 30%, transparent 75%);
}
.pagehead__inner { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 76px); }
.pagehead h1 { color: #fff; }
.pagehead p { color: #C5D0D9; margin-top: 16px; max-width: 60ch; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #9fb0bc; margin-bottom: 18px; font-family: var(--ff-head); font-weight: 500; letter-spacing: .02em; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 14px; height: 14px; }

/* ---------- Products hub list ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }

/* ---------- Category page ---------- */
.cat-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prod-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.prod-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f4; }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__cap { padding: 14px 16px; font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; }

.itemlist { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); margin-top: 26px; }
.itemlist h3 { font-size: 1.4rem; margin-bottom: 6px; }
.itemlist__cols { columns: 2; column-gap: 36px; margin-top: 18px; }
.itemlist li { break-inside: avoid; display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--border); list-style: none; }
.itemlist ul { margin: 0; padding: 0; }
.itemlist li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.itemlist li span { font-size: .98rem; }

.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.quotebox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.quotebox__head { background: var(--primary); color: #fff; padding: 20px 22px; }
.quotebox__head h3 { color: #fff; font-size: 1.3rem; }
.quotebox__head p { color: #B8C4CD; font-size: .88rem; margin-top: 6px; }
.quotebox__body { padding: 20px 22px; display: grid; gap: 12px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: rgba(232,99,26,.08); border: 1px solid rgba(232,99,26,.25); border-radius: var(--radius); padding: 12px 14px; font-size: .88rem; color: #8a3d12; }
.notice svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }

/* category navigation chips */
.catnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.catnav a { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--secondary); transition: all .15s var(--ease); }
.catnav a:hover { border-color: var(--secondary); color: var(--text); }
.catnav a.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--secondary); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface); width: 100%; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(31,111,235,.15); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #c5391f; }
.field__err { color: #c5391f; font-size: .8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.4); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.form-success svg { width: 52px; height: 52px; color: var(--whatsapp); margin: 0 auto 12px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.office-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.office-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.office-card h3 .tag { font-family: var(--ff-head); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.tag--hq { background: var(--accent); color: #fff; }
.tag--branch { background: rgba(76,91,104,.14); color: var(--secondary); }
.office-card dl { margin: 18px 0 0; display: grid; gap: 14px; }
.office-row { display: flex; gap: 12px; align-items: flex-start; }
.office-row svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 3px; }
.office-row dt { font-family: var(--ff-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.office-row dd { margin: 2px 0 0; }
.office-row dd a { color: var(--text); }
.office-row dd a:hover { color: var(--accent); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.team-card__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
.team-card b { font-family: var(--ff-head); font-size: 1.18rem; font-weight: 700; }
.team-card .role { color: var(--accent); font-family: var(--ff-head); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.team-card__links { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.team-card__links a { font-size: .9rem; color: var(--secondary); display: flex; gap: 8px; align-items: center; }
.team-card__links a:hover { color: var(--accent); }
.team-card__links svg { width: 15px; height: 15px; flex: none; }

.map-ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  min-height: 320px; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(35,53,67,.05), transparent),
    repeating-linear-gradient(0deg, #eef1f4, #eef1f4 38px, #e7ebf0 38px, #e7ebf0 39px),
    repeating-linear-gradient(90deg, #f4f6f8, #f4f6f8 38px, #eef1f4 38px, #eef1f4 39px);
}
.map-ph__inner { background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; max-width: 360px; box-shadow: var(--shadow-sm); }
.map-ph__inner svg { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 10px; }
.map-ph__inner b { font-family: var(--ff-head); font-size: 1.1rem; display: block; }
.map-ph__inner p { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ---------- About ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.value-card__ico { width: 50px; height: 50px; border-radius: var(--radius); background: var(--primary); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.value-card__ico svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .96rem; }

.entities { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.entity { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; font-family: var(--ff-head); font-weight: 600; font-size: 1.04rem; }
.entity span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 4px; }

.about-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* ---------- Certification ---------- */
.cert-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cert-frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-md); }
.cert-frame img { width: 100%; border-radius: var(--radius); }
.cert-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(27,33,39,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 11px 4px; min-height: 60px; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; color: var(--secondary); border-right: 1px solid var(--border); }
.mbar a:last-child { border-right: none; }
.mbar a svg { width: 22px; height: 22px; }
.mbar a.is-wa { color: var(--whatsapp); }
.mbar a.is-quote { background: var(--accent); color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wafab {
  position: fixed; right: 20px; bottom: 24px; z-index: 65;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(37,211,102,.6);
  transition: transform .2s var(--ease);
}
.wafab:hover { transform: scale(1.07); }
.wafab svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .aud { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .cat-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .contact-grid, .cert-layout, .split, .ctaband__inner { grid-template-columns: 1fr; }
  .ctaband__inner { gap: 22px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__item { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 760px) {
  .cat-grid, .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip img { height: 200px; }
  .itemlist__cols { columns: 1; }
  .brand__txt { display: none; }
  .mbar { display: grid; }
  .wafab { display: none; }
  body { padding-bottom: 64px; }
  .footer { padding-bottom: 64px; }
}

@media (max-width: 540px) {
  .cat-grid, .hub-grid, .prod-grid, .team-grid, .aud, .process { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 24px; }
  .hero__badge { left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
