/* === 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset */
article,aside,details,figcaption,figure,footer,
header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #191B1E;
  color: #f5f5f5;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #FFD54F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFFFF;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* === VARIABLES (with fallbacks) === */
:root {
  --primary: #5D4037;
  --secondary: #FFD54F;
  --accent: #F5F5F5;
  --dark-bg: #191B1E;
  --lighter-bg: #232429;
  --purple-neon: #7C65FF;
  --neon-blue: #08F7FE;
  --neon-lime: #39FF14;
  --error: #ff1744;
  --shadow-lg: 0 6px 28px 0 rgba(90,38,160,0.15);
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4,h5,h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p,li {
  font-size: 1rem;
  color: #f5f5f5;
  opacity: 0.98;
}
.section p {
  margin-bottom: 14px;
}
small {
  font-size: 0.85rem;
  opacity: 0.7;
}
.text-section {
  max-width: 740px;
  margin: 0 auto 32px auto;
  text-align: center;
}

/* === BRANDING & COLOR SCHEME === */
body {
  background: linear-gradient(135deg,#2a2835 30%, #191B1E 100%);
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #232429;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 22px 0 rgba(60,32,80,0.20);
  position: sticky;
  top: 0;
  z-index: 995;
}
.header-shadow { /* For optional shadow on scroll */
  box-shadow: 0 6px 24px 0 rgba(60,24,72,0.23);
}
.brand-logo img {
  height: 48px;
  display: block;
}
.header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  color: #f5f5f5;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--neon-blue));
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: width 0.3s cubic-bezier(.32,.72,.22,1.2);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.cta-btn {
  font-family: 'Montserrat',Arial,sans-serif;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 25px;
  background: var(--secondary);
  color: #232429;
  font-weight: 700;
  font-size: 1.10rem;
  letter-spacing: 0.06em;
  margin-left: 18px;
  box-shadow: 0 2px 20px 0 rgba(245,245,50,.08);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.cta-btn.secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--neon-blue);
  color: #191b1e;
  box-shadow: 0 0 14px 0 var(--neon-blue), 0 2px 12px 0 rgba(8,247,254,0.18);
  outline: none;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FFD54F;
  font-size: 2.0rem;
  border: none;
  margin-left: 16px;
  z-index: 1001;
  cursor: pointer;
  outline: none;
  position: relative;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,34,40,0.98);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,.2,.2,1.02);
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #FFFFFF;
  border: none;
  font-size: 2.35rem;
  margin: 24px 28px 32px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1300;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--error);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-top: 20px;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #FFD54F;
  padding: 5px 0;
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #08F7FE;
}
@media (max-width: 1024px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    gap: 10px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === SECTIONS & LAYOUT === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #21222A;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px 0 rgba(125,101,255,0.10);
  overflow: hidden;
  padding: 32px 24px;
  border: 1.5px solid #26273a;
  transition: border 0.2s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 0 30px 0 var(--neon-blue);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #232429;
  border-radius: 15px;
  box-shadow: 0 2px 16px 0 rgba(45,243,255,0.10);
  font-size: 1.04rem;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 350px;
}
.testimonial-card p {
  color: #232429;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.025em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
/* Custom sec/comp layouts by class names from HTML */
.features-grid, .services-list, .services-tiles, .highlights, .recipe-list, .blog-teasers, .workshop-list, .feature-list, .faq-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.features-grid > div, .services-list > div, .services-tiles > div, .highlights > div, .recipe-list > div, .blog-teasers > div, .workshop-list > div, .feature-list > div, .faq-list > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #23243f;
  color: #F5F5F5;
  border-radius: 15px;
  padding: 24px 16px;
  box-shadow: 0 1px 10px 0 rgba(90,101,255,0.055);
  transition: box-shadow 0.23s, background 0.22s;
  border: 1px solid #232431;
}
.features-grid > div img, .services-tiles > div img, .feature-list > div img, .highlights > div img {
  height: 40px;
  margin-bottom: 12px;
}
.features-grid > div:hover, .services-tiles > div:hover, .highlights > div:hover, .feature-list > div:hover {
  background: #21222A;
  box-shadow: 0 0 20px 0 var(--neon-lime);
}

/* Responsive stacking */
@media (max-width: 768px) {
  .content-grid, .text-image-section, .features-grid, .services-list, .services-tiles, .highlights, .recipe-list, .workshop-list, .feature-list, .faq-list, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 20px !important;
  }
  .footer-content {
    flex-direction: column;
    gap: 28px;
  }
}

/* === BLOG FILTER BAR & FORMS === */
.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
  background: #23243f;
  padding: 14px 18px;
  border-radius: 11px;
}
.blog-filter-bar input {
  background: #1f1e32;
  border-radius: 4px;
  padding: 7px 16px;
  color: #FFD54F;
  border: 1px solid #232431;
  width: 180px;
  transition: border 0.18s;
}
.blog-filter-bar input:focus {
  border: 1px solid var(--neon-blue);
  background: #191B1E;
  color: #fff;
}
form input, form button {
  font-size: 1rem;
  border-radius: 7px;
  margin-right: 8px;
}
form input[type="email"] {
  background: #23243f;
  border: 1px solid #393959;
  color: #FFD54F;
  padding: 8px 14px;
  margin-bottom: 10px;
  transition: border 0.2s;
}
form input[type="email"]:focus {
  border: 1.5px solid var(--neon-blue);
  background: #191B1E;
  color: #fff;
}
form button, .button {
  background: var(--secondary);
  color: #232429;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: background 0.22s, color 0.18s, box-shadow 0.17s;
}
form button:hover, .button:hover {
  background: var(--purple-neon);
  color: #fff;
  box-shadow: 0 0 10px var(--neon-blue);
}

/* === TABLES === */
.services-pricetable {
  width: 100%;
  background: #23243f;
  color: var(--secondary);
  border-radius: 10px;
  font-size: 1rem;
  margin: 32px 0 12px 0;
  box-shadow: 0 1px 14px 0 rgba(90,101,255,0.055);
}
.services-pricetable th,
.services-pricetable td {
  padding: 14px 12px;
}
.services-pricetable th {
  background: #191b2a;
  color: #FFD54F;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  text-align: left;
}
.services-pricetable td {
  font-family: 'Open Sans',Arial,sans-serif;
  color: #fff;
}
.services-pricetable tr:nth-child(even) td {
  background: #24243b;
}

/* === FOOTER === */
footer {
  background: #212229;
  padding: 36px 0 18px 0;
  margin-top: 60px;
  border-top: 2px solid var(--primary);
}
.footer-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 14px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 5px;
}
.footer-brand p {
  color: #FFD54F;
  max-width: 270px;
  font-size: 1.11rem;
  opacity: 0.81;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.footer-nav a {
  color: #FFD54F;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon-blue);
}
.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.social-icons img {
  height: 24px;
  filter: drop-shadow(0 0 5px #7C65FF);
  opacity: 0.83;
  transition: opacity 0.2s;
}
.social-icons img:hover {
  opacity: 1;
}
.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 11px;
  color: #FFD54F;
}

/* === COOKIE CONSENT BANNER (fixed bottom) === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #191B1E;
  color: #FFD54F;
  box-shadow: 0 -3px 28px 0 rgba(90,101,255,0.085);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 20px 16px;
  gap: 12px;
  transition: transform 0.33s cubic-bezier(.23,1.2,.25,1), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--neon-blue);
  color: #232429;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  margin-right: 6px;
  transition: background 0.18s, color 0.17s;
  cursor: pointer;
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: #232429;
}
.cookie-btn.reject {
  background: #191B1E;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--purple-neon);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #392d15;
  color: var(--neon-lime);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20,22,30,0.92);
  z-index: 4100;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #1f1f2b;
  color: #FFD54F;
  padding: 38px 28px 24px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 38px 0 rgba(125,101,255,0.15);
  min-width: 310px;
  max-width: 95vw;
  max-height: 89vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 18px;
  background: none;
  border: none;
  color: #FFD54F;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  width: 100%;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #FFD54F;
  font-family: 'Open Sans',Arial,sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--neon-blue);
  width: 20px; height: 20px;
  margin-right: 8px;
}
.cookie-category.disabled label {
  color: #aaaaaa;
  font-style: italic;
}

/* === LIST AND TIMELINES === */
ul, ol {
  margin-left: 16px;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 10px;
}
ol {
  list-style-type: decimal;
}
.milestone-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.milestone-timeline > div {
  background: #23243f;
  color: #FFD54F;
  border-radius: 13px;
  padding: 18px 16px 12px 16px;
  flex: 1 1 200px;
  min-width: 170px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px 0 rgba(90,101,255,0.045);
}
.milestone-timeline > div h3 {
  font-size: 1.22rem;
  color: var(--neon-blue);
  margin-bottom: 7px;
}

/* === FAQ LIST === */
.faq-list > div {
  border-left: 3px solid var(--purple-neon);
  padding-left: 16px;
  padding-bottom: 10px;
  background: #23243f;
  color: #F5F5F5;
  border-radius: 13px;
  margin-bottom: 10px;
}

/* === MISC COMPONENTS === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6em;
}
.card-content span {
  color: var(--secondary);
  font-size: 0.96rem;
}
span.price, span.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 13px;
  background: #23243f;
  font-weight: 600;
  color: #FFD54F;
  font-size: 0.89rem;
  margin-top: 7px;
}

/* === TRANSITIONS / MICRO-INTERACTIONS === */
.card, .testimonial-card, .features-grid > div, .services-tiles > div, .faq-list > div {
  transition: box-shadow 0.18s, border 0.18s, background 0.16s;
}
a, button, .cta-btn, .main-nav a, .footer-nav a {
  transition: color 0.17s, background 0.14s, box-shadow 0.16s;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .section, section {
    padding: 26px 7px;
    margin-bottom: 34px;
  }
  .testimonial-card, .features-grid > div, .services-tiles > div, .highlights > div, .card {
    border-radius: 12px;
    padding: 14px 10px;
    font-size: 0.96rem;
  }
  .card-content, .footer-brand, .footer-nav {
    gap: 12px;
  }
}

/* === ACCESSIBILITY FOCUS STATES === */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--neon-blue);
  outline-offset: 2px;
}

/* === ADDITIONAL SPACING & FLEX RULES === */
.card-container, .features-grid, .services-list, .services-tiles, .highlights, .blog-teasers, .recipe-list, .workshop-list, .feature-list, .faq-list, .testimonial-list {
  gap: 24px;
}
.card, .testimonial-card, .features-grid > div, .highlights > div, .faq-list > div {
  margin-bottom: 20px;
}

/* === ENSURE NO OVERLAP & FLEX ONLY === */
/* (No grid, no columns, all justified by flexbox above) */

/* === END OF CSS === */
