/* ===========================================================
   Eternal Pilgrimages Alliance — shared stylesheet
   =========================================================== */

:root {
  --navy: #16264a;
  --navy-2: #1f3766;
  --navy-3: #0f1a33;
  --gold: #b8862c;
  --gold-2: #cf9f3f;
  --cream: #f7f1e4;
  --cream-2: #efe6d0;
  --ink: #1c2333;
  --muted: #5c6478;
  --border: #e5decb;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(15, 26, 51, 0.12);
  --radius: 6px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy p { color: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0 0 44px; }
.section-head h2 { font-size: 2.1rem; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--cream); box-shadow: var(--shadow); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.03em;
  display: block;
}
.brand-text .tagline {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; padding: 90px 28px; }
.hero h1 { color: var(--navy); font-size: 2.6rem; margin-bottom: 18px; }
.hero p { color: var(--navy); font-size: 1.08rem; }

.page-hero {
  position: relative;
  color: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before { content:""; position:absolute; inset:0; background: rgba(15,26,51,.78); }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 70px 28px; }
.page-hero h1 { color: var(--white); font-size: 2.3rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0; }
.breadcrumb { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }

/* ---------- Stat bar ---------- */
.stat-bar {
  background: var(--navy-3);
  color: var(--white);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  justify-content: center;
  text-align: left;
}
.stat-item .ic { font-size: 1.5rem; color: var(--gold-2); flex-shrink: 0; }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.feature-card { text-align: center; }
.feature-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Featured journey ---------- */
.journey-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.journey-panel img { border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; object-fit: cover; }
.journey-date { color: var(--gold); font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 20px 0 26px;
}
.check-grid li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.check-grid li::before {
  content: "✓";
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .68rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Process steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-step { text-align: center; position: relative; }
.process-step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}
.process-step .ic { font-size: 1.4rem; color: var(--gold); margin-bottom: 10px; }
.process-step h3 { font-size: .95rem; margin-bottom: 8px; }
.process-step p { font-size: .85rem; margin: 0; }
.process-row::before {
  content: "";
  position: absolute;
  top: 23px; left: 10%; right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  margin-bottom: 10px;
}
.services-grid h3 { font-size: 1.1rem; }
.services-grid p { font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 90px 28px;
}
.cta-band::before { content:""; position:absolute; inset:0; background: rgba(15,26,51,.82); }
.cta-band .inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .button-row { justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 6px 18px rgba(15,26,51,.06);
}
.card h3 { font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 720px; }
th, td { text-align: left; padding: 16px 18px; font-size: .9rem; border-bottom: 1px solid var(--border); }
th { background: var(--navy); color: var(--white); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: .74rem; }
tr:last-child td { border-bottom: none; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tag-open { background: #e6f2ea; color: #1f7a44; }
.tag-limited { background: #fbeedb; color: var(--gold); }
.tag-full { background: #f3e3e3; color: #a13030; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-success {
  display: none;
  background: #eaf4ec;
  border: 1px solid #bfe0c6;
  color: #1f7a44;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.accordion-item .plus { font-size: 1.3rem; color: var(--gold); transition: transform .2s ease; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion-body p { padding: 0 4px 20px; margin: 0; }

/* ---------- Timeline (itinerary) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content:""; position:absolute; left:11px; top:6px; bottom:6px; width:2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -40px; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { margin-bottom: 6px; font-size: 1rem; }
.timeline-item p { margin: 0; font-size: .92rem; }
.timeline-item .day-tag { color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.85); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid a { font-size: .88rem; color: rgba(255,255,255,.75); }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-text .name { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.center-btn { display:flex; justify-content:center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .two-col, .journey-panel, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .services-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process-row::before { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 40px; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .feature-grid, .services-grid, .grid-3, .grid-4, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-inner { padding: 60px 20px; }
  .section { padding: 56px 0; }
  .stat-grid { grid-template-columns: 1fr; }
  body.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 28px 22px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
}
