:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --blue: #0e6bb8;
  --blue-dark: #0a558f;
  --sky: #7cc4f2;
  --ice: #eaf4fb;
  --text: #1a2633;
  --muted: #4b5b6b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid #dfe8f0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }

.brand { display: inline-flex; align-items: baseline; gap: 0.4rem; text-decoration: none; }
.brand-name {
  font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--navy);
}
.brand-sub {
  font-weight: 600; font-size: 1rem; color: var(--blue); letter-spacing: 0.02em;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid #cfdbe6; border-radius: 10px;
  background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 2px;
  background: var(--navy); transform: translateX(-50%); transition: transform 0.2s, top 0.2s, opacity 0.2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-primary { background: var(--blue); color: var(--white); }
.site-nav .btn-primary { color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(124, 196, 242, 0.25), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #164a74 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.15rem; color: #d6e6f3; max-width: 36rem; }
.hero .eyebrow { color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
  font-weight: 700; color: var(--blue); margin-bottom: 0.75rem;
}

/* CSS-only windscreen shape */
.hero-visual { display: flex; justify-content: center; }
.screen {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 16 / 9;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, rgba(124, 196, 242, 0.55) 0%, rgba(124, 196, 242, 0.18) 55%, rgba(14, 107, 184, 0.35) 100%);
  border-radius: 18px;
}
.screen::before {
  content: ""; position: absolute; inset: 10px;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border-radius: 12px;
}
.screen-glare {
  position: absolute; top: -20%; left: 20%; width: 18%; height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
}
.screen-chip {
  position: absolute; top: 38%; left: 62%; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 18%, rgba(255, 255, 255, 0.35) 19% 45%, transparent 46%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--ice); }

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem;
}
.card {
  background: var(--white); border: 1px solid #dfe8f0; border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }

.card-icon {
  display: block; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  background: var(--ice); position: relative;
}
.card-icon::before { content: ""; position: absolute; }
.icon-chip::before {
  inset: 15px; border-radius: 50%; border: 3px solid var(--blue);
}
.icon-screen::before {
  left: 10px; right: 10px; top: 15px; bottom: 15px; background: var(--blue);
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}
.icon-rear::before {
  left: 12px; right: 12px; top: 16px; bottom: 16px; background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.icon-side::before {
  left: 13px; right: 13px; top: 15px; bottom: 15px; background: var(--blue);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.about-grid p { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.facts li {
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; border-left: 4px solid var(--blue);
}
.fact-label { color: var(--muted); font-weight: 500; }
.fact-value { color: var(--navy); font-weight: 700; text-align: right; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; margin-top: 1.5rem; align-items: stretch; }
.contact-block { margin-bottom: 1.6rem; }
.contact-block h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 0.4rem; }
.contact-phone { font-size: 1.6rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.contact-phone:hover { color: var(--blue); }
address { font-style: normal; font-size: 1.05rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { padding: 0.4rem 0; text-align: left; border-bottom: 1px solid #e3ebf2; }
.hours th { font-weight: 600; padding-right: 1rem; }
.hours td { text-align: right; color: var(--muted); }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d8e6; padding: 3rem 0 2.5rem; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.footer-brand { margin-bottom: 0.6rem; }
.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .brand-sub { color: var(--sky); }
.legal p { color: #a9bccd; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid #dfe8f0; box-shadow: var(--shadow); display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .site-nav li a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid #edf2f6; }
  .site-nav li .btn { margin-top: 1rem; width: 100%; }

  .hero-inner, .about-grid, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .screen { max-width: 300px; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .map, .map iframe { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
