/* ========= Base ========= */
:root {
  --bg-main: #050816;
  --bg-alt: #0b1020;
  --surface: #101527;
  --surface-soft: #151b30;
  --accent: #ff9e3d;
  --accent-soft: rgba(255, 158, 61, 0.14);
  --text-main: #f5f5f7;
  --text-muted: #a0aec0;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --t-fast: 0.2s ease-out;
  --t-med: 0.35s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #1a2238 0, #050816 55%, #02010a 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 992px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-header h2 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}

.accent {
  color: var(--accent);
}

/* ========= Header & Nav ========= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.75));
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 30% 0, rgba(249, 250, 251, 0.98), rgba(229, 231, 235, 0.96));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.88);
}

.logo-img.small {
  height: 36px;
  padding: 4px 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.75);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
  transition: color var(--t-fast);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #ff9e3d, #ffd35c);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-soft);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.lang-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    margin-top: 0.75rem;
    padding: 0.8rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 8, 22, 0.98);
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-med), transform var(--t-med);
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .lang-switch {
    display: none;
  }
}

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #ff9e3d, #ffd35c);
  color: #1b1b1f;
  box-shadow: 0 10px 25px rgba(255, 158, 61, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 158, 61, 0.58);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--border-soft);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(30, 41, 59, 1);
}

.btn.outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
}

.btn.outline:hover {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-main);
}

.btn.full-width {
  width: 100%;
}

/* ========= Hero ========= */
.hero {
  padding-top: 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3.25rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 0 0 0.9rem;
}

.hero .lead {
  margin-top: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.meta-item {
  min-width: 120px;
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.meta-value {
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  padding: 1.5rem 1.6rem;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.35), transparent 55%),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.96), #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  color: var(--accent);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.72rem;
  margin-bottom: 1rem;
}

.gear-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.gear {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.8);
}

.gear-large {
  width: 58%;
  height: 58%;
  top: 8%;
  left: 5%;
  border-width: 3px;
}

.gear-medium {
  width: 38%;
  height: 38%;
  right: 2%;
  top: 24%;
}

.gear-small {
  width: 24%;
  height: 24%;
  left: 58%;
  bottom: 6%;
}

.hero-stats {
  display: flex;
  gap: 1.1rem;
  margin-top: 1rem;
}

.hero-stat-value {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta {
    flex-direction: column;
  }
}

/* ========= Grids & Cards ========= */
.feature-grid,
.service-grid,
.expertise-grid,
.mission-grid,
.brand-grid,
.commitment-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card,
.service-card,
.expertise-card,
.mission-card,
.brand-group,
.commitment-card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), #020617);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.feature-card h3,
.service-card h3,
.expertise-card h3,
.mission-card h2,
.brand-group h2,
.commitment-card h3 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.feature-card p,
.service-card p,
.expertise-card p,
.mission-card p,
.brand-group p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.info-banner {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========= Inner Page Hero ========= */
.page-hero {
  padding-top: 3.5rem;
}

.page-hero-inner {
  max-width: 720px;
}

.page-hero h1 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.page-hero .lead {
  margin-top: 0.35rem;
}

/* ========= About & Contact Layout ========= */
.about-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.05fr);
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }
}

.about-text h2 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.about-text p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.about-highlight {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
}

.about-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.info-list span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.info-list strong {
  display: block;
}

/* ========= Services ========= */
.service-sections {
  display: grid;
  gap: 1.75rem;
}

.service-detail {
  background: rgba(10, 18, 40, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border-soft);
}

.service-detail h2 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.service-detail p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* ========= Brands / Driveline ========= */
.driveline-diagram {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--border-soft);
}

.driveline-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.driveline-node {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(30, 64, 175, 0.35);
  border: 1px solid rgba(129, 140, 248, 0.8);
  font-size: 0.86rem;
}

.driveline-arrow {
  opacity: 0.75;
}

.driveline-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========= Contact ========= */
.contact-info h2,
.contact-map h2 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

@media (max-width: 640px) {
  .contact-actions {
    flex-direction: column;
  }
}

.info-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-map {
  background: rgba(10, 18, 40, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  margin-bottom: 0.85rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* ========= Footer ========= */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.3rem 1.5rem 1.5rem;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-bottom-inner {
  padding: 0.9rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ========= Animations ========= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.gear-large {
  animation: gear-rotate 38s linear infinite;
}

.gear-medium {
  animation: gear-rotate 26s linear infinite reverse;
}

.gear-small {
  animation: gear-rotate 18s linear infinite;
}

@keyframes gear-rotate {
  to {
    transform: rotate(360deg);
  }
}

