/* ==========================================================================
   Cargopin Locksmith — shared styles
   Colors, type, and components used across every page.
   Edit the tokens in :root to re-skin the whole site.
   ========================================================================== */

:root {
  --navy:        #0e1a2b;
  --navy-2:      #16273f;
  --navy-3:      #1e3350;
  --brass:       #c8a24a;
  --brass-2:     #dcbc6a;
  --ink:         #1a2432;
  --body:        #48566a;
  --line:        #e2e6ec;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fb;
  --bg-soft-2:   #eef2f7;
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 12px 30px -12px rgba(14, 26, 43, 0.18);
  --shadow-lg:   0 24px 60px -20px rgba(14, 26, 43, 0.30);
  --container:   1120px;
  --font:        "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--brass); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .8rem;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head p { font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brass); color: var(--navy); }
.btn--primary:hover { background: var(--brass-2); color: var(--navy); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); color: var(--white); box-shadow: var(--shadow); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  background: var(--navy);
  border-radius: 10px;
  color: var(--brass);
}
.brand small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--body);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
}
.nav__links a:hover { color: var(--brass); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav__phone svg { color: var(--brass); }
.nav__toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Layers, top to bottom: brass glow → dark navy overlay → van photo.
     The overlay keeps the white hero text readable over the photo.
     Image lives at images/van.jpg. If it's missing, the gradients alone
     still render a clean navy hero. */
  background-color: var(--navy);
  background-image:
    radial-gradient(1200px 500px at 80% -10%, rgba(200,162,74,.16), transparent 60%),
    linear-gradient(105deg, rgba(9,18,30,.92) 0%, rgba(13,24,40,.8) 42%, rgba(16,30,50,.6) 100%),
    url("images/van.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center center;
  background-repeat: no-repeat;
  color: #dce4ef;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 92px 0 100px;
}
/* Full van photo — hidden on desktop (van shows via background), shown on mobile */
.hero__van {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero p { font-size: 1.16rem; color: #c3cedd; max-width: 44ch; }
.hero .eyebrow { color: var(--brass-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__trust div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #b8c4d4; }
.hero__trust svg { color: var(--brass); flex: none; }

/* Hero card */
.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: var(--white); font-size: 1.15rem; }
.hero__card .stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 22px 0 6px;
}
.hero__card .stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px;
}
.hero__card .stat b { display: block; font-size: 1.6rem; color: var(--brass-2); line-height: 1; }
.hero__card .stat span { font-size: .82rem; color: #b8c4d4; }
.hero__list { list-style: none; padding: 0; margin: 18px 0 0; }
.hero__list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  color: #d5deea;
  font-size: .95rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero__list li:first-child { border-top: none; }
.hero__list svg { color: var(--brass); flex: none; margin-top: 3px; }

/* ---------- Strip ---------- */
.strip {
  background: var(--brass);
  color: var(--navy);
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
  font-weight: 600;
}
.strip span { display: inline-flex; align-items: center; gap: 9px; }

/* ---------- Service cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dae4; }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-soft-2);
  color: var(--navy-3);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .96rem; margin-bottom: .8rem; }
.card ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--body); }
.card ul li { margin-bottom: 4px; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .92rem; margin-top: 6px;
  color: var(--navy-3);
}
.card__link:hover { gap: 10px; color: var(--brass); }

/* ---------- Smart lock feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature__media {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 20px;
  padding: 42px;
  color: #dce4ef;
  box-shadow: var(--shadow-lg);
}
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 240px;
  margin: 0 auto;
}
.keypad button {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #eaf0f7;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: default;
  transition: background .15s ease, color .15s ease;
}
.keypad button:hover { background: var(--brass); color: var(--navy); border-color: var(--brass); }
.keypad button.is-accent { background: rgba(200,162,74,.2); color: var(--brass-2); }
.feature__display {
  text-align: center;
  margin-bottom: 26px;
  font-size: 1.3rem;
  letter-spacing: .4em;
  color: var(--brass-2);
  font-weight: 700;
}
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
  color: var(--body);
}
.check-list li b { color: var(--ink); }
.check-list svg {
  flex: none; margin-top: 3px;
  color: var(--brass);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 26px 26px 26px 78px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px; top: 26px;
  width: 38px; height: 38px;
  background: var(--navy);
  color: var(--brass);
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; font-size: .94rem; }

/* ---------- Areas ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.areas span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Testimonials ---------- */
.quote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.quote .stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 1rem; color: var(--ink); font-style: italic; }
.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.quote cite span { display: block; font-weight: 500; font-size: .86rem; color: var(--body); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  margin-bottom: 12px;
  background: var(--bg);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--brass);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 90% 120%, rgba(200,162,74,.22), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  text-align: center;
  border-radius: 22px;
  padding: 60px 32px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c3cedd; font-size: 1.1rem; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; }
.info-list .ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  background: var(--bg-soft-2);
  color: var(--navy-3);
  display: grid; place-items: center;
}
.info-list b { color: var(--ink); display: block; }
.info-list a { color: var(--body); }
.info-list a:hover { color: var(--brass); }

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .96rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(200,162,74,.18);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form small { display: block; margin-top: 10px; color: var(--body); font-size: .82rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(200,162,74,.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #dce4ef;
  padding: 66px 0 74px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #c3cedd; font-size: 1.12rem; max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: #9fb0c4; margin-bottom: 14px; }
.breadcrumb a { color: var(--brass-2); }

/* ---------- Detailed service block ---------- */
.svc {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.svc:first-of-type { border-top: none; }
.svc__ico {
  width: 60px; height: 60px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--brass);
  display: grid; place-items: center;
}
.svc h3 { font-size: 1.35rem; }
.svc ul { columns: 2; column-gap: 30px; padding-left: 1.1rem; margin: 12px 0 0; }
.svc ul li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #a9b7c9;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: #8fa1b6; }
.site-footer p { font-size: .92rem; }
.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a9b7c9; font-size: .93rem; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: .85rem;
  color: #8194a9;
}
.footer-bottom a { color: #8194a9; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.hide-mobile { display: initial; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  /* On mobile the landscape van crops badly as a full-bleed background,
     so drop the photo here and show the full van via .hero__van instead. */
  .hero {
    background-image:
      radial-gradient(1000px 500px at 80% -10%, rgba(200,162,74,.16), transparent 60%),
      linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
    background-size: cover;
    background-position: center;
  }
  .hero__van { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding: 64px 0 72px; }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { flex-wrap: wrap; height: auto; padding-bottom: 16px; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start;
    width: 100%; gap: 4px; order: 3;
    border-top: 1px solid var(--line); padding-top: 14px;
  }
  .nav.is-open .nav__links a { padding: 8px 0; width: 100%; }
  .section { padding: 60px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .svc ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__card .stat-row { grid-template-columns: 1fr 1fr; }
}
