/* ============================================================
   THEME — change these variables to re-skin the whole site.
   ============================================================ */
:root {
  --accent: #1d4ed8;          /* royal blue — main brand color (buttons, links) */
  --accent-dark: #1e40af;     /* deeper royal blue — hover state */
  --accent-soft: #eaf0ff;     /* light royal-blue tint for backgrounds */

  --text: #0f172a;            /* near-black body text */
  --muted: #64748b;           /* secondary text */
  --bg: #ffffff;              /* page background */
  --bg-alt: #f8fafc;          /* alternating section background */
  --border: #e2e8f0;          /* hairlines / card borders */

  --radius: 14px;
  --maxw: 1100px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .06);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(29, 78, 216, .25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}
.brand-name { font-size: 1.1rem; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(900px 400px at 80% -10%, var(--accent-soft), transparent),
    var(--bg);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}
.hero-inner { max-width: 760px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0; margin: 0;
  color: var(--muted);
  font-weight: 500;
}

/* Hero intro animation: items start hidden and GSAP fades them in (see script.js).
   Fallbacks so the hero is never stuck invisible: the <noscript> block in the HTML
   <head> reveals them with JS off, and the reduced-motion rule at the bottom of this
   file reveals them instantly for users who prefer reduced motion. */
.hero-inner > * { opacity: 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.1rem; }

/* ============================================================
   CARDS (services & pricing)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(15, 23, 42, .1); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.price-card { text-align: center; position: relative; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--text); margin: .25rem 0 1rem; }
.price-featured { border-color: var(--accent); box-shadow: 0 12px 34px rgba(29, 78, 216, .18); }
.badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 999px;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step { text-align: center; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin: 0 auto 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
}
.step p { color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-copy p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li { margin-bottom: .6rem; font-weight: 500; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .15);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 1rem 0 0; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; background: var(--bg); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-note { color: var(--muted); margin: 0; font-size: .92rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .nav a.btn-primary { margin-top: .75rem; border-bottom: 0; }

  /* animate hamburger into an X when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .hero-inner > * { opacity: 1 !important; } /* skip the intro — show hero instantly */
}
