/* ===== RR MAHAJAN — industrial wholesale theme ===== */
:root {
  --ink: #0e1b29;
  --ink-2: #2c3e50;
  --gray: #5c6b7a;
  --line: #dfe5ec;
  --light: #eef2f7;
  --paper: #ffffff;
  --navy: #0d2b45;
  --navy-2: #123a63;
  --navy-deep: #091f33;
  --amber: #e8a13a;
  --amber-dark: #c9832a;
  --amber-tint: #faf0dc;
  --radius: 14px;
  --shadow: 0 12px 44px rgba(13, 43, 69, .10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: var(--navy); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.015em; font-weight: 800; font-family: var(--display); }

/* ---------- top strip ---------- */
.top-strip { background: var(--navy-deep); color: #9fb6cc; font-size: 13px; border-bottom: 3px solid var(--amber); }
.strip-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.strip-cta { color: var(--amber); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 15px 30px; border-radius: 8px;
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1;
  border: 2px solid var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,43,69,.3); background: var(--navy-2); border-color: var(--navy-2); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); box-shadow: 0 10px 24px rgba(232,161,58,.4); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { box-shadow: none; transform: none; color: var(--amber-dark); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); box-shadow: none; transform: none; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.arr { transition: transform .15s ease; }
.btn:hover .arr, .link-arrow:hover .arr, .art-card:hover .arr { transform: translateX(4px); }

.link-arrow { font-family: var(--display); font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.link-arrow:hover { color: var(--amber-dark); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(13,43,69,.07); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto;
  background: var(--navy); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-name {
  font-family: var(--display); text-transform: uppercase;
  font-weight: 800; font-size: 19px; letter-spacing: .03em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px;
}
.brand-name em { font-style: normal; color: var(--amber-dark); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-family: var(--display); font-weight: 600; font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--amber); transition: right .18s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { right: 0; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- sections base ---------- */
.sec { padding: 96px 0; }
.sec-white { background: var(--paper); }
.sec-light { background: var(--light); }
.sec-navy { background: var(--navy-deep); color: #fff; }
.sec-head { max-width: 640px; margin-bottom: 50px; }
.sec-head.row-between { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.eyebrow { color: var(--amber-dark); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.sec-navy .eyebrow { color: var(--amber); }
.sec-title { font-size: clamp(29px, 4vw, 42px); margin: 0; }
.sec-title.left { text-align: left; }
.sec-title.inv { color: #fff; text-align: center; margin-bottom: 48px; }
.muted { color: var(--gray); }
.small { font-size: 13px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 112px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; left: -240px; bottom: -260px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(13,43,69,.06) 0%, rgba(13,43,69,0) 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 5.2vw, 62px); margin: 0 0 22px; text-transform: none; }
.hero-sub { color: var(--gray); font-size: 18.5px; max-width: 540px; margin: 0 0 6px; }
.hero-note { margin-top: 18px; font-size: 14px; color: #6b7c8d; font-weight: 600; }
.hero-art { position: relative; }
.hero-img {
  border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 34px 80px rgba(13,43,69,.18);
}
.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 44px rgba(13,43,69,.16); padding: 14px 18px;
  animation: float 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; font-family: var(--display); }
.float-card small { color: #8595a5; font-size: 12px; }
.fc-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--amber-tint); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fc-ic.navy { background: var(--navy); color: var(--amber); }
.fc-ic svg { width: 18px; height: 18px; }
.fc1 { left: -28px; bottom: 56px; }
.fc2 { right: -14px; top: -26px; animation-delay: 2.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- stats ---------- */
.stats-sec { padding: 82px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; color: #fff; }
.stat b::after { content: ""; display: block; width: 34px; height: 4px; background: var(--amber); border-radius: 2px; margin: 12px 0 10px; }
.stat span { color: #9fb6cc; font-size: 15px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--amber); }
.card-ic {
  width: 50px; height: 50px; border-radius: 11px; margin-bottom: 18px;
  background: var(--navy); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 18.5px; margin: 0 0 10px; }
.card p { color: var(--gray); font-size: 14.5px; margin: 0; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px 28px;
}
.step-no {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--amber); color: var(--navy-deep);
  font-family: var(--display); font-weight: 800; font-size: 21px;
  margin-bottom: 18px;
}
.step-no::before { content: counter(step); }
.step h3 { font-size: 19px; margin: 0 0 10px; }
.step p { color: var(--gray); font-size: 14.5px; margin: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid.flip .about-media { order: 2; }
.about-media img, .about-ph { border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-ph { aspect-ratio: 9/7; background: linear-gradient(135deg, var(--light), #fff); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.about-ph svg { width: 64px; height: 64px; }
.prose { color: var(--ink-2); font-size: 16.5px; }
.prose p { margin: 0 0 16px; }
.prose p.lead { font-size: 18px; color: var(--ink); }
.prose h2 { font-size: 25px; margin: 30px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--navy); border-bottom: 2px solid var(--amber); font-weight: 600; }
.prose img { border-radius: 14px; margin: 20px 0; }

/* ---------- article cards ---------- */
.art-cards { grid-template-columns: repeat(3, 1fr); }
.art-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.art-card:hover h3 { color: var(--navy-2); }
.art-cover { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.art-card:hover .art-cover img { transform: scale(1.04); }
.art-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.art-date { color: #8595a5; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.art-date.big { font-size: 14px; margin-bottom: 10px; }
.art-body h3 { font-size: 19.5px; margin: 0; }
.art-sum { color: var(--gray); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-more { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--amber-dark); }

/* ---------- cta ---------- */
.cta-sec { padding: 40px 0 96px; }
.cta-panel {
  background: var(--navy-deep); color: #fff; border-radius: 22px;
  padding: 70px 48px; text-align: center;
  background-image: radial-gradient(circle at 88% 12%, rgba(232,161,58,.2), transparent 50%);
}
.cta-panel h2 { font-size: clamp(27px, 4vw, 40px); margin: 0 0 14px; }
.cta-panel p { color: #9fb6cc; max-width: 580px; margin: 0 auto 8px; font-size: 16.5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-ic {
  width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.c-ic svg { width: 19px; height: 19px; }
.contact-list b { display: block; font-size: 15px; font-family: var(--display); }
.contact-list span:not(.c-ic) { color: var(--gray); font-size: 14.5px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 20px; font-size: 21px; }
.contact-card label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 16px; }
.contact-card input, .contact-card textarea {
  display: block; width: 100%; margin-top: 7px;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.contact-card input:focus, .contact-card textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,43,69,.14); }
.form-note { font-size: 13px; color: #8595a5; margin: 14px 0 0; }
.form-note a { color: var(--navy); font-weight: 600; }

/* ---------- articles list page ---------- */
.page-head { background: var(--navy-deep); padding: 82px 0 66px; color: #fff; }
.page-head .eyebrow { color: var(--amber); }
.page-title { font-size: clamp(32px, 5vw, 50px); margin: 0 0 14px; color: #fff; }
.page-sub { color: #9fb6cc; font-size: 18px; max-width: 640px; margin: 0; }

/* ---------- article page ---------- */
.art-page { padding: 72px 0 96px; }
.art-page .back { display: inline-block; margin-bottom: 30px; }
.art-lead { font-size: 19px; color: var(--gray); margin: 0 0 30px; }
.art-hero { border-radius: 20px; box-shadow: var(--shadow); margin: 0 0 40px; border: 1px solid var(--line); }
.art-footer-cta { margin-top: 64px; }

/* ---------- footer ---------- */
.site-foot { border-top: 4px solid var(--amber); background: var(--navy); color: #c7d5e2; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding: 70px 28px 54px; }
.foot-brand p { color: #9fb6cc; font-size: 14px; margin: 18px 0 0; max-width: 380px; }
.foot-tag { font-weight: 600; color: #dbe6ef !important; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 { margin: 0 0 6px; font-size: 13px; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.foot-col a, .foot-contact { color: #9fb6cc; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.foot-col a:hover { color: var(--amber); }
.foot-col svg { width: 15px; height: 15px; color: var(--amber); }
.foot-bottom { border-top: 1px solid #1c3d5c; padding: 22px 0; }
.foot-bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7d95ab; font-size: 13px; }

/* ---------- reveal animation ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid.flip .about-media { order: 0; }
  .cards, .art-cards, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fc1 { left: 0; } .fc2 { right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .sec { padding: 68px 0; }
  .hero { padding: 58px 0 84px; }
  .cards, .art-cards, .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  .burger { display: block; }
  .site-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 20px;
    box-shadow: 0 20px 40px rgba(13,43,69,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-link { padding: 13px 0; border-bottom: 1px solid var(--light); }
  .site-nav .btn { margin-top: 14px; }
  .brand-name { max-width: 200px; font-size: 16px; }
  .cta-panel { padding: 52px 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
