/* ======== CSS RESET & NORMALIZATION ======== */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #FAFAFA;
  color: #212944;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

a:focus {
  outline: 2px solid #FFD447;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ======== BRAND COLORS AND FONTS ======== */
:root {
  --primary: #212944;
  --secondary: #FFD447;
  --accent: #FFFFFF;
  --brand-blue: #3752c0;
  --brand-violet: #6739B6;
  --brand-rose: #EC4176;
  --gray-bg: #F5F7FA;
  --gray-light: #EFEFEF;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.17;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--brand-rose);
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--brand-blue);
}

h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  color: var(--brand-violet);
}

h4 {
  font-size: 1.125rem;
  color: var(--primary);
}

p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #353A53;
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 400;
}

strong { font-weight: 700; }

/* ======== LAYOUT CONTAINER & SPACING ======== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(55,82,192,0.04), 0 1.5px 6px 0 rgba(236,65,118,0.05);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--gray-bg);
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(55,82,192,0.08);
  margin-bottom: 20px;
  padding: 28px 22px 22px 22px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(236,65,118,0.18), 0 2px 8px 0 rgba(55,82,192,0.08);
  transform: translateY(-5px) scale(1.012);
  z-index: 3;
}

.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;
  background: var(--secondary);
  color: #212944;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(55,82,192,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 480px;
}
.testimonial-card p {
  font-size: 1.12rem;
  line-height: 1.5;
  color: #212944;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #2a2245;
  font-weight: 500;
}

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

/* ====== HERO SECTION (ARTISTIC, VIBRANT) ====== */
.hero {
  background: linear-gradient(110deg, #FFD447 0%, #EC4176 50%, #3752C0 100%);
  background-size: 300% 300%;
  animation: hero-gradient-move 18s ease-in-out infinite;
  padding-top: 74px;
  padding-bottom: 70px;
  border-radius: 0 0 48px 48px;
  color: #fff;
  margin-bottom: 48px;
  position: relative;
}
@keyframes hero-gradient-move {
    0% { background-position: 0% 50%; }
   50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero h1, .hero h2, .hero .subheadline { color: #fff; text-shadow: 0 4px 28px #21294499; }
.hero .btn-primary { background: var(--accent); color: var(--primary); border-radius: 80px; }
.hero .btn-primary:hover { background: var(--secondary); color: #212944; }

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border: none;
  border-radius: 32px;
  padding: 13px 38px;
  margin: 14px 0 4px 0;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px 0 rgba(67,63,116,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.25s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-rose);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(236,65,118,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* Utility */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }

/* ======== NAVIGATION ======== */
.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: var(--primary);
  padding: 7px 0 7px 0;
  border-radius: 14px;
  font-size: 1.06rem;
  transition: color 0.2s, background 0.18s;
  position: relative;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  color: var(--brand-rose);
  background: #fff6e0;
}
.main-nav .btn-primary {
  margin-left: 14px;
}

/* Hamburger (Mobile) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--brand-rose);
  background: var(--accent);
  border-radius: 14px;
  padding: 4px 12px;
  z-index: 11;
  align-self: flex-end;
  border: 1.5px solid #fff1a1;
  box-shadow: 0 2px 10px #ffd44714;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ======== MOBILE MENU ======== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  background: #212944ee;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.78,.13,.37,1.08);
  z-index: 1200;
  padding: 48px 0 0 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: var(--brand-rose);
  border-radius: 50%;
  padding: 0 10px;
  align-self: flex-end;
  margin: 0 20px 32px 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 1201;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: #212944;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 32px 30px 0 36px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.5rem;
  padding: 14px 0 7px 3px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 10px;
  transition: color 0.19s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #333052;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    font-size: 1rem;
  }
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ====== SECTION STYLES ====== */
.features {
  background: var(--gray-bg);
  border-radius: 36px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features h2 { margin-bottom: 28px; color: var(--brand-blue); }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-grid li {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 6px 0 #FFD44711;
  padding: 30px 21px 20px 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px 0 #ec417615, 0 1.5px 6px 0 #FFD44722;
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  justify-content: space-between;
}
.service-card {
  background: #f7f1fc;
  border-radius: 26px;
  box-shadow: 0 3px 18px 0 #6739B60c;
  flex: 1 1 266px;
  min-width: 210px;
  max-width: 350px;
  margin-bottom: 20px;
  padding: 32px 20px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  border-left: 7px solid var(--brand-rose);
  transition: box-shadow 0.21s, border .19s;
}
.service-card:hover {
  box-shadow: 0 6px 24px 0 #3752C036;
  border-left: 7px solid var(--brand-blue);
  transform: translateY(-2px) scale(1.012);
}

.category-filters, .sort-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.category-filters span, .sort-filters span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-violet);
  margin-right: 8px;
}
.category-filters button, .sort-filters button {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid var(--secondary);
  color: var(--brand-violet);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 7px 17px;
  font-size: 0.97rem;
  margin-bottom: 5px;
  transition: background .22s,color .17s,border .19s;
}
.category-filters button:hover, .category-filters button:focus,
.sort-filters button:hover, .sort-filters button:focus {
  background: var(--brand-rose);
  color: #fff;
  border-color: var(--brand-rose);
}

.news-teasers, .rankings-teasers, .reports-teasers, .award-event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.news-teasers article, .rankings-teasers article, .reports-teasers article,
.award-event-list article {
  flex: 1 1 290px;
  min-width: 210px;
  max-width: 440px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 8px 0 #FFD4470A;
  padding: 25px 19px 21px 21px;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-violet);
  transition: box-shadow 0.19s, transform 0.16s, border 0.16s;
}
.news-teasers article:hover, .rankings-teasers article:hover, .reports-teasers article:hover, .award-event-list article:hover {
  box-shadow: 0 8px 34px 0 #3752c018, 0 1.5px 8px 0 #FFD44733;
  transform: translateY(-3.5px) scale(1.015);
  border-left: 5px solid var(--brand-rose);
}
.news-teasers h3, .rankings-teasers h3, .reports-teasers h3, .award-event-list h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-teasers p, .rankings-teasers p, .reports-teasers p, .award-event-list p {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.tags {
  display: flex;
  gap: 8px;
  margin-top: 3px;
}
.tags span {
  display: inline-block;
  background: var(--brand-rose);
  color: #fff;
  font-size: 0.875rem;
  border-radius: 9px;
  padding: 3px 10px;
  font-weight: 500;
}

ul.festival-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
ul.festival-list li strong {
  color: var(--brand-blue);
}

.analysis-snippets {
  background: #fff8e4;
  padding: 18px 24px;
  border-radius: 18px;
  color: var(--brand-violet);
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px 0 #FFD44713;
}

.cta {
  background: linear-gradient(92deg, #FFD447 0%, #3752C0 100%);
  color: #fff;
  border-radius: 34px;
  margin-bottom: 50px;
  padding: 42px 21px;
  text-align: center;
  position: relative;
  box-shadow: 0 3px 32px 0 rgba(236,65,118,0.09);
}
.cta h2, .cta p { color: #fff; text-shadow: 0 2px 8px #2a224533; }
.cta .btn-primary {
  background: #fff;
  color: var(--brand-rose);
  font-weight: 900;
  font-size: 1.09rem;
}
.cta .btn-primary:hover {
  background: var(--brand-rose);
  color: #fff;
}

/* Testimonials Section */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

/* About/features lists */
.features ul, .legal ul, .about ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.features ul li,
.about ul li, .legal ul li {
  position: relative;
  padding-left: 32px;
  font-size: 1.025rem;
}
.features ul li:before, .about ul li:before, .legal ul li:before {
  content: "\2022";
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 1.45em;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Contact lists */
.contact-list, .contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-list li, .contact-info ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.06rem;
  color: var(--primary);
}
.contact-list a, .contact-info ul a {
  color: var(--brand-rose);
  font-weight: bold;
  transition: color 0.2s;
}
.contact-list a:hover, .contact-info ul a:hover { color: var(--brand-blue); }

.address-map, .office-hours {
  background: var(--gray-bg);
  border-radius: 13px;
  padding: 11px 14px;
  margin-bottom: 8px;
  font-size: 0.97rem;
}

/* ======= FOOTER ======= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 16px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 14px 0 #21294410;
  margin-top: 68px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.footer-menu a {
  color: #FFD447;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  gap: 8px;
  font-size: 0.97rem;
  margin-top: 14px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 20px 0 10px 0;
  justify-content: center;
}
.social-links a {
  border-radius: 50%;
  background: #2a2245;
  padding: 10px;
  transition: background 0.2s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--secondary);
}

footer .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  color: #fff;
  margin-bottom: 12px;
}
footer .contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.96rem;
}
footer .contact-info img {
  width: 19px;
  height: 19px;
  opacity: 0.75;
}

/* ===== LEGAL PAGES ===== */
.legal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 14px 0 #21294411;
  margin-bottom: 48px;
  padding: 42px 18px;
}
.legal h1 {
  color: var(--brand-rose);
  margin-bottom: 16px;
}
.legal ul {
  margin-top: 18px;
}

/* ===== THANK-YOU PAGE ===== */
.thank-you {
  background: linear-gradient(120deg, #FFD447 10%, #EC4176 100%);
  border-radius: 34px;
  color: #fff;
  padding: 50px 28px;
  text-align: center;
  box-shadow: 0 6px 36px 0 rgba(55,82,192,0.11);
  margin-bottom: 44px;
}
.thank-you h1 { color: #fff; }
.thank-you a.btn-primary {
  background: #fff;
  color: var(--brand-rose);
  margin-top: 24px;
}
.thank-you a.btn-primary:hover {
  background: var(--brand-rose);
  color: #fff;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF9DE;
  color: #212944;
  padding: 20px 24px 17px 18px;
  box-shadow: 0 -2px 18px 0 #FFD44733;
  border-radius: 22px 22px 0 0;
  z-index: 2222;
  animation: cookie-slidein 0.45s cubic-bezier(.71,-0.15,.29,1.23);
}
@keyframes cookie-slidein {
  from { transform: translateY(100px); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #212944;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  font-size: 0.98rem;
  border-radius: 19px;
  border: none;
  background: var(--secondary);
  color: #212944;
  box-shadow: 0 1.2px 5px #ffd44713;
  transition: background 0.18s, color .18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-rose);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--brand-violet);
  border: 1.3px solid var(--brand-violet);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--brand-violet);
  color: #fff;
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 3333;
  left:0; top:0;
  width: 100vw; height: 100vh;
  background: #212944c7;
  backdrop-filter: blur(3.5px);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 22px 0 #FFD44733;
  max-width: 420px;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-modal-appear 0.37s cubic-bezier(.71,-0.15,.29,1.2);
  position: relative;
}
@keyframes cookie-modal-appear {
  from { transform: translateY(30px) scale(.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 { color: var(--brand-violet); margin-bottom: 4px; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  margin: 5px 0 8px 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-modal .modal-actions {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .switch {
  width: 36px; height: 20px;
  position: relative; display: inline-block;
}
.cookie-modal .switch input { opacity: 0; width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top:0; left:0; right:0; bottom:0;
  background: #FFD447;
  border-radius: 14px;
  transition: background .2s;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--brand-blue);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  border-radius: 50%; background: #fff;
  transition: transform .19s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 9px;
  font-size: 1.35rem;
  color: #6971cf;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #ec4176;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .feature-grid,
  .service-cards,
  .card-container {
    gap: 18px;
  }
}

@media (max-width: 992px) {
  .service-cards,
  .card-container,
  .content-grid,
  .feature-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 160px;
    flex: 1 1 280px;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
    border-radius: 17px;
  }

  .hero {
    border-radius: 0 0 24px 24px;
    padding-top: 36px;
    padding-bottom: 32px;
    margin-bottom: 22px;
  }
  .features, .cta, .thank-you {
    border-radius: 17px;
    padding: 20px 6px;
    margin-bottom: 26px;
  }
  .service-card, .news-teasers article, .rankings-teasers article, .reports-teasers article, .award-event-list article {
    padding: 17px 9px 14px 11px;
    min-width: 130px;
    max-width: 99vw;
  }
  .feature-grid, .service-cards, .card-container, .content-grid,
  .news-teasers, .rankings-teasers, .reports-teasers, .award-event-list {
    gap: 8px;
  }

  .content-wrapper, .footer-menu, .testimonials .content-wrapper {
    gap: 14px;
  }

  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px 9px;
    min-width: 130px;
    max-width: 98vw;
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px 8px 11px 8px;
    font-size: 0.97rem;
  }
}

@media (max-width: 540px) {
  html { font-size: 14px; }
  .container { padding: 0 4px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.07rem; }
  .footer-menu, .social-links { gap: 7px; }
}

/* Hide scrollbars for cookie modal and mobile menu */
.mobile-menu,
.cookie-modal-backdrop {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal-backdrop::-webkit-scrollbar {
  display: none;
}

/* ========== MICRO-INTERACTIONS & EFFECTS ========== */
.card, .news-teasers article, .service-card, .feature-grid li, .testimonial-card, .btn-primary {
  transition: box-shadow .22s, transform .17s, border .18s, background .21s, color .17s;
}

/* ========== ACCESSIBLE FOCUS STYLES ========== */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid var(--brand-rose);
  outline-offset: 2.5px;
  z-index: 3;
}

/* ================ SPECIALS ================ */
::-webkit-selection {
  background: #FFD447;
  color: #212944;
}
::selection {
  background: #FFD447;
  color: #212944;
}

/* ====== NO GRID! ONLY FLEXBOX - VERIFY END ====== */
