/* Vinayak Industries — site styles (mobile first, desktop from 900px). Tokens follow the approved canvas design. */

:root {
  --ground: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #17181A;
  --ink-2: #3F4248;
  --muted: #4B4E54;
  --line: #DDD8CD;
  --tile: #E6E1D6;
  --dark: #1C1D20;
  --dark-2: #2A2C30;
  --dark-line: #4E5158;
  --on-dark: #F7F5F0;
  --on-dark-2: #D4D0C7;
  --on-dark-3: #BCB7AD;
  --accent: #7A5C14;
  --accent-hover: #5C450F;
  --accent-light: #E0C98F;
  --whatsapp: #157A3F;
  --whatsapp-hover: #0F5E30;
  --error: #F2A08A;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --gutter: 20px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 800; }
p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; font-family: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-quiet { height: 48px; padding: 0 22px; font-size: 15px; border: 1.5px solid var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; width: 100%; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: .02em; line-height: 1.1; }
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: none; }

@media (min-width: 900px) {
  .header-inner { height: 84px; }
  .brand { flex-direction: row; align-items: baseline; gap: 12px; }
  .brand-name { font-size: 26px; }
  .brand-sub { font-size: 12px; }
  .site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
  .site-nav > a:not(.btn) { color: var(--ink); text-decoration: none; }
  .site-nav > a:not(.btn):hover { color: var(--accent); }
  .call-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 32px 0 28px; }
.hero-grid { display: grid; gap: 28px; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow-light { color: var(--accent-light); }
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; }
.lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; }

.hero-art {
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #F1EDE4 0%, var(--tile) 60%, #D8D1C2 100%);
}
.hero-art svg { display: block; width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero { padding: 80px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hero-copy { gap: 24px; }
  .eyebrow { font-size: 13px; }
  .lead { font-size: 19px; }
  .hero-actions { flex-direction: row; gap: 14px; }
  .hero-actions .btn { height: 56px; font-size: 17px; }
  .hero-art { border-radius: 18px; }
}

/* ---------- Stats ---------- */
.stats { padding: 0 0 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.stat-label { font-size: 12px; line-height: 1.35; color: var(--muted); }

@media (min-width: 900px) {
  .stats { padding-bottom: 72px; }
  .stats-grid { gap: 16px; }
  .stat { flex-direction: row; align-items: baseline; gap: 14px; padding: 24px 28px; border-radius: 14px; }
  .stat-value { font-size: 36px; }
  .stat-label { font-size: 15px; }
}

/* ---------- Products ---------- */
.products { background: var(--surface); padding: 36px 0; border-top: 1px solid var(--line); }
.products-legs { border-top: 0; border-bottom: 1px solid var(--line); padding-top: 8px; }
.products h2 { font-size: 26px; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.product { display: flex; flex-direction: column; gap: 6px; }
.product-art {
  width: 100%; height: 150px; padding: 14px; border-radius: 12px;
  background: radial-gradient(110% 90% at 35% 25%, #F1EDE4 0%, var(--tile) 70%);
}
.product h3 { font-size: 15px; font-weight: 600; margin-top: 4px; }
.price { font-size: 14px; color: var(--ink-2); }
.product a { font-size: 14px; font-weight: 600; }

.more-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 150px; padding: 12px; border-radius: 12px; text-align: center; text-decoration: none;
  background: var(--ink); color: var(--on-dark);
}
.more-card:hover { background: #2B2D31; color: var(--on-dark); }
.more-count { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.more-label { font-size: 14px; font-weight: 600; }
.more-link { font-size: 13px; color: var(--accent-light); }

/* The legs grid shows two on phones, like the design */
.products-legs .product:nth-child(n+3) { display: none; }

@media (min-width: 900px) {
  .products { padding: 72px 0 48px; }
  .products-legs { padding: 48px 0 72px; }
  .products h2 { font-size: 40px; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .products-legs .section-head .btn { order: 2; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .product { gap: 10px; }
  .product-art { height: 260px; padding: 24px; border-radius: 14px; }
  .product h3 { font-size: 18px; }
  .price { font-size: 16px; }
  .product a { font-size: 15px; }
  .more-card { height: 260px; border-radius: 14px; gap: 8px; }
  .more-count { font-size: 44px; }
  .more-label { font-size: 17px; }
  .more-link { font-size: 15px; }
  .products-legs .product:nth-child(n+3) { display: flex; }
}

/* Phones: the price list button sits below the legs, as in the mobile design */
@media (max-width: 899px) {
  .products-legs .section-head { display: contents; }
  .products-legs .container { display: flex; flex-direction: column; }
  .products-legs .section-head .btn { order: 3; margin-top: 18px; width: 100%; }
  .products-legs .product-grid { order: 2; }
}

/* ---------- Dealers ---------- */
.dealers { background: var(--dark); color: var(--on-dark); padding: 40px 0; }
.dealers-grid { display: grid; gap: 18px; }
.dealers-copy { display: flex; flex-direction: column; gap: 18px; }
.dealers h2 { font-size: 26px; line-height: 1.15; }
.dealers-copy > p:last-child { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }

.quote-form { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--dark-2); border-radius: 14px; }
.form-row { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--on-dark-2); }
.field input {
  height: 46px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--dark-line); background: var(--dark); color: var(--on-dark);
  font: 15px var(--font-body);
}
.field input::placeholder { color: #8E8A82; }
.field input:focus { outline: none; border-color: var(--accent-light); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.form-error { color: var(--error); font-size: 14px; font-weight: 500; }
.quote-form .btn-accent { height: 50px; }
.form-note { font-size: 13px; color: var(--on-dark-3); text-align: center; }

@media (min-width: 900px) {
  .dealers { padding: 80px 0; }
  .dealers-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .dealers-copy { gap: 20px; }
  .dealers h2 { font-size: 44px; line-height: 1.1; }
  .dealers-copy > p:last-child { font-size: 18px; }
  .quote-form { padding: 32px; gap: 16px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .field label { font-size: 14px; }
  .field input { height: 48px; padding: 0 14px; }
  .quote-form .btn-accent { height: 52px; }
}

/* ---------- About + contact ---------- */
.info { padding: 40px 0; }
.info-grid { display: grid; gap: 0; }
.about, .contact { display: flex; flex-direction: column; gap: 14px; }
.info h2 { font-size: 26px; }
.about p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.photo { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; }

/* On phones the contact block is its own white band, as in the design */
.contact { margin: 40px calc(-1 * var(--gutter)) -40px; padding: 36px var(--gutter) 40px; background: var(--surface); border-top: 1px solid var(--line); }
.contact-list { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.contact-list dt { display: inline; font-weight: 600; }
.contact-list dd { display: inline; margin: 0; }
.map { width: 100%; height: 170px; border: 0; border-radius: 14px; background: var(--tile); }

@media (min-width: 900px) {
  .info { padding: 80px 0; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about, .contact { gap: 18px; }
  .info h2 { font-size: 36px; }
  .about p { font-size: 17px; line-height: 1.65; }
  .photo { height: 240px; border-radius: 16px; }
  .contact { margin: 0; padding: 0; background: none; border: 0; }
  .contact-list { font-size: 17px; gap: 10px; }
  .map { height: 200px; border-radius: 16px; }
  .contact .btn-block { width: auto; align-self: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-3); padding: 24px 0; font-size: 13px; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { color: var(--on-dark); font-weight: 600; }
.photo-credits { margin-top: 14px; font-size: 12px; color: #8E8A82; }

@media (min-width: 900px) {
  .site-footer { padding: 32px 0; font-size: 14px; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
