/* ====================== CSS RESET & BASE ====================== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #fff6ed;
  color: #2B395B;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: #2B395B;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: border-box;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* =================== TYPOGRAPHY ======================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Merriweather:wght@700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #2B395B;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, li {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #3c4266;
}
blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  margin: 32px 0 32px 0;
  padding-left: 24px;
  border-left: 4px solid #F4B860;
  color: #2B395B;
  background: #fff9f1;
}
strong {
  font-weight: bold;
  color: #2B395B;
}

/* =============== LAYOUT UTILS ==================== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ========== HEADER / NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 2px solid #F4B860;
  box-shadow: 0 2px 18px rgba(44, 41, 58, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  color: #2B395B;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F4B860;
  color: #2B395B;
}
.btn-primary {
  font-family: 'Merriweather', serif;
  background: #F4B860;
  color: #2B395B;
  padding: 10px 30px;
  border-radius: 24px 8px 24px 8px;
  font-size: 1.15rem;
  font-weight: bold;
  box-shadow: 0 4px 28px rgba(244, 184, 96,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.17s;
  margin-left: 16px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ffcf81;
  color: #2B395B;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 38px rgba(244, 184, 96,0.19);
}

/* Burger Button */
.mobile-menu-toggle {
  font-size: 2.1rem;
  color: #2B395B;
  background: #F4B860;
  border-radius: 8px;
  padding: 4px 16px;
  margin-left: 8px;
  display: none;
  transition: background 0.18s, transform 0.16s;
  z-index: 301;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f8e7c7;
  outline: none;
  transform: scale(1.1);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU (SLIDE IN) */
.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #2B395B;
  box-shadow: -4px 0 24px rgba(43,57,91,0.21);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.65,1.45,.5,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 36px 24px 24px 64px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F4B860;
  color: #2B395B;
  font-size: 2rem;
  border-radius: 12px;
  margin-bottom: 18px;
  align-self: flex-end;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  width: 48px;
  height: 48px;
  transition: background 0.14s, transform 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffeac0;
  color: #2B395B;
  transform: rotate(7deg) scale(1.06);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 10px 0 10px 12px;
  border-radius: 10px;
  width: 100%;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F4B860;
  color: #2B395B;
}
@media (max-width: 700px) {
  .mobile-menu {
    padding: 26px 8px 8px 18px;
    width: 100vw;
  }
  .mobile-nav a {
    font-size: 1.04rem;
    padding-left: 8px;
  }
  .mobile-menu-close {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

/* =========== HERO & CTA SECTIONS ============= */
.hero-section {
  background: #F4B860;
  border-radius: 0 0 60px 0;
  margin-bottom: 38px;
  box-shadow: 0 8px 36px rgba(244,184,96,0.16);
}
.hero-section h1 {
  color: #2B395B;
  font-size: 2.5rem;
}
.hero-section p {
  color: #533c1e;
  max-width: 700px;
}
@media (max-width: 600px) {
  .hero-section {
    border-radius: 0 0 30px 0;
    padding-bottom: 14px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

.cta-section {
  background: #2B395B;
  color: #fff;
  border-radius: 40px 8px 40px 8px;
  box-shadow: 0 6px 20px rgba(43,57,91,0.07);
  margin-bottom: 60px;
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section .btn-primary {
  margin-top: 6px;
  background: #fff;
  color: #2B395B;
  box-shadow: 0 2px 22px rgba(234,176,73,0.12);
}
.cta-section .btn-primary:hover {
  background: #F4B860;
  color: #2B395B;
}

/* ============== FEATURE GRID & CARDS ============== */
.feature-grid,
.articles-teaser-grid,
.articles-grid,
.service-list,
.service-highlights,
.category-list,
.testimonial-slider,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 18px;
}
.feature-grid li,
.articles-teaser-grid .article-teaser,
.articles-grid article,
.service-list li,
.testimonial-card {
  background: #fff;
  box-shadow: 0 2px 24px rgba(43,57,91,0.08);
  border-radius: 26px 6px 18px 8px;
  padding: 28px 20px 20px 20px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  transition: box-shadow 0.23s, transform 0.13s;
  position: relative;
}
.feature-grid li img,
.articles-teaser-grid .article-teaser img,
.service-highlights li img,
.service-list li img {
  height: 48px;
  width: 48px;
  margin-bottom: 14px;
}
.feature-grid li:hover,
.articles-teaser-grid .article-teaser:hover,
.articles-grid article:hover,
.service-list li:hover {
  box-shadow: 0 8px 28px rgba(43,57,91,0.17);
  transform: translateY(-3px) scale(1.02);
}
.articles-teaser-grid {
  gap: 24px;
}
.article-teaser a,
.articles-grid article a {
  margin-top: 12px;
  color: #F4B860;
  font-weight: bold;
  text-decoration: underline;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  transition: color 0.18s;
}
.article-teaser a:hover,
.articles-grid article a:hover {
  color: #d49113;
  text-decoration: none;
}
@media (max-width: 930px) {
  .feature-grid, .articles-teaser-grid, .articles-grid, .service-list,
  .service-highlights, .category-list, .testimonial-slider, .testimonial-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .feature-grid li,
  .articles-teaser-grid .article-teaser,
  .articles-grid article,
  .service-list li {
    padding: 16px 10px 16px 10px;
    min-width: 0;
  }
}

.service-list li span, .service-highlights li span {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.10rem;
  color: #3c4266;
  padding-left: 8px;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}
.service-highlights li {
  background: #fff9f1;
  border-radius: 18px 8px 18px 8px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex: 1 1 220px;
  box-shadow: 0 1px 7px rgba(244,184,96,0.06);
  font-family: 'Lato', Arial, sans-serif;
}

/* ============= TESTIMONIALS ===================== */
.testimonials-section {
  background: #fff9f1;
  border-radius: 26px 8px 36px 8px;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 18px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px 8px 26px 8px;
  box-shadow: 0 2px 22px rgba(43,57,91,0.09);
  min-width: 230px;
  max-width: 380px;
  transition: box-shadow 0.23s, transform 0.13s;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #2B395B;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card strong {
  color: #2B395B;
  font-size: 1.01rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 0;
}
.testimonial-card:hover {
  box-shadow: 0 7px 34px rgba(43,57,91,0.19);
  transform: translateY(-2px) scale(1.02);
}

.testimonial-slider, .testimonial-grid {
  gap: 24px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 550px) {
  .testimonial-card {
    padding: 13px 6px;
    min-width: 0;
    max-width: 100%;
  }
}

/* ================= CONTENT SECTIONS ================ */
.about-section ul, .faq-list, .contact-details ul, .workshop-list-section ul, .category-list {
  margin-left: 14px;
}
.category-list li {
  display: inline-block;
  padding: 6px 18px;
  margin: 0 10px 8px 0;
  background: #F4B860;
  border-radius: 12px 8px 12px 8px;
  font-weight: bold;
  color: #2B395B;
}
.filter-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 18px;
}
.filter-topics a {
  background: #F4B860;
  color: #2B395B;
  padding: 4px 12px;
  border-radius: 8px 4px 14px 4px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.99rem;
  transition: background 0.16s, color 0.13s;
}
.filter-topics a:hover {
  background: #2B395B;
  color: #F4B860;
}

.faq-list li {
  margin-bottom: 18px;
}
.faq-list strong,
.faq-teaser h4 {
  font-family: 'Merriweather', serif;
  color: #2B395B;
}
.faq-list p {
  color: #3c4266;
}

.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #2B395B;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.contact-details ul img {
  height: 22px;
}

.policy-section {
  background: #fffaef;
  border-radius: 32px 8px 32px 8px;
  margin-bottom: 46px;
  padding: 38px 18px;
}
.policy-section h1 {
  font-size: 2rem;
}
.policy-section li {
  margin-bottom: 10px;
}

/* ========== FOOTER ========== */
footer {
  background: #2B395B;
  color: #fff;
  border-radius: 34px 12px 0 0;
  margin-top: 64px;
  padding-top: 38px;
  box-shadow: 0 -2px 28px rgba(43,57,91,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-logo img {
  height: 32px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.03em;
  font-size: 1.01rem;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #F4B860;
}
.footer-contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 20px;
  filter: brightness(9);
}
.footer-copy {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #f3efd6;
}
@media (max-width:800px) {
  footer .container {
    padding: 0 6px;
    gap: 10px;
  }
  .footer-contact ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* ==================== MISCELLANEOUS ========================== */
.blockquote, .about-section blockquote {
  font-style: italic;
  border-left: 5px solid #F4B860;
  padding-left: 18px;
  margin-left: 0;
  background: #fff6e1;
  border-radius: 0 12px 12px 0;
}

ol {
  list-style: decimal inside;
  color: #3c4266;
  margin-left: 16px;
}
ol li {
  margin-bottom: 12px;
}

/* =============== SPACING FLEXBOX CLASSES ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px 8px 16px 8px;
  box-shadow: 0 2px 13px rgba(43,57,91,0.05);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(244,184,96,0.16);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ BUTTONS & INTERACTIONS ============== */
button, .btn-primary, .filter-topics a {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
}
.btn-primary:focus {
  outline: 2px solid #2B395B;
  outline-offset: 2px;
}

/* =============== COOKIE CONSENT BANNER ================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2B395B;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 9999;
  padding: 22px 40px;
  box-shadow: 0 -2px 28px rgba(43,57,91,0.21);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.4s;
}
.cookie-consent-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-consent-banner button,
.cookie-consent-banner .btn-cookie {
  margin-left: 6px;
  background: #F4B860;
  color: #2B395B;
  font-weight: bold;
  border-radius: 16px 6px 14px 6px;
  padding: 7px 18px;
  border: none;
  font-size: 1rem;
  transition: background 0.18s, color 0.13s, transform 0.14s;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner .btn-cookie:hover {
  background: #fff;
  color: #2B395B;
  transform: scale(1.05);
}
@media (max-width: 620px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    font-size: 0.97rem;
    gap: 14px;
  }
}

/* ================== COOKIE MODAL ================== */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(43,57,91,0.60);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.31s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #2B395B;
  padding: 36px 30px 20px 30px;
  border-radius: 26px 8px 26px 8px;
  width: 94vw;
  max-width: 420px;
  box-shadow: 0 8px 42px rgba(43,57,91,0.29);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: opacity 0.32s, transform 0.29s;
}
.cookie-modal-overlay.active .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1.03);
}
.cookie-modal h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: #2B395B;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: none;
  background: #fff6e1;
  color: #2B395B;
  font-size: 1.66rem;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  transition: background 0.13s;
}
.cookie-modal-close:hover {
  background: #F4B860;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f4b96033;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-switch {
  width: 34px;
  height: 18px;
  border-radius: 10px;
  background: #F4B860;
  position: relative;
  transition: background 0.18s;
}
.cookie-switch[data-checked="true"] {
  background: #2B395B;
}
.cookie-switch::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1.5px;
  box-shadow: 0 0 6px #aaa3;
  transition: left 0.2s, background 0.2s;
}
.cookie-switch[data-checked="true"]::after {
  left: 17px;
  background: #fff6e2;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: #F4B860;
  color: #2B395B;
  font-weight: bold;
  border-radius: 13px 5px 13px 5px;
  border: none;
  padding: 7px 17px;
  font-size: 1rem;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-actions button:hover {
  background: #fff6e1;
  color: #2B395B;
}
.cookie-category[data-essential="true"] .cookie-switch {
  opacity: 0.45;
  pointer-events: none;
}
.cookie-category[data-essential="true"] .cookie-toggle label::after {
  content: ' (necessario)';
  color: #c77713;
  margin-left: 4px;
}

/* ============= THANKYOU / SUCCESS ============= */
.thankyou-section {
  background: #fff9f1;
  border-radius: 42px 8px 26px 8px;
  text-align: center;
  margin-top: 38px;
}
.thankyou-section h1 {
  color: #2B395B;
  margin-bottom: 18px;
}
.thankyou-section p {
  color: #3c4266;
  margin-bottom: 28px;
}
.thankyou-section .btn-primary {
  margin-top: 16px;
}

/* ============= ANIMATIONS / MICROINTERACTIONS ============ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(28px); }
  60% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .hero-section, .features-section, .testimonials-section, .articles-preview-section,
.cta-section, .about-section, .policy-section, .thankyou-section {
  animation: fadeInUp 0.8s cubic-bezier(.7,.4,.4,1);
}

/* ============= SCROLLBAR STYLING ================ */
::-webkit-scrollbar {
  width: 10px;
  background: #fff6e1;
}
::-webkit-scrollbar-thumb {
  background: #F4B860;
  border-radius: 14px;
}

/* =================== RESPONSIVE FINE-TUNING =================== */
@media (max-width: 520px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  p {
    font-size: 0.97rem;
  }
  .content-wrapper {
    gap: 12px;
  }
}

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