/* ===== Clarity Resume Studio — shared styles ===== */

:root {
  --navy: #10233e;
  --navy-light: #16304f;
  --teal: #1f8a70;
  --teal-light: #2aa886;
  --cream: #f7f5f0;
  --cream-dark: #ece7dc;
  --ink: #1c2530;
  --muted: #5c6773;
  --white: #ffffff;
  --border: #e1ddd2;
  --shadow: 0 10px 30px rgba(16, 35, 62, 0.08);
  --radius: 14px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75em;
  display: inline-block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: var(--shadow); }

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

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Header / Nav ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Source Serif 4", Georgia, serif;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--teal);
}

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  nav.main-nav.open { max-height: 400px; }
  nav.main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #123a52 100%);
  color: var(--cream);
  padding: 90px 0 100px;
}
.hero h1, .hero p { color: var(--cream); }
.hero .eyebrow { color: var(--teal-light); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero p.lead { font-size: 1.15rem; color: #cbd6e2; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #dce5ee;
  font-size: 0.96rem;
}
.hero-card li:last-child { border-bottom: none; }
.hero-card .check {
  color: var(--teal-light);
  font-weight: 700;
}

/* ---- Sections ---- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0 auto; }

.alt-bg { background: var(--white); }
.dark-bg { background: var(--navy); color: var(--cream); }
.dark-bg h2, .dark-bg h3 { color: var(--cream); }
.dark-bg p { color: #b9c6d4; }

/* ---- Cards / Grids ---- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(31, 138, 112, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---- Pricing ---- */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--teal);
  transform: translateY(-8px);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-card .amount {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 8px 0 4px;
}
.price-card .amount span { font-size: 1rem; color: var(--muted); font-family: inherit; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  flex-grow: 1;
}
.price-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.price-card li:first-child { border-top: none; }
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .num {
  counter-increment: step;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 40px;
}

/* ---- Testimonials ---- */
.quote-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.quote-card p.quote {
  font-style: italic;
  color: var(--ink);
  font-size: 1.02rem;
}
.quote-card .who {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

/* ---- Forms ---- */
form.contact-form {
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.15);
}
textarea { resize: vertical; min-height: 140px; }

.field { margin-bottom: 0; }

/* ---- Contact info ---- */
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-list li:last-child { border-bottom: none; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--navy);
  color: #b9c6d4;
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: var(--cream); font-family: inherit; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid a { color: #b9c6d4; }
.footer-grid a:hover { color: var(--teal-light); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; }
.note-box {
  background: rgba(31, 138, 112, 0.08);
  border: 1px solid rgba(31, 138, 112, 0.25);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--navy);
}
