/* ===================================================
   San Antonio Ghost Tours — style.css
   Brand: #2B1B1F (primary) | #C99A3D (accent) | #0E0A0B (bg)
   Fonts: Cormorant Garamond (headings) | Raleway (body)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Raleway:wght@400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.25;
  color: var(--white);
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CSS Variables ── */
:root {
  --primary: #2B1B1F;
  --primary-2: #180F12;
  --accent: #C99A3D;
  --accent-dark: #A87D2A;
  --bg: #0E0A0B;
  --surface: #1C1417;
  --surface-2: #241A1D;
  --white: #F7F1E6;
  --text: #E7DDD0;
  --text-light: #B7A899;
  --border: #3A2A2C;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-hover: 0 10px 40px rgba(201,154,61,0.20);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1a1113; }
.btn-primary:hover { background: var(--accent-dark); color: #1a1113; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,154,61,0.35); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #1a1113; transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--accent); color: #ffffff; }
.btn-secondary:hover { background: var(--accent); color: #1a1113; transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent); color: #1a1113; transform: translateY(-2px); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14,10,11,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,154,61,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
}
/* Branding must NEVER wrap onto a second line, in any language, at any
   viewport where it's shown — flex-shrink:0 stops the row from squeezing
   the logo block below its natural width, and white-space:nowrap on its
   two text lines is a second, independent guarantee even if something
   upstream ever changes the flex behavior. This is a hard structural
   invariant, not a "usually fits" heuristic — see MULTILINGUAL.md §34
   Header/Branding Fit Validation. Fixed 2026-08-03 after the Spanish
   tagline ("Historias Reales, Apariciones Reales") wrapped to 2 lines and
   made the whole header taller than the English version. */
.logo { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--white); line-height: 1.2; white-space: nowrap; }
.logo-tagline { font-size: 0.66rem; color: var(--accent); letter-spacing: 0.03em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: rgba(247,241,230,0.85); font-size: 0.84rem; font-weight: 500; transition: color var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.header-cta { margin-left: 12px; }

/* ── Language switcher (added 2026-08-03, es Stage 1) ── */
.lang-switcher { display: flex; align-items: center; gap: 6px; padding-left: 8px; border-left: 1px solid rgba(247,241,230,0.18); }
.lang-switcher-link { color: rgba(247,241,230,0.55); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em; padding: 2px 4px; transition: color var(--transition); }
.lang-switcher-link:hover { color: var(--accent); }
.lang-switcher-link[aria-current="true"] { color: var(--accent); }
.mobile-nav .lang-switcher { border-left: none; border-top: 1px solid rgba(247,241,230,0.12); margin-top: 4px; padding: 10px 18px 6px; justify-content: flex-start; gap: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--primary);
  padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(247,241,230,0.85); font-size: 1rem; font-weight: 500; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .mobile-book-now { color: var(--accent) !important; font-weight: 700; }

/* ── Hero ── */
.hero { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,10,11,0.92) 0%, rgba(43,27,31,0.75) 55%, rgba(14,10,11,0.55) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 120px 24px 72px; margin: 0 auto; text-align: center; color: var(--white); }
.hero-badge { display: inline-block; background: rgba(201,154,61,0.15); border: 1px solid rgba(201,154,61,0.5); color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero-slogan { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--accent); margin-bottom: 16px; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.hero-intro { font-size: 1rem; color: rgba(247,241,230,0.85); max-width: 620px; margin: 0 auto 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
section { padding: 80px 0; }
.section-label { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--white); margin-bottom: 16px; }
.section-subtitle { font-size: 1.03rem; color: var(--text-light); max-width: 640px; line-height: 1.75; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Advantages ── */
.advantages { background: var(--primary); }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.advantage-card { background: var(--surface); border-radius: var(--radius); padding: 40px 32px; text-align: center; border: 1px solid var(--border); transition: all var(--transition); }
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.advantage-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.advantage-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--white); }
.advantage-card p { color: var(--text-light); font-size: 0.94rem; line-height: 1.7; }
.advantages-cta { text-align: center; margin-top: 44px; }

/* ── Featured Haunted Landmarks (dark) ── */
.landmarks-section { background: var(--bg); }
.landmark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 52px; text-align: left; }
.landmark-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column; }
.landmark-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.landmark-card-img { position: relative; overflow: hidden; height: 220px; background: linear-gradient(135deg, var(--surface-2) 0%, var(--primary) 100%); }
.landmark-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.landmark-card:hover .landmark-card-img img { transform: scale(1.05); }
.landmark-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.landmark-card-placeholder span { font-size: 2.6rem; opacity: 0.55; }
.landmark-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.landmark-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--white); }
.landmark-card-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.landmark-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; background: rgba(201,154,61,0.14); border: 1px solid rgba(201,154,61,0.45); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: 50px; transition: all var(--transition); }
.landmark-badge:hover { background: var(--accent); color: #1a1113; }
.landmarks-cta { margin-top: 44px; }

/* ── Tours Hub ── */
.tours { background: var(--primary); }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.tour-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.tour-card-img { position: relative; overflow: hidden; height: 220px; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tour-card-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #1a1113; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em; }
.tour-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tour-card-body h2 { font-size: 1.2rem; margin-bottom: 10px; color: var(--white); }
.tour-card-hook { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
.tour-card-desc { color: var(--text-light); font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.tour-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tour-card-actions .btn { font-size: 0.83rem; padding: 10px 16px; flex: 1; justify-content: center; min-width: 0; }

/* ── FAQ ── */
.faq { background: var(--bg); }
.faq-list { max-width: 780px; margin: 52px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; transition: all var(--transition); }
.faq-item.open { border-color: var(--accent); box-shadow: 0 4px 16px rgba(201,154,61,0.14); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Raleway', sans-serif; font-size: 0.96rem; font-weight: 600; color: var(--white); }
.faq-item.open .faq-question { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; color: var(--text-light); font-size: 0.94rem; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--accent); font-weight: 700; text-decoration: underline; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); padding: 72px 0; text-align: center; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(247,241,230,0.75); font-size: 1.03rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Reviews ── */
.reviews { background: var(--primary); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); transition: all var(--transition); }
.review-card:hover { box-shadow: var(--shadow-hover); border-color: var(--accent); }
.review-stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { color: var(--text-light); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; flex-direction: column; }
.review-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.review-location { font-size: 0.78rem; color: var(--text-light); }

/* ── Pre-footer CTA ── */
.prefooter-cta { background: var(--accent); padding: 56px 0; text-align: center; }
.prefooter-cta h2 { color: #1a1113; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.prefooter-cta p { color: rgba(26,17,19,0.8); margin-bottom: 28px; font-size: 1rem; }
.prefooter-cta .btn-white { background: #1a1113; color: var(--accent); }
.prefooter-cta .btn-white:hover { background: var(--primary); color: var(--white); }

/* ── Footer ── */
.site-footer { background: var(--primary-2); color: rgba(247,241,230,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 0.875rem; line-height: 1.75; max-width: 300px; }
.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(247,241,230,0.7); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 24px; text-align: center; font-size: 0.8rem; color: rgba(247,241,230,0.4); }
.affiliate-disclosure { font-size: 0.78rem; color: rgba(247,241,230,0.3); margin-top: 6px; text-align: center; }
.independence-disclaimer { font-size: 0.78rem; color: rgba(247,241,230,0.3); margin-top: 6px; text-align: center; }

/* ── Tour Hero ── */
.tour-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; padding-top: 72px; }
.tour-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tour-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,10,11,0.94) 0%, rgba(43,27,31,0.55) 60%, rgba(43,27,31,0.25) 100%); }
.tour-hero-content { position: relative; z-index: 1; width: 100%; padding: 0 24px 48px; max-width: 1200px; margin: 0 auto; color: var(--white); }
.tour-hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); margin-bottom: 12px; }
.tour-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.meta-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(247,241,230,0.12); border: 1px solid rgba(247,241,230,0.28); color: var(--white); font-size: 0.85rem; padding: 6px 14px; border-radius: 50px; }

/* ── Tour Detail / About Section ── */
.tour-detail { padding: 64px 0; background: var(--bg); }
.tour-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.tour-detail-main h2 { font-size: 1.5rem; margin-bottom: 16px; margin-top: 36px; color: var(--white); }
.tour-detail-main h2:first-child { margin-top: 0; }
.tour-detail-main p { color: var(--text-light); font-size: 0.975rem; line-height: 1.85; margin-bottom: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; transition: gap var(--transition); }
.back-link:hover { gap: 12px; }

.tour-sidebar { position: sticky; top: 90px; }
.booking-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.booking-card-header { background: var(--primary); padding: 28px 28px 24px; color: var(--white); }
.booking-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 4px; }
.booking-price-note { font-size: 0.8rem; color: rgba(247,241,230,0.65); }
.booking-card-body { padding: 24px 28px; }
.booking-meta-list { list-style: none; margin-bottom: 24px; }
.booking-meta-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; gap: 12px; }
.booking-meta-list li:last-child { border-bottom: none; }
.booking-meta-list .label { color: var(--text-light); }
.booking-meta-list .value { font-weight: 600; color: var(--white); text-align: right; }
.booking-card-body .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.booking-cancellation { text-align: center; font-size: 0.8rem; color: #7bc98e; margin-top: 8px; }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,154,61,0.14); border: 1px solid rgba(201,154,61,0.45); color: var(--accent); font-size: 0.85rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; }

.other-tours-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.other-tours-box h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 16px; }
.other-tours-box ul li { border-bottom: 1px solid var(--border); padding: 8px 0; }
.other-tours-box ul li:last-child { border-bottom: none; }
.other-tours-box ul li a { color: var(--white); font-size: 0.875rem; font-weight: 600; }
.other-tours-box ul li a:hover { color: var(--accent); }

/* ── At a Glance ── */
.glance-section { background: var(--bg); padding: 0 0 48px; }
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.glance-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; text-align: center; }
.glance-icon { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.glance-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); display: block; margin-bottom: 4px; }
.glance-value { font-size: 1rem; font-weight: 700; color: var(--white); }
.section-h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--white); margin-bottom: 6px; }
.section-h2-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); display: block; margin-bottom: 8px; }

/* ── Route Timeline ── */
.route-timeline-section { background: var(--primary); padding: 56px 0; }
.route-timeline { position: relative; margin-top: 24px; padding-left: 32px; }
.route-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(201,154,61,0.15)); }
.route-stop { position: relative; padding: 0 0 28px 24px; }
.route-stop:last-child { padding-bottom: 0; }
.route-stop::before { content: ''; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.route-stop-time { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 4px; }
.route-stop-name { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 4px; font-family: 'Cormorant Garamond', serif; }
.route-stop-desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }

/* ── Split CTA with image ── */
.split-cta { background: var(--primary-2); padding: 0; }
.split-cta-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 340px; }
.split-cta-text { padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.split-cta-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.split-cta-text p { color: rgba(247,241,230,0.75); font-size: 1rem; line-height: 1.7; }
.split-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.split-cta-img { position: relative; overflow: hidden; min-height: 260px; }
.split-cta-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ── Split CTA slideshow (Haunted Pub Crawl + Ghost City Tour pages — scoped ── */
/* to .split-cta-slide, does not touch the plain .split-cta-img img rule the ── */
/* remaining tour page(s) rely on) ── */
.split-cta-slide {
  opacity: 0;
  animation: splitCtaFade 20s infinite;
}
.split-cta-slide:nth-child(1) { animation-delay: 0s; }
.split-cta-slide:nth-child(2) { animation-delay: 4s; }
.split-cta-slide:nth-child(3) { animation-delay: 8s; }
.split-cta-slide:nth-child(4) { animation-delay: 12s; }
.split-cta-slide:nth-child(5) { animation-delay: 16s; }
@keyframes splitCtaFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  15%  { opacity: 1; }
  20%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .split-cta-slide { animation: none; opacity: 0; }
  .split-cta-slide:first-child { opacity: 1; }
}

/* ── Section CTA Strip ── */
.section-cta-strip { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); border-radius: var(--radius); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0; flex-wrap: wrap; }
.section-cta-strip-text h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.section-cta-strip-text p { color: rgba(247,241,230,0.7); font-size: 0.875rem; }
.section-cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip-wrap { background: var(--bg); padding: 0 0 56px; }

/* ── Experience Grid ── */
.experience-section { background: var(--bg); padding: 56px 0; }
.experience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.experience-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; transition: all var(--transition); position: relative; overflow: hidden; }
.experience-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); }
.experience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.experience-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.experience-card-text { font-size: 0.9rem; font-weight: 600; color: var(--white); line-height: 1.5; }

/* ── Includes & Excludes ── */
.inc-exc-section { background: var(--primary); padding: 56px 0; }
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.inc-col, .exc-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; }
.inc-col { border-top: 3px solid #4f9e6a; }
.exc-col { border-top: 3px solid #c1554f; }
.inc-col h4, .exc-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; font-family: 'Raleway', sans-serif; }
.inc-col h4 { color: #6fbf8c; }
.exc-col h4 { color: #d97f79; }
.inc-item, .exc-item { font-size: 0.875rem; color: var(--text-light); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.inc-item:last-child, .exc-item:last-child { border-bottom: none; }
.inc-item::before { content: '✓'; color: #6fbf8c; font-weight: 700; flex-shrink: 0; }
.exc-item::before { content: '✗'; color: #d97f79; font-weight: 700; flex-shrink: 0; }

/* ── Meeting Point ── */
.meeting-section { background: var(--bg); padding: 56px 0; }
.meeting-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.meeting-content { padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; min-height: 280px; }
.meeting-text-col { display: flex; flex-direction: column; justify-content: flex-start; }
.meeting-name { font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 10px; font-family: 'Cormorant Garamond', serif; }
.meeting-address { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.meeting-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; min-height: 220px; }
.meeting-map iframe { width: 100%; height: 100%; flex: 1 1 auto; min-height: 220px; border: none; display: block; filter: grayscale(0.3) invert(0.92) contrast(0.9); }
.meeting-no-coords { padding: 28px 32px; }

/* ── What You Should Know ── */
.know-section { background: var(--primary); padding: 56px 0; }
.know-list { margin-top: 20px; }
.know-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); overflow: hidden; transition: all var(--transition); }
.know-item.open { border-color: var(--accent); box-shadow: 0 4px 16px rgba(201,154,61,0.14); }
.know-question { width: 100%; background: none; border: none; text-align: left; padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Raleway', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--white); }
.know-item.open .know-question { color: var(--accent); }
.know-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--accent); transition: transform var(--transition); }
.know-item.open .know-icon { transform: rotate(45deg); }
.know-answer { display: none; padding: 0 22px 18px; }
.know-item.open .know-answer { display: block; }
.know-answer ul { margin-top: 4px; }
.know-answer li { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; padding: 3px 0; }

/* ── Tour Reviews ── */
.tour-reviews-section { background: var(--bg); padding: 56px 0; }
.real-review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 16px; }
.real-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 12px; }
.real-review-author { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.real-review-loc { font-size: 0.78rem; color: var(--text-light); }
.real-review-date { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }
.real-review-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; font-style: italic; }
.no-reviews-note { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 22px; color: var(--text-light); font-size: 0.92rem; line-height: 1.8; }

/* ── Haunted Places Guide (editorial page, /haunted-places-san-antonio/) — locked ── */
.guide-intro-section { background: var(--bg); padding: 56px 0; }
.guide-intro-section .guide-intro-text { max-width: 780px; margin: 0 auto; }
.guide-intro-section .guide-intro-text p { color: var(--text-light); font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.guide-intro-cta { text-align: center; margin-top: 12px; }
.guide-map-section { background: var(--primary); padding: 56px 0; }
.guide-map { width: 100%; height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.guide-map-note { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-top: 22px; }
.guide-map-note a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.guide-locations-section { background: var(--bg); }
.guide-block { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--border); }
.guide-block:last-child { border-bottom: none; }
.guide-block.reverse .guide-block-img { order: 2; }
.guide-block.reverse .guide-block-text { order: 1; }
.guide-block-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.guide-block-img-placeholder { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.guide-block-img-placeholder span { font-size: 3rem; opacity: 0.5; }
.guide-block-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.guide-block-text h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 14px; }
.guide-block-text p { color: var(--text-light); font-size: 0.96rem; line-height: 1.85; margin-bottom: 14px; }
.guide-block-text p a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.guide-block-text .landmark-badge { margin-top: 4px; }
.guide-hotels-section { background: var(--primary); padding: 56px 0; }
.guide-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.guide-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.9rem; }
.guide-table th, .guide-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.guide-table th { background: var(--surface-2); color: var(--accent); font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
.guide-table th a { color: var(--accent); text-decoration: underline; }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table td.gcheck { color: #6fbf8c; text-align: center; font-weight: 700; font-size: 1.05rem; }
.guide-table td.gcross { color: var(--text-light); text-align: center; opacity: 0.35; }
.guide-comparison-section { background: var(--bg); padding: 56px 0; }
.guide-besttime-section { background: var(--primary); padding: 56px 0; }
.guide-besttime-section p { color: var(--text-light); font-size: 1rem; line-height: 1.85; max-width: 780px; margin: 0 auto 18px; }
.guide-tips-section { background: var(--bg); padding: 56px 0; }
.guide-faq-section { background: var(--primary); padding: 56px 0; }

/* ── Mobile sticky booking bar (tour pages only) ── */
.sticky-booking-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0,0,0,0.5);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.32s ease, opacity 0.32s ease, visibility 0.32s ease;
}
.sticky-booking-bar.visible { transform: translateY(0); opacity: 1; visibility: visible; }
.sticky-booking-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 640px; margin: 0 auto; padding: 12px 16px; }
.sticky-booking-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sticky-booking-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.05rem; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-booking-meta { font-family: 'Raleway', sans-serif; font-size: 0.78rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-booking-btn { flex-shrink: 0; padding: 12px 22px; font-size: 0.88rem; white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tour-detail-grid { grid-template-columns: 1fr; }
  .tour-sidebar { position: static; }
  .glance-grid { grid-template-columns: repeat(3, 1fr); }
  .split-cta-inner { grid-template-columns: 1fr; }
  .split-cta-img { min-height: 220px; order: -1; }
  .guide-block { grid-template-columns: 1fr; }
  .guide-block.reverse .guide-block-img, .guide-block .guide-block-img { order: -1; }
}
@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 56px 0; }
  .advantages-grid { grid-template-columns: 1fr; gap: 20px; }
  .tours-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { padding: 96px 24px 64px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .tour-card-actions { flex-direction: column; }
  .tour-card-actions .btn { flex: none; }
  .inc-exc-grid { grid-template-columns: 1fr; }
  .meeting-content { grid-template-columns: 1fr; }
  .section-cta-strip { flex-direction: column; align-items: flex-start; }
  .glance-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
  /* Mobile/small-tablet only — matches the site's existing mobile-nav
     breakpoint. Bar itself stays hidden until JS adds .visible; this only
     controls whether it's ever eligible to show (never on desktop/tablet-up). */
  .sticky-booking-bar { display: block; }
  body.sticky-cta-space { padding-bottom: 78px; }
}
html[lang="es"] .header-inner { max-width: 1600px; }
@media (max-width: 1600px) {
  html[lang="es"] .nav-links, html[lang="es"] .header-cta { display: none; }
  html[lang="es"] .hamburger { display: flex; }
}
@media (max-width: 480px) {
  .experience-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .sticky-booking-btn { padding: 11px 16px; font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-booking-bar { transition: none; }
}
