/* ===== DESIGN TOKENS ===== */
:root {
  --blue:        #1a56db;
  --blue-hover:  #1647c0;
  --tan:         #d4b896;
  --dark:        #111827;
  --footer-bg:   #0f1c2d;
  --gray-light:  #f3f4f6;
  --gray-mid:    #6b7280;
  --white:       #ffffff;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body   { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
a      { text-decoration: none; color: inherit; }
img    { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

header nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 8px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  white-space: nowrap;
}

.nav-phone { font-size: 0.88rem; color: var(--dark); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font);
}

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }

.btn-tan  { background: var(--tan); color: var(--dark); }
.btn-tan:hover { filter: brightness(0.93); }

.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: #f3f4f6; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 40px 32px;
  color: #fff;
}

.hero-content blockquote {
  font-size: 1.45rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 36px;
}

/* ===== PAGE BANNER (thin image strip for inner pages) ===== */
.page-banner {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  padding-left: 60px;
}

/* ===== BLUE SPLIT HERO (How it Works page) ===== */
.blue-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.blue-split-text {
  background: var(--blue);
  color: #fff;
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blue-split-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.blue-split-text p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.92;
}

.blue-split-text .steps-label {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.blue-split-text ol {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.blue-split-text li { margin-bottom: 6px; line-height: 1.5; }
.blue-split-text li strong { opacity: 1; }

.blue-split-img { overflow: hidden; }
.blue-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FULL-WIDTH IMAGE BANNER ===== */
.img-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
}

.img-banner-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 600;
  max-width: 860px;
  padding: 0 32px;
  line-height: 1.3;
}

/* ===== TWO-COLUMN SECTION ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.two-col p {
  color: var(--gray-mid);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.two-col p a { color: var(--blue); }

.two-col ol, .two-col ul {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--gray-mid);
  font-size: 0.93rem;
}

.two-col ul { list-style: disc; }
.two-col li { margin-bottom: 6px; line-height: 1.5; }

.two-col .col-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.two-col .col-img-rounded {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== THREE CIRCULAR IMAGES ===== */
.circle-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.circle-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== THREE-COLUMN TEXT CARDS ===== */
.cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e5e7eb;
}

.card-3col {
  padding: 36px 32px 0;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.card-3col:last-child { border-right: none; }

.card-3col h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--dark);
}

.card-3col p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray-mid);
  flex: 1;
  margin-bottom: 24px;
}

.card-3col p em { font-style: italic; }
.card-3col p a  { color: var(--blue); }

.read-more-btn {
  display: block;
  padding: 14px 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  transition: color 0.2s;
}

.read-more-btn:hover { color: var(--blue-hover); }

/* ===== TAN CTA SECTION ===== */
.tan-cta {
  background: var(--tan);
  padding: 64px 32px;
  text-align: center;
}

.tan-cta p {
  font-size: 1.25rem;
  color: var(--dark);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ===== PRICING PAGE ===== */
.pricing-header {
  background: var(--gray-light);
  padding: 64px 32px;
  text-align: center;
}

.pricing-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.pricing-header .tagline {
  font-style: italic;
  font-weight: 700;
  color: var(--gray-mid);
  margin-bottom: 14px;
}

.pricing-header p {
  color: var(--gray-mid);
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.93rem;
}

.pricing-section {
  background: var(--gray-light);
  padding: 0 32px 64px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* card shell */
.pricing-card {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #e2e5e9;
}

.pricing-card.featured { background: #111827; }
.pricing-card.yearly   { background: var(--tan); }

/* card header label */
.pc-label {
  padding: 18px 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.pricing-card.featured .pc-label { color: #fff; }

/* price block */
.pc-price {
  background: #f0f2f4;
  padding: 24px 20px;
  text-align: center;
}

.pricing-card.featured .pc-price { background: #1f2937; }
.pricing-card.yearly   .pc-price { background: #c9a87c; }

.pc-amount {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
}

.pc-dollar { font-size: 1.1rem; font-weight: 600; padding-top: 10px; color: var(--dark); }
.pc-num    { font-size: 3.8rem; font-weight: 800; line-height: 1; color: var(--dark); }
.pc-cents  { font-size: 1.1rem; font-weight: 600; padding-top: 10px; color: var(--dark); }

.pricing-card.featured .pc-dollar,
.pricing-card.featured .pc-num,
.pricing-card.featured .pc-cents { color: #fff; }

.pc-period {
  font-size: 0.82rem;
  color: var(--gray-mid);
  margin-top: 6px;
}

.pricing-card.featured .pc-period { color: #9ca3af; }

/* features list */
.pc-features { flex: 1; }

.pc-feature {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 0.88rem;
  text-align: center;
  color: var(--dark);
}

.pricing-card.featured .pc-feature {
  color: #e5e7eb;
  border-color: rgba(255,255,255,0.08);
}

.pc-feature.accent { color: var(--blue); }

/* footer + button */
.pc-footer {
  padding: 14px 20px;
  text-align: center;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gray-mid);
  background: #d8dce0;
}

.pricing-card.featured .pc-footer { background: #0f1c2d; color: #6b7280; }
.pricing-card.yearly   .pc-footer { background: #c4956a; color: #5a3e1a; }

.pc-btn-wrap { padding: 16px 20px 20px; display: flex; justify-content: center; }
.pc-btn-wrap .btn { min-width: 140px; }

/* ===== ABOUT PAGE ===== */
.about-values {
  background: var(--gray-light);
  padding: 64px 0;
}

.about-values h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

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

.value-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p  { color: var(--gray-mid); font-size: 0.9rem; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px 0;
}

.contact-intro {
  color: var(--gray-mid);
  font-size: 0.93rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--blue); }
.form-row textarea { height: 140px; resize: vertical; }

.required { color: #ef4444; margin-left: 2px; }

.contact-info-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.info-item .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ===== HOW IT WORKS - detail sections ===== */
.hiw-detail {
  padding: 60px 0;
  border-bottom: 1px solid #e5e7eb;
}

.hiw-detail:last-of-type { border-bottom: none; }

.hiw-detail h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hiw-detail p {
  color: var(--gray-mid);
  max-width: 680px;
  line-height: 1.75;
  font-size: 0.93rem;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

section { padding: 60px 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  padding: 56px 0 0;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}

footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #9ca3af;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a {
  color: #9ca3af;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.footer-social a:hover { color: #fff; }

.footer-contact p {
  font-size: 0.88rem;
  color: #9ca3af;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-brand h4 { margin-bottom: 8px; }
.footer-brand p  { font-size: 0.88rem; color: #9ca3af; line-height: 1.5; }

.back-to-top {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}

.back-to-top button {
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.back-to-top button:hover { color: #9ca3af; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p { font-size: 0.82rem; color: #4b5563; }

/* ===== HAMBURGER MOBILE NAV ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  display: block;
  transition: all 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 106px;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 24px 32px;
    gap: 20px;
    z-index: 300;
  }

  .nav-links.open a { font-size: 1.05rem; }

  .blue-split        { grid-template-columns: 1fr; }
  .blue-split-img    { height: 260px; }
  .blue-split-text   { padding: 40px 28px; }
  .blue-split-text h1 { font-size: 2.2rem; }

  .two-col           { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .two-col.reverse   { direction: ltr; }
  .two-col .col-img,
  .two-col .col-img-rounded { height: 260px; }

  .circle-row        { flex-direction: column; align-items: center; }

  .cards-3col        { grid-template-columns: 1fr; }
  .card-3col         { border-right: none; border-bottom: 1px solid #e5e7eb; }

  .pricing-cards     { grid-template-columns: 1fr; }

  .footer-grid       { grid-template-columns: 1fr 1fr; }

  .contact-layout    { grid-template-columns: 1fr; gap: 40px; }

  .values-grid       { grid-template-columns: 1fr; }

  .img-banner-text   { font-size: 1.7rem; }
  .hero-content blockquote { font-size: 1.15rem; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-header h1 { font-size: 2rem; }
}
