/* =====================
   CSS RESET & BASELINES
   ===================== */
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,
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 for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--tp-bg, #fff);
  color: var(--tp-primary, #263859);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--tp-primary, #263859);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--tp-secondary, #5B7760);
  outline: none;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
input, button {
  font-family: inherit;
  outline: none;
}

/* =====================
   CSS VARS: BRAND COLORS
   ===================== */
:root {
  --tp-primary: #263859;
  --tp-secondary: #90A08A;
  --tp-accent: #FFEEDB;
  --tp-bright: #fff;
  --tp-dark: #131827;
  --tp-highlight: #FFC874;
  --tp-artist-pink: #F6B8B8;
  --tp-creative-blue: #6DCFF6;
  --tp-violet: #AE81FF;
}

/* =====================
   TYPOGRAPHY: Artistic/Brand
   ===================== */
h1, h2, h3, h4, h5, h6, .brand-tagline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--tp-primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.13;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.brand-tagline {
  font-size: 1.25rem;
  color: var(--tp-secondary);
  letter-spacing: 0.04em;
  font-style: italic;
  margin: 16px 0 0 0;
  display: block;
}
p, li, .testimonial-author, label, input, button {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--tp-primary);
  font-size: 1rem;
  line-height: 1.6;
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tp-artist-pink);
  border-left: 4px solid var(--tp-violet);
  padding-left: 16px;
  margin: 24px 0;
}

/* =====================
   MAIN LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--tp-accent);
  border-radius: 30px;
  box-shadow: 0 12px 36px 0 rgba(41,61,89,0.07);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: var(--tp-accent);
  box-shadow: 0 4px 16px 0 rgba(41,61,89,0.04);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  position: relative;
  gap: 12px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  font-size: 1.08rem;
  margin: 0 8px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--tp-primary);
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  background: var(--tp-highlight);
  width: 0%;
  transition: width 0.24s cubic-bezier(0.5,0,0.5,1);
  margin-top: 1px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 28px;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 24px 0 rgba(157,125,236,0.06);
  border: none;
  text-decoration: none;
  background: var(--tp-creative-blue);
  color: var(--tp-dark);
  transition: background 0.25s, color 0.2s, transform 0.18s;
  margin-left: 15px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--tp-violet);
  color: var(--tp-bright);
  transform: translateY(-2px) scale(1.05);
}
.btn-secondary {
  background: var(--tp-artist-pink);
  color: var(--tp-dark);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--tp-highlight);
  color: var(--tp-primary);
}

/* ================
   MOBILE NAVIGATION
   ================ */
.mobile-menu-toggle {
  display: none;
  background: var(--tp-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 8px;
  z-index: 200;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--tp-violet);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--tp-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(0.6,0,0.3,1);
  z-index: 9999;
  padding: 42px 32px 22px 36px;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--tp-secondary);
  color: var(--tp-primary);
  font-size: 2rem;
  margin-bottom: 12px;
  border: none;
  border-radius: 10px;
  padding: 4px 18px 4px 18px;
  cursor: pointer;
  z-index: 10002;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--tp-highlight);
  color: var(--tp-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: var(--tp-highlight);
  font-size: 1.3rem;
  font-family: 'Montserrat';
  font-weight: 600;
  padding: 10px 4px;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--tp-artist-pink);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: linear-gradient(91deg, var(--tp-accent) 84%, var(--tp-artist-pink) 120%);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  margin-bottom: 60px;
  padding: 44px 0 48px 0;
  min-height: 260px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  color: var(--tp-primary);
  font-size: 2.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.hero p {
  color: var(--tp-secondary);
  font-size: 1.13rem;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features {
  background: var(--tp-bright);
  box-shadow: none;
  border-radius: 36px;
  margin-bottom: 60px;
  padding: 36px 0;
}
.features-list, .features-grid, .feature-list, .topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: flex-start;
}
.features-list li, .features-grid li, .feature-list li, .topic-grid li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--tp-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 20px;
  background: var(--tp-accent);
  box-shadow: 0 2px 8px 0 rgba(173,173,173,0.04);
}
.features-list img, .features-grid img, .feature-list img, .topic-grid img {
  width: 26px;
  height: 26px;
}

.values-highlight h3 {
  margin-bottom: 8px;
  color: var(--tp-creative-blue);
  font-size: 1.18rem;
}
.values-highlight ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.values-highlight li {
  color: var(--tp-primary);
  padding: 6px 16px;
  font-size: 0.99rem;
  background: var(--tp-highlight);
  border-radius: 10px;
  font-family: 'Montserrat';
}

.text-section {
  margin: 14px 0 0 0;
}

/* =====================
   COURSES/SERVICES CARDS
   ===================== */
.course-cards, .service-cards, .recommended-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
  justify-content: flex-start;
}
.course-card, .service-card {
  background: var(--tp-bright);
  border-radius: 28px;
  position: relative;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 8px 32px 0 rgba(38,56,89,0.10);
  min-width: 220px;
  flex: 1 1 245px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 2px solid transparent;
}
.course-card:hover,
.service-card:hover,
.course-card:focus-within,
.service-card:focus-within {
  box-shadow: 0 8px 38px 0 rgba(142,129,255,0.16);
  transform: translateY(-7px) scale(1.035);
  border-color: var(--tp-creative-blue);
  z-index: 2;
}
.course-card h3, .service-card h3 {
  color: var(--tp-violet);
  font-size: 1.25rem;
}
.course-card span, .service-card .service-price {
  margin-top: 8px;
  font-weight: 700;
  color: var(--tp-secondary);
  font-size: 1.04rem;
}
.service-card .btn-secondary {
  margin-top: 10px;
  align-self: flex-start;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials, .testimonial-section {
  background: var(--tp-accent);
  border-radius: 30px;
  padding: 40px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 30px 0 rgba(164,111,255,0.07);
}
.testimonials h2 {
  text-align: center;
  color: var(--tp-creative-blue);
  margin-bottom: 28px;
}
.testimonial-slider, .testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 20px 24px;
  background: #fff;
  border-radius: 18px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 4px 24px 0 rgba(38,56,89,0.08);
  margin-bottom: 20px;
  position: relative;
  border-left: 6px solid var(--tp-violet);
}
.testimonial-card p {
  color: var(--tp-dark);
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.testimonial-author {
  font-size: 0.94rem;
  color: var(--tp-secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.star-ratings {
  color: var(--tp-highlight);
  font-size: 1.2rem;
}
@media (max-width: 769px) {
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* =====================
   NEWSLETTER FOOTER
   ===================== */
.newsletter-footer {
  background: var(--tp-creative-blue);
  border-radius: 24px 24px 0 0;
  margin-bottom: 0;
  padding: 36px 0 28px 0;
}
.newsletter-footer h2 {
  color: var(--tp-primary);
  margin-bottom: 8px;
}
.newsletter-signup {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.newsletter-signup input[type='email'] {
  padding: 13px 20px;
  font-size: 1rem;
  border-radius: 24px;
  border: 1.5px solid var(--tp-primary);
  min-width: 180px;
  background: #fff;
  margin-right: 7px;
  transition: border 0.18s;
}
.newsletter-signup input[type='email']:focus {
  border: 1.7px solid var(--tp-violet);
  outline: none;
}
.newsletter-signup button[type='submit'] {
  padding: 12px 26px;
  background: var(--tp-primary);
  color: var(--tp-bright);
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, color 0.18s, transform 0.14s;
}
.newsletter-signup button[type='submit']:hover {
  background: var(--tp-violet);
  color: var(--tp-bright);
  transform: translateY(-2px) scale(1.04);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}
.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-accent);
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(41,61,89,0.08);
  transition: background 0.19s, transform 0.17s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--tp-highlight);
  transform: scale(1.07);
}

.quick-links {
  margin-top: 14px;
  font-size: 0.97rem;
  color: var(--tp-primary);
  text-align: center;
}
.quick-links a {
  color: var(--tp-violet);
  margin: 0 2px;
  font-weight: 700;
}

/* ==================
   BLOG & ARTICLES
   ================== */
.featured-articles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.featured-articles article {
  background: var(--tp-accent);
  border-radius: 16px;
  flex: 1 1 260px;
  min-width: 235px;
  padding: 18px 18px 14px 20px;
  box-shadow: 0 3px 12px 0 rgba(127,97,224,0.06);
  transition: box-shadow 0.18s, transform 0.13s;
  border-left: 4px solid var(--tp-violet);
}
.featured-articles article:hover {
  box-shadow: 0 9px 26px 0 rgba(127,97,224,0.12);
  transform: scale(1.03) translateY(-3px);
}
.featured-articles h3 {
  color: var(--tp-artist-pink);
  font-size: 1.12rem;
  margin-bottom: 7px;
}

.chef-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.text-section h3 {
  color: var(--tp-violet);
}

/* =====================
   CTA FOOTER / CONTACT
   ===================== */
.cta-footer, .footer-cta, .footer-contact {
  background: var(--tp-highlight);
  border-radius: 20px 20px 0 0;
  padding: 22px 0 38px 0;
  margin-bottom: 0;
  box-shadow: 0 2px 10px 0 rgba(38,56,89,0.09);
  text-align: center;
}
.cta-footer h2, .footer-cta h2, .footer-contact h2 {
  color: var(--tp-primary);
}

.footer-contact .contact-summary {
  margin-bottom: 8px;
  color: var(--tp-primary);
}
.footer-contact .media-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 4px;
}
.footer-contact .media-links a {
  color: var(--tp-violet);
  font-weight: 600;
  text-decoration: underline;
  font-family: 'Montserrat';
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--tp-primary);
  padding: 18px 0 8px 0;
  color: var(--tp-bright);
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-size: 1.01rem;
}
.footer-menu a {
  color: var(--tp-bright);
  opacity: 0.88;
  font-weight: 600;
  font-family: 'Montserrat';
  transition: opacity 0.18s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  color: var(--tp-highlight);
  text-decoration: underline;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--tp-primary);
  color: #fff;
  padding: 20px 16px 22px 16px;
  z-index: 99999;
  box-shadow: 0 -4px 22px 0 rgba(38,56,89,0.19);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  font-size: 1.05rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.65,0,0.3,1), opacity 0.33s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
#cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: var(--tp-highlight);
  color: var(--tp-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 21px;
  border: none;
  border-radius: 20px;
  margin-right: 5px;
  transition: background 0.22s, color 0.14s, transform 0.17s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(205,160,236,0.06);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--tp-violet);
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.settings {
  background: var(--tp-accent);
  color: var(--tp-primary);
  border: 1px solid var(--tp-highlight);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--tp-creative-blue);
  color: var(--tp-primary);
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 100000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(27, 32, 53, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: opacity 0.4s;
}
#cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 34px 28px 28px 28px;
  text-align: left;
  box-shadow: 0 16px 50px 0 rgba(38,56,89,0.27);
  color: var(--tp-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  color: var(--tp-violet);
  font-size: 1.4rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--tp-violet);
}
.cookie-category label {
  font-size: 1.07rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: var(--tp-secondary);
  color: var(--tp-primary);
  border: none;
  border-radius: 10px;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
}
.cookie-modal-close:hover{ background: var(--tp-highlight); color: var(--tp-dark); }

/* =========================
   FLEXBOX: MANDATED CLASSES
   ========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
    SPACING & GENERAL LAYOUT
   ========================= */
main section {
  margin-bottom: 60px;
}
section > .container {
  padding: 0 0;
}
section .content-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* ===========
   MISC
   =========== */
ol.step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 22px;
  margin-bottom: 18px;
}
.service-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.service-benefits li {
  color: var(--tp-primary);
  font-size: 1rem;
  background: var(--tp-accent);
  padding: 8px 16px;
  border-radius: 10px;
  font-family: 'Montserrat';
}
.pricing-display {
  margin-top: 10px;
  color: var(--tp-secondary);
  font-weight: 700;
  font-size: 1.13rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-form-info {
  margin-top: 12px;
  color: var(--tp-primary);
}

.media-links {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.media-links a {
  color: var(--tp-artist-pink);
  font-weight: 600;
}

/* =============================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ============================= */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 991px) {
  .course-card, .service-card, .featured-articles article {
    min-width: 180px;
    flex: 1 1 210px;
  }
  .main-nav { gap: 18px; }
  .footer-menu { gap: 14px; }
}
@media (max-width: 890px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8vw;
    max-width: 100vw;
  }

  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 6px;
  }
  .hero h1 {
    font-size: 1.48rem;
  }
  .feature-list, .features-list, .topic-grid, .features-grid,.service-cards, .course-cards, .featured-articles, .chef-bios, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .newsletter-signup {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .social-links {
    gap: 12px;
  }
  .quick-links { text-align: left; }
  .testimonial-slider, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .section {
    padding: 32px 6vw;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .hero {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    padding: 24px 0 24px 0;
    margin-bottom: 30px;
  }
  .newsletter-footer {
    padding: 20px 0 14px 0;
    border-radius: 12px 12px 0 0;
  }
  .cta-footer,.footer-cta,.footer-contact {
    padding: 14px 0 18px 0;
    border-radius: 10px 10px 0 0;
  }
  #cookie-banner { flex-direction: column; gap: 10px; }
  #cookie-banner .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  #cookie-banner { font-size: 0.98rem; }
}
@media (max-width: 520px) {
  .section {
    padding: 18px 3vw;
  }
  .container { padding: 0 3vw; }
  .testimonial-card,.course-card, .service-card,.featured-articles article { padding: 15px 7px 12px 15px; }
  .mobile-menu { padding: 32px 6vw 18px 7vw; }
}

/* =============
   ANIMATIONS
   ============= */
@keyframes slideInLeft {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
@keyframes slideOutLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1;}
}

/* =====================
   ACCESSIBILITY FOCUS
   ===================== */
:focus {
  outline: 3px dashed var(--tp-violet);
  outline-offset: 2px;
}
.btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 3px solid var(--tp-artist-pink);
  outline-offset: 2px;
}

/* =====================
   UNIQUE ARTISTIC ELEMENTS
   ===================== */
::selection {
  background: var(--tp-artist-pink);
  color: var(--tp-primary);
}

/* Artistic brush effect on h2 */
h2 {
  position: relative;
  z-index: 2;
}
h2::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: -10px;
  top: 50%;
  width: 54px;
  height: 18px;
  background: var(--tp-highlight);
  border-radius: 10px;
  transform: translateY(-50%) rotate(-3deg);
  opacity: 0.43;
  z-index: -1;
}

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