/* ==========================================================================
   CSS 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, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #121533;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==========================================================================
   ROOT VARIABLES & UTILITIES
   ========================================================================== */
:root {
  --color-primary: #191970;
  --color-primary-dark: #111351;
  --color-secondary: #38FFD2;
  --color-secondary-dark: #25c9a4;
  --color-accent: #FAFAFA;
  --color-text: #131A23;
  --color-bg: #181947;
  --color-card: #222463;
  --color-border: #38FFD2;
  --color-shadow: rgba(32,36,85,0.13);
  --color-white: #fff;

  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-md: 0 2px 10px var(--color-shadow);
  --shadow-lg: 0 6px 32px var(--color-shadow);
  --transition: 0.22s cubic-bezier(.6,.2,.32,1);
}

/* Fallbacks for custom properties if needed */
body { background: #121533; color: #131A23; }

/* ==========================================================================
   BASE TYPOGRAPHY
   ========================================================================== */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #191970 0%, #2c254d 55%, #232959 100%);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.09rem; margin-bottom: 9px; }

p, ul, ol, li {
  font-size: 1rem;
  color: var(--color-accent);
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.06rem; }
}

strong, b {
  font-weight: 700; color: var(--color-secondary);
}

/* ==========================================================================
   LINKS & BUTTONS
   ========================================================================== */
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: #1ff1bb;
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-secondary) 0%, #11e4bb 100%);
  color: var(--color-primary);
  font-family: var(--font-display);
  border: none;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: .02em;
  padding: 14px 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-top: 14px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #25c9a4 0%, #38FFD2 100%);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.03);
}

button, input[type="button"], input[type="submit"], .btn {
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.btn:hover, .btn:focus {
  background: var(--color-secondary-dark);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  transform: scale(1.04) translateY(-1px);
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
  transform: scale(1.022);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #f0f8ff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  max-width: 500px;
  width: 100%;
  border: 1px solid #dae9ed;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD & POST GRIDs (Blog, Rankingi)
   ========================================================================== */
.review-card-grid, .feature-grid, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.review-card, .feature-grid > div, .post-grid > article {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 26px 20px 22px 20px;
  flex: 1 1 300px;
  min-width: 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover, .feature-grid > div:hover, .post-grid > article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.02);
  z-index: 2;
}

.post-grid > article {
  min-width: 280px;
}

/* HERO SECTION
   ========================================================================== */
.hero {
  padding: 60px 0 36px 0;
  background: linear-gradient(105deg, var(--color-primary) 60%, var(--color-bg) 115%);
  color: var(--color-accent);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1, .hero h2, .hero p {
  color: var(--color-white);
}
.hero .btn-primary {margin-top: 26px;}
.category-tags, .category-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 15px;
}
.category-tags span {
  background: #222463;
  color: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 5px 16px;
  font-size: 0.97rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.category-selector select {
  margin-left: 12px; min-width: 124px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid #36e7be;
  padding: 5px 16px;
  background: #262a67; color: var(--color-accent);
}

/* FILTERS & SORTING
   ========================================================================== */
.filters, .sort-options {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}
.filters select, .sort-options select {
  min-width: 100px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-secondary);
  background: #121947;
  color: var(--color-white);
  padding: 6px 16px;
  transition: border-color var(--transition);
}
.filters select:focus, .sort-options select:focus {
  border-color: #1ff1bb;
}

/* TAGS for POSTS & HIGHLIGHTS
   ========================================================================== */
.category-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 3px 13px;
  margin-bottom: 9px;
  font-family: var(--font-display);
}
.tags span {
  display: inline-block;
  background: #fff6;
  color: var(--color-secondary);
  margin-right: 7px;
  padding: 2px 12px;
  border-radius: 13px;
  font-size: .92rem;
  font-family: var(--font-body);
}

/* MICROINTERACTIONS & RATING STARS
   ========================================================================== */
.rating-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}
.rating-stars img {
  width: 22px; height: 22px; object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(56,255,210,0.07));
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 10px rgba(17,19,112,0.06);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  padding: 12px 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header img[alt="Neonowe Horyzonty"] { height: 44px; margin-right: 18px; }

/* MOBILE MENU
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.16rem;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 16px;
  outline: none;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #fff;
  transform: scale(1.15) rotate(7deg);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(115deg, #191970 60%, #181947 120%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.8,.3,.3,1);
  box-shadow: 0 6px 32px rgba(32,36,85,0.26);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.18rem;
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 5;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: rotate(90deg) scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 80px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.24rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 16px 0;
  width: 100vw;
  text-align: center;
  letter-spacing: 0.07em;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-primary);
  background: var(--color-secondary);
}

@media (max-width: 1000px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* ==========================================================================
   TABLES & RANKINGS
   ========================================================================== */
.ranking-table {
  width: 100%;
  background: #222463;
  color: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.ranking-table th, .ranking-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #2ee5cc;
}
.ranking-table th {
  background: #232959;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.09rem;
}
.ranking-table tbody tr {
  transition: background var(--transition);
}
.ranking-table tbody tr:hover {
  background: #232959;
}
.ranking-table .highlighted {
  background: #26ebe1;
  color: var(--color-primary);
  font-weight: bold;
}

/* PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  gap: 14px;
  margin: 34px 0 0 0;
  align-items: center;
}
.pagination a, .pagination span {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 38px; height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 1.11rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(32,36,85,0.11);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-bottom: 20px;
  cursor: pointer;
}
.pagination a:hover, .pagination a:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: scale(1.11);
}
.pagination span { background: #191970; color: #38FFD2; pointer-events: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #181947;
  color: var(--color-accent);
  padding: 34px 0 18px 0;
  border-top: 6px solid var(--color-primary);
  font-size: .98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .brand-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  max-width: 290px;
}
footer .brand-info img { height: 42px; margin-bottom: 8px; }
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 9px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 0;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer .contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer .contact-details li {
   color: var(--color-accent);
   font-size: .96rem;
   display: flex; align-items: center; gap: 11px;
}
footer .contact-details li img { width: 20px; height: 20px; opacity: 0.88; }
footer .social-links {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232959;
  border-radius: 50%;
  width: 40px; height: 40px;
  transition: background var(--transition), transform var(--transition);
}
footer .social-links a:hover, footer .social-links a:focus {
  background: var(--color-secondary);
  transform: scale(1.12) rotate(-8deg);
}
footer .social-links img { width: 24px; height: 24px; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
nav[aria-label="breadcrumb"]{
  margin-bottom: 14px;
}
nav[aria-label="breadcrumb"] ol {
  display: flex;
  gap: 7px;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: .96rem;
  opacity: .88;
}
nav[aria-label="breadcrumb"] li + li:before {
  content: "/";
  margin: 0 .6em;
  color: var(--color-secondary);
}
nav[aria-label="breadcrumb"] a {
  color: var(--color-secondary);
}

/* ==========================================================================
   Misc Elements (Search, About, Contact, Policies)
   ========================================================================== */
.search-bar {
  display: flex;
  width: 100%;
}
.search-bar input {
  flex: 1 1 0%;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1.6px solid var(--color-secondary);
  font-size: 1rem;
  background: #181947;
  color: var(--color-accent);
  outline: none;
  transition: border-color var(--transition);
}
.search-bar input:focus {
  border-color: #1ff1bb;
}

.text-section, .team-short-bios, .brand-mission, .brand-values, .service-list, .expertise-list, .audience-benefits, .about-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.text-section ul, .about-contact ul { padding-left: 18px; }
.text-section li, .about-contact li { margin-bottom: 7px; }

.confirmation, .policy, .contact, .about {
  padding: 40px 0 0 0;
  background: none;
  color: var(--color-accent);
}
.confirmation .thank-you-message {
  background: #38FFD2;
  color: #191970;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 1.13rem;
}

/* HIGHLIGHTS & CTA
   ========================================================================== */
.highlights {
  background: #222463;
  box-shadow: 0 2px 12px rgba(32,36,85,0.14);
  border-radius: var(--radius-lg);
  margin-bottom: 34px;
  padding: 40px 0;
}
.highlights h2 { color: var(--color-secondary); }
.highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.highlights li {
  background: #262a67;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  min-width: 230px;
  max-width: 380px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-secondary);
}
.highlights li h3 { color: var(--color-accent); }
.highlights li a {
  font-weight: 700;
  color: var(--color-secondary);
}

.cta {
  background: linear-gradient(100deg, var(--color-secondary) 6%, #191970 90%);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 46px 0;
  margin-bottom: 34px;
}
.cta h2 { color: var(--color-primary); }
.cta p { color: var(--color-primary-dark); }
.cta .btn-primary { margin-top: 17px; }

/* TESTIMONIALS (DARK TEXT on LIGHT BG)
   ========================================================================== */
.testimonials {
  padding: 40px 0;
}
.testimonials .testimonial-card {
  color: #131A23;
  background: #fff;
  border: 1px solid #38FFD2;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.testimonials .testimonial-card p {
  color: #191970;
  font-size: 1.07rem;
}
.testimonials .testimonial-card span {
  font-weight: 600;
  color: #101940;
  margin-bottom: 4px;
  font-size: .98rem;
}
.testimonials .testimonial-card .rating-stars img { filter: drop-shadow(0 1px 8px #d2fdea70); }

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #191970;
  color: #FAFAFA;
  padding: 22px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 18px;
  font-size: 1rem;
  box-shadow: 0 -3px 18px rgba(32,36,85,0.18);
  animation: fadeInCookie 0.75s;
}
@keyframes fadeInCookie { 0%{ opacity:0; transform:translateY(60px);} 100%{opacity:1;transform:translateY(0);} }
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: #11e4bb; }
.cookie-banner .settings {
  background: none;
  color: var(--color-secondary);
  border: 1.1px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  border-color: #fff;
  color: #fff;
  background: none;
}
.cookie-banner .reject {
  background: #444;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #111351;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,23,32,0.78);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.4s;
}
@keyframes fadeInCookieModal { 0%{ opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: #fff;
  color: #131A23;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 38px rgba(32,36,85,0.20);
  padding: 34px 28px 24px 28px;
  max-width: 370px;
  min-width: 260px;
  width: 96%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: #191970;
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #232959;
}
.cookie-modal .toggle {
  width: 40px; height: 22px;
  appearance: none;
  background: #e3e3ef;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.24s;
  cursor: pointer;
}
.cookie-modal .toggle:checked {
  background: var(--color-secondary);
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.24s;
  box-shadow: 0 0 5px #ccc9;
}
.cookie-modal .toggle:checked:before {
  left: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 20px;
  background: none;
  border: none;
  font-size: 1.19rem;
  color: #191970;
  cursor: pointer;
  padding: 0;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal .cookie-actions button {
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 18px;
}

/* ==========================================================================
   RESPONSIVE & MOBILE-FIRST ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; padding: 0 8vw; }
}
@media (max-width: 800px) {
  .container { padding: 0 14px; }
  .footer .brand-info { max-width: 90vw; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .hero, .section, .cta, .policy, .confirmation, .about, .contact {
    padding: 24px 0;
  }
  .container { padding: 0 6px; }
  .content-wrapper {
    gap: 15px;
    padding: 0 2px;
  }
  .content-grid, .card-container, .feature-grid, .review-card-grid, .post-grid, .highlights ul, footer .container {
    flex-direction: column !important;
    gap: 15px;
  }
  .testimonial-card {
    max-width: 98vw;
    gap: 10px;
    padding: 16px 8px;
  }
  .features ul, .highlights ul, .service-list ul, .expertise-list ul, .audience-benefits ul {
    padding-left: 0; gap: 12px;
  }
  .category-tags, .category-selector {
    gap: 6px 8px;
    font-size: .97rem;
  }
  header .container { padding: 8px 10px; }
  footer .container {
    flex-direction: column; align-items: flex-start; gap: 18px;
  }
}
@media (max-width: 540px) {
  .card, .review-card, .feature-grid > div, .post-grid > article, .highlights li {
    padding: 16px 8px 14px 8px;
    min-width: 90vw;
    font-size: .97rem;
  }
  .btn-primary, button, input[type="button"], input[type="submit"] {
    font-size: .99rem;
    padding: 13px 18px;
  }
  .cookie-banner { font-size: .97rem; flex-direction: column; align-items: flex-start; gap: 9px; }
}

/* ==========================================================================
   SCROLLBARS (Modern Look)
   ========================================================================== */
::-webkit-scrollbar { width: 8px;}
::-webkit-scrollbar-thumb { background: linear-gradient(135deg,#38FFD2 10%,#181947 90%); border-radius: 6px;}
::-webkit-scrollbar-track { background: #232959; border-radius: 6px;}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
.card, .review-card, .feature-grid > div, .post-grid > article, .testimonial-card, .highlights li {
  transition: box-shadow .18s, transform .18s, border-color .21s, background .22s;
}

/* ==========================================================================
   ERROR/EDGE CASES
   ========================================================================== */
[hidden], .hidden { display: none !important; }

/* ==========================================================================
   PRINT (Optional)
   ========================================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, nav[aria-label="breadcrumb"] { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
}
