/* ============================================================
   Hostinec Obecní Dům — design tokens
   ============================================================ */
:root{
  --bg:            #0c0a08;
  --fg:            #f5efe4;
  --fg-muted:      #b6ad9d;
  --border:        #2c261e;
  --border-light:  rgba(245,239,228,0.14);

  --accent:        #e8a93a;
  --accent-ink:    #17110a;

  --font-display:  'Archivo Black', 'Inter', system-ui, sans-serif;
  --font-body:     'Public Sans', system-ui, -apple-system, sans-serif;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --container: 1180px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 180ms;
  --dur-med: 420ms;

  color-scheme: dark;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p,figure{ margin: 0; }
input, select, textarea{ font: inherit; color: inherit; }
table{ border-collapse: collapse; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link{
  position: absolute;
  left: 12px; top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 999;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus{ top: 12px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section-heading{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 16ch;
}
.section-heading .accent{ color: var(--accent); }

.lede{
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 52ch;
  margin-top: var(--space-4);
}
.lede.light{ color: rgba(245,239,228,0.82); }

.inline-link{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover{ text-decoration-thickness: 2px; }

.gallery .section-heading{ margin-bottom: var(--space-4); }
.contact .section-heading{ margin-bottom: var(--space-8); }

section{ position: relative; }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.7);
}
.btn-primary:hover{ background: #f3b752; }
.btn-outline{
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border-light);
}
.btn-outline:hover{ border-color: var(--accent); color: var(--accent); }
.btn-block{ width: 100%; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              padding var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(12,10,8,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--accent);
  padding: var(--space-3) 0;
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.logo{
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.logo-line1{ font-size: 11px; letter-spacing: 0.3em; color: var(--fg-muted); }
.logo-line2{ font-size: 19px; letter-spacing: 0.01em; color: var(--fg); margin-top: 4px; }

.nav{
  display: none;
  align-items: center;
  gap: var(--space-7);
}
.nav a{
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--fg);
  position: relative;
  padding: var(--space-2) 0;
}
.nav a:not(.nav-cta)::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav a:not(.nav-cta):hover::after{ width: 100%; }
.nav .nav-cta{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-cta:hover{ background: #f3b752; }

.nav-toggle{
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle .icon-close{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display: block; }

.mobile-menu{
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-out);
  background: rgba(12,10,8,0.98);
  border-top: 1px solid var(--accent);
}
.mobile-menu.is-open{
  max-height: 400px;
}
.mobile-menu a[hidden]{ display: none; }
@media (max-width: 899px){
  .site-header{ border-bottom: 0; }
  /* Keep the menu strip as the header's bottom edge */
  .site-header,
  .site-header.is-scrolled{ padding-bottom: 0; }
  .header-inner{
    padding-bottom: var(--space-4);
    transition: padding var(--dur-med) var(--ease-out);
  }
  .site-header.is-scrolled .header-inner{ padding-bottom: var(--space-3); }
}
.mobile-menu a{
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta{
  margin: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  justify-content: center;
  border-bottom: none;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out);
}
.mobile-menu .nav-cta:active{ background: #f3b752; }

@media (min-width: 900px){
  .nav{ display: flex; }
  .nav-toggle{ display: none; }
  .mobile-menu{ display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,6,4,0.55) 0%, rgba(8,6,4,0.35) 38%, rgba(6,5,3,0.92) 88%),
    linear-gradient(90deg, rgba(6,5,3,0.92) 0%, rgba(6,5,3,0.55) 42%, rgba(6,5,3,0.15) 75%);
}
.hero-grain{
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content{
  --hero-inset: max(0px, calc((100% - var(--container)) / 2));
  position: relative;
  z-index: 2;
  padding: 0 var(--space-5) var(--space-9);
  padding-left: calc(var(--hero-inset) + var(--space-5));
  max-width: calc(760px + var(--hero-inset));
  margin-top: var(--space-10);
}
.hero-heading{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 7.4vw, 5.4rem);
  color: var(--fg);
}
.hero-heading .accent{ color: var(--accent); }
.hero-sub{
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(245,239,228,0.86);
}
.hero-actions{
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  z-index: 2;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  border-radius: 50%;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue:hover{ color: var(--accent); }
@keyframes bob{
  0%, 100%{ transform: translate(-50%, 0); }
  50%{ transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce){
  .scroll-cue{ animation: none; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Headings arrive with a touch more travel and a small delay behind their kicker */
.section-heading[data-reveal]{
  transform: translateY(30px);
  transition-duration: 680ms;
  transition-delay: 70ms;
}
.section-heading[data-reveal].is-visible{
  transform: translateY(0);
}

/* Imagery settles rather than rises, so it reads differently from text blocks */
.about-media[data-reveal]{
  transform: scale(1.04);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
}
.about-media[data-reveal].is-visible{ transform: scale(1); }

/* Repeated items cascade instead of moving in lockstep */
.feature-list li:nth-child(1){ transition-delay: 0ms; }
.feature-list li:nth-child(2){ transition-delay: 100ms; }
.feature-list li:nth-child(3){ transition-delay: 200ms; }

.contact-card:nth-child(1){ transition-delay: 0ms; }
.contact-card:nth-child(2){ transition-delay: 90ms; }
.contact-card:nth-child(3){ transition-delay: 180ms; }
.contact-card:nth-child(4){ transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; }
}

/* ============================================================
   About
   ============================================================ */
.about{
  padding: var(--space-9) 0;
  background: var(--bg);
  scroll-margin-top: 80px;
}
.about-grid{
  display: grid;
  gap: var(--space-8);
}
.about-media{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.about-media img{
  width: 100%; height: 100%; object-fit: cover;
}
.about-media-frame{
  position: absolute; inset: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
}

.feature-list{
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.feature-list li{
  display: flex;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.feature-list li:first-child{ border-top: none; padding-top: 0; }
.feature-icon{
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
}
.feature-list h3{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-list p{
  color: var(--fg-muted);
  font-size: 15px;
}

@media (min-width: 900px){
  .about-grid{
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-9);
  }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery{
  padding: var(--space-9) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
  overflow-x: clip;
}
.depth-gallery{
  margin-top: var(--space-7);
  border-radius: var(--radius-md);
}
.depth-stage{
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-5) 0;
}
.depth-track{
  position: relative;
  width: clamp(220px, 58vw, 380px);
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.depth-card{
  position: absolute;
  inset: 0;
  cursor: pointer;
  transition: transform 500ms var(--ease-out), opacity 500ms ease, filter 500ms ease;
  will-change: transform, opacity;
}
.depth-card.is-active{ cursor: default; }
.depth-face{
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg);
  overflow: hidden;
  transition: transform 80ms ease-out, box-shadow 500ms ease;
}
.depth-card.is-active .depth-face{
  box-shadow: 0 40px 100px rgba(0,0,0,0.75), 0 12px 40px rgba(0,0,0,0.55);
}
.depth-face img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.depth-face::after{
  content: '';
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.depth-face.is-shining::before{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(245,239,228,0.12) 50%, transparent);
  animation: depth-shine 650ms ease-out forwards;
}
@keyframes depth-shine{
  from{ transform: translateX(-130%) skewX(-15deg); }
  to{ transform: translateX(230%) skewX(-15deg); }
}

.depth-nav{
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 44px; height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(12,10,8,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.depth-nav:hover{ border-color: var(--accent); color: var(--accent); }
.depth-prev{ left: 0; }
.depth-next{ right: 0; }
.depth-prev svg{ transform: scaleX(-1); }

.depth-dots{
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.depth-dot{
  position: relative;
  width: 8px;
  height: 24px;
  padding: 0;
  cursor: pointer;
  transition: width 500ms var(--ease-out);
}
.depth-dot::before{
  content: '';
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(245,239,228,0.25);
  transition: background-color 500ms ease;
}
.depth-dot[aria-current="true"]{ width: 24px; }
.depth-dot[aria-current="true"]::before{ background: var(--accent); }

.depth-card.is-active{ cursor: zoom-in; }

/* Lightbox: full-size photo */
.lightbox{
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(6,5,3,0.94);
  color: var(--fg);
}
.lightbox[open]{
  display: grid;
  place-items: center;
}
.lightbox::backdrop{ background: transparent; }
.lightbox:focus{ outline: none; }
.lightbox-img{
  max-width: calc(100vw - 2 * var(--space-5));
  max-height: calc(100dvh - 140px);
  width: auto; height: auto;
  border-radius: var(--radius-sm);
  touch-action: pan-y;
  user-select: none;
}
.lightbox-count{
  position: absolute;
  left: 0; right: 0; bottom: var(--space-5);
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}
.lightbox-btn{
  position: absolute;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(12,10,8,0.6);
  color: var(--fg);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lightbox-btn:hover{ border-color: var(--accent); color: var(--accent); }
.lightbox-close{ top: var(--space-4); right: var(--space-4); }
.lightbox-prev,
.lightbox-next{ bottom: var(--space-3); }
.lightbox-prev{ left: var(--space-4); }
.lightbox-next{ right: var(--space-4); }
.lightbox-prev svg{ transform: scaleX(-1); }
@media (min-width: 768px){
  .lightbox-img{ max-width: calc(100vw - 160px); max-height: calc(100dvh - 96px); }
  .lightbox-prev,
  .lightbox-next{ bottom: auto; top: 50%; margin-top: -22px; }
  .lightbox-prev{ left: var(--space-5); }
  .lightbox-next{ right: var(--space-5); }
}
html.lightbox-open{ overflow: hidden; }

/* ============================================================
   Upcoming events (filled from data/events.json)
   ============================================================ */
.events{
  padding: var(--space-9) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.events-list{
  list-style: none;
  margin: var(--space-7) 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.event-item{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}
.event-date{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 72px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  line-height: 1;
}
.event-day{
  font-family: var(--font-display);
  font-size: 28px;
}
.event-month{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.event-title{
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.event-meta{
  margin: var(--space-1) 0 0;
  font-size: 14px;
  color: var(--fg-muted);
}
.event-text{
  margin: var(--space-2) 0 0;
  color: var(--fg-muted);
  max-width: 60ch;
}

/* ============================================================
   Event CTA / form
   ============================================================ */
.event-cta{
  padding: var(--space-9) 0;
  background: var(--bg);
  scroll-margin-top: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.event-grid{
  display: grid;
  gap: var(--space-8);
}
.event-facts{
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.event-facts li{
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(245,239,228,0.85);
  font-size: 15px;
  font-weight: 500;
}
.event-facts svg{ color: var(--accent); flex: none; }

.event-form{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row{ display: flex; flex-direction: column; gap: 6px; }
.form-row-split{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.form-row label{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.req{ color: var(--accent); }
.form-row input,
.form-row select,
.form-row textarea{
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 46px;
  color: var(--fg);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.form-row textarea{ min-height: 100px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  border-color: var(--accent);
  outline: none;
}
.form-row input:invalid[data-touched="true"],
.form-row select:invalid[data-touched="true"]{
  border-color: #d9534f;
}

.form-error{
  background: rgba(217,83,79,0.12);
  border: 1px solid rgba(217,83,79,0.4);
  color: #f4a5a2;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-success{
  background: rgba(232,169,58,0.12);
  border: 1px solid rgba(232,169,58,0.4);
  color: var(--accent);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-hp{
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.event-form button[disabled]{ opacity: 0.6; cursor: progress; }
.form-hint{
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

@media (min-width: 520px){
  .form-row-split{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px){
  .event-grid{ grid-template-columns: 1fr 1fr; gap: var(--space-9); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{
  padding: var(--space-9) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.faq .section-heading{ margin-bottom: var(--space-7); }
.faq-list{
  max-width: 760px;
  border-top: 1px solid var(--border);
}
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-item summary{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 44px;
  padding: var(--space-5) 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  flex: none;
  color: var(--accent);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item summary:hover{ color: var(--accent); }
.faq-item p{
  max-width: 60ch;
  padding-bottom: var(--space-5);
  color: var(--fg-muted);
}

/* ============================================================
   Contact
   ============================================================ */
.contact{
  padding: var(--space-9) 0;
  background: var(--bg);
  scroll-margin-top: 80px;
}
.contact-grid{
  display: grid;
  gap: var(--space-6);
}
.contact-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.contact-card{
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-card svg{ color: var(--accent); flex: none; margin-top: 2px; }
.contact-card h3{ font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-card p{ color: var(--fg-muted); font-size: 15px; }
.text-link{
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-top: var(--space-2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.text-link:hover{ border-color: currentColor; }

.hours{ margin-top: var(--space-2); }
.hours th, .hours td{
  text-align: left;
  padding: 2px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-muted);
}
.hours th{ font-weight: 600; color: var(--fg); padding-right: var(--space-4); }

.contact-map{
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.contact-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pickup{
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
}
.pickup p{
  color: var(--fg-muted);
  font-size: 15px;
}
.pickup-logos{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
/* Official carrier logos need their original colors on a white background */
.pickup-logos li{
  display: grid;
  place-items: center;
  height: 56px;
  padding: 0 var(--space-4);
  background: #fff;
  border-radius: var(--radius-sm);
}
.pickup-logos img{
  height: 30px;
  width: auto;
}

@media (min-width: 700px){
  .contact-cards{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px){
  .contact-grid{ grid-template-columns: 1.1fr 0.9fr; }
  .contact-map{ height: 100%; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-6);
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}
.footer-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  font-size: 14px;
  font-weight: 600;
}
.footer-nav a:hover{ color: var(--accent); }
.footer-address, .footer-copy{
  color: var(--fg-muted);
  font-size: 13px;
}

@media (min-width: 780px){
  .footer-inner{
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
