/* ============================================================
   JOHN OVENS FRANCHISE SPECIALIST — Standalone Static Site
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   Palette: Navy #1e2d5a | Gold #c9a84c | Off-white #f9fafb
   Mobile-first responsive: 375px → 768px (iPad) → 1024px+
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: #1f2937;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── UTILITY ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── NAVIGATION ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-name { font-size: 15px; font-weight: 600; color: #111827; }
.nav-brand-sub  { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #9ca3af; text-transform: uppercase; }

.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #4b5563; transition: color 0.15s; }
.nav-links a:hover { color: #111827; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e2d5a;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-cta:hover { background: #16224a; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #4b5563;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.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); }

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #f3f4f6;
  background: #fff;
  padding: 8px 1rem 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  padding: 10px 0;
  border-bottom: 1px solid #f9fafb;
}
.mobile-menu .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e2d5a;
  color: #fff !important;
  font-weight: 600;
  padding: 12px;
  border-radius: 4px;
  margin-top: 12px;
  border-bottom: none;
}

/* ── HERO ── */
.hero { padding: 40px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e2d5a;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 4px;
  border: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: #16224a; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary .chevron { font-size: 18px; }

.fee-note .fee-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #9ca3af; text-transform: uppercase; margin-bottom: 2px; }
.fee-note .fee-value { font-size: 14px; font-weight: 600; color: #374151; }

.cred-section { margin-top: 32px; }
.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.cred-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 8px 12px;
  background: #f9fafb;
}
.cred-badge img { height: 32px; width: auto; object-fit: contain; }
.cred-badge-label { font-size: 10px; color: #9ca3af; text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; }
.cred-badge-name  { font-size: 12px; font-weight: 600; color: #374151; }

/* Convictions panel */
.convictions-panel {
  background: #f9fafb;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #f3f4f6;
}
.convictions-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.convictions-sub { font-size: 13px; color: #6b7280; margin-bottom: 24px; }
.conviction-list { display: flex; flex-direction: column; gap: 24px; }
.conviction-item { border-left: 2px solid #c9a84c; padding-left: 16px; }
.conviction-tag  { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #9ca3af; text-transform: uppercase; margin-bottom: 4px; }
.conviction-quote { font-size: 13px; font-weight: 600; color: #1f2937; font-style: italic; margin-bottom: 8px; }
.conviction-body  { font-size: 13px; color: #4b5563; line-height: 1.65; }

/* ── STATS BAR ── */
.stats-bar { background: #1e2d5a; padding: 40px 1rem; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  color: #c9a84c;
}
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #d1d5db; text-transform: uppercase; margin-top: 4px; }

/* ── ABOUT ── */
.about-section { padding: 72px 0; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
  display: block;
}
.about-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-body { font-size: 16px; color: #4b5563; line-height: 1.75; margin-bottom: 16px; }
.about-quote {
  border-left: 4px solid #1e2d5a;
  padding-left: 20px;
  margin-top: 8px;
}
.about-quote p { font-size: 16px; font-style: italic; color: #374151; line-height: 1.7; }

/* ── PROCESS ── */
.process-section { padding: 72px 0; background: #f9fafb; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #111827;
}
.section-desc { font-size: 15px; color: #6b7280; margin-top: 12px; }

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.process-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1;
  margin-bottom: 12px;
}
.process-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.process-body  { font-size: 14px; color: #4b5563; line-height: 1.6; }

/* ── FAQ ── */
.faq-section { padding: 72px 0; background: #fff; }
.faq-inner { max-width: 768px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-question:hover { color: #1e2d5a; }
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform 0.2s; color: #9ca3af; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 20px; font-size: 15px; color: #4b5563; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── CONTACT FORM ── */
.contact-section { padding: 72px 0; background: #f9fafb; }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  border: 1px solid #f3f4f6;
  padding: 32px 24px;
}
.contact-header { text-align: center; margin-bottom: 32px; }
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.contact-desc { font-size: 14px; color: #6b7280; line-height: 1.6; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e2d5a;
  box-shadow: 0 0 0 3px rgba(30,45,90,0.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%;
  background: #1e2d5a;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 8px;
}
.btn-submit:hover { background: #16224a; }
.btn-submit:active { transform: scale(0.98); }
.form-disclaimer { font-size: 12px; color: #9ca3af; text-align: center; margin-top: 12px; }

.form-success { text-align: center; padding: 32px 0; display: none; }
.form-success .success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: #4b5563; }

/* ── FINAL CTA ── */
.final-cta { padding: 64px 1rem; background: #1e2d5a; text-align: center; }
.final-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta-desc { color: #d1d5db; font-size: 16px; line-height: 1.7; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c9a84c;
  color: #1e2d5a;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-gold:hover { background: #b8963e; }
.btn-gold:active { transform: scale(0.97); }
.final-cta-note { color: #9ca3af; font-size: 13px; margin-top: 16px; }

/* ── FOOTER ── */
.site-footer { background: #111827; padding: 28px 1rem; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-copy { font-size: 13px; color: #6b7280; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-nav a { font-size: 13px; color: #6b7280; transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE — TABLET (768px / iPad)
   ============================================================ */
@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Nav */
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }

  /* Hero CTA row inline */
  .hero-cta-row { flex-direction: row; align-items: center; gap: 24px; }

  /* Stats 4-col */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Process 2-col */
  .process-grid { grid-template-columns: 1fr 1fr; }

  /* Form rows */
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

  /* Contact card padding */
  .contact-card { padding: 40px; }

  /* Footer inline */
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }

  /* Hero side-by-side */
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

  /* About side-by-side */
  .about-grid { grid-template-columns: 320px 1fr; gap: 56px; }
  .about-photo { margin: 0; max-width: 100%; }

  /* Process 4-col */
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}
