/* RESET & BASE ------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fefefe;
  color: #21243a;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #275779;
  text-decoration: none;
  transition: color 0.18s;
  outline: none;
}
a:hover, a:focus {
  color: #a5d1e1;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin: 12px 0;
}
li { margin-bottom: 6px; }

/* FONTS -------------------------------------------------------------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  src: local('Oswald'), url('https://fonts.gstatic.com/s/oswald/v36/TK3iWkUHHAIjg752FD8Gl-1PK62l.ttf') format('truetype');
}
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', Arial, Verdana, sans-serif;
  margin-bottom: 8px;
  font-weight: 700;
  word-break: break-word;
}
h1 {
  font-size: 2.7rem;
  color: #21243a;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 2rem;
  color: #21243a;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  color: #21243a;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.84em;
}

/* CONTAINER & WRAPPERS ----------------------------------------------- */
.container {
  max-width: 1120px;
  padding: 0 22px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ARTISTIC STYLE COLORS ---------------------------------------------- */
:root {
  --primary: #21243a;
  --secondary: #a5d1e1;
  --accent: #fefefe;
  --brandYellow: #fff175;
  --brandMagenta: #ea2f5c;
  --brandAqua: #00ceb5;
  --shadow: rgba(33,36,58,0.10);
}

/* BLOCK SECTIONS ----------------------------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 18px var(--shadow);
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding: 26px 24px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px var(--shadow);
  transform: translateY(-2px) scale(1.015);
}
.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;
  margin-bottom: 24px;
  padding: 20px 28px;
  background: #f6fcff;
  border-left: 6px solid var(--brandMagenta);
  border-radius: 18px 0 0 18px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px var(--shadow);
  border-color: var(--brandAqua);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX LAYOUTS SPECIFIC TO CONTENT ----------------------------------- */
.feature-grid, .review-snippets, .team-member-bios, .review-cards, .news-snippets, .ranking-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 0 0;
}
.team-member-bios > div, .feature-grid > div, .review-snippets > div, .review-cards > div, .news-snippets > div, .ranking-tiles > div {
  flex: 1 1 270px;
  background: #fefefe;
  border-radius: 18px;
  box-shadow: 0 2px 10px #E7ECEF33;
  padding: 25px 18px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.team-member-bios > div:hover, .feature-grid > div:hover, .review-snippets > div:hover, .review-cards > div:hover, .news-snippets > div:hover, .ranking-tiles > div:hover {
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-2px) scale(1.025);
}

/* HERO & CTA -------------------------------------------------------- */
.hero, .about-hero, .contact-hero, .thank-you-message {
  background: linear-gradient(112deg, var(--brandAqua) 0%, var(--secondary) 72%, #fefefe 100%);
  color: #21243a;
  border-radius: 0 0 58px 0;
  min-height: 260px;
  box-shadow: 0 8px 24px #7ecfc933;
}
.hero h1, .about-hero h1, .contact-hero h1, .thank-you-message h1 {
  font-family: 'Oswald', Arial Black, Arial, sans-serif;
  font-size: 2.7rem;
  color: var(--brandMagenta);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  text-shadow: 1px 1px 0 #fff8,0 2px 8px #ffffffd8;
}
.hero p, .about-hero p, .contact-hero p, .thank-you-message p {
  font-size: 1.1rem;
  color: #21243a;
}

.newsletter, .cta-newsletter {
  background: var(--brandYellow);
  border-radius: 28px;
  box-shadow: 0 2px 12px #f4e69766;
  margin-bottom: 42px;
}
.newsletter h2, .cta-newsletter h2 {
  color: #ea2f5c;
  font-size: 2rem;
}

.callout {
  background: var(--brandAqua);
  border-radius: 23px 50px 13px 13px;
  color: #21243a;
  margin-bottom: 50px;
  box-shadow: 0 2px 14px #98e5d183;
}
.callout h2 {
  color: #ea2f5c;
}

/* BUTTONS & CTA ----------------------------------------------------- */
.cta-main, .btn, .mobile-menu-close, .cookie-banner__button {
  background: linear-gradient(88deg, var(--brandMagenta) 85%, var(--brandAqua) 100%);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  border-radius: 23px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 34px;
  margin-top: 20px;
  box-shadow: 0 2px 10px var(--shadow);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  outline: none;
  transition: box-shadow 0.15s, background 0.15s, color 0.15s, transform 0.15s;
  display: inline-block;
  min-width: 120px;
}
.cta-main:hover, .btn:hover, .mobile-menu-close:hover, .cookie-banner__button:hover, .cta-main:focus, .btn:focus {
  background: linear-gradient(102deg, var(--brandAqua) 18%, var(--brandMagenta) 80%);
  color: #fff175;
  box-shadow: 0 2px 22px #e6eef077;
  transform: translateY(-2px) scale(1.04);
}

/* SECONDARY BUTTONS */
.btn-secondary, .cookie-banner__secondary {
  background: #fefefe;
  border: 2px solid var(--brandMagenta);
  color: var(--brandMagenta);
  box-shadow: 0 2px 8px rgba(234,47,92,0.06);
  font-size: 1.02rem;
  margin-right: 12px;
}
.btn-secondary:hover, .btn-secondary:focus, .cookie-banner__secondary:hover {
  border-color: var(--brandAqua);
  color: var(--brandAqua);
  background: #fff3;
}

.cookie-banner__settings {
  background: white;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  border: none;
  box-shadow: none;
  margin-left: 9px;
  font-size: 1rem;
}
.cookie-banner__settings:hover {
  color: var(--brandAqua);
  text-decoration: underline;
}

/* NAVIGATION -------------------------------------------------------- */
.main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 26px;
  padding: 28px 22px 12px 22px;
  background: #21243a;
  border-radius: 0 0 20px 0;
}
.main-navigation a {
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 6px 10px;
  letter-spacing: 0.5px;
  border-radius: 14px;
  transition: background 0.16s,color 0.18s;
  font-weight: 500;
}
.main-navigation a.cta-main {
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--brandMagenta) 80%, var(--brandAqua) 100%);
  color: #fff175 !important;
  padding: 9px 22px;
  border-radius: 19px;
  margin-left: 30px;
  box-shadow: 0 2px 12px #ea2f5c1a;
}
.main-navigation a.cta-main:hover {
  background: var(--brandAqua);
  color: var(--brandMagenta)!important;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #a5d1e144;
  color: var(--brandYellow);
}
.main-navigation img {
  height: 42px;
  margin-right: 20px;
}

/* MOBILE MENU ------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--brandAqua);
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 17px;
  position: absolute;
  right: 25px;
  top: 22px;
  width: 50px;
  height: 50px;
  z-index: 222;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 12px #a5d1e177;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff175;
  color: var(--brandMagenta);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #21243af4;
  z-index: 2000;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 30px;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.45);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brandMagenta);
  color: #fff;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  border-radius: 64px;
  padding: 7px 17px;
  margin-bottom: 12px;
  margin-top: 2px;
  cursor: pointer;
  z-index: 2100;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 14px #ea2f5c65;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff175;
  color: var(--brandMagenta);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 18px;
  width: 90vw;
  max-width: 400px;
}
.mobile-nav a {
  color: var(--brandAqua);
  font-size: 1.35rem;
  padding: 8px 0;
  font-family: 'Oswald', Arial;
  border-radius: 8px;
  transition: background 0.16s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #a5d1e140;
  color: #fff175;
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: #21243a;
  color: #fefefe;
  padding: 32px 0 20px 0;
  border-radius: 30px 0 0 0;
  margin-top: 44px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: var(--brandAqua);
  font-size: 1.05rem;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 7px 0;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color:#fff175;
  text-decoration: underline;
}
.footer-contact {
  text-align: center;
  color: #a5d1e1;
  margin-bottom: 8px;
  font-size: 0.94rem;
}
footer p {
  text-align: center;
  color: #fefefe;
  margin-top: 8px;
  font-size: 0.98rem;
}

/* FORMS & LISTS ------------------------------------------------------ */
input, textarea, select {
  font-family: 'Roboto', Arial;
  font-size: 1rem;
  border: 2px solid #a5d1e1;
  border-radius: 13px;
  padding: 9px 12px;
  margin-bottom: 14px;
  width: 100%;
  background: #fff;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brandMagenta);
  box-shadow: 0 3px 11px #ea2f5c22;
  outline: none;
}

ul, ol {
  margin-bottom: 16px;
}

/* LEGAL CONTENT ------------------------------------------------------ */
.legal-content {
  background: #f6fcff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #a5d1e144;
}
.legal-content h1, .legal-content h2 {
  color: #ea2f5c;
}

/* PAGE TYPOGRAPHY HIERARCHY & SPACING ------------------------------- */
.section h2, .callout h2, .newsletter h2, .cta-newsletter h2 {
  font-size: 2rem;
  margin-bottom: 11px;
  color: var(--brandMagenta);
  letter-spacing: -0.7px;
  font-family: 'Oswald',Arial Black, Arial, sans-serif;
}
.section p, .callout p, .newsletter p, .cta-newsletter p {
  font-size: 1.09rem;
  color: #21243a;
}

/* SPACING & ALIGNMENT (MANDATORY PATTERNS) -------------------------- */
.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; }

/* DECORATIVE - ARTISTIC ELEMENTS ------------------------------------- */
.hero:after, .callout:after, .newsletter:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 90px 110px 46px 44px / 50px 90px 100px 44px;
  background: #fff17533;
  pointer-events: none;
  z-index: 1;
  width: 110px; height: 110px;
  right: 42px; bottom: 20px;
  box-shadow: 0 6px 32px #ea2f5c22;
}
.newsletter:before {
  left: 18px;
  top: 8px;
  width: 92px; height: 92px;
  background: #ea2f5c21;
}

/* TESTIMONIALS ------------------------------------------------------ */
.testimonials .testimonial-card {
  background: #fefefe;
  color: #21243a;
  border-left: 6px solid var(--brandAqua);
  box-shadow: 0 3px 18px #d5f7f161;
  margin-bottom: 26px;
}
.testimonials .testimonial-card p {
  margin-bottom: 0;
}

/* SEARCH FILTER ----------------------------------------------------- */
.search-filter {
  background: #fffdfa;
  border-left: 7px solid var(--brandAqua);
  border-radius: 13px 26px 13px 13px;
  box-shadow: 0 2px 9px #d9f2ee40;
  margin-bottom: 48px;
  margin-top: 24px;
}
.search-filter ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  margin-top: 7px;
}
.search-filter li {
  background: #f6fcff;
  border-radius: 7px;
  padding: 7px 14px;
  color: #21243a;
  font-weight: 500;
  margin-bottom: 0;
  border: 1px solid #00ceb522;
  font-size: 1.06rem;
}

/* RANKING FILTER ---------------------------------------------------- */
.filter-by-genre {
  margin-top: 18px;
  background: #fffdfa;
  padding: 13px 22px;
  border-radius: 13px;
  color: #ea2f5c;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  box-shadow: 0 2px 12px #a5d1e12a;
}

/* CONTACT DETAILS --------------------------------------------------- */
.contact-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
}
.contact-details img {
  width: 28px;
  height: 28px;
}

/* RESPONSIVE DESIGN ------------------------------------------------- */
@media (max-width: 1050px){
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .main-navigation { font-size: 0.96rem; }
  .feature-grid > div, .team-member-bios > div {
    min-width: 200px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero, .about-hero, .contact-hero, .thank-you-message {
    border-radius: 0 0 38px 0;
    min-height: 160px;
    padding: 25px 10px 35px 10px;
  }
  .feature-grid, .review-snippets, .team-member-bios, .review-cards, .news-snippets, .ranking-tiles {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid { flex-direction: column; }
  .newsletter, .cta-newsletter, .callout {
    border-radius: 19px;
    margin-bottom: 18px;
  }
  section, .section {
    padding: 23px 3vw;
  }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.22rem; }
}
@media (max-width: 530px) {
  .team-member-bios > div, .feature-grid > div, .review-snippets > div, .review-cards > div, .news-snippets > div, .ranking-tiles > div {
    min-width: 90px;
    padding: 18px 8px;
  }
  .footer-contact, footer p {
    font-size: 0.82rem;
    padding: 0 2vw;
  }
}
@media (max-width: 400px) {
  html { font-size: 15px; }
  .mobile-menu { padding: 22px 5vw; }
}

/* ANIMATIONS & TRANSITIONS ------------------------------------------ */
.card, .testimonial-card, .feature-grid > div, .team-member-bios > div {
  transition: box-shadow 0.16s, transform 0.17s;
}
.cta-main, .btn, .mobile-menu-close, .cookie-banner__button, .btn-secondary {
  transition: background 0.16s, box-shadow 0.17s, color 0.16s, transform 0.14s;
}
.mobile-menu {
  transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.45), background 0.18s;
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------------- */
.cookie-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #21243a;
  color: #fffefa;
  padding: 22px 18px;
  z-index: 4100;
  box-shadow: 0 -3px 20px #21243a72;
  font-size: 1.06rem;
  border-radius: 32px 32px 0 0;
  opacity: 0.97;
  transition: transform 0.33s cubic-bezier(.59,-0.1,.44,1.16), opacity 0.18s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 22px;
}

/* Cookie modal popup */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,36,58,0.26);
  z-index: 4200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fffdfa;
  color: #21243a;
  border-radius: 20px 20px 0 0;
  max-width: 420px;
  width: 94vw;
  padding: 34px 24px 22px 24px;
  box-shadow: 0 0 50px #21243a23;
  z-index: 4300;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: slideupModal 0.36s cubic-bezier(.77,-0.02,.37,.86);
}
@keyframes slideupModal {
  from {transform: translateY(160px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__header h3 {
  color: #ea2f5c;
  font-size: 1.32rem;
  margin-bottom: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #21243a;
  opacity: 0.62;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.19s;
}
.cookie-modal__close:hover { color: #ea2f5c; opacity: 1; }
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5px;
  margin-bottom: 7px;
  border-bottom: 1px solid #a5d1e133;
}
.cookie-modal__category-label {
  font-weight: 500;
  font-size: 1.06rem;
}
.cookie-modal__toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #a5d1e1;
  border-radius: 18px;
  display: inline-block;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
  vertical-align: middle;
}
.cookie-modal__toggle:checked {
  background: #00ceb5;
}
.cookie-modal__toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fffdfa;
  border-radius: 14px;
  transition: left 0.16s;
  box-shadow: 0 1px 4px #21243a33;
}
.cookie-modal__toggle:checked:before {
  left: 19px;
}
.cookie-modal__info {
  font-size: 0.97rem;
  color: #525471;
  padding-bottom: 7px;
}

/* ENSURE BUTTONS ARE NOT SQUISHED ON SMALL MOBILE */
@media (max-width: 430px) {
  .cookie-banner {
    font-size: 0.98rem;
    flex-direction: column;
    gap: 11px;
    padding: 14px 7px;
    align-items: flex-start;
  }
  .cookie-banner__buttons {
    margin-left: 0;
    gap: 6px; 
  }
  .cookie-modal {
    padding: 22px 7px 10px 10px;
    font-size: 0.97rem;
    max-width: 99vw;
  }
}

/* ARTISTIC FLAIR: ACCENT LINES + DECOS ------------------------------ */
h2:after, h3:after {
  content: '';
  display: block;
  width: 38px;
  height: 5px;
  margin-top: 6px;
  border-radius: 3px;
  background: linear-gradient(88deg, var(--brandMagenta) 60%, var(--brandAqua) 100%);
}

/* ACCESSIBILITY: FOCUS VISIBLE OUTLINE ------------------------------ */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brandAqua);
  outline-offset: 2px;
}

/* EXTRAS ------------------------------------------------------------ */
::-webkit-scrollbar {
  width: 9px;
  background: #f6fcff;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #a5d1e1;
  border-radius: 8px;
}

/* Prevent content overlap */
main {
  min-height: 60vh;
  margin-bottom: 60px;
}

/* Hide visually for screen readers only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
