/* Shri Tulsinath Industries: shared stylesheet */
:root {
  --accent: #F47B20;      /* STI logo orange */
  --grey: #6D6E71;        /* STI logo grey */
  --ink: #1B1B1B;
  --muted: #5A5A5A;
  --line: #E6E6E1;
  --paper: #FFFFFF;
  --soft: #F7F6F2;
  --sky: #E6F5FA;         /* brochure background blue */
  --gutter: 56px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* ---------- layout helpers ---------- */
.section { padding: 88px var(--gutter); }
.section--soft { background: var(--soft); }
.section--sky { background: var(--sky); }
.section--dark { background: var(--ink); color: #fff; }
.section--accent { background: var(--accent); }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row--wide { gap: 48px 80px; align-items: flex-start; }
.row--between { justify-content: space-between; align-items: center; gap: 24px 48px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 28px; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-weight: 600; font-size: 17px; padding: 16px 30px; border-radius: 8px; border: 1.5px solid transparent; font-family: inherit; cursor: pointer; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline { border-color: var(--ink); }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); background: #fff; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-weight: 500; }
.nav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a.is-active { border-bottom-color: var(--accent); }
.nav a.nav__cta { background: var(--ink); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; border-bottom: 0; }

/* ---------- type ---------- */
.intro { padding: 72px var(--gutter) 48px; }
.display { font-size: clamp(44px, 8vw, 120px); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.display--md { font-size: clamp(40px, 6.6vw, 96px); }
.lead { font-size: 22px; line-height: 1.5; color: #4A4A4A; max-width: 560px; margin: 0; }
.h2 { font-size: clamp(30px, 4vw, 56px); letter-spacing: -.03em; line-height: 1; font-weight: 700; }
.h2--sm { font-size: clamp(26px, 3.2vw, 44px); }
.prose { font-size: 19px; line-height: 1.65; color: #3C3C3C; }
.prose p { margin: 0 0 20px; }

/* ---------- photos ---------- */
.photo { width: 100%; border-radius: 16px; object-fit: cover; }
.photo--hero { aspect-ratio: 1496 / 900; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--soft); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.section--soft .card { background: #fff; }
.card__img { background: #fff; border-radius: 10px; height: 230px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.section--soft .card__img { background: var(--soft); }
.card__img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.card__body { padding: 0 6px 6px; }
.card__title { font-family: var(--font-head); font-weight: 600; font-size: 24px; }
.card__meta { color: #6A6A6A; margin-top: 2px; font-size: 15px; }
a.card:hover { opacity: 1; box-shadow: 0 6px 24px rgba(0,0,0,.08); }

/* ---------- list rows (range) ---------- */
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-top: 1.5px solid var(--ink); }
.list-row:last-child { border-bottom: 1.5px solid var(--ink); }
.list-row strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.list-row span { color: #6A6A6A; text-align: right; }

/* ---------- stats / key features ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; border-top: 1.5px solid var(--ink); padding-top: 32px; }
.stat { flex: 1 1 200px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(48px, 6vw, 72px); letter-spacing: -.03em; line-height: 1; }
.stat span { color: var(--muted); display: block; margin-top: 8px; }
.keyfeat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.keyfeat li { background: #fff; border-radius: 12px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.keyfeat li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- check lists ---------- */
.checks li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- pills / toolbar ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1.5px solid var(--ink); padding: 8.5px 20px; border-radius: 999px; font-weight: 500; }
.pill.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 28px; }
.search { padding: 14px 18px; border: 1.5px solid #CFCFC8; border-radius: 999px; font-size: 16px; font-family: inherit; min-width: 260px; }
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.empty { padding: 40px 0; color: var(--muted); font-size: 18px; }

/* ---------- product detail ---------- */
.crumbs { padding: 24px var(--gutter) 0; font-size: 15px; color: #6A6A6A; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs b { color: var(--ink); font-weight: 400; }
.detail-img { flex: 1 1 520px; align-self: flex-start; position: sticky; top: 24px; background: var(--soft); border-radius: 16px; min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.detail-img img { max-height: 480px; object-fit: contain; }
.detail-info { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; }
.specs { margin: 0; border-top: 1.5px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: #6A6A6A; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.badge { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }

/* ---------- parts ---------- */
.part { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 40px 0; border-top: 1.5px solid var(--ink); }
.part:last-child { border-bottom: 1.5px solid var(--ink); }
.part__img { flex: 0 1 340px; background: var(--soft); border-radius: 16px; height: 260px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.part__img img { max-height: 100%; object-fit: contain; }
.part__body { flex: 1 1 360px; }
.part__body h3 { font-size: 36px; letter-spacing: -.02em; margin-bottom: 8px; }

/* ---------- contact form ---------- */
.form { display: flex; flex-direction: column; gap: 20px; flex: 1 1 480px; }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 220px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { padding: 16px; border: 1.5px solid #CFCFC8; border-radius: 8px; font-size: 17px; font-family: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.info-block { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.info-block small { display: block; color: #6A6A6A; font-size: 15px; margin-bottom: 8px; }
.info-block .big { font-family: var(--font-head); font-weight: 600; font-size: 28px; }
.map { width: 100%; height: 260px; border: 0; border-radius: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #CFCFC8; padding: 64px var(--gutter) 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.footer-cols > div:first-child { flex: 1 1 300px; max-width: 380px; }
.footer-cols h4 { color: #fff; font-weight: 600; margin: 0 0 6px; font-size: 16px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 12px 16px; align-self: flex-start; }
.footer-logo img { height: 56px; width: auto; }
.footer-bottom { border-top: 1px solid #3A3A3A; margin-top: 48px; padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding: 56px var(--gutter); }
  .intro { padding: 40px var(--gutter) 28px; }
  .detail-img { min-height: 340px; padding: 16px; }
  .detail-img img { max-height: 300px; }
  .list-row span { display: none; }
  .part__body h3 { font-size: 28px; }
}
