/* 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.5;
  background: #fff;
  color: #205072;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

/* BRAND VARIABLES */
:root {
  --color-primary: #205072;
  --color-secondary: #35b08c;
  --color-accent: #f1e6d9;
  --color-white: #fff;
  --color-black: #181920;
  --color-bright1: #ffe15e;
  --color-bright2: #fb6f92;
  --color-bright3: #7bffbe;
  --color-gray: #f4f7fa;
  --color-shadow: rgba(32,80,114,0.11);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius: 18px;
  --shadow: 0 4px 20px var(--color-shadow);
  --transition: all 0.25s cubic-bezier(.77,.09,.74,.99);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}

/* HEADER + NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(53, 176, 140, 0.07);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo img {
  height: 40px;
  transition: transform 0.15s;
}
.logo:hover img {
  transform: rotate(-4deg) scale(1.07);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
}
.main-nav a {
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  padding: 6px 14px;
  transition: background 0.18s, color 0.22s;
  color: var(--color-primary);
}
.main-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cta-btn {
  background: var(--color-bright1);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  border-radius: 22px;
  padding: 13px 32px;
  margin-left: 12px;
  box-shadow: 0 4px 16px rgba(251,111,146,0.11);
  border: none;
  outline: none;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.cta-btn::after {
  content: '';
  display: inline-block;
  background: var(--color-secondary);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: 12px;
  vertical-align: middle;
  animation: cta-dot-pulse 1.3s infinite alternate cubic-bezier(.61,-0.09,.64,1.16);
}
@keyframes cta-dot-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 1; }
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.04) rotateZ(-2deg);
}

/* Burger Icon: Only show on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-bright2);
  color: var(--color-white);
  border-radius: 14px;
  font-size: 30px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bright2);
  margin-left: 12px;
  transition: background 0.18s, color 0.16s, border 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-white);
  transition: transform 0.33s cubic-bezier(.52,.01,.58,.96);
  transform: translateX(100vw);
  box-shadow: 0 0 36px 13px rgba(32,80,114,0.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--color-bright2);
  color: var(--color-white);
  font-size: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-bright2);
  padding: 5px 12px;
  transition: background 0.16s, border 0.12s;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 46px;
  align-items: flex-start;
  padding-left: 44px;
}
.mobile-nav a {
  padding: 10px 0;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 7px;
  color: var(--color-primary);
  transition: color 0.16s, background 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-bright3);
  color: var(--color-black);
}

@media (max-width: 1020px) {
  .main-nav { gap: 17px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 7px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 1px; }
  .cta-btn { font-size: 16px; padding: 10px 21px; }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(96deg, var(--color-bright1) 70%, var(--color-bright2) 100%);
  box-shadow: 0 2px 20px rgba(251,111,146,0.05);
  padding: 42px 0 56px 0;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 29px;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-shadow: 2px 3px 0 var(--color-gray);
}
.hero-section p {
  font-size: 20px;
  color: var(--color-black);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .hero-section h1 { font-size: 28px; }
  .hero-section p { font-size: 16px; }
}

/* ================ SPACING & SECTION STYLES ================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CARDS and GRID PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  transition: transform 0.19s, box-shadow 0.21s;
}
.card:hover {
  transform: translateY(-6px) scale(1.008) rotateZ(-1deg);
  box-shadow: 0 8px 38px 2px rgba(32,80,114,0.14);
}
.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(--color-accent);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,80,114,0.07);
  margin-bottom: 24px;
  flex-direction: row;
  max-width: 660px;
  color: var(--color-primary);
  font-size: 18px;
  font-style: italic;
}
.testimonial-card blockquote {
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 12px;
  line-height: 1.35;
}
.testimonial-person {
  font-size: 16px;
  color: var(--color-secondary);
  font-weight: 800;
  font-family: var(--font-display);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  background: var(--color-white);
  border-radius: 17px;
  box-shadow: 0 3px 16px rgba(53,176,140,0.07);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.17s;
  position: relative;
}
.feature-item:hover {
  box-shadow: 0 6px 36px rgba(251,111,146,0.11);
  transform: scale(1.03) rotateZ(1deg);
}
.feature-item img {
  width: 44px;
  height: 44px;
}

/* Feature Grid */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-list {
  padding: 12px 0 42px 0;
  gap: 30px;
}
.service-item {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 24px rgba(32,80,114,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 22px 26px 22px;
  min-width: 260px;
  flex: 1 0 240px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.service-item:hover {
  box-shadow: 0 10px 38px 2px rgba(53,176,140,0.13);
  transform: scale(1.04) rotateZ(-2deg);
}
.service-item img {
  width: 42px;
  height: 42px;
}
.service-item .service-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-bright2);
  font-size: 20px;
}

@media (max-width: 992px) {
  .feature-grid, .service-list { flex-direction: column; gap: 18px; }
}

/* How-it-works & Process steps */
.how-it-works-list, .process-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.how-it-works-list li, .process-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-gray);
  border-radius: 15px;
  padding: 22px 18px;
  min-width: 240px;
  box-shadow: 0 2px 10px rgba(53,176,140,0.07);
  font-size: 17px;
  margin-bottom: 20px;
  flex: 1 0 240px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.how-it-works-list li img, .process-list li img {
  width: 39px;
  height: 39px;
}
.how-it-works-list li:hover, .process-list li:hover {
  box-shadow: 0 6px 30px rgba(251,111,146,0.11);
  transform: scale(1.04);
}

/* TIP LIST */
.tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(53,176,140,0.07);
  padding: 18px 14px; margin-bottom: 20px;
  font-size: 16px;
  max-width: 420px;
  min-width: 260px;
  flex: 1 0 230px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.tip-list li img { width: 32px; height: 32px; margin-top: 2px; }
.tip-list li strong { font-weight: bold; font-family: var(--font-display); }
.tip-list li:hover {
  box-shadow: 0 6px 36px rgba(53,176,140,0.13);
  transform: scale(1.03) rotateZ(2deg);
}
@media (max-width: 992px) {
  .tip-list { flex-direction: column; gap: 12px; }
}

/* BLOG LIST & CATEGORY TAGS */
.post-list {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.post-list article {
  background: var(--color-white);
  border-radius: 17px;
  box-shadow: 0 2px 14px rgba(32,80,114,0.07);
  padding: 26px 18px 22px;
  min-width: 260px;
  flex: 1 0 260px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.post-list article h3 {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 5px;
}
.post-list article a {
  color: var(--color-bright2);
  text-decoration: underline;
  font-weight: bold;
  align-self: flex-end;
  transition: color 0.13s;
}
.post-list article a:hover {
  color: var(--color-secondary);
}
.post-list article:hover {
  box-shadow: 0 5px 28px rgba(32,80,114,0.12);
  transform: scale(1.022) rotateZ(-2deg);
}
.category-tags, .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 18px;
}
.category-tags span, .category-tabs button {
  background: var(--color-bright2);
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  border-radius: 9px;
  padding: 7px 22px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(251,111,146,0.10);
  margin-bottom: 4px;
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.category-tabs button.active, .category-tabs button:focus, .category-tabs button:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.08);
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-accent);
  padding: 22px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,80,114,0.08);
  transition: box-shadow 0.14s, transform 0.15s;
  margin-bottom: 20px;
}
.faq-item:hover {
  box-shadow: 0 5px 24px rgba(53,176,140,0.10);
  transform: scale(1.017) rotateZ(1deg);
}
.faq-item h3 {
  font-size: 18px;
  color: var(--color-bright2);
  font-weight: bold;
  font-family: var(--font-display); margin-bottom: 9px;
}
.faq-item p {
  font-size: 16px;
}

/* CASE STUDIES (projects page) */
.case-study-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 24px;
}
.case-study-card {
  background: var(--color-gray);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(53,176,140,0.10);
  padding: 28px 22px 16px;
  flex: 1 0 320px;
  min-width: 280px;
  max-width: 424px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.16s;
}
.case-study-card:hover {
  box-shadow: 0 10px 38px 2px rgba(32,80,114,0.13);
  transform: scale(1.03) rotateZ(-1deg);
}
.case-study-card blockquote {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-black);
  margin: 7px 0;
  font-style: italic;
}
.before-after-stats {
  color: var(--color-secondary);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 18px;
  align-self: flex-end;
  margin-top: 8px;
}

@media (max-width: 1000px) {
  .case-study-list {
    flex-direction: column; gap: 14px; }
  .case-study-card { max-width: 100%; }
}

/* NEWSLETTER SIGNUP (blog page) */
.newsletter-signup {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 13px;
  align-items: center;
}
.newsletter-signup input[type="email"] {
  font-family: var(--font-body);
  font-size: 17px;
  border-radius: 8px;
  border: 1.7px solid var(--color-secondary);
  padding: 9px 16px;
  outline: none; min-width: 200px;
  transition: border 0.16s, box-shadow 0.08s;
}
.newsletter-signup input[type="email"]:focus {
  box-shadow: 0 0 0 4px var(--color-bright3);
  border-color: var(--color-bright2);
}
.newsletter-signup button {
  font-family: var(--font-display);
  background: var(--color-bright2);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  transition: background 0.15s, color 0.14s, transform 0.12s;
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.08);
}

@media (max-width: 700px) {
  .newsletter-signup { flex-direction: column; gap: 9px; align-items: stretch; }
  .newsletter-signup input[type="email"] { min-width: 0; }
}

/* TEXT SECTION, VALUE LISTS */
.text-section {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.6;
  font-family: var(--font-body);
}
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 18px;
}
.value-list li {
  background: var(--color-bright3);
  color: var(--color-black);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 14px rgba(53,176,140,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 8px;
}
.value-list li img {
  width: 28px; height: 28px;
}

/* CTA Section */
.cta-section {
  background: var(--color-secondary);
  border-radius: 32px;
  color: var(--color-white);
  text-align: center;
  box-shadow: 0 2px 22px 6px rgba(53,176,140,0.12);
  margin-bottom: 48px;
  padding: 46px 20px 50px 20px;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-size: 34px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 19px;
  color: var(--color-accent);
}

@media (max-width: 530px) {
  .cta-section h2 { font-size: 22px; }
}

/* Confirmation message (thanks.php) */
.confirmation-message {
  background: var(--color-gray);
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(53,176,140,0.08);
  padding: 26px 19px;
  margin: 0 auto;
  text-align: center;
  max-width: 420px;
  font-size: 17px;
}
.confirmation-message h2 {
  color: var(--color-bright2);
  font-family: var(--font-display);
  font-size: 27px;
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 0 0 0;
  font-size: 16px;
  font-family: var(--font-body);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  padding: 42px 0 18px 0;
  border-bottom: 2px solid var(--color-secondary);
  margin-bottom: 0;
}
.footer-top img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 2px 0;
  border-radius: 7px;
  margin-right: 0;
  transition: background 0.13s, color 0.12s;
}
.footer-nav a:hover {
  background: var(--color-bright2);
  color: var(--color-white);
}
.footer-contact, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-legal a {
  color: var(--color-bright3);
  font-size: 15px;
  padding: 1.5px 0;
  transition: color 0.14s, background 0.12s;
}
.footer-legal a:hover {
  color: var(--color-bright1);
  background: transparent;
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 12px 0;
  color: var(--color-accent);
  font-size: 14px;
  background: none;
}

@media (max-width: 770px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ---------- TYPOGRAPHY HIERARCHY ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  color: var(--color-primary);
  margin-bottom: 11px;
  line-height: 1.13;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--color-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.14;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--color-primary);
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 3px;
}
@media (max-width: 600px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
}

/* ================= ANIMATIONS & MICRO-INTERACTIONS ===================== */
.card, .feature-item, .service-item, .case-study-card, .faq-item, .post-list article {
  will-change: transform, box-shadow;
}
.testimonial-card {
  position: relative;
  overflow: visible;
  animation: bounce-float 4s infinite alternate ease-in-out;
}
@keyframes bounce-float {
  0% {transform: translateY(0) rotateZ(0deg);}
  60% {transform: translateY(-5px) rotateZ(-1deg);}
  100% {transform: translateY(3px) rotateZ(1deg);}
}

.cta-section {
  animation: shine-slide-in 1.2s cubic-bezier(.42,0,.72,1.13);
}
@keyframes shine-slide-in {
  0% {opacity:0;transform:translateY(40px) scale(0.97);}
  80% {opacity:1;transform:translateY(-2px) scale(1.01);}
  100%{opacity:1;transform:translateY(0) scale(1);}
}

button,
.cta-btn,
input[type="email"], .category-tabs button {
  transition: background 0.16s, color 0.12s, box-shadow 0.13s, border 0.14s, transform 0.14s;
}

/* ---------- SPACING ---------- */
main section, .section, .cta-section, .download-guide {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.download-guide {
  background: var(--color-bright3);
  border-radius: 18px;
  box-shadow: 0 2px 17px rgba(32,80,114,0.09);
  text-align: center;
}

/* RESPONSIVE RULES */
@media (max-width: 1110px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .service-list, .feature-grid { flex-direction: column; gap: 15px; }
  .case-study-list { flex-direction: column; gap: 17px; }
}
@media (max-width: 630px) {
  .card-container, .content-grid, .testimonial-slider, .feature-grid,
  .service-list, .how-it-works-list, .process-list, .tip-list {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  main section, .section, .cta-section, .download-guide { padding: 24px 6px; }
  .hero-section { padding: 29px 0 27px; }
}

/* ================ COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  width: 100vw;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 19px rgba(32,80,114,0.13);
  border-radius: 16px 16px 0 0;
  padding: 22px 18px 22px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  animation: cookie-fade-in 0.85s cubic-bezier(.6,-0.45,.76,1.47);
  font-size: 16px;
}
.cookie-banner .cookie-banner-text {
  flex: 5 1 60vw;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex: 2 0 auto;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  margin: 0 4px 0 0;
  box-shadow: 0 2px 7px rgba(53,176,140,0.10);
  transition: background 0.14s, color 0.11s, transform 0.13s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-accept:hover {
  background: var(--color-bright2);
  color: var(--color-white)
}
.cookie-reject {
  background: var(--color-bright2);
  color: var(--color-white);
}
.cookie-reject:hover {
  background: var(--color-bright1);
  color: var(--color-primary);
}
.cookie-settings {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-settings:hover {
  background: var(--color-bright3);
  color: var(--color-black);
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 730px) {
  .cookie-banner { flex-direction: column; gap: 13px; align-items: stretch; padding: 15px 6px; }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  z-index: 350;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,80,114,0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.5s;
}
.cookie-modal-content {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 18px;
  max-width: 410px;
  padding: 32px 22px 26px;
  box-shadow: 0 6px 44px rgba(32,80,114,0.19);
  font-size: 17px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 21px;
  color: var(--color-secondary);
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-weight: bold;
}
.cookie-modal-content .cookie-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}
.cookie-modal-content input[type="checkbox"] {
  width: 25px;
  height: 25px;
  accent-color: var(--color-secondary);
}
.cookie-toggle label {
  font-size: 16px;
  color: var(--color-black);
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: var(--color-bright2);
  color: var(--color-white);
  border-radius: 50%;
  width: 34px; height: 34px;
  border: none;
  font-size: 20px;
  transition: background 0.14s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  outline: none;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 480px) {
  .cookie-modal-content { padding: 19px 7px 18px; }
}

/* ========== SCROLLBARS & SELECTION =========== */
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-bright2);
}
::selection {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ========== PLAYFUL, DYNAMIC TOUCHES ========== */
.feature-item, .service-item, .tip-list li, .value-list li, .case-study-card,
.card, .faq-item, .testimonial-card, .post-list article {
  border-top: 5px solid var(--color-bright1);
  /* fun color bar */
}
.feature-item:nth-child(2n), .service-item:nth-child(2n),
.tip-list li:nth-child(2n), .case-study-card:nth-child(2n),
.value-list li:nth-child(2n), .faq-item:nth-child(2n),
.post-list article:nth-child(2n) {
  border-top-color: var(--color-bright2);
}
.feature-item:nth-child(3n), .service-item:nth-child(3n),
.tip-list li:nth-child(3n), .case-study-card:nth-child(3n),
.value-list li:nth-child(3n), .faq-item:nth-child(3n),
.post-list article:nth-child(3n) {
  border-top-color: var(--color-secondary);
}

/* BOUNCY BUTTONS */
.cta-btn, .category-tabs button, .newsletter-signup button, .cookie-banner button {
  animation: btn-playful-pulse 2.4s infinite alternate cubic-bezier(0.31,0.68,0.54,1.35);
}
@keyframes btn-playful-pulse {
  0% { transform: scale(1); }
  94% { transform: scale(1.01); }
  100% { transform: scale(1.04) rotateZ(-1.7deg); }
}

/* FUN FONT USE ON HEADINGS */
h1, h2, h3, h4, .cta-btn, .category-tabs button, .newsletter-signup button {
  letter-spacing: 0.002em;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: bold;
}

/* ============= INTERACTIVE STATES ============= */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px dashed var(--color-bright2);
  outline-offset: 2px;
  background: var(--color-bright3);
}
a:active, button:active, .cta-btn:active {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* OVERLAY FOR JS (Mobile menu etc.) */
.overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.23);
  z-index: 99;
  display: none;
}
.overlay.open { display: block; }

/* ========== MISC. ========== */
blockquote {
  font-style: italic;
  margin: 0 0 5px 0;
  color: var(--color-secondary);
  font-size: 18px;
}
ol, ul {
  margin-bottom: 9px;
}
li {
  margin-bottom: 5px;
}

/* Hide visually for accessibility (if needed) */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========== END OF CSS ========== */
