/* ============================================================
   Secure Exit Solutions — Production Stylesheet
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:  #0a1628;
  --teal:  #0d7377;
  --gold:  #c9a84c;
  --white: #ffffff;
  --light-gray: #f4f5f7;
  --mid-gray: #8a8f98;
  --dark-gray: #1e2a3a;
  --navy-light: #132240;
  --gold-hover: #ddb94f;
  --teal-dark: #095558;
  --shadow: 0 2px 16px rgba(10, 22, 40, .12);
  --radius: 6px;
  --max-width: 1200px;
  --transition: .25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Utility ───────────────────────────────────────────────── */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
  letter-spacing: .02em;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Site Nav ──────────────────────────────────────────────── */
.site-nav {
  background: var(--navy);
  padding: .75rem 0;
  position: relative;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
}
.nav-logo img {
  max-height: 120px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-phone a {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.nav-phone svg { width: 18px; height: 18px; fill: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.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 {
  background: url('/images/hero-couple-couch.png') center/cover no-repeat;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.2rem;
  color: var(--white);
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-phone {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── Social Proof Strip ────────────────────────────────────── */
.social-proof {
  background: var(--navy-light);
  padding: 1.4rem 0;
  text-align: center;
}
.social-proof .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.proof-item {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.proof-item strong { color: var(--gold); font-size: 1.1rem; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ── Section Defaults ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-light { background: var(--light-gray); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: .8rem;
}
.section-header p {
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p {
  color: rgba(255,255,255,.65);
}

/* ── How It Works ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
}
.step-card p {
  font-size: .97rem;
  color: var(--mid-gray);
}
.section-dark .step-card p {
  color: rgba(255,255,255,.65);
}

/* ── Trust Block ───────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}
.trust-item {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-icon {
  font-size: 2.4rem;
  margin-bottom: .8rem;
}
.trust-item h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
}
.trust-item p {
  font-size: .92rem;
  color: var(--mid-gray);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(10,22,40,.1);
}
.section-dark .faq-item {
  border-color: rgba(255,255,255,.12);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.3rem 2.5rem 1.3rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}
.section-dark .faq-question { color: var(--white); }
.faq-question:hover { color: var(--teal); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--teal);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
  content: '\2212';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 0;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 0 1.3rem;
}
.faq-answer p {
  font-size: .97rem;
  color: var(--mid-gray);
  line-height: 1.7;
}
.section-dark .faq-answer p {
  color: rgba(255,255,255,.65);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .6rem;
}
.cta-banner p {
  color: rgba(255,255,255,.8);
  margin-bottom: 1.8rem;
}
.cta-banner .btn-gold { font-size: 1.1rem; padding: 1rem 2.8rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: .92rem;
  margin-top: .6rem;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  padding: .25rem 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Exit Popup ────────────────────────────────────────────── */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,22,40,.7);
  align-items: center;
  justify-content: center;
}
.exit-popup.visible { display: flex; }
.popup-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--mid-gray);
  cursor: pointer;
}
.popup-box h2 {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}
.popup-box p {
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

/* ── Form ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .35rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Content Page Styles ───────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 3.5rem;
  text-align: center;
}

/* About page hero with couple-couch image */
.about-hero-bg {
  background: url('../images/hero-couple-couch.png') center/cover no-repeat;
  position: relative;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.about-hero-bg .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .6rem;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: .85rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; }
.content-section {
  padding: 4rem 0;
}
.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.content-section h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 .6rem;
}
.content-section p {
  margin-bottom: 1rem;
  color: #3a3f47;
}
.content-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.content-section ul li {
  margin-bottom: .4rem;
  color: #3a3f47;
}
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}
.inline-cta {
  background: var(--light-gray);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.inline-cta p { margin-bottom: .8rem; }
.timeline-steps {
  counter-reset: timeline;
}
.timeline-step {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid var(--teal);
  margin-left: 1rem;
}
.timeline-step::before {
  counter-increment: timeline;
  content: counter(timeline);
  position: absolute;
  left: -16px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.timeline-step:last-child { border-left-color: transparent; }
.timeline-step h3 { margin-top: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--navy);
    padding: 1rem 5%;
    gap: .8rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: 85vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
