/* ==========================================================================
   EPP Design System — theme-base.css
   Ένωση Ποντίων Πανοράματος · v2.0
   ========================================================================== */

/* ====== DESIGN TOKENS ====== */
:root {
  /* — Colour: Ink & Paper — */
  --ink:          #14110d;
  --ink-soft:     #3a342c;
  --paper:        #f6efe2;
  --paper-2:      #efe6d3;
  --paper-3:      #e6dcc4;
  --paper-light:  #faf6ee;

  /* — Colour: Accent — Gold — */
  --gold:         #b08438;
  --gold-lt:      #d9c084;
  --gold-dk:      #8a6529;

  /* — Colour: Accent — Burgundy — */
  --burg:         #6e1d2c;
  --burg-lt:      #8a3744;
  --burg-dk:      #4d141e;

  /* — Colour: Semantic — */
  --txt:          #14110d;
  --txt-2:        #6b6358;
  --line:         #d9cdb0;
  --line-dk:      #2a241c;

  /* — Backward-compat aliases (used by theme.css, header, footer, etc.) — */
  --cream:          var(--paper);
  --cream-light:    var(--paper-light);
  --black:          var(--ink);
  --black-soft:     var(--ink-soft);
  --brown:          var(--ink);
  --brown-light:    var(--ink-soft);
  --parchment:      var(--paper-2);
  --bordeaux:       var(--burg);
  --bordeaux-light: var(--burg-lt);
  --bordeaux-dark:  var(--burg-dk);
  --gold-light:     var(--gold-lt);
  --gold-dark:      var(--gold-dk);
  --text:           var(--txt);
  --text-light:     var(--txt-2);

  /* — Typography — */
  --f-serif: "Cormorant Garamond", "GFS Didot", Georgia, serif;
  --f-sans:  "Manrope", system-ui, -apple-system, sans-serif;
  --f-mono:  "JetBrains Mono", ui-monospace, monospace;

  /* — Type scale (clamp) — */
  --fs-xs:   clamp(0.6875rem, 0.65rem + 0.15vw, 0.8125rem);   /* ~11-13 */
  --fs-sm:   clamp(0.8125rem, 0.77rem + 0.2vw, 0.9375rem);    /* ~13-15 */
  --fs-base: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);    /* ~15-17 */
  --fs-lg:   clamp(1.125rem, 1.04rem + 0.42vw, 1.375rem);     /* ~18-22 */
  --fs-xl:   clamp(1.5rem, 1.32rem + 0.9vw, 2rem);            /* ~24-32 */
  --fs-2xl:  clamp(2rem, 1.64rem + 1.8vw, 3rem);              /* ~32-48 */
  --fs-3xl:  clamp(2.5rem, 2rem + 2.5vw, 4rem);               /* ~40-64 */

  /* — Spacing scale — */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* — Radius — */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* — Shadows — */
  --shadow-sm: 0 1px 3px rgba(20,17,13,0.06);
  --shadow-md: 0 4px 16px rgba(20,17,13,0.08);
  --shadow-lg: 0 12px 40px rgba(20,17,13,0.12);

  /* — Transitions — */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;

  /* — Layout — */
  --max-w: 1312px;
  --content-w: 800px;
}


/* ====== RESET / BASE ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-lt);
  color: var(--ink);
}


/* ====== UTILITY CLASSES ====== */

/* — Eyebrow (mono label above headings) — */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

/* — Hairline rule — */
.hair {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: var(--sp-4) 0;
}
.hair--center { margin-left: auto; margin-right: auto; }

/* — Diamond separator — */
.diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--gold);
  font-size: 10px;
  margin: var(--sp-7) 0;
}
.diamond::before,
.diamond::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* — Text utilities — */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-ink { color: var(--ink); }
.text-gold { color: var(--gold); }
.text-burg { color: var(--burg); }
.text-muted { color: var(--txt-2); }
.text-paper { color: var(--paper); }

/* — Background utilities — */
.bg-paper { background-color: var(--paper); }
.bg-paper-2 { background-color: var(--paper-2); }
.bg-ink { background-color: var(--ink); }
.bg-burg { background-color: var(--burg); }
.bg-gold { background-color: var(--gold); }


/* ====== HEADINGS ====== */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

/* Serif display heading in Cormorant Garamond */
.display-heading {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}


/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  line-height: 1.4;
}

/* Primary (burgundy) */
.btn,
.btn-primary {
  background: var(--burg);
  color: var(--paper);
  border-color: var(--burg);
}
.btn:hover,
.btn-primary:hover {
  background: var(--burg-dk);
  border-color: var(--burg-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Ghost (outlined) */
.btn-ghost {
  background: transparent;
  color: var(--burg);
  border-color: var(--burg);
}
.btn-ghost:hover {
  background: var(--burg);
  color: var(--paper);
  transform: translateY(-1px);
}

/* Gold accent */
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Link-style button */
.btn-link {
  background: transparent;
  color: var(--burg);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover {
  color: var(--burg-dk);
  transform: none;
  box-shadow: none;
}

/* Large button variant */
.btn-lg {
  padding: var(--sp-4) var(--sp-7);
  font-size: var(--fs-base);
}


/* ====== SECTION UTILITY ====== */
.epp-section {
  padding: var(--sp-9) var(--sp-5);
}
.epp-section--tight {
  padding: var(--sp-7) var(--sp-5);
}
.epp-section--paper-2 {
  background: var(--paper-2);
}
.epp-section--ink {
  background: var(--ink);
  color: var(--paper);
}
.epp-section--burg {
  background: var(--burg);
  color: var(--paper);
}

.epp-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.epp-container--narrow {
  max-width: var(--content-w);
}


/* ====== CARDS ====== */
.epp-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.epp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.epp-card__eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: var(--sp-2);
}
.epp-card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.epp-card__body {
  font-size: var(--fs-sm);
  color: var(--txt-2);
  line-height: 1.65;
}

/* Photo placeholder (for sections without real images) */
.epp-photo {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  font-size: var(--fs-sm);
  font-style: italic;
  overflow: hidden;
}
.epp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ====== HEADER (V2 Magazine) ====== */
.epp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
}
/* Admin-bar offset */
.admin-bar .epp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .epp-header { top: 46px; } }

.epp-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--paper);
  font-family: var(--f-sans);
}

/* Brand (logo + text) */
.epp-nav .brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
}

/* Brand logo image (replaces SVG monogram) */
.epp-nav .brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.epp-nav .brand-mark { color: var(--paper); flex-shrink: 0; }

.epp-nav .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.epp-nav .brand-text .name {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--paper);
}

.epp-nav .brand-text .sub {
  font-family: var(--f-serif);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* Nav list (WP output) */
.epp-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.epp-nav li { margin: 0; padding: 0; }

.epp-nav ul a {
  text-decoration: none;
  color: var(--gold-lt);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.epp-nav ul a:hover { color: var(--paper); }

.epp-nav li.current-menu-item > a,
.epp-nav li.current_page_item > a {
  color: var(--paper);
}

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-actions .ig {
  color: var(--paper);
  font-size: 18px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease);
}
.nav-actions .ig:hover { opacity: 1; }

.nav-actions .btn-enroll {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-actions .btn-enroll:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}


/* ====== PAGE HERO (internal pages) ====== */
.page-hero {
  background: linear-gradient(170deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper-light) 100%);
  padding: 60px 30px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(176,132,56,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(110,29,44,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
}

.page-hero .page-hero-sub {
  font-size: var(--fs-base);
  color: var(--txt-2);
  margin-top: 10px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-hero-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
  position: relative;
}


/* ====== SECTIONS COMMON ====== */
section { padding: var(--sp-9) var(--sp-5); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}

.section-subtitle {
  font-size: var(--fs-sm);
  color: var(--txt-2);
  margin-bottom: 35px;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-header .section-title::after { margin: 10px auto 0; }


/* ====== CARDS (legacy) ====== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.card {
  background: var(--paper-light);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--line);
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon { font-size: 40px; margin-bottom: var(--sp-4); }

.card h3 {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: var(--sp-2);
  font-weight: 700;
}

.card p {
  font-size: var(--fs-xs);
  color: var(--txt-2);
  line-height: 1.65;
}

.card .card-schedule {
  margin-top: var(--sp-3);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--burg);
  font-weight: 600;
  letter-spacing: 0.05em;
}


/* ====== CTA BANNER ====== */
.cta-banner {
  background: var(--burg);
  color: var(--paper);
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(176,132,56,0.04) 0px,
    rgba(176,132,56,0.04) 1px,
    transparent 1px,
    transparent 40px
  );
}

.cta-banner h2 {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  margin-bottom: 10px;
  position: relative;
  color: var(--gold-lt);
}

.cta-banner p {
  font-size: var(--fs-base);
  opacity: 0.85;
  margin-bottom: var(--sp-5);
  position: relative;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 40px;
  text-decoration: none;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.cta-btn:hover {
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* ====== HISTORY / CONTENT GRID ====== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.content-text h3 {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  color: var(--burg);
  margin: var(--sp-6) 0 var(--sp-3);
}

.content-text h3:first-child { margin-top: 0; }

.content-text p {
  font-size: var(--fs-sm);
  color: var(--txt);
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}

.content-images { display: flex; flex-direction: column; gap: var(--sp-5); }

.content-images img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--paper-2);
}


/* ====== SCOPOI ====== */
.scopoi {
  background: rgba(176,132,56,0.08);
  border-left: 4px solid var(--gold);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.scopoi h4 {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.scopoi ul { list-style: none; padding: 0; }

.scopoi li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--txt);
}

.scopoi li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 3px;
}


/* ====== TIMELINE ====== */
.timeline { margin-top: var(--sp-8); position: relative; padding-left: 40px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.timeline-item { position: relative; margin-bottom: var(--sp-6); padding-left: var(--sp-6); }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--burg);
  border: 3px solid var(--gold);
}

.timeline-year {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--burg);
}

.timeline-desc {
  font-size: var(--fs-sm);
  color: var(--txt);
  margin-top: var(--sp-1);
}


/* ====== STATS ====== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.stat-box {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: var(--paper-light);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.stat-num {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--burg);
  line-height: 1;
}

.stat-label {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--txt-2);
  margin-top: var(--sp-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ====== EVENTS ====== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.event-card {
  background: var(--paper-light);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  border-left: 4px solid var(--burg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-card h4 {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.event-card p {
  font-size: var(--fs-xs);
  color: var(--txt-2);
  line-height: 1.65;
}

.full-image {
  width: 100%;
  border-radius: var(--r-md);
  margin: var(--sp-7) 0;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--paper-2);
}


/* ====== SCHEDULE TABLE ====== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-6);
  background: var(--paper-light);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table th {
  background: var(--burg);
  color: var(--paper);
  font-family: var(--f-serif);
  font-size: var(--fs-base);
  padding: 14px 20px;
  text-align: left;
  letter-spacing: 0.04em;
}

.schedule-table td {
  padding: 12px 20px;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--line);
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover { background: rgba(176,132,56,0.04); }


/* ====== MONUMENT ====== */
.monument-img {
  max-width: 700px;
  width: 100%;
  margin: var(--sp-6) auto;
  display: block;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--paper-2);
}

.monument-info {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-sm);
  color: var(--txt);
  text-align: center;
}

.monument-info .location {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--txt-2);
  margin-top: var(--sp-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.contact-info-block { margin-bottom: var(--sp-6); }

.contact-info-block h4 {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--burg);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-block p,
.contact-info-block a {
  font-size: var(--fs-sm);
  color: var(--txt);
  text-decoration: none;
  line-height: 1.65;
}

.contact-info-block a:hover { color: var(--burg); }

.social-links { display: flex; gap: var(--sp-4); margin-top: 10px; }

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--burg);
  color: var(--paper);
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all var(--dur) var(--ease);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.social-links a svg { display: block; }

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .cf-field-full {
  grid-column: 1 / -1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #d5cfc5;
  border-radius: 6px;
  font-family: var(--f-sans);
  font-size: 15px;
  background: #faf8f4;
  color: var(--txt);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,132,56,0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a09888;
  font-weight: 400;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form .gdpr-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #6b5548;
  line-height: 1.5;
  cursor: pointer;
  margin: 4px 0;
}

.contact-form .gdpr-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--burg);
  cursor: pointer;
}

.contact-form .cf-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form button {
  background: var(--burg);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form button:hover {
  background: var(--burg-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100,20,30,0.25);
}

.contact-form button:active {
  transform: translateY(0);
}

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

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--paper-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  margin-top: var(--sp-7);
  color: var(--txt-2);
  font-size: var(--fs-sm);
}


/* ====== FOOTER (V2 Magazine) ====== */
.epp-foot {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  padding: 80px 64px 40px;
}

.foot-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand column */
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
/* Footer logo image */
.foot-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.foot-mark { color: var(--paper); margin-bottom: 8px; }

.foot-brand-name {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--paper);
}

.foot-brand-sub {
  font-family: var(--f-serif);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-lt);
}

.foot-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246,239,226,0.6);
  max-width: 320px;
}

/* Columns */
.foot-col h4 {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }

.foot-col li { margin-bottom: 10px; }

.foot-col a {
  color: rgba(246,239,226,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur) var(--ease);
}

.foot-col a:hover { color: var(--paper); }

/* Bottom bar */
.foot-bottom {
  max-width: var(--max-w);
  margin: 64px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-dk, #2a241c);
  padding-top: 28px;
  font-size: 12px;
  color: rgba(246,239,226,0.5);
}

.foot-since {
  font-family: var(--f-serif);
  letter-spacing: 1px;
}

.foot-credit {
  max-width: var(--max-w);
  margin: 16px auto 0;
  text-align: center;
  font-size: 11px;
  color: rgba(246,239,226,0.35);
  letter-spacing: 0.3px;
}
.foot-credit a {
  color: rgba(246,239,226,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(246,239,226,0.15);
  transition: color .2s, border-color .2s;
}
.foot-credit a:hover {
  color: var(--paper);
  border-color: rgba(246,239,226,0.4);
}

/* ====== CONTACT MESSAGES ====== */
.contact-msg {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.contact-msg--ok {
  border: 1px solid rgba(46,125,50,0.35);
  background: rgba(46,125,50,0.08);
  color: #2e7d32;
}

.contact-msg--err {
  border: 1px solid rgba(198,40,40,0.35);
  background: rgba(198,40,40,0.08);
  color: #c62828;
}


/* ====== GDPR CHECKBOX ====== */
.gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--txt-2);
  line-height: 1.5;
  cursor: pointer;
  margin-top: var(--sp-1);
}

.gdpr-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--burg);
  cursor: pointer;
}


/* ====== ANIMATIONS ====== */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .epp-card,
  .stat-box,
  .event-card {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }

  .stat-box:hover {
    transform: translateY(-3px);
  }

  .event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .cta-btn:hover {
    transform: translateY(-2px);
  }
}


/* ====== LAZY LOADING FADE-IN ====== */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity 0.3s ease;
}


/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .epp-nav { padding: 18px 32px; }
  .epp-foot { padding: 64px 32px 32px; }
  .epp-nav ul a { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .epp-section { padding: var(--sp-7) var(--sp-4); }
  .epp-container { padding: 0 var(--sp-4); }

  /* Nav mobile */
  .nav-toggle { display: inline-flex; }
  .epp-nav { padding: 12px 20px; flex-wrap: wrap; }
  .epp-nav .brand-text .name { font-size: 15px; }
  .epp-nav .brand-text .sub { font-size: 8px; letter-spacing: 1.5px; }
  .epp-nav .brand-logo { width: 40px; height: 40px; }
  .epp-nav .brand-mark { width: 32px; height: 44px; }
  .epp-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 10;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 12px;
    gap: 2px;
  }
  body.ps-nav-open .epp-nav ul { display: flex; }
  .epp-nav ul a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--r-sm);
  }
  .epp-nav ul a:hover { background: rgba(255,255,255,0.06); }
  .nav-actions { display: none; }
  body.ps-nav-open .nav-actions {
    display: flex;
    order: 11;
    width: 100%;
    padding-top: 12px;
    justify-content: center;
  }

  /* Footer mobile */
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .epp-foot { padding: 48px 20px 28px; }
  .epp-nav { padding: 10px 16px; }
}
