/* ==========================================================================
   Pavlus Travel — Oberammergau Passion Play microsite
   ========================================================================== */

:root {
  --forest:      #16342b;
  --forest-dark: #0d211a;
  --gold:        #c9a24b;
  --gold-light:  #e6cf95;
  --burgundy:    #7a2331;
  --burgundy-dark: #591a24;
  --cream:       #faf6ee;
  --cream-dark:  #f0e9d8;
  --ink:         #22201b;
  --ink-soft:    #565046;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 10px 30px rgba(22, 52, 43, 0.14);
  --shadow-sm:   0 4px 14px rgba(22, 52, 43, 0.1);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--forest-dark); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1440px) {
  .wrap { max-width: 1320px; }
  body { font-size: 1.05rem; }
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--forest-dark); padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--white); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--burgundy);
  margin-bottom: .75em;
}
.section-forest .eyebrow { color: var(--gold-light); }
.center { text-align: center; }
.max-prose { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.section-forest .lede { color: var(--cream-dark); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn-cta { background: var(--burgundy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-cta:hover { background: var(--burgundy-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-gold { background: var(--gold); color: var(--forest-dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Top bar */
.topbar { background: var(--burgundy); color: var(--white); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 24px; gap: 12px; flex-wrap: wrap; }
.topbar-phone { color: var(--gold-light); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar-msg { color: var(--white); text-decoration: none; }
.topbar-msg:hover { text-decoration: underline; }
.topbar-msg strong { color: var(--gold-light); }
.topbar-msg-short { display: none; }

/* Header / nav */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.brand { text-decoration: none; line-height: 1.1; }
.brand-mark { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--forest-dark); }
.brand-sub { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--burgundy); }
.footer-brand.brand-mark { color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--gold); color: var(--burgundy); }
.site-nav .nav-cta { color: var(--white); border: none; padding: 12px 22px; }
.site-nav .nav-cta:hover { border: none; }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 34px; flex-direction: column; justify-content: space-between; padding: 4px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--forest-dark); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(160deg, rgba(13,33,26,.88), rgba(89,26,36,.72)), url('/images/oberammergau-square-hero-mobile.jpg') center/cover no-repeat;
  padding: 100px 0 90px;
}
@media (min-width: 641px) {
  .hero {
    background-image: linear-gradient(160deg, rgba(13,33,26,.88), rgba(89,26,36,.72)), url('/images/oberammergau-square-hero.jpg');
  }
}
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero p.lede { color: var(--cream-dark); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); }
.hero-stat span { font-size: .85rem; color: var(--cream-dark); }

/* Hero split: sales pitch + lead form side-by-side, so the offer and the
   conversion point sit together above the fold on desktop instead of the
   form living several scrolls down. */
.hero-split-wrap { align-items: start; }
.hero-split-copy .eyebrow { color: var(--gold-light); }
.savings-callout {
  display: flex; gap: 20px; flex-wrap: wrap; margin: 22px 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 18px 22px;
}
.savings-item { display: flex; flex-direction: column; }
.savings-item strong { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-light); line-height: 1.1; }
.savings-item span { font-size: .8rem; color: var(--cream-dark); }
.urgency-note {
  display: flex; align-items: center; gap: 8px; font-size: .88rem;
  color: var(--gold-light); font-weight: 600; margin-top: 6px;
}
.hero-form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
@media (max-width: 900px) { .hero-split-wrap { grid-template-columns: 1fr; } }

.page-hero {
  color: var(--white);
  background: linear-gradient(160deg, rgba(13,33,26,.9), rgba(89,26,36,.78));
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--cream-dark); max-width: 680px; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-media { height: 190px; background: var(--cream-dark) center/cover no-repeat; }
.card-media-img { width: 100%; height: 190px; object-fit: cover; display: block; background: var(--cream-dark); }
.card-tag { display: inline-block; background: var(--cream-dark); color: var(--burgundy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.card ul.check-list { margin-top: auto; }

.check-list { list-style: none; margin: 0 0 1em; padding: 0; }
.check-list li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--burgundy); font-weight: 700; }
.section-forest .check-list li::before { color: var(--gold); }

/* Partner logos */
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.partner-logos img { max-height: 46px; width: auto; filter: grayscale(15%); opacity: .92; }
.partner-logos-footer img { max-height: 32px; background: var(--white); padding: 4px 8px; border-radius: 6px; }

/* Testimonials */
.testimonial { background: var(--cream-dark); border-radius: var(--radius); padding: 28px; }
.testimonial p { font-style: italic; font-size: 1.05rem; }
.testimonial cite { display: block; font-style: normal; font-weight: 700; margin-top: 12px; color: var(--burgundy); }

/* Timeline (Passion Play history) */
.timeline { border-left: 3px solid var(--gold); padding-left: 28px; display: flex; flex-direction: column; gap: 32px; margin-left: 8px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--forest); }
.timeline-item h3 { margin-bottom: .25em; }
.timeline-year { font-family: var(--serif); color: var(--burgundy); font-weight: 700; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--cream-dark); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--forest-dark);
}
.faq-q::after { content: "+"; font-size: 1.6rem; color: var(--burgundy); line-height: 1; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding-bottom: 20px; color: var(--ink-soft); }

/* Forms */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.form-group .required { color: var(--burgundy); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid #ddd6c4; border-radius: 8px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--cream); transition: border-color .15s ease;
}
.form-control:focus { outline: none; border-color: var(--gold); }
.form-help { font-size: .82rem; color: var(--ink-soft); }
.form-error-list { background: #fbe9e7; border: 1px solid var(--burgundy); color: var(--burgundy-dark); padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.form-error-list p { margin: 0; }
.details-toggle { background: none; border: none; text-decoration: underline; color: var(--burgundy); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 16px; font-size: .92rem; }
.optional-fields { display: none; }
.optional-fields.open { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #ddd6c4;
  cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); background: var(--cream);
}
.radio-pill input:checked + span { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* Pre-footer CTA */
.pre-footer-cta { background: var(--burgundy); color: var(--white); text-align: center; }
.pre-footer-cta h2 { color: var(--white); }
.pre-footer-cta p { max-width: 560px; margin: 0 auto 28px; color: var(--gold-light); }

/* Footer */
.site-footer { background: var(--forest-dark); color: var(--cream-dark); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h3 { color: var(--gold-light); font-size: 1rem; margin-bottom: .8em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; font-size: .8rem; color: #a9b6b0; }

/* Two-column content + sidebar layout */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 100px; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.badge { background: var(--cream-dark); color: var(--forest-dark); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Featured-partner spotlight (e.g. Viking's already-published 2030 sailings) */
.spotlight {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.spotlight h2, .spotlight h3 { color: var(--white); }
.spotlight .lede { color: var(--cream-dark); }
.spotlight-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.spotlight-logo { background: var(--white); border-radius: 8px; padding: 10px 18px; display: inline-block; }
.spotlight-logo img { height: 28px; width: auto; display: block; }
.badge-new {
  display: inline-block; background: var(--gold); color: var(--forest-dark);
  font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.spotlight-trips { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 800px) { .spotlight-trips { grid-template-columns: 1fr; } }
.spotlight-trip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 22px;
}
.spotlight-trip h3 { font-size: 1.15rem; margin-bottom: 8px; }
.spotlight-trip .trip-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; color: var(--gold-light); margin-bottom: 12px; }
.spotlight-trip .trip-price { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin: 10px 0; }
.spotlight-trip .trip-price span { font-family: var(--sans); font-size: .8rem; color: var(--cream-dark); display: block; }
.spotlight-source-note { font-size: .78rem; color: var(--cream-dark); opacity: .8; margin-top: 20px; }

/* Breadcrumbs */
.breadcrumbs { padding: 14px 24px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--burgundy); text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: var(--forest-dark); font-weight: 600; }
.breadcrumbs .crumb-sep { color: #c9c0aa; }

/* Quick-answer box: concise, extractable summary for AEO / answer engines */
.quick-answer {
  background: var(--cream-dark);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  max-width: 760px;
}
.hero .quick-answer, .page-hero .quick-answer {
  background: rgba(255,255,255,.1);
  border-left-color: var(--gold-light);
  color: var(--white);
  backdrop-filter: blur(2px);
}
.quick-answer p { margin: 0; }
.quick-answer .quick-answer-label {
  display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; color: var(--burgundy); margin-bottom: 6px;
}
.hero .quick-answer .quick-answer-label, .page-hero .quick-answer .quick-answer-label { color: var(--gold-light); }

@media (max-width: 860px) {
  .site-nav {
    position: fixed; inset: 62px 0 0 0; background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 24px; gap: 8px; transform: translateX(100%);
    transition: transform .2s ease; overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--cream-dark); min-height: 44px; display: flex; align-items: center; }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; display: block; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Mobile-friendliness pass
   ========================================================================== */
html, body { overflow-x: hidden; }
a, button, input, select, textarea { -webkit-tap-highlight-color: rgba(201,162,75,.35); }

/* Guarantee >=44px touch targets on interactive elements, per WCAG 2.5.5 / mobile UX guidance */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.radio-pill span { min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
.faq-q { min-height: 44px; }
.form-control { min-height: 44px; }
.details-toggle { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .section-tight { padding: 32px 0; }

  /* Trim the announcement bar so it doesn't crowd small screens */
  .topbar-inner { padding: 8px 16px; font-size: .72rem; justify-content: center; }
  .topbar-msg-full { display: none; }
  .topbar-msg-short { display: inline; }

  .hero { padding: 56px 0 56px; }
  .hero-actions, .hero-stats { justify-content: center; text-align: center; }
  .hero-inner { text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .site-header-inner { padding: 12px 16px; }
  .wrap { padding: 0 16px; }

  .form-card { padding: 24px 18px; }
  .split { gap: 32px; }

  .footer-bottom { text-align: center; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.85rem; }
  .btn-lg { padding: 15px 24px; font-size: 1rem; }
}
