/* Base reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #fafafa; line-height: 1.6; overflow-x: hidden; }
:root {
  --brand: #ff8800;
  --brand-700: #e67700;
  --accent: #10b981;
  --accent-700: #059669;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg-soft: #fff9f0;
  --danger: #dc2626;
}

/* Invisible link */
.invisible-link { color: inherit; text-decoration: none; }
.invisible-link:hover { text-decoration: underline; }

/* Layout */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Table */
.sortable { cursor: pointer; }
.table-disclaimer { margin-top: 16px; }

/* Quick Match */
.quick-match-section { margin-top: 48px; }
.quick-match-result { display: none; }

/* Guide */
.guide-grid { gap: 32px; margin-top: 32px; }

/* Map */
.map-container-wrapper { margin-top: 24px; }
#barcelona-map { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.map-legend { margin-top: 24px; background: white; padding: 20px; border-radius: 12px; border: 1px solid var(--border); }
.map-legend h4 { margin: 0 0 16px 0; color: var(--ink); font-size: 1.1rem; }
.legend-items { display: flex; flex-direction: column; gap: 12px; }
.legend-item { display: flex; align-items: center; gap: 10px; }
.legend-marker { display: inline-block; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.legend-label { font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 768px) {
  #barcelona-map { height: 400px !important; }
  .map-legend { padding: 16px; }
}

/* Links */
.brand-link { color: #ff8800; font-weight: 700; }

/* Wizard */
.wizard-nav { margin-top: 24px; }
.wizard-step .btn-secondary { margin-top: 24px; }

/* Disclaimer */
.disclaimer-wrapper { padding: 32px 0; }
.disclaimer-box { background: #f3f4f6; border-radius: 12px; padding: 24px; font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.disclaimer-title { margin: 0 0 12px 0; color: #475569; }
.disclaimer-item { margin: 0 0 8px 0; }
.disclaimer-last { margin: 0; }

/* Force center these sections */
#quick-match h2,
section#calculator h2 { text-align: center; margin-top: 0; }
#quick-match > p,
section#calculator > p { text-align: center; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

/* Typography */
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 16px; font-weight: 700; color: var(--ink); }
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; margin-top: 48px; margin-bottom: 24px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 16px; line-height: 1.7; }
.lead { font-size: 1.2rem; color: #334155; line-height: 1.7; margin-bottom: 24px; }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: #64748b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

/* Header */
body { padding-top: 92px; }
.site-header { position: fixed; top: 32px; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); transition: transform 0.3s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-text { font-family: Montserrat, Inter, system-ui, sans-serif; font-weight: 700; letter-spacing: .3px; font-size: 1.4rem; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { margin: 0; color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 8px; font-size: 0.95rem; }
.main-nav a:hover { color: var(--brand-700); background: #fef3c7; }

/* Mobile menu toggle */
.mobile-menu-toggle { 
  display: none; 
  flex-direction: column; 
  justify-content: space-around; 
  width: 30px; 
  height: 30px; 
  background: transparent; 
  border: none; 
  cursor: pointer; 
  padding: 0; 
  z-index: 10;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--ink);
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  z-index: 1001;
}

@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
  .mobile-menu-close { display: block; }
  .main-nav { 
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 280px; 
    height: 100vh; 
    background: #ffffff; 
    box-shadow: -2px 0 10px rgba(0,0,0,0.1); 
    transition: right 0.3s ease; 
    z-index: 1000; 
    padding: 20px; 
    padding-top: 70px;
    display: flex; 
    flex-direction: column; 
    gap: 16px;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav a { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
  body.menu-open { overflow: hidden; }
  .brand-text { font-size: 1.2rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: all .2s; font-size: 0.95rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(217,119,6,.3); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,119,6,.35); }
.btn-plain { background: #ffffff; color: var(--ink); border: 2px solid var(--border); }
.btn-plain:hover { background: #f3f4f6; border-color: var(--brand); }

/* Hero Section - NEW DESIGN */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    min-height: 520px;
  }
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom right;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

.hero-left {
  max-width: 800px;
  width: 100%;
}

.hero-text {
  margin-bottom: 32px;
  max-width: 100%;
}

.hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  line-height: 1.3;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: white;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  line-height: 1.5;
}

/* Hero Widget Box */
.hero-widget {
  margin-top: 32px;
}

.widget-box {
  background: rgba(255, 249, 240, 0.98);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 380px;
}

/* New card image widget */
.widget-card-image {
  position: relative;
  width: 550px;
  max-width: 100%;
  height: 328px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-6px);
}

.card-content > * {
  align-self: flex-start;
}

.card-content .widget-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-content .widget-note {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.card-content .price-amount {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.best-seller-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.card-content .best-seller-badge {
  background: #10b981;
  padding: 6px 16px;
  width: fit-content;
}

.card-subtitle-badge {
  display: inline-block;
  background: #CD7C2A;
  color: white;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  width: fit-content;
  margin: 0;
  margin-left: -24px;
  text-transform: uppercase;
}

.widget-price {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 8px;
}

.card-content .widget-price {
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
  margin-left: 0;
  margin-bottom: 2px;
  text-shadow: none !important;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #ff8800;
  margin-left: 4px;
}

.card-content .price-amount {
  font-size: 2.2rem;
  margin-left: 8px;
  color: #cd7c2a;
  text-shadow: none !important;
}

.widget-title {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 12px 0 16px 0;
  font-weight: 700;
}

.card-content .widget-title {
  text-transform: uppercase;
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  background: #CD7C2A;
  color: white;
  padding: 6px 16px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  width: fit-content;
  margin-left: -24px;
}

.btn-widget {
  display: block;
  width: 100%;
  background: #0ea5e9 !important;
  color: white !important;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin: 16px 0;
}

.card-content .btn-widget {
  display: inline-block;
  width: auto;
  padding: 12px 20px;
  margin-left: -24px;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  background: #10b981 !important;
  color: white !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  position: relative;
}

.card-content .btn-widget:hover {
  background: #059669 !important;
  color: white !important;
}

.btn-widget:hover {
  background: #0284c7 !important;
}

.btn-widget-green {
  background: white !important;
  color: #10b981 !important;
  border: 3px solid #10b981 !important;
}

.btn-widget-green:hover {
  background: #f0fdf4 !important;
  border-color: #059669 !important;
  color: #059669 !important;
}

.widget-note {
  text-align: center;
  color: #64748b;
  margin: 8px 0 0 0;
  font-size: 0.85rem;
}

/* Hero CTA Section - BUTTONS RIGHT */
.hero-cta-section {
  background: white;
  padding: 24px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cta-buttons-right {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-secondary {
  background: white;
  color: #ff8800;
  border: 2px solid #ff8800;
}

.btn-secondary:hover {
  background: #ff8800;
  color: white;
}

@media (max-width: 968px) {
  .container { padding: 0 24px; }
  .hero { height: auto; min-height: 60vh; }
  .hero-inner { padding: 32px 20px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-description { font-size: 1rem; }
  .widget-box { max-width: 100%; }
  .widget-card-image { width: 100%; max-width: 100%; }
  .cta-buttons-right { justify-content: center; }
  .hero-bg-image { object-position: 95% center; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero-bg-image { object-position: 95% center; }
}

/* Cards */
.card { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(15, 23, 42, .06); margin-bottom: 24px; }
.attraction-spotlight { transition: all 0.3s ease; }
.attraction-spotlight:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15, 23, 42, .12); border-color: var(--brand); }
.attraction-spotlight h4 { color: var(--brand-700); margin-bottom: 16px; font-size: 1.3rem; }
.attraction-img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 16px; }

/* Intro section */
.intro-section { padding: 48px 0; }
.highlight-box { background: #fff9f0; border-left: 4px solid var(--brand); padding: 24px; border-radius: 8px; margin: 24px 0; box-shadow: 0 2px 8px rgba(255,136,0,0.1); }
.highlight-box ul { list-style: none; padding: 0; }
.highlight-box li { padding: 8px 0; padding-left: 28px; position: relative; }
.highlight-box li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* TOP LANGUAGE BAR */
.top-lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1a1510;
  padding: 8px 0;
  border-bottom: 1px solid #2d2520;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.top-lang-bar.scrolled-down {
  transform: translateY(-100%);
}

.top-lang-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.top-lang-flag {
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.top-lang-flag img {
  width: 24px;
  height: 16px;
  display: block;
  border: 1px solid #3d3530;
  border-radius: 2px;
}

.top-lang-flag:hover {
  transform: translateY(-2px);
}

.top-lang-flag:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d2520;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 13px;
  z-index: 1000;
  border: 1px solid #3d3530;
}


@media (max-width: 768px) {
  .top-lang-bar .container {
    gap: 12px;
  }
  
  .top-lang-flag img {
    width: 20px;
    height: 14px;
  }
}

/* Gaudi CTA Box */
.gaudi-cta-box { background: #fff9f0; border-left: 4px solid var(--brand); border-right: 4px solid var(--brand); padding: 32px; border-radius: 8px; margin: 40px 0; box-shadow: 0 2px 8px rgba(255,136,0,0.1); }
.gaudi-cta-box p { margin-bottom: 24px; font-size: 1.05rem; color: #334155; text-align: center; }
.cta-center { text-align: center; margin-top: 24px; }
.btn-gaudi { background: linear-gradient(135deg, #ff8800 0%, #e67700 100%); color: white; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(255,136,0,0.2); }
.btn-gaudi:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,136,0,0.3); background: linear-gradient(135deg, #e67700 0%, #d16700 100%); }

/* Upgrade Widget */
.upgrade-widget-wrapper {
  position: relative;
}

.upgrade-widget {
  position: relative;
  background: linear-gradient(to right, #fff5ed 0%, #ffd9b8 100%);
  border-radius: 12px;
  padding: 12px 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
}

@media (min-width: 768px) {
  .upgrade-widget {
    padding: 14px 30px;
    min-height: 80px;
    gap: 25px;
  }
}

@media (min-width: 992px) {
  .upgrade-widget {
    padding: 5px 40px;
    min-height: 42px;
    gap: 30px;
  }
}

.upgrade-widget-left {
  flex: 1;
  position: relative;
}

.upgrade-widget-title {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .upgrade-widget-title {
    font-size: 21px;
    margin-bottom: 8px;
  }
}

@media (min-width: 992px) {
  .upgrade-widget-title {
    font-size: 20px;
    margin-bottom: 4px;
  }
}

.upgrade-widget-text {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

@media (min-width: 768px) {
  .upgrade-widget-text {
    font-size: 14.5px;
    line-height: 1.5;
  }
}

@media (min-width: 992px) {
  .upgrade-widget-text {
    font-size: 15px;
    line-height: 1.4;
  }
}

.upgrade-widget-image {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 150px;
  margin-top: 3px;
  margin-bottom: -28px;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .upgrade-widget-image {
    width: 300px;
    height: 165px;
    margin-top: 5px;
    margin-bottom: -32px;
  }
}

@media (min-width: 992px) {
  .upgrade-widget-image {
    width: 310px;
    height: 155px;
    margin-top: 5px;
    margin-bottom: -16px;
  }
}

.upgrade-widget.animate-in .upgrade-widget-image {
  transform: translateY(0);
  opacity: 1;
}

.upgrade-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: rotate(3deg);
  border: 1px solid #ff8c42;
  padding: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.upgrade-widget-right {
  flex: 0 0 auto;
  position: relative;
  text-align: center;
}

@media (min-width: 992px) {
  .upgrade-widget-right {
    width: 20%;
    min-width: 180px;
  }
}

.upgrade-widget-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 21px;
  font-weight: 600;
  color: #10b981;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .upgrade-widget-link {
    font-size: 22.5px;
    gap: 8px;
  }
}

@media (min-width: 992px) {
  .upgrade-widget-link {
    font-size: 18px;
  }
  
  .upgrade-widget-arrow {
    font-size: 20px;
  }
}

.upgrade-widget-link:hover {
  color: #059669;
  transform: translateX(3px);
}

.upgrade-widget-arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.upgrade-widget-link:hover .upgrade-widget-arrow {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .upgrade-widget {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    padding-bottom: 35px;
    min-height: 70px;
    position: relative;
    overflow: hidden;
  }
  
  .upgrade-widget-wrapper {
    padding-top: 0;
  }
  
  .upgrade-widget-left {
    flex: 1 1 100%;
    padding-right: 155px;
  }
  
  .upgrade-widget-title {
    font-size: 16px;
  }
  
  .upgrade-widget-text {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .upgrade-widget-right {
    position: absolute;
    bottom: 12px;
    left: 20px;
    width: auto;
    text-align: left;
  }
  
  .upgrade-widget-link {
    font-size: 14px !important;
  }
  
  .upgrade-widget-arrow {
    font-size: 16px !important;
  }
  
  .upgrade-widget-image {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 135px;
    height: 115px;
    margin-top: -15px;
    margin-bottom: -15px;
    transform: translate(0, -50%) translateY(150%);
  }
  
  .upgrade-widget.animate-in .upgrade-widget-image {
    transform: translate(0, -50%) translateY(0);
  }
}

/* Comparison table */
.comparison-table-wrapper { overflow-x: auto; margin: 24px 0; padding: 0; }
.comparison-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; }
.comparison-table thead { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.comparison-table th { padding: 16px 12px; text-align: left; font-weight: 700; font-size: 0.9rem; }
.comparison-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparison-table tbody tr:hover { background: #fef3c7; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td:last-child { text-align: center; }
.comparison-table a { color: #ff8800; font-weight: 600; text-decoration: none; padding: 6px 14px; background: #fff9f0; border-radius: 6px; display: inline-block; transition: all 0.2s; white-space: nowrap; }
.comparison-table a:hover { background: #ff8800; color: white; }
.sort-arrow { display: inline; margin-left: 6px; opacity: 0.6; font-size: 0.9rem; white-space: nowrap; }

/* Discount badges */
.discount-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.comparison-table th[onclick]:hover { background: rgba(255,255,255,0.1); }
.comparison-table th[onclick]:hover .sort-arrow { opacity: 1; }

/* Column widths */
.comparison-table th:nth-child(3), .comparison-table td:nth-child(3) { max-width: 280px; }
.comparison-table th:nth-child(5), .comparison-table td:nth-child(5) { min-width: 110px; width: 110px; }

@media (max-width: 768px) {
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 6px; }
  .comparison-table a { padding: 4px 10px; font-size: 0.8rem; }
}

/* Pass reviews */
.detailed-reviews { padding: 32px 0; }
.pass-review { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.pass-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #fef3c7; }
.pass-header h3 { margin: 0; color: var(--brand-700); font-size: 1.3rem; }
.pass-rating { font-size: 0.9rem; color: #f59e0b; white-space: nowrap; }
.pass-overview { margin-bottom: 16px; padding: 14px; background: #fef3c7; border-radius: 8px; }
.pass-overview p { margin: 4px 0; font-size: 0.9rem; line-height: 1.5; }
.pass-overview p:last-child { margin-bottom: 0; }
.pros-cons { margin-bottom: 16px; }
.pros-cons h4 { color: var(--brand-700); margin-bottom: 8px; font-size: 1rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding: 4px 0 4px 20px; position: relative; line-height: 1.5; font-size: 0.9rem; }
.pros-cons li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cons-heading { color: var(--danger) !important; }
.cons-list li::before { content: "✗" !important; color: var(--danger) !important; }
.pass-verdict { margin-top: 16px; padding: 14px; background: #f0fdfa; border-left: 3px solid #10b981; border-radius: 8px; }
.pass-verdict h4 { margin: 0 0 8px 0; font-size: 1rem; color: var(--brand-700); }
.pass-verdict p { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.pass-link { display: inline-block; margin-top: 12px; padding: 10px 20px; background: var(--brand); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.2s; }
.pass-link:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,136,0,0.3); }
.pass-verdict h4 { color: #065f46; margin-bottom: 12px; }
.widget-placeholder { background: #f3f4f6; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 32px; text-align: center; color: #64748b; margin-top: 16px; }
.discount-badge { display: inline-block; background: #10b981; color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; margin-left: 8px; white-space: nowrap; }
.discount-badge::before { content: "🏷️ "; }
.bonus-badge { background: #8b5cf6 !important; }
.bonus-badge::before { content: "🎁 " !important; }

/* Accordion Pass Reviews */
.pass-review { border-bottom: 1px solid var(--border); }
.pass-review-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; user-select: none; }
.pass-review-header:hover { background: #f3f4f6; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 8px; }
.pass-review-title { flex: 1; }
.pass-review-meta { display: flex; align-items: center; gap: 12px; }
.pass-review-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.pass-review.active .pass-review-content { max-height: 2000px; transition: max-height 0.5s ease-in; padding-bottom: 24px; }
.accordion-icon { font-size: 1.5rem; color: var(--brand); transition: transform 0.3s; }
.pass-review.active .accordion-icon { transform: rotate(180deg); }

/* Calculator */
.calculator-wrapper { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 32px; margin: 32px 0; }
.calculator-inputs { margin-bottom: 32px; }
.attraction-checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.attraction-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f9fafb; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: all .2s; }
.attraction-item:hover { background: #fef3c7; border-color: var(--brand); }
.attraction-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.attraction-item span { line-height: 1.3; font-size: 0.9rem; }
.calc-btn { margin-top: 16px; }
.calc-results { margin-top: 24px; padding: 24px; background: #fef3c7; border-radius: 12px; }
.calc-placeholder { color: #78350f; font-style: italic; }

@media (max-width: 1024px) {
  .attraction-checklist { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .calculator-wrapper { padding: 20px; }
  .attraction-checklist { grid-template-columns: 1fr; gap: 8px; margin: 16px 0; }
  .attraction-item { padding: 6px 10px; }
  .attraction-item span { font-size: 0.85rem; }
}

/* Guide section */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 32px 0; }
.guide-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.guide-card h3 { color: var(--brand-700); margin-bottom: 16px; }
.guide-card ul { padding-left: 20px; }
.guide-card li { margin-bottom: 8px; }

@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list { margin: 32px 0; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-question:hover { background: #fef3c7; }
.faq-question h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.faq-question::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 700; transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.active .faq-answer { max-height: 1000px; }
.faq-answer { padding: 0 24px; }
.faq-item.active .faq-answer { padding: 0 24px 20px; }
.faq-answer ul { padding-left: 24px; }

/* Final CTA */
.final-cta { padding: 48px 0 64px; text-align: center; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.cta-card { background: white; border: 2px solid var(--border); border-radius: 12px; padding: 24px; }
.cta-card h3 { color: var(--brand-700); margin-bottom: 8px; }
.disclaimer { font-size: 0.85rem; color: #64748b; margin-top: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { margin-top: 48px; padding: 32px 0; border-top: 1px solid var(--border); background: #0b1020; color: #e5e7eb; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #cbd5e1; text-decoration: none; }
.footer-nav a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-content { flex-direction: column; text-align: center; }
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 8px 12px; background: var(--brand); color: white; border-radius: 4px; }

/* Lists */
ul { line-height: 1.7; }
li { margin-bottom: 8px; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .container { max-width: 100%; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; margin-top: 32px; }
  h3 { font-size: 1.2rem; }
  .pass-review { padding: 20px; }
  .calculator-wrapper { padding: 20px; }
}

/* Sections spacing */
section { padding: 48px 0; }
section:first-of-type { padding-top: 32px; }
.why-choose-section { background: #fafafa; border-radius: 16px; padding: 48px 32px; margin: 48px auto; max-width: 1200px; }
.why-choose-section h2 { margin-top: 0; text-align: center; }
.why-choose-section h3 { color: var(--brand-700); margin-top: 40px; margin-bottom: 24px; text-align: center; }
.why-choose-section .lead { text-align: center; }

/* Testimonials Carousel */
.testimonials { padding: 64px 0; background: #f8f9fa; }
.testimonials h2 { text-align: center; margin-bottom: 48px; }
.testimonial-carousel { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; width: 100%; }
.testimonial-slide { min-width: 100%; padding: 0 16px; box-sizing: border-box; }
.testimonial-card { background: white; padding: 32px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.testimonial-rating { color: #f59e0b; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; color: #333; }
.testimonial-author { font-weight: 700; color: var(--brand); }
.testimonial-meta { font-size: 0.9rem; color: var(--muted); }
.carousel-controls { text-align: center; margin-top: 24px; display: flex; justify-content: center; gap: 12px; }
.carousel-btn { background: var(--brand); color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.carousel-btn:hover { background: var(--brand-700); }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; }
.carousel-dot.active { background: var(--brand); }

/* Utility */
strong { font-weight: 700; color: var(--ink); }

/* Quick Match Section */
.quick-match-section { background: linear-gradient(135deg, #fff9f0 0%, #fef3c7 100%); border-radius: 20px; padding: 48px 32px; margin: 48px 0; }
.quick-match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-match-card { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 24px 20px; text-align: center; transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; }
.quick-match-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); border-color: var(--brand); }
.quick-match-icon { font-size: 3rem; margin-bottom: 16px; }
.quick-match-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.quick-match-desc { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.quick-match-subtext { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.quick-match-btn { width: 100%; }
.quick-match-result { margin-top: 40px; padding: 32px; background: white; border-radius: 16px; border: 2px solid var(--brand); }
.quick-match-result h3 { color: var(--brand); margin-bottom: 24px; }

/* Wizard Section */
.wizard-section { margin: 64px 0; }
.wizard-section > h2 { text-align: center; margin-top: 0; }
.wizard-section > p { text-align: center; color: var(--muted); }
.wizard-wrapper { background: white; border: 2px solid var(--border); border-radius: 20px; padding: 24px 20px; max-width: 1140px; margin: 0 auto; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wizard-step h3 { text-align: center; margin-bottom: 12px; font-size: 1.5rem; }
.wizard-subtitle { text-align: center; color: var(--muted); margin-bottom: 32px; }
.wizard-options { display: grid; gap: 16px; margin-top: 32px; }
.wizard-option-btn { background: white; border: 2px solid var(--border); border-radius: 12px; padding: 24px 20px; cursor: pointer; transition: all 0.3s; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.wizard-option-btn:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,136,0,0.15); }
.wizard-option-icon { font-size: 2.5rem; }
.wizard-option-title { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.wizard-option-desc { font-size: 0.9rem; color: var(--muted); }
.wizard-checkboxes { display: flex; flex-direction: column; gap: 16px; }
.wizard-checkbox-item { display: block; background: white; border: 2px solid var(--border); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.3s; }
.wizard-checkbox-item:hover { border-color: var(--brand); }
.wizard-checkbox-item input[type="checkbox"] { display: none; }
.wizard-checkbox-item input[type="checkbox"]:checked + .wizard-checkbox-label { color: var(--brand); }
.wizard-checkbox-item input[type="checkbox"]:checked ~ .wizard-checkbox-label { font-weight: 700; }
.wizard-checkbox-item:has(input:checked) { border-color: var(--brand); background: #fff9f0; }
.wizard-checkbox-label { display: flex; align-items: center; gap: 16px; font-size: 1rem; }
.wizard-checkbox-icon { font-size: 1.8rem; }
.wizard-checkbox-text { flex: 1; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
#wizard-recommendation { padding: 24px; background: #fff9f0; border-radius: 12px; border-left: 4px solid var(--brand); }
#wizard-recommendation h4 { color: var(--brand); margin-top: 0; }
#wizard-recommendation p { margin-bottom: 16px; }
#wizard-recommendation .pass-link { display: inline-block; margin-top: 16px; }

.attraction-checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.attraction-item { display: flex; align-items: center; padding: 14px 16px; background: white; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; transition: all 0.3s; }
.attraction-item:hover { border-color: var(--brand); background: #fff9f0; }
.attraction-item input[type="checkbox"] { width: 20px; height: 20px; margin-right: 12px; cursor: pointer; accent-color: var(--brand); }
.attraction-item input[type="checkbox"]:checked + span { font-weight: 600; color: var(--brand); }
.attraction-item:has(input:checked) { border-color: var(--brand); background: #fff9f0; }
.attraction-item span { flex: 1; font-size: 0.95rem; }

@media (max-width: 768px) {
  .quick-match-section { padding: 32px 24px; }
  .quick-match-grid { grid-template-columns: 1fr; }
  .wizard-wrapper { padding: 20px 16px; }
  .wizard-nav { flex-direction: column; }
  .wizard-nav .btn { width: 100%; }
  .attraction-checklist { grid-template-columns: repeat(2, 1fr); }
  #quick-match h2,
  section#calculator h2 { text-align: center; }
  #quick-match > p,
  section#calculator > p { text-align: center; }
}

@media (max-width: 480px) {
  .attraction-checklist { grid-template-columns: 1fr; }
  .quick-match-section { padding: 24px 20px; }
  .quick-match-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
