/* ============================================================
   AIEX — Automation Intelligence Experts
   styles.css  —  single stylesheet, no build step
   Palette:  Deep Slate #0B2533 · Harbor Blue #0B4F6C ·
             Signal Teal #1B9AAA · Mist #F4F7F8 · Slate Gray #5A6B73
   ============================================================ */

:root {
  --slate:    #0B2533;
  --harbor:   #0B4F6C;
  --teal:     #1B9AAA;
  --teal-dk:  #14808d;
  --mist:     #F4F7F8;
  --gray:     #5A6B73;
  --line:     #E1E8EB;
  --white:    #FFFFFF;
  --maxw:     1080px;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(11,37,51,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--slate);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: var(--teal-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.05rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(27,154,170,.35);
}
.btn:hover { background: var(--teal-dk); transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 24px rgba(27,154,170,.45); }
.btn-ghost {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--harbor); box-shadow: 0 6px 18px rgba(11,79,108,.3); }
.btn-dark:hover { background: var(--slate); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .brand img { height: 38px; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--slate); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--teal-dk); text-decoration: none; }
.nav-cta { padding: 10px 20px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(27,154,170,.20), transparent 60%),
    linear-gradient(160deg, var(--slate) 0%, var(--harbor) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-size: .8rem; font-weight: 700; color: var(--teal);
  background: rgba(27,154,170,.12); padding: 6px 14px; border-radius: 50px; margin-bottom: 20px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { font-size: 1.2rem; color: #D7E3E8; max-width: 56ch; margin-bottom: 14px; }
.hero .sub  { font-size: 1.02rem; color: #AFC3CB; max-width: 58ch; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: #9FB4BC; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.bg-mist { background: var(--mist); }
.bg-slate { background: var(--slate); color: #fff; }
.bg-slate h2, .bg-slate h3 { color: #fff; }
.bg-slate p { color: #C6D4DA; }
.lead-in { color: var(--gray); font-size: 1.15rem; max-width: 60ch; margin: 0 auto 8px; text-align: center; }
.contact-punch { display: block; margin-top: 12px; font-size: 1.4rem; font-weight: 700; color: var(--slate); }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 48px; }

/* ---------- The Bleed (3 reasons) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--harbor); }
.card .tag { color: var(--teal); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Where the hours hide (table-ish) ---------- */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table th, .hours-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.hours-table th { background: var(--harbor); color: #fff; font-weight: 700; font-size: .95rem; }
.hours-table td:last-child { font-weight: 800; color: var(--teal-dk); white-space: nowrap; }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { color: var(--slate); }

/* ---------- Diagnostic offer block ---------- */
.offer {
  background: linear-gradient(160deg, var(--harbor), var(--slate));
  color: #fff; border-radius: 20px; padding: 56px 48px; text-align: center; box-shadow: var(--shadow);
}
.offer h2 { color: #fff; }
.offer ul { list-style: none; padding: 0; margin: 26px auto 30px; max-width: 560px; text-align: left; }
.offer li { padding: 10px 0 10px 34px; position: relative; color: #DCE8ED; font-size: 1.05rem; }
.offer li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.offer .fineprint { color: #9FB4BC; font-size: .9rem; margin-top: 14px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 46px; align-items: start; }
.callout { background: var(--mist); border-left: 4px solid var(--teal); padding: 22px 24px; border-radius: 10px; }

/* ---------- CTA strip ---------- */
.cta-strip { text-align: center; }
.cta-strip h2 { max-width: 22ch; margin: 0 auto .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #9FB4BC; padding: 44px 0 30px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-row img { height: 34px; }
.footer-conf { font-size: .95rem; color: #C6D4DA; max-width: 52ch; }
.footer-legal { font-size: .82rem; color: #6E828B; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
.footer-legal a { color: #AFC3CB; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .steps, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.show { display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 18px 22px; gap: 14px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
  .offer { padding: 40px 24px; }
  .hours-table th, .hours-table td { padding: 12px 12px; font-size: .9rem; }
}
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 26px; height: 3px; background: var(--slate); border-radius: 2px; }
