:root {
  --blue-900: #0a2540;
  --blue-800: #0f3a63;
  --blue-700: #14508a;
  --blue-600: #1b66b0;
  --blue-500: #2a82d6;
  --blue-100: #e6f0fa;
  --accent: #ff7a18;
  --accent-dark: #e5640a;
  --ink: #122031;
  --muted: #5b6b7c;
  --line: #e2e8f0;
  --bg: #f6f9fc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .08), 0 1px 2px rgba(10, 37, 64, .04);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, .10);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-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.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-call {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 122, 24, .35);
}
.btn-call:hover { background: var(--accent-dark); box-shadow: 0 10px 24px rgba(255, 122, 24, .45); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--blue-900); }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff;
}
.header-nav { margin-left: auto; display: flex; gap: 28px; font-weight: 600; }
.header-nav a { color: var(--muted); transition: color .15s; }
.header-nav a:hover { color: var(--blue-700); }
.header-cta { margin-left: 8px; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(42,130,214,.35), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: 64px 20px 72px;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -.02em; margin: 18px 0 16px;
}
.lede { font-size: 1.12rem; color: #d8e6f5; max-width: 56ch; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #38d97a; display: inline-block;
  box-shadow: 0 0 0 0 rgba(56,217,122,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,217,122,.6); }
  70% { box-shadow: 0 0 0 8px rgba(56,217,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,217,122,0); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; color: #cfe1f4; font-size: .95rem; }

.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(6px);
  align-self: start;
}
.hero-card h2 { font-size: 1.4rem; }
.hero-card-sub { color: #cfe1f4; margin-bottom: 18px; }
.dispatch-stat { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.dispatch-stat strong { font-size: 1.6rem; color: var(--accent); }
.dispatch-stat span { color: #cfe1f4; font-size: .92rem; }
.hero-card .btn { margin-top: 18px; }

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--accent-dark); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.02em; color: var(--blue-900); }
.section-head p { color: var(--muted); margin-top: 12px; }
.section-head-light .eyebrow { color: var(--accent); }
.section-head-light h2 { color: #fff; }

/* Cards / Services */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.services-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card { padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-100); font-size: 1.5rem; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.2rem; color: var(--blue-900); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .97rem; }
.card-accent { background: linear-gradient(160deg, var(--blue-800), var(--blue-600)); color: #fff; border: none; }
.card-accent h3 { color: #fff; }
.card-accent p { color: #d8e6f5; }
.link-strong { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); }
.link-strong:hover { text-decoration: underline; }

/* Why band */
.why-band {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(42,130,214,.3), transparent 60%),
    linear-gradient(180deg, var(--blue-900), var(--blue-800));
  color: #fff;
}
.why-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 26px;
}
.why-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.why-item h3 { margin-bottom: 8px; font-size: 1.15rem; }
.why-item p { color: #cfe1f4; font-size: .96rem; }

/* Contact */
.contact-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--blue-900); margin: 8px 0 14px; letter-spacing: -.02em; }
.contact-copy p { color: var(--muted); max-width: 48ch; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 16px;
  font-size: 1.5rem; font-weight: 800; color: var(--blue-700);
}
.contact-phone:hover { color: var(--accent-dark); }
.contact-meta { font-size: .9rem; color: var(--muted); }

.contact-form { padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--blue-900); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfdff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(42,130,214,.18);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 12px; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-status.success { color: #1a8f4c; }
.form-status.error { color: #d23b3b; }

/* Footer */
.site-footer { background: var(--blue-900); color: #cfe1f4; padding: 56px 0 24px; }
.footer-inner {
  display: grid; gap: 32px; grid-template-columns: 1fr;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand strong { color: #fff; font-size: 1.1rem; display: block; margin: 8px 0 6px; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: .95rem; }
.footer-col a, .footer-col span { display: block; color: #aecaeb; font-size: .92rem; padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  padding-top: 20px; font-size: .85rem; color: #88a8cb;
}

/* Chat Widget */
.chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .2s ease, background .2s;
}
.chat-toggle:hover { background: var(--accent-dark); transform: scale(1.06); }
.chat-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 60;
  width: min(370px, calc(100vw - 44px)); height: 520px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; color: #fff;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
}
.chat-header strong { font-size: 1.05rem; display: block; }
.chat-status { font-size: .8rem; display: flex; align-items: center; gap: 6px; color: #d8e6f5; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; opacity: .8; }
.chat-close:hover { opacity: 1; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: var(--bg);
}
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--blue-600); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input {
  flex: 1; font-family: inherit; font-size: .95rem; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fbfdff;
}
.chat-input input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(42,130,214,.15); }
.chat-input .btn { padding: 11px 14px; border-radius: 50%; width: 44px; height: 44px; }

/* Responsive */
@media (max-width: 760px) {
  .header-nav { display: none; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px; border-radius: 50%; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; padding-top: 84px; padding-bottom: 92px; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}