/* Syntegrata Automotive — global styles */

:root {
  --navy: #0a1a2f;
  --navy-800: #10233d;
  --navy-700: #17304f;
  --red: #ff392d;
  --red-dark: #e02a1f;
  --ink: #1a2433;
  --body: #3d4a5c;
  --muted: #6b7a8f;
  --line: #e3e8ef;
  --bg-soft: #f4f6f9;
  --white: #ffffff;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand:hover {
  text-decoration: none;
}

.brand-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 12px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--white);
  text-decoration: none;
}

.main-nav a.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.main-nav a.nav-cta:hover {
  background: var(--red-dark);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 57, 45, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  max-width: 860px;
}

.hero .kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  max-width: 640px;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 16px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 12px;
}

.btn-ghost:hover {
  border-color: var(--white);
  text-decoration: none;
}

/* ---------- Stats bar ---------- */

.stats {
  background: var(--navy-800);
  color: var(--white);
  padding: 34px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 30px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head .kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

/* ---------- Product cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(10, 26, 47, 0.1);
  transform: translateY(-2px);
}

.card .thumb {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.card .thumb img {
  max-height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 15px;
  color: var(--body);
  flex: 1;
}

.card-body .more {
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Product detail rows ---------- */

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.product-row:last-of-type {
  border-bottom: none;
}

.product-row .media {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-row .media.stacked {
  flex-direction: column;
  gap: 20px;
}

.product-row h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.product-row .kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-row p + p {
  margin-top: 14px;
}

.product-row ul {
  margin: 16px 0 0 20px;
}

.product-row li {
  margin-bottom: 6px;
}

/* ---------- Quality / feature list ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(255, 57, 45, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
}

/* ---------- Certification badges ---------- */

.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.badge small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}

.about-facts {
  background: var(--navy);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px;
  align-self: start;
}

.about-facts h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 16px;
}

.about-facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  font-size: 15px;
}

.about-facts dt {
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.about-facts dd {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Contact ---------- */

.contact-band {
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 80px 0;
}

.contact-band h2 {
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.contact-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-item b {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item a,
.contact-item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 44px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-top img {
  height: 28px;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 21px;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0 12px 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal address {
  font-style: normal;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-row,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats .container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .brand-tag {
    display: none;
  }
}

@media (max-width: 620px) {
  .card-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a:not(.nav-cta):not(:first-child) {
    display: none;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 12px;
  }
}
