/* ============================================================
   PIZZA ROUTING HUB — Main Stylesheet
   Concept: Navigation / Map UI
   Colors: Light grey bg, blue route lines, dark text
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #f0f2f5;
  --bg-card:      #ffffff;
  --blue-dark:    #1a3a5c;
  --blue-mid:     #1e6ab4;
  --blue-light:   #3b9de8;
  --blue-pale:    #ddeeff;
  --accent:       #e8562a;
  --text-dark:    #1c2a38;
  --text-mid:     #3d4f60;
  --text-light:   #6b7f93;
  --border:       #c8d6e5;
  --route-color:  #1e6ab4;
  --font-sans:    'Segoe UI', Arial, sans-serif;
  --font-mono:    'Courier New', monospace;
  --radius:       8px;
  --shadow:       0 2px 12px rgba(30,106,180,0.10);
  --shadow-lg:    0 8px 32px rgba(30,106,180,0.16);
  --max-w:        1100px;
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--blue-light); }

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

/* ============================================================
   TOPBAR DISCLAIMER
   ============================================================ */
.topbar {
  background: var(--blue-dark);
  color: #aac4e0;
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}
.topbar strong { color: #ffffff; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 2px solid var(--blue-mid);
  box-shadow: 0 2px 10px rgba(30,106,180,0.10);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}
.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-icon svg { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-pale);
  color: var(--blue-mid);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: .3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1e4d7a 60%, #1e6ab4 100%);
  color: #fff;
  padding: 72px 24px 56px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.08rem;
  color: #b8d4f0;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(59,157,232,0.25);
}
.hero-cta:hover {
  background: #2eaaff;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Map SVG Hero Graphic --- */
.hero-map {
  position: relative;
}
.map-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(59,157,232,0.4);
  background: #0d2540;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1e4d7a 100%);
  color: #fff;
  padding: 52px 24px 44px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}
.page-hero p {
  font-size: 1.05rem;
  color: #b8d4f0;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto 0;
  padding: 12px 24px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 6px; }

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--blue-mid); }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-intro {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.75;
}

/* ============================================================
   ROUTE DIVIDER (decorative)
   ============================================================ */
.route-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
  color: var(--border);
}
.route-divider::before,
.route-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 14px);
}
.route-divider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

/* ============================================================
   STAGES / TIMELINE
   ============================================================ */
.stages-list {
  list-style: none;
  position: relative;
  padding-left: 0;
  margin-top: 32px;
}
.stages-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--blue-mid) 0, var(--blue-mid) 10px, transparent 10px, transparent 18px);
}

.stage-item {
  display: flex;
  gap: 24px;
  padding: 0 0 36px 0;
  position: relative;
}

.stage-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--blue-pale);
  position: relative;
  z-index: 1;
}

.stage-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
  box-shadow: var(--shadow);
}
.stage-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.stage-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 32px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-lg); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  transition: background .2s;
}
.faq-question:hover { background: var(--blue-pale); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon {
  background: var(--blue-mid);
  transform: rotate(45deg);
}
.faq-item.open .faq-icon svg { color: #fff; }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box.blue {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-mid);
}
.info-box.note {
  background: #fff8e6;
  border-left: 4px solid #f0a500;
}
.info-box svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.info-box p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }
.info-box strong { color: var(--text-dark); }

/* ============================================================
   TWO-COLUMN CONTENT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 36px;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ============================================================
   MAP MINI GRAPHIC (inline)
   ============================================================ */
.map-graphic {
  background: #0d2540;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(30,106,180,0.4);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card .c-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-card .c-icon svg { width: 26px; height: 26px; color: var(--blue-mid); }
.contact-card h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--text-dark); font-weight: 500; }

/* ============================================================
   ABOUT TEAM STRIP
   ============================================================ */
.about-strip {
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 36px;
  border: 1px solid var(--border);
}

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 36px 0 12px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-mid);
}
.privacy-content ul li {
  margin-bottom: 8px;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ============================================================
   FEATURES STRIP (home)
   ============================================================ */
.features-strip {
  background: var(--blue-dark);
  color: #fff;
  padding: 36px 24px;
}
.features-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.feature-item svg { width: 30px; height: 30px; color: var(--blue-light); }
.feature-item strong { font-size: 0.95rem; color: #e0eeff; }
.feature-item span { font-size: 0.84rem; color: #7aabcf; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: #7aabcf;
  padding: 52px 24px 28px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: #6a96b8;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aac4e0;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: #6a96b8;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #b8d4f0; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: #4d7a99;
}
.footer-bottom a { color: #4d7a99; }
.footer-bottom a:hover { color: #aac4e0; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-36 { margin-bottom: 36px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-map { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.flip { direction: ltr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 48px 16px 40px; }
  .page-wrap { padding: 32px 16px; }
  .stages-list::before { left: 24px; }
}

@media print {
  .site-nav, .topbar, .site-footer, .hero-map { display: none; }
  body { background: #fff; color: #000; }
  .card, .stage-body { box-shadow: none; border: 1px solid #ccc; }
}