/* Swift Connect Electric — shared stylesheet */

:root {
  --navy: #0c2f6b;
  --navy-700: #103b86;
  --blue: #1f86d0;
  --blue-600: #1769b0;
  --green: #45b939;
  --green-600: #37992e;
  /* accent vars kept as aliases to brand green */
  --amber: #45b939;
  --amber-600: #37992e;
  --ink: #16202c;
  --slate: #5a6b7b;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);
  --radius: 14px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--blue); text-decoration: none; }

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

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { color: var(--slate); }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(69,185,57,.38); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 150px; transition: height .35s ease; }
.brand { display: flex; align-items: center; gap: 16px; font-weight: 800; color: var(--navy); font-size: 1.95rem; letter-spacing: -0.02em; transition: font-size .35s ease; }
.brand .mark { height: 102px; width: auto; display: grid; place-items: center; }
.brand .mark img { height: 102px; width: auto; display: block; transition: height .35s ease; }
/* shrink-on-scroll header: large at top, compact once scrolled */
.site-header.shrink { box-shadow: 0 6px 20px rgba(10,37,64,0.08); }
.site-header.shrink .nav { height: 90px; }
.site-header.shrink .brand { font-size: 1.4rem; }
.site-header.shrink .brand .mark, .site-header.shrink .brand .mark img { height: 58px; }
.site-footer .brand .mark { background: #fff; border-radius: 10px; padding: 5px 8px; height: 48px; box-shadow: var(--shadow); }
.site-footer .brand .mark img { height: 38px; }
.brand small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .18em; color: var(--slate); text-transform: uppercase; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.info-row .ico.wa { background: rgba(37,211,102,.18); color: #25D366; }
.brand em.g { font-style: normal; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--green); border-radius: 2px;
}
.nav .btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* Hero */
.hero {
  position: sticky; top: 90px; z-index: 1;
  min-height: calc(100vh - 150px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(30,111,255,.45), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(69,185,57,.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #08203a 100%);
}
/* page content rolls up and over the pinned banner */
.rollup { position: relative; z-index: 2; background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -26px 60px rgba(8, 22, 42, 0.30); }
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 46px 46px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 32px; padding-bottom: 48px; width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 52ch; margin: 22px 0 34px; }
.hero h2 { color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--serif); font-size: 2.2rem; color: var(--green); font-weight: 600; }
.hero-stats .lbl { font-size: .9rem; color: rgba(255,255,255,.75); }

/* Page banner (interior pages) */
.page-banner { color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 85% -20%, rgba(30,111,255,.4), transparent 60%), linear-gradient(160deg, var(--navy), #08203a); }
.page-banner h1 { color: #fff; }
.page-banner p { color: rgba(255,255,255,.8); max-width: 60ch; margin-top: 12px; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.85); }

/* Sections */
section.block { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }

/* Grid cards */
.grid { display: grid; gap: 26px; }
.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: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,111,255,.12), rgba(69,185,57,.16));
  color: var(--blue); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius); min-height: 380px; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy), var(--blue));
  position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.25);
}
.split .media::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split .media .big-ico { position: relative; z-index: 1; width: 120px; height: 120px; color: var(--green); opacity: .92; }

.check-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(69,185,57,.16); color: var(--green-600); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 3px; }

/* Stats strip */
.stats-strip { background: var(--navy); color: #fff; }
.stats-strip .grid-4 { gap: 20px; text-align: center; }
.stats-strip .num { font-family: var(--serif); font-size: 2.6rem; color: var(--green); font-weight: 600; }
.stats-strip .lbl { color: rgba(255,255,255,.75); font-size: .92rem; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--green);
  position: absolute; top: 22px; right: 26px;
}

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; border-radius: 20px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 12px auto 28px; max-width: 50ch; }

/* Testimonials */
.quote { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
.quote-meta { margin-top: 18px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.quote-meta span { display: block; color: var(--slate); font-weight: 400; font-size: .88rem; }
.stars { color: var(--green); margin-bottom: 14px; letter-spacing: 2px; }

/* Team */
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--green); display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .98rem; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,134,208,.14); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(69,185,57,.20); color: var(--green); display: grid; place-items: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row b { color: #fff; display: block; font-size: .95rem; }
.info-row span { color: rgba(255,255,255,.7); font-size: .92rem; }
.form-success { display: none; background: rgba(69,185,57,.10); border: 1px solid rgba(69,185,57,.4); color: #1f6b1a; padding: 16px 18px; border-radius: 10px; font-weight: 500; margin-bottom: 18px; }
.form-error { display: none; background: rgba(214,69,69,.08); border: 1px solid rgba(214,69,69,.35); color: #9b2222; padding: 16px 18px; border-radius: 10px; font-weight: 500; margin-bottom: 18px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Footer */
.site-footer { background: #08203a; color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .94rem; }
.site-footer a:hover { color: var(--green); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: rgba(255,255,255,.55); }
.footer-about p { color: rgba(255,255,255,.6); font-size: .94rem; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.5); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split .media { min-height: 260px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 96px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; }
  .nav-links .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .nav { height: 96px; }
  .site-header.shrink .nav { height: 72px; }
  .brand { font-size: 1.32rem; gap: 11px; }
  .brand .mark, .brand .mark img { height: 58px; }
  .site-header.shrink .brand { font-size: 1.2rem; }
  .site-header.shrink .brand .mark, .site-header.shrink .brand .mark img { height: 46px; }
  .hero { top: 72px; min-height: calc(100vh - 96px); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-band { padding: 38px 24px; }
  section.block { padding: 60px 0; }
}
