/* ══════════════════════════════════════════════════════════════════════
   Morse Technology Group — Stylesheet
   Professional IT consulting. Clean, executive-level design.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:          #0f2044;
  --navy-mid:      #162d5c;
  --navy-light:    #1e3a72;
  --blue:          #2563eb;
  --blue-hover:    #1d4ed8;
  --border:        #e2e8f0;
  --border-mid:    #cbd5e1;
  --bg:            #ffffff;
  --bg-off:        #f8fafc;
  --bg-mid:        #f1f5f9;
  --text:          #0f172a;
  --text-mid:      #334155;
  --text-muted:    #64748b;
  --white:         #ffffff;
  --green:         #16a34a;
  --green-bg:      #f0fdf4;
  --green-border:  #bbf7d0;
  --amber-bg:      #fffbeb;
  --amber-border:  #fde68a;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --radius:        6px;
  --radius-lg:     10px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg:     0 10px 30px rgba(0,0,0,0.10);
  --t:             160ms ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
ol  { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography helpers ────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.section-bold {
  font-weight: 700;
  color: var(--navy);
}

.br-desktop { display: none; }
@media (min-width: 780px) { .br-desktop { display: block; } }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 11px 22px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 4px 14px rgba(37,99,235,0.28);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg-mid);
  border-color: var(--bg-mid);
}

.btn-sm { font-size: 0.80rem; padding: 8px 16px; }

/* ── Navigation ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
#navbar.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img { height: 72px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--t);
}
.nav-links > a:not(.btn):hover { color: var(--navy); }
.nav-links .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--text-mid);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 740px) {
  html { scroll-padding-top: 84px; }
  .nav-logo img { height: 48px; width: auto; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) {
    width: 100%;
    padding: 11px 28px;
    font-size: 0.9rem;
  }
  .nav-links .btn {
    margin: 10px 28px 4px;
    width: calc(100% - 56px);
    justify-content: center;
  }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
#hero {
  padding: 128px 0 76px;
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 740px) {
  #hero     { padding: 108px 0 48px; }
  #problem  { padding: 56px 0; }
  #services { padding: 56px 0; }
  #bundles  { padding: 48px 0; }
  #scope    { padding: 56px 0; }
  #why      { padding: 56px 0; }
  #process  { padding: 56px 0; }
  #about    { padding: 56px 0; }
  #cta      { padding: 52px 0; }
  #contact  { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.hero-content .eyebrow { color: #93c5fd; }

.hero-content h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.hero-sub {
  font-size: 1.0rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.trust-statement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 460px;
}
.trust-statement i { color: #4ade80; margin-top: 3px; flex-shrink: 0; }

/* Hero panel */
.hero-panel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.panel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-list li > i {
  color: #93c5fd;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.panel-list li div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.panel-list li strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
}

.panel-list li span {
  font-size: 0.775rem;
  color: #94a3b8;
  line-height: 1.4;
}

.panel-tagline {
  font-size: 0.77rem;
  font-weight: 600;
  color: #93c5fd;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
  letter-spacing: 0.03em;
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { display: none; }
  #hero { padding: 108px 0 56px; }
}

/* ── Value Cards ───────────────────────────────────────────────────── */
#value-cards {
  padding: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-card {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t);
}
.value-card:last-child { border-right: none; }
.value-card:hover { background: rgba(255,255,255,0.04); }

.value-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,0.28);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #93c5fd;
  font-size: 0.9rem;
  margin-bottom: 13px;
}

.value-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 7px;
  line-height: 1.3;
}

.value-card p {
  font-size: 0.80rem;
  color: #64748b;
  line-height: 1.65;
}

@media (max-width: 780px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .value-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .value-card:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card:nth-child(odd) { border-right: none; }
  .value-card:last-child { border-bottom: none; }
  .value-card { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ── Problem ───────────────────────────────────────────────────────── */
#problem {
  padding: 84px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: box-shadow var(--t), border-color var(--t);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}

.problem-icon {
  width: 40px; height: 40px;
  background: #eff6ff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.problem-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.35;
}

.problem-card p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Services ──────────────────────────────────────────────────────── */
#services {
  padding: 84px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
}

.service-card--featured {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.07);
}

.featured-label {
  position: absolute;
  top: -1px; left: 26px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.service-icon {
  width: 38px; height: 38px;
  background: #eff6ff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.service-card--featured .service-icon { background: #dbeafe; }

.service-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
  flex-shrink: 0;
}
.service-price strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card > h3 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.3;
}

.service-card > p {
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 18px;
}

.service-includes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.service-includes li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.815rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.service-includes li i {
  color: var(--blue);
  font-size: 0.58rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.service-btn { align-self: flex-start; margin-top: auto; }

/* ── Bundles ───────────────────────────────────────────────────────── */
#bundles {
  padding: 72px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}

.bundle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.bundle-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.07);
}

.bundle-name {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 9px;
}

.bundle-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 11px;
}

.bundle-desc {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.bundle-includes-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 11px;
}

.bundle-includes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
  flex: 1;
}

.bundle-includes li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--text-mid);
}
.bundle-includes li i { color: var(--green); font-size: 0.72rem; }

/* ── Scope ─────────────────────────────────────────────────────────── */
#scope {
  padding: 84px 0;
  background: var(--bg);
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.scope-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.scope-col--is {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
}

.scope-col--isnot {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
}

.scope-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.scope-col--is    .scope-col-header i { color: var(--green);  font-size: 1.05rem; }
.scope-col--isnot .scope-col-header i { color: #b45309;       font-size: 1.05rem; }

.scope-col-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-col ul li {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.scope-col ul li em {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

@media (max-width: 600px) {
  .scope-grid { grid-template-columns: 1fr; }
}

/* ── Why Morse ─────────────────────────────────────────────────────── */
#why {
  padding: 84px 0;
  background: var(--navy);
  color: var(--white);
}

.why-header {
  text-align: left;
  max-width: 680px;
  margin: 0 0 48px;
}
.why-header h2  { color: var(--white); }
.why-header .section-intro { color: #cbd5e1; }
.why-header .eyebrow { color: #93c5fd; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.why-card {
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
  transition: background var(--t), border-color var(--t);
}
.why-card:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(255,255,255,0.17);
}

.why-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,0.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #93c5fd;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.835rem;
  color: #94a3b8;
  line-height: 1.72;
}

/* ── Process ───────────────────────────────────────────────────────── */
#process {
  padding: 84px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  max-width: 660px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-connector {
  width: 2px;
  height: 26px;
  background: var(--border-mid);
  margin-left: 21px;
}

.step-num {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.step-body { padding: 8px 0 4px; }

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.step-body p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ── About ─────────────────────────────────────────────────────────── */
#about {
  padding: 84px 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .eyebrow { margin-bottom: 8px; }

.about-text h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.0rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 0.91rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 14px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 4px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color var(--t), box-shadow var(--t);
}
.pillar:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-sm);
}
.pillar i {
  color: var(--blue);
  font-size: 0.85rem;
  width: 15px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ── CTA ───────────────────────────────────────────────────────────── */
#cta {
  padding: 76px 0;
  background: var(--blue);
}

.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.0rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.78;
  margin-bottom: 28px;
}

/* ── Contact ───────────────────────────────────────────────────────── */
#contact {
  padding: 84px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.contact-detail-icon {
  width: 34px; height: 34px;
  background: #eff6ff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.contact-detail a:hover { color: var(--blue); }

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.contact-note > i {
  color: var(--blue);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-note p {
  font-size: 0.80rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.req     { color: #dc2626; }
.optional { color: var(--text-muted); font-weight: 400; text-transform: none; font-size: 0.7rem; letter-spacing: 0; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-off);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 10px 13px;
  outline: none;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.09);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

#submit-btn { align-self: flex-start; }

.form-success {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--green);
  padding: 8px 0;
}

.hidden { display: none !important; }

/* ── Footer ────────────────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 52px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 300px;
}

.footer-nav {
  display: flex;
  gap: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.83rem;
  color: #94a3b8;
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
}

.footer-bottom p {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 840px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav   { flex-wrap: wrap; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 3px; }
}

/* ── Retainer pricing line ────────────────────────────────────────── */
.retainer-pricing-line {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

/* ── Contact follow-up block ───────────────────────────────────────── */
.contact-followup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.contact-followup p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.followup-expect {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px !important;
  font-weight: 600;
  color: var(--navy) !important;
}

.followup-expect i {
  color: var(--blue);
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ── Form fallback note ────────────────────────────────────────────── */
.form-fallback {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -6px;
}
.form-fallback a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-fallback a:hover { color: var(--blue-hover); }

/* ── Best Starting Point ───────────────────────────────────────────── */
#starting-point {
  padding: 84px 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.starting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.starting-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--t), border-color var(--t);
}
.starting-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}

.starting-icon {
  width: 40px; height: 40px;
  background: #eff6ff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.starting-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.35;
}

.starting-card p {
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.starting-card p strong {
  color: var(--navy);
}

.starting-cta {
  text-align: center;
}

@media (max-width: 740px) {
  #starting-point { padding: 56px 0; }
}

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-off); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
