/* 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, menu, 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, 
main, 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E2538;
  background: #F9FBFE;
}

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Titillium Web', 'Roboto', Arial, sans-serif;
  color: #273A5D;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
h4, h5, h6 { font-weight: 500; }

p, ul, ol, li, address {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #263046;
}
ul, ol {
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  color: #273A5D;
  font-weight: 600;
}
em {
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #273A5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B400;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  width: 100%;
  background: linear-gradient(90deg, #E0E7EF 0%, #F9FBFE 100%);
  box-shadow: 0 4px 16px 0 rgba(39,58,93,0.02);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding-top: 10px; /* logo vertical alignment */
  padding-bottom: 10px;
}
header img[alt="Strata Spark"] {
  height: 44px;
  min-width: 90px;
  margin-right: 24px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #273A5D;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F4B400;
  background: #E0E7EF;
}
.cta-primary {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #F4B400 0%, #FFD55E 100%);
  color: #273A5D;
  padding: 10px 26px;
  font-size: 1.15rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 8px 0 rgba(244,180,0,0.10);
  margin-left: 32px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #FFD55E 0%, #F4B400 100%);
  color: #1E2538;
  box-shadow: 0 3px 16px 0 rgba(244,180,0,0.19);
}

.mobile-menu-toggle {
  display: none;
  background: #F4B400;
  color: #273A5D;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 32px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFD55E;
  color: #1E2538;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(239,246,255,0.99);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.6,.01,.6,1), opacity 0.24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: #273A5D;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.22s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F4B400;
  color: #273A5D;
}
.mobile-nav {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #273A5D;
  padding: 14px 0;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 600;
  width: 100vw;
  text-align: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: #F4B400;
}

@media (max-width: 1050px) {
  header .main-nav {
    gap: 12px;
  }
  .cta-primary {
    margin-left: 12px;
    font-size: 1rem;
    padding: 8px 16px;
  }
  header img[alt="Strata Spark"] {
    max-width: 80px;
    height: 36px;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    padding: 0 8px;
  }
  header img[alt="Strata Spark"] {
    margin-right: 6px;
  }
}

@media (max-width: 830px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(90deg, #E0E7EF 0%, #F4B40010 100%);
  border-bottom: 1.5px solid #E0E7EF;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 15px 0;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 12px;
  padding: 0 8px;
}
.hero h1 {
  color: #273A5D;
  font-size: 2.6rem;
  margin-bottom: 8px;
  background: linear-gradient(90deg,#273A5D 15%,#F4B400 75%,#FFD55E 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  max-width: 680px;
  margin-bottom: 16px;
  color: #263046;
  font-family: 'Roboto', Arial, sans-serif;
}
.hero .cta-primary {
  margin-top: 8px;
  font-size: 1.06rem;
  padding: 10px 30px;
}

@media (max-width: 700px) {
  .hero {
    padding: 18px 0 6px 0;
    min-height: unset;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .container {
    padding: 0 6px;
  }
  .section {
    padding: 18px 6px;
  }
}

/* Section default styles */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(39,58,93,0.04);
}


/* Content Wrapper */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.text-section {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

/* Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(39,58,93,0.10);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(39,58,93,0.16);
  transform: translateY(-1.5px) scale(1.01);
}

.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: #E0E7EF;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(39,58,93,0.08);
  font-size: 1.05rem;
  color: #273A5D;
  transition: box-shadow 0.20s;
}
.testimonial-card strong {
  color: #273A5D;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 18px 0 rgba(39,58,93,0.21);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grids */
.feature-grid,
.service-list,
.workshop-grid,
.trend-list,
.teasing-articles,
.news-feed,
.episode-list,
.upcoming-events {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}
.feature-grid li, 
.service-list li,
.workshop-grid li,
.trend-list li, 
.episode-list li, 
.upcoming-events li, 
.news-feed li,  
.teasing-articles li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(39,58,93,0.06);
  padding: 18px 18px 14px 18px;
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.09s;
  color: #263046;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid li:hover,
.service-list li:hover,
.workshop-grid li:hover,
.news-feed li:hover,
.trend-list li:hover,
.episode-list li:hover,
.upcoming-events li:hover,
.teasing-articles li:hover {
  background: #E0E7EF;
  box-shadow: 0 5px 22px 0 rgba(39,58,93,0.11);
  transform: translateY(-2px);
}
.feature-grid img,
.feature-icons img {
  width: 40px;
  height: 40px;
  background: linear-gradient(140deg, #F4B400 0%, #FFD55E 100%);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 1px 6px 0 rgba(244,180,0,0.12);
}

.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* Newsletter Feature */
.newsletter {
  background: linear-gradient(90deg,#E0E7EF 0%, #FFD55E 60%);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(244,180,0,0.10);
  margin: 30px 0 0 0;
  padding: 38px 22px;
}
.newsletter .container,
.newsletter .content-wrapper {
  align-items: flex-start;
}
.newsletter h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

/* Pricing Info (Workshops etc.) */
.pricing-info {
  display: flex;
  background: #F4B40010;
  color: #273A5D;
  border-radius: 9px;
  padding: 14px 16px;
  font-weight: 500;
  margin-top: 12px;
}

/* Company Info & Map */
.company-info {
  background: #F9FBFE;
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 rgba(39,58,93,0.05);
  padding: 20px 18px 17px 18px;
  margin-right: 22px;
  margin-bottom: 12px;
  flex: 1 1 240px;
}
.map {
  flex: 1 1 320px;
  min-width: 180px;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #273A5D 86%, #E0E7EF 100%);
  color: #fff;
  width: 100%;
  box-shadow: 0 -2px 14px 0 rgba(39,58,93,0.09);
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 16px 18px 16px;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #FFD55E;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 5px;
  transition: background 0.18s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #273A5D;
  background: #F4B400;
}
footer address {
  color: #fff;
  font-size: 0.98rem;
  font-style: normal;
  margin-top: 13px;
  line-height: 1.7;
  max-width: 460px;
}
footer a {
  color: #FFD55E;
  transition: color .15s, background .15s;
}
footer a:hover, footer a:focus {
  color: #273A5D;
  background: #FFD55E;
  border-radius: 5px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
  margin-top: 10px;
}
.social-links img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4B40030;
  padding: 4px;
  transition: background 0.15s;
  cursor: pointer;
}
.social-links img:hover { background: #FFD55E; }

@media (max-width: 650px) {
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer .container {
    padding: 24px 6px 12px 6px;
  }
  footer address {
    max-width: 100%;
    font-size: 0.91rem;
  }
}

/* Responsive Patterns */
@media (max-width: 900px) {
  .section { padding: 22px 8px; margin-bottom: 32px; }
  .feature-grid li, .service-list li, .workshop-grid li, .trend-list li, .episode-list li { min-width: 160px; padding: 15px; }
  .company-info, .map { margin: 0 0 12px 0; min-width: unset; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 768px) {
  .feature-grid,
  .service-list,
  .workshop-grid,
  .trend-list,
  .teasing-articles,
  .news-feed,
  .episode-list,
  .upcoming-events {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li,
  .service-list li,
  .workshop-grid li,
  .trend-list li, .teasing-articles li, .news-feed li,  .episode-list li, .upcoming-events li {
    min-width: 0;
    padding: 14px 11px;
    margin-bottom: 10px;
    width: 100%;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}

/* Misc */
::-webkit-scrollbar {
  width: 12px;
  background: #E0E7EF;
}
::-webkit-scrollbar-thumb {
  background: #E0E7EF;
  border-radius: 10px;
  border: 2px solid #fff;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  z-index: 10010;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #E0E7EF 80%, #FFD55E 100%);
  border-top: 2px solid #F4B400;
  padding: 24px 28px;
  box-shadow: 0 -2px 14px 0 rgba(244,180,0,0.09);
  font-size: 1rem;
  width: 100vw;
  max-width: 100vw;
  transition: transform 0.32s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-info {
  flex: 1 1 380px;
  color: #273A5D;
  margin-right: 24px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-actions button {
  background: #273A5D;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(39,58,93,0.06);
  transition: background 0.2s, color 0.17s, box-shadow 0.18s;
}
.cookie-actions button.accept {
  background: linear-gradient(90deg, #F4B400 0%, #FFD55E 100%);
  color: #273A5D;
}
.cookie-actions button.reject {
  background: #273A5D;
  color: #FFD55E;
}
.cookie-actions button.settings {
  background: #E0E7EF;
  color: #273A5D;
  border: 1.5px solid #F4B400;
}
.cookie-actions button:focus,
.cookie-actions button:hover {
  background: #FFD55E;
  color: #273A5D;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(244,180,0,0.17);
}

@media (max-width: 610px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    font-size: 0.95rem;
    gap: 12px;
  }
  .cookie-info {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 11000;
  transform: translate(-50%, -50%) scale(0.98);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(39,58,93,0.19);
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  padding: 34px 22px 22px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.22s;
  display: flex;
  flex-direction: column;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 16px;
}
.cookie-category {
  margin-bottom: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 27px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E0E7EF;
  border-radius: 20px;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-slider {
  background: linear-gradient(90deg, #F4B400 10%, #FFD55E 100%);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  left: 4px;
  top: 3px;
  width: 21px;
  height: 21px;
  background: #273A5D;
  border-radius: 50%;
  transition: transform 0.24s, background 0.15s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
  background: #F4B400;
}
.cookie-category label {
  font-size: 1rem;
  color: #273A5D;
  font-weight: 500;
}
.cookie-category .cookie-desc {
  font-size: 0.92rem;
  color: #6A768E;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal-actions button {
  background: #273A5D;
  color: #FFD55E;
  border: none;
  padding: 10px 22px;
  border-radius: 15px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-actions button.save {
  background: linear-gradient(90deg, #F4B400 0%, #FFD55E 100%);
  color: #273A5D;
}
.cookie-modal-actions button.cancel {
  background: #E0E7EF;
  color: #273A5D;
}
.cookie-modal-actions button:focus,
.cookie-modal-actions button:hover {
  background: #FFD55E;
  color: #273A5D;
}

/* Misc Interactions & Micro-animations */
.card, .feature-grid li, .service-list li, .workshop-grid li, .trend-list li, .teasing-articles li, .news-feed li,  .episode-list li, .upcoming-events li {
  transition: box-shadow 0.15s, transform 0.09s, background 0.13s;
  cursor: pointer;
}
.cta-primary {
  transition: box-shadow 0.15s, background 0.16s, color 0.15s;
  outline: none;
}
.cta-primary:focus { box-shadow: 0 0 0 3px #FFD55E77; }
.main-nav a:focus, .footer-nav a:focus, .mobile-nav a:focus {
  outline: 2px dashed #FFD55E;
  background: #FFD55E33;
}

/* Visual Hierarchy & Misc */
.section > h2, .newsletter > .container h2, .content-wrapper > h2, .text-section > h1, .text-section > h2 { margin-top: 0; margin-bottom: 14px; }
.section:not(:last-child) { margin-bottom: 60px; }

/* Utility for Spacing / Prevent Overlap */
.section, .card-container, .feature-grid, .service-list, .workshop-grid, .content-grid, .trend-list, .newsletter, .testimonials, .footer-nav {
  gap: 20px;
}
.card:not(:last-child) { margin-bottom: 20px; }
.card-container:not(:last-child) { margin-bottom: 32px; }

/* Hide visually when closed (modal/banner) */
[hidden], .hidden { display: none !important; }

/****************************************************/
/*           GRADIENT MODERN DESIGN TOKENS          */
/****************************************************/
:root {
  --color-primary: #273A5D;
  --color-secondary: #F4B400;
  --color-accent: #E0E7EF;
  --color-bg: #F9FBFE;
  --color-gradient-light: #FFD55E;
  --color-gradient-dark: #273A5D;
  --font-display: 'Titillium Web', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-xs: 0 1px 6px rgba(39,58,93,0.08);
  --shadow-md: 0 4px 16px rgba(39,58,93,0.12);
}

/*************************************************/
/*      END: GRADIENT MODERN BASE DESIGN         */
/*************************************************/
