:root {
  --navy: #07152b;
  --navy-mid: #0A1E3F;
  --royal: #0052CC;
  --accent: #1E8BFF;
  --sky: #6BB6FF;
  --pale: #E7F0FF;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(7, 21, 43, 0.1);
  --font: "Inter", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* —— Header (dark, matches mockup) —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  background: rgba(7, 21, 43, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: headerIn 0.55s ease both;
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  -webkit-user-select: none; user-select: none;
}
.brand-mark {
  width: 36px; height: 36px; object-fit: contain; flex-shrink: 0;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.protected-asset,
.product-art img,
.product-orb img,
.hero-car {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.brand-text {
  color: #fff; font-size: 15px; letter-spacing: 0.1em; font-weight: 500;
  font-style: normal;
  white-space: nowrap;
}
.brand-text strong { font-weight: 800; color: #fff; font-style: normal; }
.brand-text em {
  font-style: normal; font-weight: 600; color: #1E8BFF;
}
.site-nav {
  display: flex; gap: clamp(16px, 2.4vw, 32px); flex: 1; justify-content: flex-end; align-items: center;
  min-width: 0;
}
.site-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.site-nav a:hover { color: #fff; }
.site-nav a.has-caret::after {
  content: " ▾"; font-size: 10px; opacity: 0.7;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--royal); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.35);
}
.btn-primary:hover { background: #0046b0; }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-blue {
  background: transparent; color: var(--royal); border-color: var(--royal);
}
.btn-outline-blue:hover { background: var(--pale); }
.btn-light { background: var(--white); color: var(--royal); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0;
}

/* —— Hero —— */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(105deg, #050d1c 0%, #0A1E3F 48%, #0c274f 100%);
  color: var(--white);
  min-height: min(78vh, 640px);
  display: flex; align-items: center;
  padding: 48px 0 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(30,139,255,0.2), transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(0,82,204,0.16), transparent 32%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; align-items: center;
}
.hero-kicker {
  margin: 0 0 14px; color: var(--sky); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem); line-height: 1.1; margin: 0 0 16px;
  letter-spacing: -0.03em; font-weight: 800; max-width: 14ch;
}
.hero-lead {
  font-size: 1.02rem; color: rgba(255,255,255,0.72); max-width: 34rem; margin: 0 0 8px;
}
.hero-slide-copy { animation: fadeSlide 0.55s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-visual {
  position: relative; min-height: 320px;
  display: grid; place-items: center;
}
.hero-slide-visual {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  animation: fadeSlide 0.55s ease both;
}
.hero-slide-visual[hidden],
.hero-slide-copy[hidden] { display: none !important; }
.hero-car {
  width: min(100%, 560px);
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  animation: floatY 7s ease-in-out infinite;
}
/* SVG has true transparency — no crop box */
.hero-car-svg {
  filter: drop-shadow(0 0 28px rgba(30,139,255,0.35));
}
/* Soft-edge mask so PNG slides blend into navy (no pasted rectangle) */
.hero-car-photo {
  width: min(100%, 520px);
  max-height: 360px;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 42%, transparent 78%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 42%, transparent 78%);
  filter: drop-shadow(0 0 24px rgba(30,139,255,0.3));
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 10px; z-index: 2;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.28); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dots button.active {
  background: var(--accent); transform: scale(1.15);
}
.hero-dots button:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* —— Featured: 3 columns —— */
.featured { padding: 80px 0; background: #fff; }
.featured-grid {
  display: grid; grid-template-columns: 1.1fr 1.15fr 0.85fr; gap: 28px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 700;
  color: var(--accent); margin: 0 0 10px;
}
.featured h2 {
  font-size: clamp(2rem, 3vw, 2.6rem); margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 800;
}
.featured-copy > p { color: var(--muted); margin: 0 0 8px; max-width: 28rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 28px; }
.check-list li {
  position: relative; padding-left: 30px; margin: 12px 0; color: #374151; font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.featured-product { display: grid; place-items: center; }
.product-orb {
  width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f8fafc, #e8eef7 65%, #d5e0f0);
  display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; padding: 18px;
}
.product-orb img { width: 92%; height: 92%; object-fit: contain; }
.view-3d {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow); align-self: center;
}
.cube-icon { width: 48px; height: 48px; margin-bottom: 14px; }
.cube-icon svg { width: 100%; height: 100%; }
.view-3d h3 {
  margin: 0 0 10px; font-size: 14px; letter-spacing: 0.1em; font-weight: 800;
}
.view-3d p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

/* —— Services —— */
.services { padding: 72px 0 80px; background: #fff; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin: 0; letter-spacing: -0.02em; font-weight: 800;
}
.title-rule {
  display: block; width: 56px; height: 3px; background: var(--accent);
  margin: 12px auto 0; border-radius: 2px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.service-card {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  border-color: #bfdbfe; transform: translateY(-3px); box-shadow: var(--shadow);
}
.service-card .icon {
  width: 44px; height: 44px; color: var(--accent); margin-bottom: 16px;
}
.service-card .icon svg { width: 36px; height: 36px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* —— Products —— */
.products { padding: 24px 0 88px; background: #fff; }
.products-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.product-card {
  background: var(--white); border-radius: var(--radius); padding: 14px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-art {
  height: 140px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #f3f6fb, #e8eef7);
  display: grid; place-items: center;
}
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.product-card p { margin: 0; color: var(--muted); font-size: 0.88rem; flex: 1; }
.text-link {
  color: var(--royal); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
}
.text-link:hover { color: #0046b0; }

/* —— CTA —— */
.cta-bar { background: var(--royal); color: var(--white); padding: 28px 0; }
.cta-inner {
  display: flex; align-items: center; gap: 22px;
}
.cta-icon { width: 52px; height: 52px; flex-shrink: 0; }
.cta-icon svg { width: 100%; height: 100%; }
.cta-text {
  margin: 0; flex: 1; font-size: 1.02rem; font-weight: 600; line-height: 1.45;
  max-width: 52rem;
}

/* —— Contact —— */
.contact { padding: 80px 0; background: #f8fafc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin: 0 0 12px; letter-spacing: -0.02em; font-weight: 800;
}
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { margin: 10px 0; font-weight: 600; }
.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow);
}
.quote-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.quote-form input, .quote-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: #fff;
}
.quote-form input:focus, .quote-form textarea:focus {
  outline: 2px solid rgba(30,139,255,0.35); border-color: var(--accent);
}

/* —— Footer —— */
.site-footer { background: #050d1c; color: rgba(255,255,255,0.72); padding: 56px 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); gap: 24px; margin-bottom: 36px;
}
.footer-tag { font-size: 14px; max-width: 16rem; margin: 14px 0 0; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-lockup {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 0 0 8px !important;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  width: max-content;
  max-width: 100%;
  -webkit-user-select: none;
  user-select: none;
}
.footer-lockup-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
  display: block;
}
.footer-lockup-textblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
}
.footer-lockup-name {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.footer-lockup-name strong {
  font-weight: 800;
  color: #fff;
  font-style: normal;
}
.footer-lockup-name em {
  font-style: normal;
  font-weight: 600;
  color: #1E8BFF;
}
.footer-lockup-tag {
  display: block;
  box-sizing: border-box;
  margin-top: 6px;
  width: max-content;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
  transform-origin: center top;
}
.site-footer a.footer-lockup:hover {
  color: inherit;
}
.site-footer a.footer-lockup:hover .footer-lockup-name em {
  color: #6BB6FF;
}
.site-footer h4 {
  color: #fff; margin: 0 0 14px; font-size: 12px; letter-spacing: 0.1em; font-weight: 700;
}
.site-footer a, .site-footer p {
  display: block; margin: 8px 0; font-size: 13.5px; color: rgba(255,255,255,0.68);
}
.site-footer a.brand {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-size: inherit;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: #1E8BFF; }
.site-footer a:hover { color: var(--sky); }
.site-footer a.brand:hover { color: inherit; }
.contact-line { display: flex !important; align-items: flex-start; gap: 8px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 11px; font-weight: 700; margin: 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; font-size: 12px;
  width: 100%;
  max-width: none;
}
.footer-bottom p { max-width: 42rem; line-height: 1.45; }
.footer-bottom a { display: inline; margin-left: 16px; }

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay { transition-delay: .12s; }

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .view-3d { grid-column: 1 / -1; max-width: 420px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 220px; }
  .hero-car { max-height: 240px; }
  .hero-car-photo {
    -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 40%, transparent 82%);
    mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 40%, transparent 82%);
  }
  .hero h1 { max-width: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .site-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--navy); padding: 12px clamp(16px, 4vw, 48px) 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0;
  }
  .site-header.open .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-header.open .site-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .featured-grid, .services-grid, .products-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .hero { padding: 32px 0 56px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-inner .btn { width: 100%; }
  .quote-form { padding: 18px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  .footer-lockup-tag {
    white-space: nowrap;
    max-width: none;
  }
  .brand-text { font-size: 13px; letter-spacing: 0.08em; }
}
