/* ============================================================
   SANDWICH JOURNEY HUB — Global Stylesheet
   Theme: Storytelling Scroll | Cream & Brown
   ============================================================ */

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

:root {
  --cream:        #FAF6EF;
  --cream-dark:   #F0E8D8;
  --cream-mid:    #EDE0CB;
  --brown-light:  #C8A87A;
  --brown:        #8B5E3C;
  --brown-dark:   #5C3A1E;
  --brown-deep:   #3D2209;
  --text-dark:    #2B1A0E;
  --text-mid:     #5C3A1E;
  --text-light:   #7A5C3A;
  --white:        #FFFFFF;
  --shadow:       rgba(92, 58, 30, 0.15);
  --shadow-deep:  rgba(61, 34, 9, 0.25);

  --font-head:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', 'Segoe UI', Arial, sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:    1100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-brown {
  background: var(--brown-dark);
  color: var(--cream);
}

.section-brown h2,
.section-brown h3,
.section-brown p {
  color: var(--cream);
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brown-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--brown);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--brown-dark); }

strong { color: var(--brown-dark); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brown-dark);
  box-shadow: 0 2px 16px var(--shadow-deep);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nav__logo span { font-size: 1.5rem; }

.nav__links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav__links a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--cream-mid);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a.active {
  background: var(--brown-light);
  color: var(--brown-deep);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 60%, var(--brown-light) 100%);
  color: var(--cream);
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FAF6EF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero h1 { color: var(--cream); margin-bottom: 1.25rem; }
.hero p  { color: var(--cream-mid); font-size: 1.15rem; max-width: 620px; margin: 0 auto 2rem; }

.hero__illustration {
  margin: 2.5rem auto 0;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__step-icon {
  width: 72px;
  height: 72px;
  background: rgba(250, 246, 239, 0.15);
  border: 2px solid rgba(250, 246, 239, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(4px);
}

.hero__step-label {
  font-size: 0.75rem;
  color: var(--cream-mid);
  text-align: center;
  max-width: 70px;
}

.hero__arrow {
  font-size: 1.5rem;
  color: var(--brown-light);
  margin: 0 0.25rem;
  padding-bottom: 1.5rem;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  background: var(--brown-dark);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--cream-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px var(--shadow-deep);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 { margin-bottom: 0.5rem; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--brown-light), var(--brown-dark));
  border-radius: 3px;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  background: var(--brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--brown-light);
  z-index: 1;
}

.timeline__content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex: 1;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--cream-mid);
}

.timeline__content h3 { margin-bottom: 0.4rem; }

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-mid);
  box-shadow: 0 2px 12px var(--shadow);
  counter-increment: steps;
  position: relative;
}

.step::before {
  content: counter(steps);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown);
  color: var(--cream);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 2px 8px var(--shadow-deep);
}

.step__icon { font-size: 2.2rem; display: block; margin-bottom: 0.75rem; }
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p  { font-size: 0.9rem; }

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
}

.highlight-box h2,
.highlight-box h3 { color: var(--cream); }
.highlight-box p   { color: var(--cream-mid); }

/* ---------- Divider ---------- */
.divider {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 2rem;
  opacity: 0.3;
  user-select: none;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--cream-mid);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brown-light);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary { background: var(--cream-dark); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-mid);
  font-size: 0.97rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--cream-mid);
}

.contact-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.contact-card p  { font-size: 0.95rem; margin: 0; }

/* ---------- Disclaimer Banner ---------- */
.disclaimer-banner {
  background: var(--cream-mid);
  border-left: 4px solid var(--brown);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  max-width: var(--max-width);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.disclaimer-banner__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.disclaimer-banner p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--brown-deep);
  color: var(--cream-mid);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.footer__brand p {
  color: rgba(240, 232, 216, 0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer__brand .logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: 0.5rem;
}

.footer__col ul a {
  color: rgba(240, 232, 216, 0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(240, 232, 216, 0.15);
  padding-top: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(240, 232, 216, 0.5);
  margin: 0;
}

.footer__bottom a {
  color: rgba(240, 232, 216, 0.65);
  font-size: 0.8rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--brown-dark);
  padding: 0.75rem 1.5rem;
}

.breadcrumb__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.breadcrumb a { color: var(--cream-mid); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb__sep { color: var(--brown-light); }
.breadcrumb__current { color: var(--brown-light); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero h1 { color: var(--cream); margin-bottom: 0.75rem; }
.page-hero p  { color: var(--cream-mid); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Privacy Policy ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-mid);
}

.prose ul li { margin-bottom: 0.4rem; }

/* ---------- About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream-mid));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 1rem;
  border: 2px solid var(--brown-light);
}

.about-visual .big-icon { font-size: 5rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border-left: 4px solid var(--brown);
  box-shadow: 0 2px 10px var(--shadow);
}

.value-card .icon { font-size: 1.75rem; display: block; margin-bottom: 0.6rem; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p  { font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brown-dark);
    padding: 1rem 1.5rem;
    gap: 0.1rem;
    box-shadow: 0 8px 20px var(--shadow-deep);
  }

  .nav__links.open { display: flex; }

  .nav__hamburger { display: flex; }

  .hero { padding: 4.5rem 1.25rem 4rem; }

  .hero__illustration { flex-wrap: wrap; }

  .hero__arrow { display: none; }

  .section { padding: 3.5rem 0; }

  .timeline::before { left: 28px; }
  .timeline__dot { width: 56px; height: 56px; font-size: 1.4rem; }

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

  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .card { padding: 1.5rem 1.25rem; }
  .highlight-box { padding: 2rem 1.5rem; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .breadcrumb { display: none; }
  body { background: white; }
  .section { padding: 2rem 0; }
}