/* Vimal Industrial Corporation */

:root {
  --navy: #232b6e;
  --navy-deep: #1a2056;
  --amber: #f4a11c;
  --amber-dark: #b86f00;
  --ink: #151a33;
  --steel: #5b6378;
  --line: #dce0e8;
  --tint: #f4f6f9;
  --white: #ffffff;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--navy); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }

.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}
.kicker-light { color: var(--amber); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { padding: 0.55em 1em; font-size: 0.925rem; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #e0900c; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand img { width: auto; height: 52px; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
}
.site-nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 70, 0.94) 0%, rgba(20, 25, 70, 0.86) 45%, rgba(20, 25, 70, 0.55) 100%);
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}
.hero .lede {
  font-size: 1.125rem;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.86);
}
.trust {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}
.trust li {
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.trust li::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--amber);
  flex: none;
}

/* Quote form */
.quote {
  background: var(--white);
  color: var(--ink);
  padding: clamp(24px, 3vw, 36px);
  border-top: 5px solid var(--amber);
  border-radius: 4px;
}
.quote h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.quote-sub { color: var(--steel); font-size: 0.95rem; margin-bottom: 1.25rem; }
.quote label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0.9rem 0 0.3rem;
}
.quote label span { color: var(--amber-dark); }
.quote input,
.quote textarea {
  width: 100%;
  font: inherit;
  font-size: 0.975rem;
  color: var(--ink);
  padding: 0.65em 0.8em;
  border: 1px solid #c7ccd8;
  border-radius: 4px;
  background: var(--white);
}
.quote textarea { resize: vertical; min-height: 84px; }
.quote input:focus,
.quote textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(35, 43, 110, 0.18); }
.quote input[aria-invalid="true"] { border-color: #c0392b; }
.quote .btn { margin-top: 0.5rem; }
.form-status { font-size: 0.9rem; margin: 1rem 0 0; min-height: 1.4em; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: #1d6b3a; }

/* One load moment: hero copy and form settle in */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .quote { animation: settle 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .quote { animation-delay: 0.12s; }
  @keyframes settle {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 4px;
}
.about-media { margin: 0; position: relative; }
.about-media::after {
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 38%; height: 38%;
  border-left: 5px solid var(--amber);
  border-bottom: 5px solid var(--amber);
  z-index: -1;
}
.about-copy h2 { margin-bottom: 1.25rem; max-width: 20ch; }
.about-copy p { color: var(--steel); max-width: 60ch; }
.about-copy .btn { margin-top: 0.75rem; }

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(56px, 7vw, 88px) 0 0;
  border-top: 2px solid var(--navy);
}
.highlights > div {
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.highlights > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.highlights dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}
.highlights dd { margin: 0.25rem 0 0; color: var(--steel); font-size: 0.95rem; }

.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: clamp(40px, 5vw, 56px);
  background: var(--line);
  border: 1px solid var(--line);
}
.vm > div { background: var(--tint); padding: clamp(24px, 3vw, 36px); }
.vm h3 { color: var(--navy); margin-bottom: 0.6rem; }
.vm p { color: var(--steel); margin: 0; max-width: 56ch; }

/* Section heads */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 640px; }
.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.section-head-split p:last-child { color: var(--steel); max-width: 56ch; margin: 0; }

/* Offer */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px);
}
.offer img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}
.offer h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--amber);
}
.offer p { color: var(--steel); margin: 0; font-size: 0.975rem; }
.offer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 1.75rem;
  border-top: 2px solid var(--navy);
}
.offer-cta p { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin: 0; }

/* Brands */
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section-navy h2 { color: var(--white); }
.brands-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.brands-copy h2 { margin-bottom: 1.25rem; }
.brands-lead { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--white); }
.brands-copy p { max-width: 48ch; }
.brands-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.brands-cta p { color: var(--white); font-weight: 500; margin-bottom: 0.85rem; }

.brand-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.brand-wall li {
  background: var(--white);
  border-radius: 4px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  overflow: hidden;
}
/* Source logos carry uneven whitespace; --zoom evens out their visual size */
.brand-wall img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--zoom, 1));
}
.brand-wall .brand-fill { padding: 0; background: #00cc4f; }
.brand-wall .brand-fill img { object-fit: cover; }
.brand-wall .brand-more {
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}
/* Who we serve */
.serve-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.serve-list > div {
  padding: 1.75rem 1.75rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.serve-list > div:not(:nth-child(3n + 1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.serve-list h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.5rem; }
.serve-list p { color: var(--steel); margin: 0; font-size: 0.975rem; max-width: 36ch; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.why-intro { position: sticky; top: 110px; }
.why-intro h2 { margin-bottom: 1.25rem; }
.why-intro p { color: var(--steel); max-width: 44ch; }
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 2.5rem;
}
.why-list li { padding-top: 1.1rem; border-top: 2px solid var(--navy); }
.why-list h3 { margin-bottom: 0.45rem; }
.why-list p { color: var(--steel); margin: 0; font-size: 0.975rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
.contact-copy h2 { margin-bottom: 2rem; }
address { font-style: normal; }
.contact-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 1rem; }
.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 600; color: var(--steel); font-size: 0.925rem; }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.map { min-height: 400px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 38ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 20px; font-size: 0.875rem; }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .site-nav { gap: 1.25rem; }
  .hero-grid, .about-grid, .brands-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .quote { max-width: 560px; }
  .about-media { max-width: 640px; }
  .why-intro { position: static; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-list { grid-template-columns: repeat(2, 1fr); }
  .serve-list > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .serve-list > div:nth-child(2n) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; text-align: center; }
  .section-head-split { grid-template-columns: 1fr; align-items: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand img { height: 44px; }
  .offer-grid, .why-list, .vm, .serve-list { grid-template-columns: 1fr; }
  .serve-list > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .serve-list > div { padding-right: 0; }
  .highlights { grid-template-columns: 1fr; }
  .highlights > div, .highlights > div + div { padding: 1.1rem 0; border-left: 0; }
  .highlights > div + div { border-top: 1px solid var(--line); }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-wall li { height: 84px; padding: 12px 14px; }
  .about-media::after { left: -8px; bottom: -8px; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .map, .map iframe { min-height: 320px; }
}
