/* ============================
   CSS RESET & NORMALIZE
=============================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #181D23;
  color: #F1F6F9;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: disc inside; }
a {
  color: #FFC857;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #fff; text-shadow: 0 0 4px #FFC857; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
:focus { outline: 2px solid #FFC857; outline-offset: 2px; }

/* ============================
   FONT FAMILY
=============================== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #FFC857;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
h1 {font-size: 2.25rem; margin-bottom: 24px;}
h2 {font-size: 1.75rem; margin-bottom: 20px;}
h3 {font-size: 1.25rem; margin-bottom: 16px;}
h4, h5, h6 {margin-bottom: 12px;}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #F1F6F9;
}
strong {color: #FFC857;}

@media (min-width: 800px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.5rem; }
}

/* ============================
   COLORS & BRAND TOKENS
=============================== */
:root {
  --vf-primary: #2D4052;
  --vf-secondary: #FFC857;
  --vf-accent: #F1F6F9;
  --vf-bg-dark: #181D23;
  --vf-bg-neon: #22283B;
  --vf-border: #304360;
  --vf-success: #53F09D;
  --vf-warning: #FFC857;
  --vf-danger: #FF3333;
}

/* ============================
   LAYOUT, CONTAINER, SECTION
=============================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vf-bg-neon);
  border-radius: 24px;
  box-shadow: 0 6px 48px 0 rgba(44,67,82,0.13);
  border: 1.5px solid var(--vf-border);
}

@media (max-width: 768px) {
  .section { padding: 24px 8px; margin-bottom: 32px; border-radius: 16px; }
}

/* ============================
   HERO SECTION
=============================== */
.hero {
  background: linear-gradient(135deg, #181D23 55%, #2D4052 100%);
  box-shadow: 0 2px 32px rgba(44,67,82,0.25);
  border-bottom: 3px solid #FFC857;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px #2D4052, 0 0 2px #FFC857;
}
.hero p {
  color: #F1F6F9;
}

/* ============================
   MAIN NAVIGATION
=============================== */
header {
  width: 100%;
  background: var(--vf-bg-dark);
  box-shadow: 0 2px 14px 0 rgba(25,28,38,0.14);
  position: relative;
  z-index: 1100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 10px 0 10px 0;
}
.main-nav a {
  color: #F1F6F9;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 8px;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}
.main-nav a:last-child {margin-right: 0;}
.main-nav a.cta-btn {
  background: #FFC857;
  color: #2D4052;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 800;
  font-size: 1.08rem;
  margin-left: auto;
  box-shadow: 0 5px 24px 0 rgba(255, 200, 87, 0.11);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border: 1.8px solid #FFC857;
  transition: background 0.27s, color 0.24s, box-shadow 0.3s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #2D4052;
  color: #FFC857;
  box-shadow: 0 5px 32px 0 rgba(255, 200, 87, 0.26);
}

.main-nav img {
  height: 38px;
  margin-right: 16px;
  transition: filter 0.2s;
}

@media (max-width: 1020px) {
  .main-nav { gap: 14px; }
  .main-nav img { margin-right: 8px; }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 15px;
    padding: 8px 0 8px 0;
  }
}
@media (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ============================
   MOBILE MENU
=============================== */
.mobile-menu-toggle {
  display: none;
  background: #232A36;
  color: #FFC857;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 1202;
  transition: background .18s;
  box-shadow: 0 0 10px 0 #232A36;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover { background: #FFC857; color: #2D4052; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(24,29,35,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.77,.07,.51,1.02);
  box-shadow: 0 6px 50px 0 rgba(0,0,0,0.31);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.6rem;
  background: none;
  color: #FFC857;
  margin: 24px 24px 12px 0;
  align-self: flex-end;
  border-radius: 50%;
  padding: 4px 12px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #FFC857; color: #2D4052; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  padding: 32px 32px 32px 36px;
}
.mobile-nav a {
  color: #F1F6F9;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 12px;
  width: 100%;
  transition: color 0.18s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #FFC857; color: #21263B; }
@media (max-width: 800px) {
  .mobile-menu-toggle { display: flex; }
}

/* ============================
   FLEXBOX UTILS (CRITICAL LAYOUT)
=============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(44,67,82,0.10);
  background: var(--vf-bg-neon);
  border: 1.4px solid var(--vf-border);
  overflow: hidden;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F6F9;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(33,32,66,0.11);
  margin-bottom: 24px;
  border: 1px solid #E1E4E8;
}
.testimonial-card blockquote {
  color: #232A36; /* Ensures contrast */
  font-size: 1.13rem;
}
.testimonial-card strong {color: #2D4052;}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vf-bg-neon);
  border-radius: 19px;
  box-shadow: 0 2px 20px 0 rgba(44,67,82,0.10);
  border: 1.3px solid var(--vf-border);
  padding: 22px 20px 20px 20px;
  min-width: 215px;
}
.feature-item img {
  width: 36px;
  height: 36px;
}

@media (max-width: 768px) {
  .content-grid, .card-container {gap: 14px;}
  .text-image-section {flex-direction: column; align-items: flex-start; gap: 18px;}
  .feature-item {padding: 16px; min-width: 140px;}
}

/* ============================
   STORY PREVIEWS & CARDS
=============================== */
.story-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0 24px 0;
}
.story {
  flex: 1 1 230px;
  max-width: 350px;
  background: var(--vf-bg-dark);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(44,67,82,0.11);
  border: 1.2px solid var(--vf-border);
  padding: 22px 18px 23px 18px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .19s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.story h3 {color: #FFC857; font-size: 1.22rem; margin-bottom: 10px;}
.story p {color: #F1F6F9;}
.story a {
  color: #FFC857;
  font-weight: 600;
  margin-top: 10px;
  font-size: 1rem;
  transition: color 0.15s;
}
.story:hover, .story:focus-within {
  box-shadow: 0 4px 34px 0 #FFC85755;
  border-color: #FFC85755;
  transform: translateY(-4px) scale(1.03);
}
.story a:hover, .story a:focus { color: #fff; text-shadow: 0 0 3px #FFC857; }

@media (max-width: 758px) {
  .story-preview-list {gap: 12px;}
  .story {padding: 15px 10px;}
}

/* ============================
   SERVICE/WORKSHOP ITEMS
=============================== */
.service-teasers, .service-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 8px 0;
}
.service-item, .workshop-item {
  flex: 1 1 255px;
  background: var(--vf-bg-neon);
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(44,67,82,0.08);
  border: 1.1px solid var(--vf-border);
  padding: 20px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow .13s, border .17s;
}
.service-item:hover, .workshop-item:hover {
  box-shadow: 0 5px 26px 0 #FFC8573a;
  border: 1.6px solid #FFC857BB;
}

@media (max-width: 780px) {
  .service-teasers, .service-list, .workshop-list { gap: 12px; }
  .service-item, .workshop-item { padding: 12px 8px;
    min-width: 95px; }
}

.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 13px 0;
}

/* ============================
   TAGS & FILTERS & CATEGORIES
=============================== */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
}
.tag {
  background: #232A36;
  color: #FFC857;
  border-radius: 13px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  box-shadow: 0 0 8px #FFC85726;
  border: 1px solid #2D4052;
  transition: background 0.17s, color 0.14s;
  cursor: pointer;
}
.tag:hover, .tag:focus { background: #FFC857; color: #2D4052; }

.filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.filters label {
  color: #FFC857;
  font-weight: 600;
  margin-right: 8px;
}
.filters select {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #FFC857;
  background: #232A36;
  color: #FFC857;
  font-size: 1rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 0 0;
  color: #F1F6F9;
}
.pagination span {color: #FFC857; font-weight: bold;}
.pagination a {
  color: #FFC857;
  background: #2D4052;
  border-radius: 9px;
  font-weight: 700;
  padding: 6px 18px;
  transition: background .11s, color .14s;
}
.pagination a:hover, .pagination a:focus { background: #FFC857; color: #2D4052; }

/* ============================
   FAQ BLOCK
=============================== */
.faq-block {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 12px;
}
.faq-block strong { color: #FFC857; font-size: 1.1rem; margin-bottom: 3px; }

/* ============================
   CTA BUTTONS
=============================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #FFC857;
  color: #181D23;
  border-radius: 27px;
  font-weight: 900;
  font-size: 1.13rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 2px 18px 0 #FFC85760;
  transition: background 0.18s, color 0.17s, box-shadow 0.22s, transform 0.13s;
  border: 1.8px solid #FFC857;
  margin-top: 12px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D4052;
  color: #FFC857;
  box-shadow: 0 5px 32px 0 #FFC85784;
  transform: translateY(-2px) scale(1.04);
}

/* ============================
   FORMS (INPUT, EMAIL)
=============================== */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #304360;
  border-radius: 8px;
  background: #F1F6F9;
  color: #232A36;
  padding: 11px 18px;
  margin-bottom: 15px;
  width: 100%;
  transition: border-color .13s;
}
input:focus, select:focus, textarea:focus {
  border-color: #FFC857;
}

.privacy-notice {
  background: #232A36;
  color: #FFC857;
  padding: 16px 15px;
  border-radius: 13px;
  margin: 18px 0 14px 0;
}
.privacy-notice p {color: #FFC857;}

/* ============================
   FOOTER
=============================== */
footer {
  background: var(--vf-bg-dark);
  padding: 40px 0 0 0;
  color: #F1F6F9;
  font-size: 1rem;
  border-top: 2.5px solid #FFC85725;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.1px solid #2D4052;
  padding-bottom: 24px;
}
.footer-content a img {
  height: 32px;
  margin-bottom: 12px;
}
.footer-content nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-content nav a {
  color: #FFC857;
  font-weight: 700;
  font-size: 1rem;
}
.footer-content nav a:hover, .footer-content nav a:focus { color: #fff; }
.contact-details {
  color: #F1F6F9;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.brand-tagline {
  text-align: center;
  color: #FFC857;
  font-size: 1.13rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 18px 0 0 0;
  padding: 0 0 30px 0;
}
@media (max-width: 800px) {
  .footer-content {flex-direction: column; gap: 20px; align-items: flex-start;}
  .brand-tagline {font-size: 1rem;}
}

/* ============================
   COOKIE CONSENT BANNER
=============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232A36;
  color: #F1F6F9;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px;
  box-shadow: 0 -2px 16px 0 #181D23a7;
  font-size: 1rem;
  transition: transform .39s;
}
.cookie-banner.hidden {transform: translateY(110%);}
.cookie-banner .cookie-banner-text { flex: 2 1 340px; max-width: 620px; }
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  border: 1.3px solid #FFC857;
  background: #FFC857;
  color: #232A36;
  margin-right: 0;
  margin-bottom: 0;
  transition: background .15s, color .16s, box-shadow .17s;
}
.cookie-banner button.reject {
  background: transparent;
  color: #FFC857;
  border: 1.3px solid #FFC857;
}
.cookie-banner button.settings {
  background: #2D4052;
  color: #FFC857;
  border: 1.3px solid #FFC857;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F1F6F9;
  color: #2D4052;
  box-shadow: 0 8px 20px #FFC85744;
  border-color: #FFC857cc;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
    font-size: 0.98rem;
    padding: 18px 4px;
  }
}

/* ============================
   COOKIE SETTINGS MODAL
=============================== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,40,59,0.96);
  z-index: 19998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
}
.cookie-modal-inner {
  background: #181D23;
  border-radius: 20px;
  box-shadow: 0 12px 64px #000c 0.22;
  max-width: 420px;
  padding: 34px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: stretch;
  color: #fff;
  border: 1.6px solid #FFC857;
}
.cookie-modal h2 {
  color: #FFC857;
  font-size: 1.39rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
  color: #FFC857;
  font-size: 1.07rem;
  font-weight: 600;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #FFC857;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal button {
  padding: 8px 20px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 1rem;
  border: 1.1px solid #FFC857;
  background: #FFC857;
  color: #181D23;
  transition: background .15s;
}
.cookie-modal button.reject {
  background: transparent; color: #FFC857;
}
.cookie-modal button.save {
  background: #2D4052;
  color: #FFC857;
}
.cookie-modal button.close {
  position: absolute;
  top: 20px; right: 23px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #FFC857;
  padding: 0 8px;
  border-radius: 10px;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #F1F6F9;
  color: #2D4052;
  border-color: #FFC857bb;
}
@media (max-width: 540px) {
  .cookie-modal-inner {padding: 24px 8px; font-size: 0.97rem;}
}

/* ============================
   RESPONSIVE LAYOUTS
=============================== */
@media (max-width: 680px) {
  .container {padding: 0 6px;}
  .content-wrapper {gap: 17px;}
  .footer-content nav {gap: 10px; font-size: 14px;}
}

/* ============================
   DECORATIVE EFFECTS (NEON, GLOW)
=============================== */
.cta-btn, .main-nav a.cta-btn {
  box-shadow: 0 0 18px #FFC85744, 0 1.5px 9px #2D405277;
}
.cta-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: -60%; top: 0; height: 100%; width: 60%;
  background: linear-gradient(120deg, #fff8 0%, #FFC8571a 100%);
  opacity: 0;
  transition: opacity .14s;
  border-radius: inherit;
  pointer-events: none;
}
.cta-btn:hover:after { opacity: 0.15; }

h1, h2, h3 {
  text-shadow: 0 0 6px #FFC85755, 0 0 2px #232A36;
}

.feature-item, .service-item, .workshop-item {
  /* neon border effect */
  box-shadow: 0 0 10px #FFC85722, 0 6px 32px 0 #181D2385;
}

/* ============================
   MISC FIXES & UTILITIES
=============================== */
hidden, [hidden] {display:none!important}
.map { margin: 16px 0; color: #FFC857; font-style: italic; }
.text-section { margin-bottom: 20px; }

/* Spacing utilities: mandatory in flex layouts */
.mb-24 {margin-bottom: 24px;}
.mt-16 {margin-top: 16px;}
.pt-20 {padding-top: 20px;}

/* ============================
   OVERRIDES FOR DEFAULT BROWSERS
=============================== */
::-webkit-scrollbar {width:9px;background:#232A36;}
::-webkit-scrollbar-thumb {background:#2D4052;border-radius:9px;}

/* ============================
   PRINT
=============================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #111; }
}
