/* ============================================================
   SiteReadyIT Logistics | Global Stylesheet
   Minimalist premium B2B service design
   ============================================================ */

:root {
  --navy: #0e2238;
  --navy-deep: #091a2c;
  --charcoal: #2b3440;
  --slate: #55626f;
  --blue: #1f6fd1;
  --blue-dark: #1859ab;
  --blue-tint: #eaf2fc;
  --panel: #f4f6f8;
  --panel-deep: #eceff3;
  --line: #dde3e9;
  --white: #ffffff;
  --green: #1e8a5a;
  --red: #b54141;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 34, 56, 0.05), 0 8px 24px rgba(14, 34, 56, 0.07);
  --shadow-hover: 0 2px 4px rgba(14, 34, 56, 0.06), 0 14px 34px rgba(14, 34, 56, 0.12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }

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

.lead {
  font-size: 1.13rem;
  color: var(--slate);
  max-width: 46em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.section-intro {
  max-width: 46em;
  margin-bottom: 2.4rem;
}

.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; stroke: #ffffff; }
.brand span em { font-style: normal; color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-cta { white-space: nowrap; padding: 0.62rem 1.15rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 4.8rem 0 4.2rem;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--blue-tint) 0%, rgba(234, 242, 252, 0) 60%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; }

.hero-sub {
  padding: 3.9rem 0 3.4rem;
  background:
    radial-gradient(900px 420px at 90% -20%, var(--blue-tint) 0%, rgba(234, 242, 252, 0) 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-sub h1 { margin-bottom: 1rem; }
.hero-sub .lead { margin-bottom: 1.6rem; }

.hero-points {
  list-style: none;
  margin-top: 1.9rem;
  display: grid;
  gap: 0.55rem;
}
.hero-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--slate);
  font-size: 0.96rem;
}
.hero-points svg { flex-shrink: 0; margin-top: 4px; }

/* ---------- Staging board hero visual ---------- */

.staging-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.board-head strong { color: var(--navy); font-size: 0.92rem; }
.board-head .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: #e8f5ee;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.kit-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
}
.kit-card h4 {
  font-size: 0.84rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.kit-card h4 .count { color: var(--slate); font-weight: 600; font-size: 0.76rem; }
.kit-card ul { list-style: none; }
.kit-card li {
  font-size: 0.78rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.14rem 0;
}
.kit-card li svg { flex-shrink: 0; }

.board-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--slate);
}
.board-foot strong { color: var(--navy); }

/* ---------- Promo note ---------- */

.promo-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--blue-tint);
  border: 1px solid #c8dcf5;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--navy);
  margin-top: 1.2rem;
  max-width: 36em;
}
.promo-note strong { color: var(--blue); }
.promo-note svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }

.promo-note.on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #dbe6f2;
}
.promo-note.on-dark strong { color: #ffffff; }
.promo-note.on-dark svg { stroke: #9ec3ee; }

.promo-banner {
  background: var(--blue-tint);
  border: 1px solid #c8dcf5;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.8rem;
}
.promo-banner h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.promo-banner p { color: var(--charcoal); font-size: 0.95rem; }

/* ---------- Sections ---------- */

.section { padding: 4.6rem 0; }
.section.alt { background: var(--panel); }
.section.tight { padding: 3.4rem 0; }

/* ---------- Cards ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #cdd6df; }
.card p { font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.icon-chip svg { width: 23px; height: 23px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.icon-chip.navy { background: var(--navy); }
.icon-chip.navy svg { stroke: #ffffff; }

/* ---------- Answer box (AEO) ---------- */

.answer-box {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 1.7rem;
  margin: 0 0 2.5rem;
}
.answer-box h2, .answer-box h3 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.answer-box p { color: var(--charcoal); font-size: 1rem; max-width: 60em; }

/* ---------- Process timeline ---------- */

.timeline { position: relative; display: grid; gap: 0; }

.tl-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  position: relative;
  padding-bottom: 2.2rem;
}
.tl-step:last-child { padding-bottom: 0; }

.tl-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl-step:last-child::before { display: none; }

.tl-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.tl-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.tl-body h3 { margin-bottom: 0.4rem; }
.tl-body p { font-size: 0.96rem; }
.tl-body ul { margin: 0.7rem 0 0 1.1rem; color: var(--slate); font-size: 0.93rem; }
.tl-body li { margin-bottom: 0.25rem; }

/* Compact home version */
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.mini-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
  position: relative;
}
.mini-step .num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.mini-step h3 { font-size: 1.03rem; }
.mini-step p { font-size: 0.9rem; }

/* ---------- Tiers ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.tier.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.tier.featured .tier-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  white-space: nowrap;
}

.tier h3 { font-size: 1.3rem; }
.tier .tier-fit { font-size: 0.92rem; margin-bottom: 1.2rem; min-height: 3.6em; }
.tier ul { list-style: none; margin-bottom: 1.6rem; flex-grow: 1; }
.tier li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--slate);
  padding: 0.32rem 0;
}
.tier li svg { flex-shrink: 0; margin-top: 4px; }
.tier .btn { width: 100%; }

.tier-note {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--slate);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  max-width: 62em;
}

/* ---------- Scope clarifier ---------- */

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.scope-col {
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.scope-col.does { border-top: 4px solid var(--green); }
.scope-col.doesnt { border-top: 4px solid var(--red); }
.scope-col h3 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.scope-col ul { list-style: none; }
.scope-col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.3rem 0;
  font-size: 0.94rem;
  color: var(--slate);
}
.scope-col li svg { flex-shrink: 0; margin-top: 4px; }

.scope-note {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--slate);
  max-width: 62em;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.faq-q .chev {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  stroke: var(--slate);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 1.3rem 1.2rem; font-size: 0.95rem; color: var(--slate); }

/* ---------- Image placeholders ---------- */

.ph-visual {
  border-radius: var(--radius);
  border: 1px dashed #b9c4cf;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(14, 34, 56, 0.025) 14px 28px),
    var(--panel);
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}
.ph-visual .ph-inner { max-width: 30em; }
.ph-visual svg { width: 34px; height: 34px; stroke: var(--slate); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; margin-bottom: 0.7rem; }
.ph-visual .ph-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 0.3rem;
}
.ph-visual .ph-desc { font-size: 0.86rem; color: var(--slate); }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split .ph-visual { min-height: 300px; }

/* ---------- Service area ---------- */

.area-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }

.city-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.city-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.42rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.city-pill svg { width: 13px; height: 13px; stroke: var(--blue); fill: none; stroke-width: 2; }

.area-map {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.area-map svg { width: 100%; height: auto; display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 4.4rem 0;
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #b9c8d8; max-width: 44em; margin: 0.7rem 0 1.8rem; }
.cta-band .center p { margin-left: auto; margin-right: auto; }

/* ---------- Resources ---------- */

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.article-banner {
  height: 130px;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(14, 34, 56, 0.03) 12px 24px),
    linear-gradient(135deg, var(--blue-tint), var(--panel));
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.article-banner svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }

.article-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.article-body .a-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.article-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.article-body p { font-size: 0.9rem; flex-grow: 1; }
.article-body .a-meta { margin-top: 1rem; font-size: 0.82rem; color: var(--slate); font-weight: 600; }

/* ---------- Forms ---------- */

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field label .req { color: var(--red); }
.form-field .hint { font-size: 0.78rem; color: var(--slate); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 209, 0.14);
}
.form-field textarea { min-height: 120px; resize: vertical; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.2rem; margin-top: 0.3rem; }
.checks label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin: 0;
  cursor: pointer;
}
.checks input { width: auto; accent-color: var(--blue); }

.form-confirm {
  display: none;
  background: #e8f5ee;
  border: 1px solid #bfe3cf;
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
}
.form-confirm.visible { display: block; }
.form-confirm svg { width: 44px; height: 44px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.8rem; }
.form-confirm h3 { color: var(--green); margin-bottom: 0.5rem; }
.form-confirm p { color: var(--charcoal); max-width: 38em; margin: 0 auto; }

.form-note { font-size: 0.84rem; color: var(--slate); margin-top: 1.1rem; }

/* ---------- Detail strip ---------- */

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.detail-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.detail-item svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.detail-item h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.detail-item p { font-size: 0.88rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #aebccb;
  padding: 3.8rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand { color: var(--white); margin-bottom: 0.9rem; }
.site-footer .brand-mark { background: var(--blue); }
.footer-tag { font-size: 0.9rem; color: #8fa1b3; max-width: 26em; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #aebccb; text-decoration: none; }
.site-footer a:hover { color: var(--white); }

.footer-disclaimer {
  padding-top: 1.8rem;
  font-size: 0.8rem;
  color: #7f93a6;
  max-width: 70em;
}
.footer-legal {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #7f93a6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 4%;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--panel-deep); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 0.9rem 0.2rem; font-size: 1rem; border-bottom: none; white-space: nowrap; }
  .nav-links .nav-cta-wrap { padding: 0.8rem 0; }
  .nav-links .nav-cta { display: block; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .tier .tier-fit { min-height: 0; }
  .mini-steps { grid-template-columns: repeat(2, 1fr); }
  .split, .area-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-strip { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 3.4rem 0; }
  .grid-2, .grid-3, .grid-4, .scope-grid, .mini-steps, .form-grid, .checks { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
  .form-shell { padding: 1.6rem; }

  .tl-step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .tl-num { width: 44px; height: 44px; font-size: 0.95rem; }
  .tl-step::before { left: 21px; top: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}


/* ---------- Brand logo (image) ---------- */
.brand-logo { display: block; height: 38px; width: auto; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 760px) { .brand-logo { height: 34px; } }

/* ---------- Placeholder photo slots ---------- */
.ph-visual { position: relative; overflow: hidden; }
.ph-visual .ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; }
.ph-visual.has-photo { border-style: solid; border-color: var(--line); }

/* ---------- Nav CTA button text fix ---------- */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: var(--white); text-decoration: none; }

/* ---------- HubSpot form (blend with site design) ---------- */
.hs-form-frame { font-family: var(--font); color: var(--charcoal); }
.hs-form-frame label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.hs-form-frame input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.hs-form-frame select,
.hs-form-frame textarea {
  width: 100%;
  font: inherit;
  font-size: 0.96rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hs-form-frame input:focus,
.hs-form-frame select:focus,
.hs-form-frame textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 209, 0.15);
}
.hs-form-frame textarea { min-height: 120px; resize: vertical; }
.hs-form-frame button,
.hs-form-frame input[type="submit"],
.hs-form-frame [type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.hs-form-frame button:hover,
.hs-form-frame input[type="submit"]:hover,
.hs-form-frame [type="submit"]:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ---------- Hero A/B test (flicker-free; A is default) ---------- */
.hero-var--b { display: none; }
html[data-exp="b"] .hero-var--a { display: none; }
html[data-exp="b"] .hero-var--b { display: block; }
