/* ===== Sage Virtual Solutions — brand stylesheet ===== */

:root {
  --navy: #0B3954;
  --navy-deep: #072437;
  --sage: #5C6B4F;
  --sage-light: #8A9A79;
  --terracotta: #D8703F;
  --terracotta-deep: #B85A2E;
  --cream: #F7F2E7;
  --cream-deep: #EFE5D2;
  --ink: #24211C;
  --muted: #6E6759;
  --white: #FFFFFF;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

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

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

/* ---- header / nav ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(11,57,84,0.08);
}

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

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  white-space: nowrap;
}
.logo span { color: var(--terracotta); }

nav.links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

nav.links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.links a:hover { color: var(--terracotta-deep); text-decoration: none; }
nav.links a.current { color: var(--terracotta-deep); }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  width: 42px; height: 38px;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-deep); }

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

.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }

/* ---- hero blob decoration (signature element, echoes the brand's existing arcs) ---- */
.blob-field {
  position: relative;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}

/* ---- sections ---- */
section { padding: 86px 0; }
section.tight { padding: 56px 0; }

.section-cream-deep { background: var(--cream-deep); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy .muted { color: rgba(247,242,231,0.75); }

.muted { color: var(--muted); }

.center { text-align: center; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid rgba(11,57,84,0.08);
}

.pill-label {
  display: inline-block;
  background: var(--sage);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  background: rgba(216,112,63,0.12);
  color: var(--terracotta-deep);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---- footer ---- */
footer.site {
  background: var(--navy-deep);
  color: rgba(247,242,231,0.85);
  padding: 56px 0 30px;
}
footer.site a { color: var(--cream); }
footer.site .foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 36px;
}
footer.site h4 { color: var(--cream); font-size: 1rem; margin-bottom: 14px; }
footer.site .foot-bottom {
  border-top: 1px solid rgba(247,242,231,0.15);
  padding-top: 22px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid rgba(247,242,231,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

/* ---- misc components ---- */
.quote-card {
  background: var(--white);
  border: 1px solid rgba(11,57,84,0.1);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.quote-card .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 10px; }
.quote-card .who { font-weight: 600; color: var(--navy); margin-top: 14px; }
.quote-card .who span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

.faq-item {
  border-bottom: 1px solid rgba(11,57,84,0.12);
  padding: 22px 0;
}
.faq-item h3 { margin-bottom: 8px; }

.step-row {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
.step-line {
  width: 1px;
  background: rgba(92,107,79,0.35);
  margin: 4px auto;
  flex: 1;
}
.step-body { padding-bottom: 34px; }

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid rgba(11,57,84,0.1);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border: 2px solid var(--terracotta);
  position: relative;
}
.pricing-card ul { padding-left: 20px; margin: 14px 0 20px; color: var(--muted); font-size: 0.94rem; }
.pricing-card li { margin-bottom: 6px; }
.hours-tag { font-size: 2rem; font-family: 'Fraunces', serif; color: var(--navy); font-weight: 600; }

@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  footer.site .foot-grid { grid-template-columns: 1fr; }

  .menu-toggle { display: block; }
  nav.links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 28px 20px;
    border-bottom: 1px solid rgba(11,57,84,0.1);
    gap: 14px;
    max-height: 80vh;
    overflow-y: auto;
  }
  nav.links.open { display: flex; }
  nav.links .btn { margin-top: 4px; }
  .nav-wrap { position: relative; flex-wrap: wrap; }

  /* decorative blobs can crowd hero text on narrow screens, so hide them */
  .blob-field .blob { display: none; }

  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }

  .card { padding: 26px 22px; }
  .quote-card { padding: 24px 20px; }
  .pricing-card { padding: 26px 22px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav-wrap { padding: 14px 20px; }
  .logo { font-size: 1.05rem; }

  section { padding: 44px 0; }
  section.tight { padding: 34px 0; }

  h1 { line-height: 1.2; }

  .btn { padding: 12px 22px; font-size: 0.92rem; }

  .card, .pricing-card { padding: 22px 18px; }
  .quote-card { padding: 20px 16px; }

  .step-row { gap: 16px; }
  .step-num { width: 34px; height: 34px; font-size: 0.9rem; }

  footer.site { padding: 44px 0 24px; }
  footer.site .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
