/* Jaybee Transformers .co.in — industrial switchyard layout, Jaybee maroon theme */
:root {
  --maroon: #8b2a38;
  --maroon-deep: #5c1a24;
  --maroon-soft: #b84554;
  --maroon-glow: rgba(139, 42, 56, 0.2);
  --ink: #12141a;
  --text: #1a1d24;
  --muted: #5a6370;
  --white: #ffffff;
  --steel: #e8ebf0;
  --steel-2: #d2d7df;
  --panel: #f4f6f8;
  --line: rgba(18, 20, 26, 0.12);
  --copper: #a65d3b;
  --max: 1180px;
  --header-h: 4.35rem;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 22px 48px rgba(18, 20, 26, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--panel);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Top strip —— */
.rail {
  background: var(--ink);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.rail .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}
.rail a { color: #fff; font-weight: 600; }
.rail a:hover { color: #f0c8ce; }
.rail-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img {
  height: 48px;
  width: auto;
  max-width: min(180px, 40vw);
  object-fit: contain;
}
.brand-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--maroon);
  line-height: 1;
}
.brand-meta span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--maroon); background: rgba(139,42,56,0.06); }
.nav-links a.nav-cta {
  background: var(--maroon);
  color: #fff !important;
  margin-left: 0.35rem;
}
.nav-links a.nav-cta:hover { background: var(--maroon-deep); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-deep); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-call { background: var(--ink); color: #fff; }

/* —— Hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink) center/cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(18,20,26,0.92) 0%, rgba(18,20,26,0.72) 42%, rgba(92,26,36,0.45) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 49px
    );
}
.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
  max-width: 38rem;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 0.85rem;
  animation: riseIn 0.8s var(--ease) both;
}
.hero-brand em {
  font-style: normal;
  color: #f0c8ce;
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s 0.08s var(--ease) both;
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  animation: riseIn 1s 0.15s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1s 0.22s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* —— Sections —— */
.section { padding: 4.25rem 0; }
.section-tight { padding: 3rem 0; }
.section-steel { background: var(--steel); }
.section-white { background: var(--white); }
.section-ink {
  background: var(--ink);
  color: #fff;
}
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.45rem;
}
.section-ink .eyebrow { color: #f0c8ce; }
.section-head h2,
.page-hero h1,
.product-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
.lede { color: var(--muted); font-size: 1.05rem; }
.section-ink .lede { color: rgba(255,255,255,0.75); }

.page-hero {
  background:
    linear-gradient(120deg, var(--maroon-deep), var(--maroon) 55%, #7a3240),
    var(--maroon);
  color: #fff;
  padding: 3.5rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.04) 60px,
    rgba(255,255,255,0.04) 61px
  );
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: #f0c8ce; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 38rem; }

/* —— Capability strip —— */
.cap-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--steel-2);
  border: 1px solid var(--steel-2);
}
.cap-strip div {
  background: var(--white);
  padding: 1.35rem 1.1rem;
  text-align: center;
}
.cap-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.cap-strip span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* —— Product mosaic —— */
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.mosaic-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.mosaic-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.mosaic-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.mosaic-body { padding: 1.1rem 1.15rem 1.25rem; }
.mosaic-body .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
}
.mosaic-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.25rem 0 0.4rem;
}
.mosaic-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.mosaic-body .more {
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.9rem;
}

/* —— Split —— */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.split-media {
  min-height: 320px;
  background: center/cover no-repeat;
  border: 1px solid var(--line);
  position: relative;
}
.split-media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--maroon);
}
.check-list { margin-top: 1rem; }
.check-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.45rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--maroon);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* —— Quality grid —— */
.q-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.q-item {
  background: var(--white);
  border-left: 4px solid var(--maroon);
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--maroon);
}
.q-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.q-item p { color: var(--muted); font-size: 0.95rem; }

/* —— Product detail —— */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}
.product-detail-media {
  border: 1px solid var(--line);
  background: var(--steel);
  overflow: hidden;
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.contact-card li strong {
  display: block;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.contact-card a { color: var(--maroon); font-weight: 700; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.form h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.field label.req::after { content: " *"; color: var(--maroon); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--steel-2);
  border-radius: 4px;
  background: var(--panel);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(139,42,56,0.35);
  border-color: var(--maroon);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form-status {
  margin-top: 0.75rem;
  font-weight: 600;
  min-height: 1.3em;
}
.form-status.is-ok { color: #1b7a3e; }
.form-status.is-err { color: var(--maroon); }
.pin-served {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #1b7a3e;
  font-weight: 600;
}

/* —— CTA —— */
.cta-band {
  background: linear-gradient(95deg, var(--maroon-deep), var(--maroon));
  color: #fff;
  padding: 2.75rem 0;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.25rem;
}
.cta-band p { color: rgba(255,255,255,0.88); }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 0.85rem;
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}
.footer-brand p { font-size: 0.92rem; margin-bottom: 0.75rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.92rem;
}
.footer-col a:hover { color: #f0c8ce; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* —— Float widgets —— */
.float-widgets {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.float-widgets a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.float-widgets .wa-btn { background: #25d366; }
.float-widgets .call-btn { background: var(--maroon); }
.float-widgets svg { width: 18px; height: 18px; fill: currentColor; }

/* —— Product table —— */
.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.product-table th,
.product-table td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.product-table th {
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-table a { color: var(--maroon); font-weight: 700; }

.related-list a { color: var(--maroon); font-weight: 600; }

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .product-mosaic,
  .q-grid { grid-template-columns: 1fr 1fr; }
  .cap-strip { grid-template-columns: 1fr 1fr; }
  .split,
  .product-detail,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .brand-meta { display: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 4rem 0 3rem; }
  .product-mosaic,
  .q-grid,
  .cap-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-widgets a span { display: none; }
  .float-widgets a { padding: 0.85rem; border-radius: 50%; }
  .rail span:first-child { display: none; }
  .product-table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
