/* Positive Futures AI — site styles
   Fonts: Montserrat (headings), Raleway (body)
   Brand: navy header/footer, medium-blue hero, orange CTA */

:root {
  --navy: #1c6091;          /* header / footer / dark sections */
  --navy-dark: #154b72;
  --blue: #3e8cc1;          /* hero background */
  --blue-deep: #1f5f8b;     /* headings on light backgrounds */
  --orange: #e8821e;        /* primary call-to-action */
  --orange-dark: #cf7016;
  --ink: #2b2b2b;           /* body text */
  --ink-soft: #4a5464;
  --muted: #6b7280;
  --line: #e4e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;        /* light section */
  --bg-soft: #eef3f7;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 50, 80, 0.10);
  --shadow-sm: 0 4px 14px rgba(20, 50, 80, 0.08);
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", -apple-system, sans-serif;
  color: var(--blue-deep);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-narrow { max-width: 820px; }

section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #eaf2f8; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.center { text-align: center; }
.eyebrow {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.6em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  text-align: center;
}
.btn:hover { background: var(--orange-dark); border-color: #ffffff; text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-white { background:#fff; color: var(--navy); border-color:#fff; }
.btn-white:hover { background:#eaf2f8; color: var(--navy); border-color:#eaf2f8; }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { max-height: 65px; height: auto; width: auto; display: block; }

/* Active page indicator */
.nav-links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.nav-links .btn[aria-current="page"] {
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.75);
}
.site-footer a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #eaf2f8;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { color: #fff; padding: 11px 22px; }
.nav-links .btn:hover { color: #fff; }
.nav-toggle { display: none; }
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero variants ---------- */
.hero-blue {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-blue::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/keys-ss.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero-blue .container { position: relative; }
.hero-blue h1 { color: #fff; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-blue .sub { font-family:"Montserrat",sans-serif; font-weight:600; font-size:1.3rem; margin-bottom:0.6em; color:#fff; }
.hero-blue p { color: #eaf2f8; font-size: 1.08rem; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.hero-light h1 { color: var(--blue-deep); }
.hero-light .hl { color: var(--ink); font-weight: 700; }

/* ---------- Generic layout helpers ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.split.reverse .col-img { order: 2; }
.col-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
/* Keep card text readable even inside dark sections */
.card { color: var(--ink); }
.card h1, .card h2, .card h3, .card h4 { color: var(--blue-deep); }
.card p { color: var(--ink); }

/* Feature list with checks */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--orange);
  font-weight: 800;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.stat .num { font-family:"Montserrat",sans-serif; font-weight:700; font-size: clamp(2.4rem,6vw,3.4rem); color: var(--orange); line-height:1; }

/* Badges row */
.badges { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.badge { font-family:"Montserrat",sans-serif; font-weight:600; color: var(--blue-deep); font-size: 0.98rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step .step-num {
  display:inline-flex; align-items:center; justify-content:center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-deep); color:#fff; font-family:"Montserrat"; font-weight:700; margin-bottom: 14px;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display:flex; flex-direction:column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border-color: var(--orange); border-width: 2px; box-shadow: var(--shadow); }
.price-card .tier { font-family:"Montserrat"; font-weight:700; color: var(--blue-deep); font-size:1.15rem; text-transform:uppercase; letter-spacing:0.03em; }
.price-card .price { font-family:"Montserrat"; font-weight:700; font-size:2.2rem; color: var(--ink); margin: 12px 0 18px; }
.price-card .checks { flex: 1; margin-bottom: 22px; }
.price-card .checks li { font-size: 0.97rem; }
.tag {
  align-self:flex-start; background: var(--orange); color:#fff; font-family:"Montserrat";
  font-weight:600; font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:4px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display:flex; align-items:center; gap: 12px; margin-top: 16px; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote .who span { font-family:"Montserrat"; font-weight:600; color: var(--blue-deep); font-style: normal; }

/* Guarantee */
.guarantee { display:flex; gap: 28px; align-items:center; }
.guarantee img { width: 130px; height:auto; flex: none; }

/* FAQ */
.faq-item {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow:hidden;
}
.faq-item summary {
  cursor:pointer; padding: 18px 22px; font-family:"Montserrat"; font-weight:600;
  color: var(--blue-deep); list-style:none; display:flex; justify-content:space-between; gap:16px;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color: var(--orange); font-size:1.4rem; line-height:1; }
.faq-item[open] summary::after { content:"–"; }
.faq-item .faq-body { padding: 0 22px 20px; }
.faq-group-title { margin-top: 1.4em; }

/* Calendly embed */
.calendly-inline-widget { min-width: 320px; height: 1000px; }

/* CTA band */
.cta-band { background: var(--blue-deep); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#dceaf4; max-width: 640px; margin-left:auto; margin-right:auto; }

/* Contact line */
.contact-line { font-family:"Montserrat"; font-weight:600; color: var(--blue-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color:#cfe0ec; padding: 56px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color:#fff; font-size:0.95rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom: 1em; }
.site-footer a { color:#cfe0ec; display:block; margin-bottom: 10px; font-size:0.95rem; }
.site-footer a:hover { color:#fff; }
.footer-logo { display:inline-block; margin-bottom:16px; }
.footer-logo img { height: 46px; width: auto; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.15); margin-top: 36px; padding-top: 20px; font-size:0.85rem; color:#9fb8cb; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .grid-3, .grid-2, .steps, .pricing, .testimonials, .footer-grid, .stats { grid-template-columns: 1fr; }
  .split.reverse .col-img { order: 0; }
  .hero-photo { order: -1; }
  .guarantee { flex-direction: column; text-align:center; }

  .hamburger { display: block; }
  .site-logo img { max-height: 44px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links li { padding: 4px var(--gutter); }
  .nav-links .btn { display:block; margin: 8px var(--gutter); text-align:center; }
  .nav-toggle:checked ~ .nav-links { max-height: 420px; }
}
