/* === 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #2B2F38;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #164B89;
  transition: color 0.18s cubic-bezier(.7,.4,.18,1.13);
}
a:hover,
a:focus {
  color: #0073e6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}

/* === BRAND VARIABLES === */
:root {
  --color-primary: #164B89;
  --color-secondary: #2B2F38;
  --color-accent: #F5F7FA;
  --color-yellow: #FFCC00;
  --color-pink: #FF91B6;
  --color-cyan: #1CE1D7;
  --color-green: #46E096;
  --color-orange: #FF884D;
  --color-white: #FFFFFF;
  --color-gray: #ededf4;
  --shadow-xl: 0 8px 32px rgba(22,75,137,0.08), 0 2px 8px rgba(22,75,137,0.09);
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: var(--color-accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 14px;
}
p, li, label {
  font-size: 1.06rem;
  color: var(--color-secondary);
}
strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==== LAYOUT GLOBALS ==== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  transition: box-shadow .23s cubic-bezier(.53,.17,.44,.98), transform .18s cubic-bezier(.42,.74,.15,1.33);
  min-width: 240px;
}
.card:hover { box-shadow: 0 16px 32px rgba(255,193,79,0.09), 0 6px 20px rgba(88,168,255,0.08);
  transform: translateY(-7px) scale(1.04) rotate(-1deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  margin-bottom: 24px;
  background: #fffbe7;
  border-radius: 22px;
  box-shadow: 0 3px 12px rgba(22,75,137,0.06);
  flex-direction: column;
  font-size: 1.07rem;
  color: #2B2F38;
}
.testimonial-card strong {
  color: #164B89;
  font-size: 1.08rem;
}
.feature-item,
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === PLAYFUL DYNAMIC COLORS & SHAPES === */
.hero {
  background: linear-gradient(90deg, #FF91B6 15%, #F5F7FA 50%, #1CE1D7 100%);
  padding-top: 52px;
  padding-bottom: 52px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 20%; left: 89%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, #FFCC00 45%, transparent 80%);
  border-radius: 50%;
  opacity: .17;
  pointer-events: none;
  z-index: 1;
}
.hero .container,
.hero .content-wrapper {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  text-shadow: 2px 3px 0 rgba(255,193,79,0.12);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 26px;
  color: var(--color-secondary);
}

.cta {
  background: linear-gradient(90deg, #FF91B6 0%, #46E096 100%);
  border-radius: 19px;
  margin-bottom: 60px;
  box-shadow: 0 6px 24px rgba(88,168,255,0.12);
}
.cta h2,
.section.cta h2 {
  color: #fff;
  text-shadow: 2px 3px 0 rgba(22,75,137,0.14);
}
.section.cta p {
  color: #fff;
  margin-bottom: 20px;
}
.section.cta a.cta-primary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
}
.section.cta a.cta-primary:hover,
.section.cta a.cta-primary:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
  border: 2px solid var(--color-yellow);
}

/* === HEADER & NAV === */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(22,75,137,0.06);
  position: sticky;
  top: 0;
  z-index: 42;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  background: transparent;
  transition: background .17s cubic-bezier(.98,.33,.52,1.08), color .17s, box-shadow .22s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
  box-shadow: 0 2px 12px #FFCC0077;
}

.cta-primary {
  padding: 9px 22px;
  border-radius: 30px;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  box-shadow: 0 3px 16px #164B8922;
  border: 2px solid var(--color-primary);
  letter-spacing: 0.04em;
  transition: background .17s, color .15s, transform .17s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-yellow);
  color: var(--color-secondary) !important;
  border-color: var(--color-yellow);
  box-shadow: 0 6px 28px #FFCC0066;
  transform: scale(1.07) rotate(-1deg);
}

/* === MOBILE NAV === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-yellow);
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 9px;
  padding: 5px 17px;
  margin-left: 10px;
  cursor: pointer;
  transition: background .16s, box-shadow .19s;
  box-shadow: 0 2px 8px #FFCC0033;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 3px 20px #FF884D33;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #FF91B6 0%, #46E096 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-110vw);
  transition: transform .44s cubic-bezier(.67,-.03,.29,1.02);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  margin: 20px 24px 0 0;
  cursor: pointer;
  transition: color .17s;
  z-index: 10;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 36px auto 0 auto;
  gap: 24px;
  width: 82vw;
  max-width: 390px;
  align-items: flex-start;
  z-index: 5;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 17px 25px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  background: #fff;
  margin: 0;
  color: var(--color-primary);
  box-shadow: 0 2px 10px #1CE1D738;
  transition: background .15s, color .14s, transform .14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
  transform: scale(1.04);
}

/* === FOOTER === */
footer {
  background: #eef3ff;
  border-top: 5px solid #FF91B6;
  margin-top: 64px;
  padding: 36px 0 19px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 500;
}
footer p, .footer-contact, .footer-contact span {
  color: #2B2F38;
  font-size: .98rem;
}
.footer-contact {
  margin-top: 0px;
}

/* === CARDS & FEATURES === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 8px 0 0 0;
}
.feature {
  flex: 1 1 225px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px #FF91B626;
  padding: 28px 18px;
  align-items: center;
  min-width: 190px;
  transition: box-shadow .18s, transform .15s;
  position: relative;
}
.feature:hover {
  box-shadow: 0 7px 28px #FFCC0055, 0 3px 8px #1CE1D744;
  transform: rotate(-1.5deg) scale(1.06);
}
.feature img {
  width: 38px;
  margin-bottom: 14px;
  animation: popIn .8s cubic-bezier(.3,.78,.45,1.31) forwards;
}
@keyframes popIn {from {transform: scale(0.65) rotate(-23deg);} to {transform: scale(1) rotate(0);}}
.feature h3 {
  font-size: 1.13rem;
  margin-bottom: 10px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
}
.service-item {
  flex: 1 1 245px;
  min-width: 230px;
  background: #fcfaff;
  border: 2px dashed #FF91B6;
  border-radius: 16px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 2px 7px #FFCC0022;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border-color .18s, box-shadow .16s, background .18s;
  position: relative;
}
.service-item::after {
  content: '';
  position: absolute; top: -14px; right: 34px;
  width: 38px; height: 12px;
  background: var(--color-yellow);
  border-radius: 9px;
  opacity: 0.18;
  z-index: 1;
}
.service-item:hover {
  border-color: var(--color-cyan);
  background: #fffbe7;
  box-shadow: 0 6px 16px #46E09633;
}
.service-item h2 {
  font-size: 1.19rem;
}
.service-price {
  margin-top: 10px;
  margin-bottom: 2px;
  font-size: .98rem;
  color: var(--color-primary);
  font-weight: 700;
  background: #FF91B6;
  padding: 4px 11px;
  border-radius: 14px;
  box-shadow: 0 1px 7px #FF91B622;
  letter-spacing: .03em;
}

.card-grid, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.blog-post {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px #1CE1D73d;
  padding: 20px 18px;
  min-width: 200px;
  flex: 1 1 260px;
  transition: box-shadow .18s, transform .19s;
}
.blog-post h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.blog-post a {
  color: var(--color-primary);
  font-weight: 700;
}
.blog-post:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: 0 8px 36px #FF91B666, 0 3px 10px #46E09644;
}

/* === FAQ, TABLES, LEGAL === */
.faq-brief, .faq-accordion {
  background: #fffdf5;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 2px 8px #FFCC0050;
  margin-bottom: 20px;
}
.faq-brief ul li,
.faq-accordion > div {
  margin-bottom: 11px;
  font-size: 1.05rem;
}
.faq-accordion > div strong {
  display: block;
  color: var(--color-primary);
}
.pricing-notes ul {
  list-style: disc inside;
  margin-left: 10px;
  color: var(--color-secondary);
  font-size: .97rem;
}
table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px #164B8922;
  overflow: hidden;
  font-size: 1.03rem;
  margin: 28px 0 18px 0;
  border-collapse: collapse;
}
thead th {
  background: #FF91B6;
  color: #fff;
  padding: 13px;
  font-weight: 700;
}
tbody td {
  padding: 15px 15px;
  border-bottom: 1px solid #F5F7FA;
}
tbody tr:last-child td {
  border-bottom: none;
}
.legal-text {
  font-size: 1.01rem;
  color: var(--color-secondary);
  line-height: 1.62;
  background: #fafdff;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 10px;
}
.legal-text h2 {
  color: var(--color-primary);
  margin-top: 18px;
  font-size: 1.09rem;
}

/* === FORMS & SEARCH === */
.search-bar,
.subscribe-form {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 10px 0;
}
.search-bar input,
.subscribe-form input,
.subscribe-form button,
.search-bar button {
  border-radius: 18px;
  border: 1.5px solid #FFCC00;
  font-size: 1.06rem;
  padding: 8px 16px;
  background: #fff;
  color: var(--color-secondary);
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow .16s, border-color .13s;
}
.search-bar input:focus,
.subscribe-form input:focus {
  box-shadow: 0 2px 12px var(--color-yellow);
  border-color: var(--color-orange);
}
.search-bar button,
.subscribe-form button {
  background: var(--color-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 8px 23px;
  box-shadow: 0 2px 8px #FFCC0033;
  transition: background .14s, color .13s, transform .14s;
}
.search-bar button:hover,
.search-bar button:focus,
.subscribe-form button:hover,
.subscribe-form button:focus {
  background: var(--color-orange);
  color: #fff;
  transform: scale(1.06) rotate(-1deg);
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.category-filters a {
  background: #1CE1D7;
  color: var(--color-secondary);
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 14px;
  font-size: .99rem;
  transition: background .16s, color .13s, transform .12s;
}
.category-filters a:hover,
.category-filters a:focus {
  background: #FF91B6;
  color: #fff;
  transform: scale(1.07);
}

/* === PAGE SPECIFIC: CONTACT === */
.contact-details ul {
  list-style: disc inside;
  margin-top: 8px;
  margin-left: 17px;
}
.map-embed {
  background: #F5F7FA;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  font-size: .99rem;
}
.next-steps-info ul {
  margin-left: 13px;
  list-style: disc inside;
  color: var(--color-secondary);
}

/* === TEXT BLOCKS === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%) translateY(110%);
  min-width: 320px;
  max-width: 98vw;
  background: linear-gradient(90deg, #FFCC00 77%, #1CE1D7 100%);
  color: #2B2F38;
  border-radius: 21px 21px 0 0;
  box-shadow: 0 -3px 24px #1CE1D744;
  padding: 28px 19px 20px 23px;
  font-size: 1rem;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: transform .56s cubic-bezier(.38,1.53,.72,.97), opacity .23s;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #2B2F38;
  margin-bottom: 4px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 13px;
  padding: 8px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .15s, color .13s, transform .12s;
  margin-top: 6px;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #164B89;
  color: #fff;
  box-shadow: 0 2px 8px #164B8922;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #46E096;
  color: var(--color-secondary);
}
.cookie-banner .reject {
  background: #fff;
  color: #164B89;
  border: 1.5px solid #FF91B6;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #FF91B6;
  color: #fff;
}
.cookie-banner .settings {
  background: #fffbe7;
  color: #164B89;
  border: 1.5px solid #FFCC00;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #FFCC00;
  color: #2B2F38;
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 10020;
  background: rgba(44,50,58,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .31s cubic-bezier(.59,1.13,.71,1.05);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 7px 42px #FF91B622;
  padding: 36px 24px 20px 24px;
  min-width: 310px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popAnim .43s cubic-bezier(.35,1.3,.6,1.05);
}
@keyframes popAnim {from {transform: scale(.76);} to {transform: scale(1);}}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.4rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #164B89;
  width: 20px; height: 20px;
}
.cookie-category.essential label::after {
  content: '(wymagane)';
  color: #FF91B6;
  font-size: .92rem;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute; right: 18px; top: 13px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-secondary);
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #FFCC00;
}
.cookie-modal-actions button {
  border-radius: 11px;
  padding: 8px 19px;
  border: none;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #164B89;
  color: #fff;
  transition: background .14s, color .13s, transform .13s;
}
.cookie-modal-actions .save:hover,
.cookie-modal-actions .save:focus {
  background: #46E096;
  color: #2B2F38;
}
.cookie-modal-actions .cancel {
  background: #fffbe7;
  color: #164B89;
  border: 1.2px solid #FFCC00;
}
.cookie-modal-actions .cancel:hover,
.cookie-modal-actions .cancel:focus {
  background: #FFCC00;
  color: #2B2F38;
}

/* ==== UTILITIES, ANIMATION, MISC ==== */
::-webkit-scrollbar {
  width: 11px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #FF91B6;
  border-radius: 5px;
}

/* Subtle heading bounce */
h1, h2 {
  animation: playfulBounce 1s cubic-bezier(.92,-0.14,.13,1.09);
}
@keyframes playfulBounce {
  0% {transform: scale(.92) rotate(-2deg);}
  60% {transform: scale(1.06) rotate(2deg);}
  100% {transform: scale(1) rotate(0);}
}

/* Button playful pop */
button, .cta-primary, input[type="submit"] {
  transition: box-shadow .21s, background .16s, transform .15s;
}
button:active, .cta-primary:active {
  transform: scale(.97);
  box-shadow: 0 0 0 #fff;
}

/* Animated background dots for fun */
.hero::before {
  content: '';
  position: absolute; bottom: 18px; left: 6%;
  width: 95px; height: 31px;
  background: repeating-radial-gradient(circle at 8px 8px, #FFCC00 0, #FFCC00 4px, transparent 8px, transparent 100%);
  opacity: 0.16;
  z-index: 1;
  animation: dotsMove 12s linear infinite;
}
@keyframes dotsMove {
  0% { left: 6%; }
  100% { left: 70%; }
}

/* List style for playful look */
ul {
  list-style: disc inside !important;
  margin-left: 14px !important;
}
ol {
  list-style: decimal inside;
  margin-left: 17px !important;
}
ol > li,
ul > li {
  margin-bottom: 9px;
}

/* === RESPONSIVE/MOBILE-FIRST === */
@media (max-width: 1024px) {
  .container { max-width: 95vw; }
  .section { padding: 36px 10px; }
  .feature-grid, .service-grid, .card-container, .card-grid, .post-grid { gap: 12px; }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid { flex-direction: column; gap: 18px; }
  .feature, .service-item { min-width: 0; width: 100%; }
}
@media (max-width:768px) {
  .container { max-width: 99vw; padding: 0 5vw; }
  .content-wrapper { gap: 24px; }
  .hero { padding-top: 35px; padding-bottom: 35px; }
  .hero h1 { font-size: 2rem; }
  .cta, .section.cta { padding: 26px 9px; }
  header .container { flex-direction: row; gap: 6px; min-height: 62px; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    margin-top: 6px;
  }
  .testimonial-card { flex-direction: column; gap: 12px; padding: 16px 7px; }
  .card, .blog-post { padding: 18px 9px; min-width: 0; }
  .card-grid, .post-grid { flex-direction: column; gap: 14px; }
  .card-container { flex-direction: column; gap: 12px; }
  .section { margin-bottom: 44px; padding: 28px 4vw; }
  .feature,
  .service-item { padding: 16px 8px; }
  .category-filters { flex-wrap: wrap; gap: 7px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.01rem; }
  .cta-primary, .feature-price, .service-price { font-size: 1rem; }
  .hero, .cta { border-radius: 14px; padding-top: 22px; padding-bottom: 22px; }
  .feature, .service-item { border-radius: 9px; }
  .cookie-banner { padding: 16px 4vw 12px 4vw; font-size: .98rem; }
  .cookie-modal-content { padding: 18px 6vw 16px 6vw; min-width: 0; }
}

/* === ACCESSIBILITY & CONTRAST CHECKS === */
::-moz-selection { background: #FF91B6; color: #fff; }
::selection { background: #FF91B6; color: #fff; }

.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #181C28 !important;
  background: none;
}

/* === Z-INDEX FIXES === */
header { z-index: 42; }
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 10001; }
.cookie-modal { z-index: 10020; }

/* === TRANSITIONS === */
*, *:before, *:after {
  box-sizing: inherit;
}

/* --- Prevent overlapping --- */
.card:not(:last-child), .feature:not(:last-child), .service-item:not(:last-child), .blog-post:not(:last-child) {
  margin-bottom: 20px;
}

/* Accessibility: outlines and focus styles */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2.5px dashed #FFCC00;
  outline-offset: 2px;
}

/* Hide visually for accessibility */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
