/*
Theme Name: ATS Group
Theme URI: https://atsgroup.arsafetyinvisiblegrill.in/
Author: Codex
Description: Custom WordPress theme for ATS Group product landing pages.
Version: 1.7.1
Text Domain: atsgroup-products-theme
*/
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #eef2f5;
  --text: #12212f;
  --muted: #5e7184;
  --line: #d8e0e7;
  --brand: #ff5e14;
  --brand-dark: #d94804;
  --dark: #0f1b27;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Roboto Condensed", sans-serif;
  --shadow: 0 22px 55px rgba(12, 26, 38, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  background: linear-gradient(180deg, #edf3f8 0%, #f8fafc 28%, #eff2f6 100%);
  color: var(--text);
  overflow-x: hidden;
}

input,
textarea,
select,
button {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-family: var(--font-heading);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 33, 47, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  position: relative;
}

.brand img {
  width: 165px;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.2;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav > a,
.nav-dropbtn-link {
  padding: 10px 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  display: none;
}

.nav-dropdown:hover::after,
.nav-dropdown.open::after {
  display: block;
}

.nav-drop-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-dropbtn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.nav-dropbtn-link {
  display: inline-flex;
}

.nav-drop-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.nav-drop-toggle span {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-drop-toggle span {
  transform: rotate(45deg);
}

.nav-dropbtn:hover,
.nav-dropdown:hover .nav-dropbtn,
.nav-dropdown.open .nav-dropbtn {
  color: var(--brand);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(216, 224, 231, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-top: 8px;
}

.nav-dropdown-menu.mega-menu {
  left: auto;
  right: 0;
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  grid-template-areas:
    "vehicle durability adas ev powertrain"
    "vehicle durability adas passive component"
    "lightweighting lightweighting nvh passive component";
  align-items: start;
  gap: 18px 24px;
}

.nav-subgroup {
  display: grid;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(18, 33, 47, 0.08);
}

.nav-dropdown-menu.mega-menu .nav-subgroup {
  min-width: 0;
  padding-top: 0;
  border-top: 0;
  align-content: start;
}

.nav-dropdown:hover .nav-dropdown-menu.mega-menu,
.nav-dropdown.open .nav-dropdown-menu.mega-menu {
  display: grid;
}

.nav-subgroup.group-vehicle {
  grid-area: vehicle;
}

.nav-subgroup.group-durability {
  grid-area: durability;
}

.nav-subgroup.group-adas {
  grid-area: adas;
}

.nav-subgroup.group-ev {
  grid-area: ev;
}

.nav-subgroup.group-powertrain {
  grid-area: powertrain;
}

.nav-subgroup.group-passive {
  grid-area: passive;
}

.nav-subgroup.group-component {
  grid-area: component;
}

.nav-subgroup.group-lightweighting {
  grid-area: lightweighting;
}

.nav-subgroup.group-nvh {
  grid-area: nvh;
}

.nav-subgroup-title {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-subgroup a {
  padding-left: 14px;
  position: relative;
}

.nav-subgroup a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--brand);
}

.nav-dropdown:hover .nav-dropdown-menu:not(.mega-menu),
.nav-dropdown.open .nav-dropdown-menu:not(.mega-menu) {
  display: flex;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 94, 20, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 94, 20, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-07T172255.202.webp") center/cover;
}

.hero-sensors {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-07T160805.405.webp") center/cover;
}

.hero-about {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-products {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-data-loggers {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/ARGFT-BASE_and_BASE-W-LAN.png") center/contain no-repeat,
    linear-gradient(135deg, #16324a, #0f1b27);
}

.hero-driving-robots {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-07T152212.987.webp") center/cover;
}

.hero-adas-soft-target {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-09T110334.129.webp") center/cover;
}

.hero-electric-vehicle {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-09T165906.086.webp") center/cover;
}

.hero-soft-target-platforms {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-08T172010.038.webp") center/cover;
}

.hero-power-train {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/12.webp") center/cover;
}

.hero-passive-safety {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Image20260410160543.webp") center/cover;
}

.hero-impactor {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-08T151741.108.webp") center/cover;
}

.hero-inertial-navigation {
  background:
    linear-gradient(rgba(15, 27, 39, 0.74), rgba(15, 27, 39, 0.68)),
    url("https://www.oxts.com/wp-content/uploads/2025/04/7306-0350-Black.jpg") center/cover;
}

.hero-sensors-telemetry {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-07T161010.911.webp") center/cover;
}

.hero-wheel-force {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-06T105733.640.webp") center/cover;
}

.hero-sensors-telemetry-1 {
  background:
    linear-gradient(rgba(15, 27, 39, 0.72), rgba(15, 27, 39, 0.68)),
    url("assets/media/Untitled-design-2026-04-07T161152.017.webp") center/cover;
}

.hero-software {
  background:
    linear-gradient(rgba(15, 27, 39, 0.74), rgba(15, 27, 39, 0.68)),
    url("https://images.unsplash.com/photo-1518773553398-650c184e0bb3?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -80px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 20, 0.42) 0%, rgba(255, 94, 20, 0) 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.section-tag {
  margin: 0 0 14px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: #ffb185;
}

.hero h1,
.section-heading h2,
.content-card h2,
.cta-inner h2,
.contact-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 18px;
  color: #fff;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-slider {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.7s ease, background-position 0.2s linear;
}

.home-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.home-slide-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 120px 0 110px;
  max-width: 780px;
  transform: translateY(var(--slide-offset, 0px));
  transition: transform 0.2s linear;
}

.home-slide h1,
.home-slide h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: #fff;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.38);
}

.slider-dot.active {
  background: var(--brand);
}

.home-slider.is-scrolling .home-slide.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 35px rgba(255, 94, 20, 0.28);
}

.btn-light {
  color: var(--dark);
  background: #fff;
}

.section {
  padding: 88px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.content-card,
.image-card,
.contact-card,
.faq-list details,
.product-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 224, 231, 0.8);
  box-shadow: var(--shadow);
}

.content-card,
.contact-card {
  height: 100%;
  padding: 38px;
  border-radius: var(--radius);
}

.content-card h2,
.section-heading h2,
.cta-inner h2,
.contact-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.content-card p,
.contact-card p {
  margin: 0;
  line-height: 1.9;
  color: var(--muted);
}

.content-card p + p {
  margin-top: 18px;
}

.divider {
  width: 90px;
  height: 4px;
  margin: 20px 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ffb28e);
}

.image-card {
  height: 100%;
  min-height: 360px;
  padding: 14px;
  border-radius: 30px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.image-card.tall img {
  max-height: 700px;
  object-fit: contain;
  background: #fff;
}

.products.muted,
.split.alt,
.faq-section {
  background: linear-gradient(180deg, rgba(231, 237, 242, 0.65), rgba(248, 250, 252, 0));
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  padding: 12px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(12, 26, 38, 0.16);
}

.product-card img {
  aspect-ratio: 10 / 7;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.cta-band {
  padding: 36px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  background: linear-gradient(135deg, #fff3eb, #ffe1cf);
  border: 1px solid rgba(255, 94, 20, 0.15);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  max-width: 720px;
}

.cta-band.dark .cta-inner {
  background: linear-gradient(135deg, #102030, #1a3147);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.cta-band.dark .cta-inner h2 {
  color: #fff;
}

.cta-band.dark .cta-inner .btn-light {
  color: var(--dark);
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  border-radius: 22px;
  padding: 0 24px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  position: relative;
  padding-right: 32px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.feature-list li + li {
  margin-top: 8px;
}

.info-grid,
.case-grid {
  display: grid;
  gap: 22px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 224, 231, 0.8);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #1f6fb2);
  color: #fff;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.info-card,
.case-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 224, 231, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.info-card {
  padding: 30px;
}

.info-card h3,
.case-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.info-card p,
.case-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card img {
  display: block;
  width: 100%;
  height: clamp(210px, 23vw, 320px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.case-copy {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.metrics-card {
  display: grid;
  gap: 18px;
}

.metric-box,
.leader-card {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 94, 20, 0.08), rgba(31, 111, 178, 0.1));
  border: 1px solid rgba(216, 224, 231, 0.8);
  box-shadow: var(--shadow);
}

.metric-box strong,
.leader-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.metric-box span,
.leader-card span {
  color: var(--muted);
  line-height: 1.8;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.map-panel {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 224, 231, 0.8);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-form-home {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 224, 231, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.form-notice {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.form-notice-success {
  color: #0d5c36;
  background: rgba(25, 135, 84, 0.14);
  border: 1px solid rgba(25, 135, 84, 0.28);
}

.form-notice-error {
  color: #8b1e1e;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.24);
}

.contact-form-home label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.contact-form-home input,
.contact-form-home textarea {
  width: 100%;
  border: 1px solid rgba(18, 33, 47, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  padding: 58px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 94, 20, 0.28), transparent 34%),
    linear-gradient(135deg, #07111b 0%, #101f2d 52%, #0b1622 100%);
  border-top: 6px solid var(--brand);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

.footer-grid,
.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.footer-brand p,
.footer-links {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-social a:hover {
  color: #fff;
  background: var(--brand);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.footer-grid h3 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.footer-grid h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
  color: #fff;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .nav-wrap {
    gap: 18px;
  }

  .brand img {
    width: 148px;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .nav-dropdown-menu.mega-menu {
    width: min(900px, calc(100vw - 40px));
  }
}

.footer-inner {
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(0, 0, 0, 0.18);
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 94, 20, 0.75);
  text-underline-offset: 4px;
}

.footer-inner a:hover {
  color: var(--brand);
}

body.modal-open {
  overflow: hidden;
}

.cta-popup-trigger {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  min-height: 52px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 20px 38px rgba(255, 94, 20, 0.32);
}

.cta-popup-trigger:hover {
  transform: translateY(-2px);
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.enquiry-modal.open {
  display: block;
}

.enquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 27, 0.72);
  backdrop-filter: blur(6px);
}

.enquiry-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 30px;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f6fa 100%);
  box-shadow: 0 32px 80px rgba(7, 17, 27, 0.32);
}

.enquiry-modal__content {
  padding: 28px;
}

.enquiry-modal__copy {
  margin: 12px 0 22px;
  color: var(--muted);
}

.enquiry-modal__close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  background: var(--dark);
  box-shadow: 0 10px 25px rgba(15, 27, 39, 0.2);
}

.enquiry-modal .contact-form-home {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(370px, calc(100vw - 32px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(216, 224, 231, 0.95);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a,
  .nav-dropbtn-link {
    width: 100%;
    padding: 8px 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-head {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropbtn {
    flex: 1 1 auto;
    text-align: left;
  }

  .nav-drop-toggle {
    display: inline-flex;
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    min-width: 100%;
    margin-top: 8px;
    max-height: 240px;
    padding: 14px;
    background: #f7fafc;
    box-shadow: none;
  }

  .nav-dropdown-menu.mega-menu {
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "vehicle"
      "durability"
      "adas"
      "ev"
      "powertrain"
      "passive"
      "component"
      "lightweighting"
      "nvh";
    gap: 12px;
  }

  .nav-dropdown-menu.mega-menu .nav-subgroup {
    min-width: 100%;
    padding-top: 6px;
    border-top: 1px solid rgba(18, 33, 47, 0.08);
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown.open .nav-dropdown-menu.mega-menu {
    display: grid;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .split-grid,
  .product-grid,
  .product-grid.six,
  .info-grid,
  .service-grid,
  .mission-grid,
  .footer-grid,
  .case-grid,
  .contact-panel,
  .contact-card,
  .cta-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .reverse-mobile .image-card {
    order: -1;
  }

  .home-slider {
    min-height: 78vh;
  }

  .image-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 86px 0 74px;
  }

  .section {
    padding: 68px 0;
  }

  .content-card,
  .contact-card,
  .cta-inner {
    padding: 28px;
  }

  .cta-popup-trigger {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    justify-content: center;
  }

  .enquiry-modal__dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    border-radius: 24px;
  }

  .enquiry-modal__content {
    padding: 22px;
  }

  .site-nav {
    width: calc(100vw - 24px);
  }

  .faq-list details {
    padding: 0 18px;
  }

  .case-card img {
    height: clamp(200px, 56vw, 280px);
  }
}

body.motion-ready .site-header {
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(12, 26, 38, 0.08);
  border-bottom-color: rgba(18, 33, 47, 0.12);
}

body.motion-ready .brand img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

body.motion-ready .brand:hover img {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 10px 18px rgba(255, 94, 20, 0.18));
}

body.motion-ready .site-nav > a,
body.motion-ready .nav-dropbtn-link,
body.motion-ready .footer-links a {
  transition: color 0.22s ease, transform 0.22s ease;
}

body.motion-ready .site-nav > a:hover,
body.motion-ready .nav-dropbtn-link:hover,
body.motion-ready .footer-links a:hover {
  transform: translateY(-1px);
}

body.motion-ready .nav-dropdown-menu,
body.motion-ready .site-nav,
body.motion-ready .menu-toggle,
body.motion-ready .nav-drop-toggle {
  transition: transform 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.motion-ready .btn,
body.motion-ready .service-card,
body.motion-ready .info-card,
body.motion-ready .case-card,
body.motion-ready .product-card,
body.motion-ready .content-card,
body.motion-ready .image-card,
body.motion-ready .metric-box,
body.motion-ready .leader-card,
body.motion-ready .contact-card,
body.motion-ready .faq-list details {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

body.motion-ready .btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 34px rgba(12, 26, 38, 0.14);
}

body.motion-ready .content-card:hover,
body.motion-ready .image-card:hover,
body.motion-ready .info-card:hover,
body.motion-ready .case-card:hover,
body.motion-ready .service-card:hover,
body.motion-ready .metric-box:hover,
body.motion-ready .leader-card:hover,
body.motion-ready .contact-card:hover,
body.motion-ready .faq-list details:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(12, 26, 38, 0.16);
  border-color: rgba(255, 94, 20, 0.22);
}

body.motion-ready .image-card:hover img,
body.motion-ready .case-card:hover img,
body.motion-ready .product-card:hover img {
  transform: scale(1.035);
}

body.motion-ready .image-card img,
body.motion-ready .case-card img,
body.motion-ready .product-card img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

body.motion-ready .hero-inner > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.motion-ready .hero-inner > *:nth-child(1) {
  animation-delay: 0.08s;
}

body.motion-ready .hero-inner > *:nth-child(2) {
  animation-delay: 0.18s;
}

body.motion-ready .hero-inner > *:nth-child(3) {
  animation-delay: 0.28s;
}

body.motion-ready .hero-inner > *:nth-child(4) {
  animation-delay: 0.38s;
}

body.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.motion-ready .section-heading.center.reveal-item.is-visible,
body.motion-ready .section-heading.reveal-item.is-visible {
  transform: translateY(0);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body.motion-ready .reveal-item,
  body.motion-ready .hero-inner > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
