/* ==========================================
   bilbaomuseumguide.site — Stylesheet
   Palette: Deep Dark / Gold / Cream / Bilbao Blue
   ========================================== */

:root {
  --dark:       #0E0E1A;
  --dark-card:  #1A1A2C;
  --gold:       #C9952C;
  --gold-light: #E5B94A;
  --cream:      #F6F0E4;
  --cream-dark: #EDE5D4;
  --blue:       #2A5C8F;
  --text-light: #F0EBE0;
  --text-muted: #9A9080;
  --white:      #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; color: var(--text-light); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── GOLD LINE DIVIDER ── */
.gold-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 28px;
}
.gold-line.center { margin: 16px auto 28px; }

/* ==========================================
   HEADER / NAV
   ========================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14, 14, 26, 0.97);
  border-bottom: 1px solid rgba(201, 149, 44, 0.25);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-brand span { color: var(--text-light); }

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-list a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}
.nav-list a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark-card);
    border-bottom: 1px solid rgba(201,149,44,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 400px; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 20px;
  }
  .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-list a { display: block; padding: 12px 0; font-size: 0.95rem; }
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Abstract architectural geometry behind hero */
#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(201,149,44,0.12) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,149,44,0.15);
  border: 1px solid rgba(201,149,44,0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--gold-light);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Architectural graphic panel */
.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-panel {
  position: relative;
  width: 280px;
  height: 280px;
}
.arch-panel .panel-1 {
  position: absolute;
  width: 200px; height: 200px;
  border: 2px solid var(--gold);
  top: 0; left: 0;
}
.arch-panel .panel-2 {
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(201,149,44,0.08);
  border: 1px solid rgba(201,149,44,0.3);
  top: 40px; left: 40px;
}
.arch-panel .panel-3 {
  position: absolute;
  width: 80px; height: 80px;
  background: var(--gold);
  bottom: 0; right: 0;
}
.arch-panel .panel-text {
  position: absolute;
  bottom: 30px;
  right: 90px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transform: rotate(-90deg);
  transform-origin: right center;
  white-space: nowrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat { }
.hero-stat .stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 200px; }
  .arch-panel { transform: scale(0.7); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* ==========================================
   SECTIONS — GENERAL
   ========================================== */
.section-dark {
  background: var(--dark);
  padding: 88px 0;
}
.section-cream {
  background: var(--cream);
  padding: 88px 0;
  color: var(--dark);
}
.section-cream p { color: #333; }
.section-cream h2, .section-cream h3, .section-cream h4 { color: var(--dark); }
.section-card {
  background: var(--dark-card);
  padding: 88px 0;
}

.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-cream .section-label { color: var(--blue); }

/* ==========================================
   SOBRE EL MUSEO
   ========================================== */
.museum-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.museum-facts {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201,149,44,0.15);
  border: 1px solid rgba(201,149,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}
.fact-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.fact-body span { font-size: 0.92rem; color: var(--text-muted); }

.museum-highlight {
  background: var(--dark-card);
  border-left: 3px solid var(--gold);
  padding: 28px 28px 28px 32px;
  border-radius: 0 4px 4px 0;
}
.museum-highlight p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 16px;
}
.museum-highlight cite {
  font-size: 0.82rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .museum-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================
   COLECCIÓN — CARDS
   ========================================== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-card {
  background: var(--dark);
  border: 1px solid rgba(201,149,44,0.2);
  padding: 32px 28px;
  border-radius: 2px;
  transition: border-color 0.25s, transform 0.25s;
}
.collection-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,149,44,0.2);
  line-height: 1;
  margin-bottom: 12px;
}
.collection-card h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 8px;
}
.collection-card .artist {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.collection-card p { font-size: 0.9rem; color: var(--text-muted); }

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

/* ==========================================
   ENTRADAS Y HORARIOS
   ========================================== */
.tickets-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ticket-table {
  width: 100%;
  border-collapse: collapse;
}
.ticket-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 0;
  border-bottom: 1px solid rgba(201,149,44,0.3);
}
.ticket-table td {
  padding: 14px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.ticket-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
}
.ticket-table .free-entry { color: #5cb85c; }

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(201,149,44,0.06);
  border-left: 2px solid rgba(201,149,44,0.4);
  font-size: 0.92rem;
}
.hours-list li strong { color: var(--text-light); }
.hours-list li span { color: var(--text-muted); font-size: 0.88rem; }
.hours-alert {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(42,92,143,0.15);
  border: 1px solid rgba(42,92,143,0.4);
  border-radius: 2px;
  font-size: 0.85rem;
  color: #7bb3d8;
}

@media (max-width: 768px) {
  .tickets-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================
   CÓMO COMPRAR
   ========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-item {
  position: relative;
  padding: 28px 22px;
  background: var(--cream-dark);
  border-top: 3px solid var(--gold);
}
.step-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(201,149,44,0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.step-item h3 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-item p { font-size: 0.88rem; color: #555; }

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

/* ==========================================
   CÓMO LLEGAR
   ========================================== */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.transport-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 24px;
  border-radius: 2px;
  transition: border-color 0.25s;
}
.transport-card:hover { border-color: rgba(201,149,44,0.4); }
.transport-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  color: var(--gold);
  font-weight: 700;
}
.transport-card h3 { color: var(--text-light); font-size: 1.05rem; margin-bottom: 8px; }
.transport-card p { font-size: 0.88rem; color: var(--text-muted); }
.transport-card .transport-detail {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

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

/* ==========================================
   CONSEJOS — TIPS
   ========================================== */
.tips-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tips-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tip-bullet {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tips-list li p { font-size: 0.92rem; margin-top: 4px; }

.tips-highlight-box {
  background: rgba(42,92,143,0.12);
  border: 1px solid rgba(42,92,143,0.35);
  padding: 32px;
  border-radius: 2px;
}
.tips-highlight-box h3 {
  color: #7bb3d8;
  font-size: 1rem;
  margin-bottom: 16px;
}
.tips-highlight-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tips-highlight-box ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid rgba(42,92,143,0.5);
}

@media (max-width: 768px) {
  .tips-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  border-radius: 2px;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-arrow {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1px solid rgba(201,149,44,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ==========================================
   RESOURCES / LEGAL / AGB
   ========================================== */
.info-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.info-block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,149,44,0.3);
}
.info-section-grid .info-block p,
.info-section-grid .info-block li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.info-block ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.info-block ul li::before { content: '— '; color: var(--gold); }

@media (max-width: 768px) { .info-section-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ==========================================
   FORM
   ========================================== */
#contacto {
  background: var(--dark-card);
  padding: 80px 0;
}
.form-header { margin-bottom: 40px; }
.form-header h2 { color: var(--white); }
.form-header p { color: var(--text-muted); margin-top: 8px; }

.contact-form {
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s;
}
.form-submit:hover { background: var(--gold-light); }
.form-message {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #5cb85c;
  display: none;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================
   FOOTER
   ========================================== */
#site-footer {
  background: #08080F;
  border-top: 1px solid rgba(201,149,44,0.2);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-contact-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-contact-item span {
  display: inline-block;
  width: 52px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: var(--text-muted); font-size: 0.78rem; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  transform: translateY(38px);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active { transform: translateY(0); }

/* ==========================================
   INNER PAGES (disclaimer, terms, privacy)
   ========================================== */
.inner-hero {
  background: var(--dark-card);
  padding: 120px 0 60px;
  border-bottom: 1px solid rgba(201,149,44,0.2);
}
.inner-hero h1 { color: var(--white); }
.inner-hero p { color: var(--text-muted); margin-top: 8px; }

.inner-content {
  padding: 64px 0 88px;
  max-width: 860px;
}
.inner-content h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin: 36px 0 12px;
}
.inner-content h2:first-child { margin-top: 0; }
.inner-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.inner-content ul, .inner-content ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.inner-content ul li, .inner-content ol li { margin-bottom: 6px; }
.inner-content strong { color: var(--text-light); }
