/* ============================================================
   GH2026 — Main Stylesheet v3 (clean)
   ============================================================ */

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #152438;
  --navy-light:  #1E3352;
  --gold:        #C8A96E;
  --gold-light:  #E2C99A;
  --gold-dim:    rgba(200,169,110,0.15);
  --white:       #FFFFFF;
  --off-white:   #F5F3EF;
  --muted:       #8A9BAE;
  --text-body:   #2C3E50;
  --border:      rgba(200,169,110,0.25);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;
  --radius:    4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --content-max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
p { margin-bottom: 1.1rem; }
strong { font-weight: 500; color: var(--navy); }

.gold-rule { display: block; width: 48px; height: 2px; background: var(--gold); margin: 1.2rem 0 2rem; }

/* ── NAV ── */
.site-nav { position: sticky; top: 0; z-index: 1000; background: var(--navy); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.nav-brand-text { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); font-weight: 300; white-space: nowrap; }
.nav-brand-text span { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; list-style: none; }
.nav-links a { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); padding: 0.45rem 0.75rem; border-radius: var(--radius); transition: color var(--transition), background var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: var(--gold-dim); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--white); padding: 0.4rem 0.65rem; border-radius: var(--radius); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.nav-drawer { display: none; background: var(--navy-mid); border-top: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; }
.nav-drawer.open { display: block; }
.nav-drawer ul { list-style: none; }
.nav-drawer a { display: block; padding: 0.65rem 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.06); transition: color var(--transition); }
.nav-drawer a:hover, .nav-drawer a.active { color: var(--gold); }

/* ── HERO ── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../img/hero-bg.webp'); background-size: cover; background-position: center 40%; opacity: 0.5; }
.hero-bg.no-image { background-image: none; background: radial-gradient(ellipse at 70% 40%, #1E4080 0%, #0D1B2A 65%); opacity: 1; }
.hero-noise { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%; background: linear-gradient(to top, var(--navy) 0%, transparent 100%); pointer-events: none; }

.hero-content { position: relative; z-index: 2; max-width: var(--content-max); margin: 0 auto; padding: 5rem 2rem 5rem; width: 100%; }

/* Identity block: logo badge (small) + workshop name */
.hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
  background: rgba(13,27,42,0.45);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 6px;
  padding: 1.1rem 1.8rem 1.1rem 1.4rem;
  backdrop-filter: blur(4px);
}
/* Logo badge: 80px de alto — el doble que antes */
.hero-gh-badge {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.hero-identity-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
}
.hero-edition {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.hero-workshop-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

/* h1 + subtitle + meta */
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 300; max-width: 820px; line-height: 1.1; margin-bottom: 0.4rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-family: var(--font-body); font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: rgba(255,255,255,0.55); max-width: 580px; margin: 1.5rem 0 2.5rem; line-height: 1.7; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.hero-meta-item .label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.hero-meta-item .value { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); font-weight: 300; }

/* ── PAGE HEADER (inner pages) ── */
.page-header { background: var(--navy); padding: 5rem 2rem 3.5rem; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%); pointer-events: none; }
.page-header-inner { max-width: var(--content-max); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--gold); opacity: 0.8; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; max-width: 700px; }
.page-header h1 em { color: var(--gold-light); font-style: italic; }

/* ── MAIN LAYOUT ── */
.site-main { max-width: var(--content-max); margin: 0 auto; padding: 5rem 2rem; }
.section { margin-bottom: 5rem; }
.section-label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); margin-bottom: 0.6rem; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; color: var(--navy); }
.section-title em { font-style: italic; color: #4A6A8A; }

/* ── INFO STRIP ── */
.info-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 3.5rem 0; }
.info-card { background: var(--off-white); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.info-card .icon { font-size: 1.4rem; margin-bottom: 0.3rem; color: var(--gold); }
.info-card h5 { color: var(--muted); margin-bottom: 0.3rem; font-size: 0.82rem; letter-spacing: 0.1em; }
.info-card .big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.info-card .sub { font-size: 0.92rem; color: var(--muted); }

/* ── TOPICS GRID ── */
.topics-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2rem; }
.topic-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border: 1px solid rgba(0,0,0,0.07); border-radius: var(--radius-lg); transition: border-color var(--transition), box-shadow var(--transition); }
.topic-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(200,169,110,0.1); }
.topic-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); opacity: 0.8; padding-top: 0.15rem; flex-shrink: 0; }
.topic-text { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }

/* ── WEEK BLOCKS ── */
.week-block { background: var(--off-white); border-radius: var(--radius-lg); padding: 2.2rem 2.4rem; border-left: 3px solid var(--gold); margin-bottom: 1.5rem; }
.week-block h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.week-block .week-date { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; display: block; }
.week-block p { font-size: 0.95rem; margin-bottom: 0; color: #4A5568; }

/* ── PROGRAM TABS ── */
.tab-week-selector { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-week-btn { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55rem 1.3rem; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; transition: all var(--transition); }
.tab-week-btn.active, .tab-week-btn:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.week-panel { display: none; }
.week-panel.active { display: block; }
.day-tabs { display: flex; gap: 0.3rem; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab-btn { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.6rem 1.1rem; border: none; border-bottom: 2px solid transparent; background: none; color: var(--muted); cursor: pointer; transition: all var(--transition); white-space: nowrap; margin-bottom: -1px; }
.day-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.day-panel { display: none; padding-top: 0.5rem; }
.day-panel.active { display: block; }

.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-top: 1rem; }
.schedule-table th { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0.5rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.schedule-table td { padding: 0.9rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.05); vertical-align: top; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .time-col { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); white-space: nowrap; width: 140px; }
.schedule-table .event-special td { background: var(--off-white); color: var(--navy); font-weight: 500; text-align: center; }
.schedule-table .event-special .time-col { text-align: left; }
.tba-row td { color: var(--muted); font-style: italic; font-size: 0.88rem; }

/* ── PARTICIPANTS TABLE ── */
.participants-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.participants-table thead th { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0.6rem 1rem; text-align: left; border-bottom: 2px solid var(--border); }
.participants-table tbody td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.participants-table tbody tr:hover td { background: var(--off-white); }
.participants-table .name { font-weight: 500; color: var(--navy); }
.participants-empty { text-align: center; color: var(--muted); font-style: italic; padding: 3rem 1rem !important; }

/* ── COMMITTEE ── */
.committee-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; margin-top: 2rem; }
.committee-group h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); }
.committee-member { display: flex; flex-direction: column; padding: 0.8rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.committee-member:last-child { border-bottom: none; }
.committee-member .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.committee-member .affil { font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }
.committee-member .role { font-size: 0.74rem; font-weight: 500; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item .ci-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--gold-dim); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; margin-top: 0.1rem; }
.contact-item .ci-label { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact-item .ci-value { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }
.contact-item a { color: var(--navy); font-weight: 500; }
.at-glance { background: var(--navy); border-radius: var(--radius-lg); padding: 2rem 2.2rem; }
.at-glance h4 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.at-glance-item { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); gap: 1rem; }
.at-glance-item:last-child { border-bottom: none; }
.at-glance-item .ag-key { font-size: 0.82rem; color: var(--muted); }
.at-glance-item .ag-val { font-size: 0.92rem; color: var(--white); text-align: right; }

/* ── VENUE TABS ── */
.venue-tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.venue-tab-btn { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.55rem 1rem; border: none; border-bottom: 2px solid transparent; background: none; color: var(--muted); cursor: pointer; transition: all var(--transition); margin-bottom: -1px; }
.venue-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.venue-panel { display: none; }
.venue-panel.active { display: block; }

/* ── NOTICES ── */
.notice { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius); border-left: 3px solid var(--gold); background: var(--gold-dim); font-size: 0.92rem; color: var(--text-body); margin: 1.5rem 0; }
.notice .ni { color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }
.notice.info { border-color: #4A90D9; background: rgba(74,144,217,0.08); }
.notice.info .ni { color: #4A90D9; }

/* ── MAP ── */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 2rem; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: none; }

/* ── TRAVEL ── */
.travel-block { margin-bottom: 2.5rem; }
.travel-block h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.7rem; }
.travel-block h3 .th-icon { color: var(--gold); }
.travel-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.travel-list li { display: flex; gap: 0.8rem; font-size: 0.95rem; line-height: 1.6; }
.travel-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 0.65rem; }

/* ── CULTURAL CARDS ── */
.cultural-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2rem; }
.cultural-card { border: 1px solid rgba(0,0,0,0.07); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; transition: box-shadow var(--transition), border-color var(--transition); }
.cultural-card:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(200,169,110,0.1); }
.cultural-card .cc-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.cultural-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: var(--font-display); font-weight: 600; }
.cultural-card p { font-size: 0.92rem; color: #4A5568; margin: 0; line-height: 1.65; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: var(--content-max); margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-brand img { width: 160px; height: auto; filter: brightness(0) invert(1); opacity: 0.5; }
.footer-brand p { font-size: 0.82rem; color: var(--muted); max-width: 300px; line-height: 1.6; margin: 0; }
.footer-links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-link-group h6 { font-size: 0.65rem; font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer-link-group ul { list-style: none; }
.footer-link-group li { margin-bottom: 0.45rem; }
.footer-link-group a { font-size: 0.82rem; color: var(--muted); transition: color var(--transition); }
.footer-link-group a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.75rem; color: var(--muted); margin: 0; font-family: var(--font-mono); }

/* ── BACK TO TOP ── */
.back-top { position: fixed; bottom: 2rem; right: 2rem; width: 40px; height: 40px; background: var(--navy); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; cursor: pointer; opacity: 0; transform: translateY(10px); transition: all var(--transition); z-index: 500; text-decoration: none; }
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem} .mt-4{margin-top:2rem} .mt-5{margin-top:3rem}
.mb-2{margin-bottom:1rem} .mb-3{margin-bottom:1.5rem}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .topics-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .cultural-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .site-main { padding: 3rem 1.2rem; }
  .page-header { padding: 3.5rem 1.2rem 2.5rem; }
  .hero-content { padding: 3.5rem 1.2rem 4rem; }
  .hero-meta { gap: 1.5rem; }
  .hero-gh-badge { height: 60px; }
  .hero-identity-text { padding-left: 0.9rem; }
  .hero-workshop-name { font-size: 1.1rem; }
  .schedule-table { font-size: 0.82rem; }
  .schedule-table .time-col { width: 95px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.animate-up { animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) both; }
.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.2s; }
.animate-up:nth-child(4) { animation-delay: 0.3s; }
