/* ========================================================================
   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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  color: #1A2233;
  background: #F7F7F7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 10px;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #274C77;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus, a:hover {
  color: #3D5A80;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
}
button:focus, input:focus, textarea:focus {
  outline: 2px solid #274C77;
}

/* ========================================================================
   COLOR VARIABLES (WITH FALLBACKS)                                          
   ======================================================================== */
:root {
  --clr-primary: #274C77;
  --clr-secondary: #6C8CBF;
  --clr-accent: #F7F7F7;
  --clr-dark: #1A2233;
  --clr-white: #fff;
  --clr-cta: #FFB703;
  --clr-cta-hover: #FFC94D;
  --clr-creative1: #E85D75;
  --clr-creative2: #FFAD69;
  --clr-creative3: #59A96A;
  --clr-creative4: #CEA2AC;
  --shadow-card: 0 4px 24px 0 rgba(39, 76, 119, 0.09);
  --radius: 18px;
  --radius-small: 8px;
}

/* ========================================================================
   TYPOGRAPHY                                                                
   ======================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.18;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p,
ul,
ol,
li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--clr-dark);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: var(--clr-creative1);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
blockquote {
  font-family: 'Montserrat', cursive, Arial, Helvetica, sans-serif;
  font-style: italic;
  background: var(--clr-accent);
  color: var(--clr-creative1);
  padding: 18px 24px;
  border-left: 5px solid var(--clr-creative1);
  border-radius: var(--radius-small);
  margin-bottom: 6px;
}

/* Artistic Heading Underline */
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  margin-top: 6px;
  background: var(--clr-creative2);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(232,93,117,0.18);
}

h1,
h2,
h3 {
  /* hand-drawn artistic shadow */
  text-shadow: 1px 2px 6px rgba(232,93,117,0.07);
}

/* ========================================================================
   LAYOUT CONTAINERS                                                         
   ======================================================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  padding: 40px 20px;
  margin-bottom: 60px;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.features-grid > div {
  flex: 1 1 225px;
  background: var(--clr-creative2);
  color: var(--clr-dark);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(39, 76, 119, 0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  min-width: 200px;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(232,93,117,0.14);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.features-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 9px rgba(39,76,119,0.09));
  background: var(--clr-white);
  border-radius: 42% 43% 36% 36%/35% 42% 55% 43%; /* Artistic blob */
  padding: 8px;
  box-shadow: 0 2px 8px rgba(39,76,119,0.13);
}
.features-grid h3 {
  margin-bottom: 8px;
}
.features-grid p {
  color: #232323;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--clr-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.22s;
  padding: 32px 24px 28px 24px;
  flex: 1 1 320px;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(247,173,105,0.16);
  transform: translateY(-4px) scale(1.017) rotate(-1.2deg);
}
.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;
  margin-bottom: 32px;
}
.text-image-section.reverse {
  flex-direction: row-reverse;
}
.text-image-section img {
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius);
}
.text-image-section .text {
  flex: 1 1 260px;
}

/* ========================================================================
   NAVIGATION & HEADER                                                       
   ======================================================================== */
header {
  background: var(--clr-primary);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px -10px var(--clr-primary);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-nav a {
  color: var(--clr-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: var(--radius-small);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.main-nav a.cta-primary {
  background: var(--clr-creative1);
  color: var(--clr-white);
  margin-left: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 42% 38% 41% 44%/43% 40% 36% 60%; /* unique blob */
  box-shadow: 0 2px 12px rgba(232,93,117,0.13);
  transition: background 0.18s, transform 0.18s, box-shadow 0.2s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
  transform: scale(1.067) rotate(-1.5deg);
  box-shadow: 0 8px 24px rgba(232,93,117,0.15);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-white);
}
.main-nav img {
  height: 32px;
  margin-right: 14px;
  transition: filter 0.2s;
  filter: drop-shadow(0 2px 4px var(--clr-accent));
}

/* Hide mobile nav on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* ========================================================================
   FOOTER                                                                   
   ======================================================================== */
footer {
  background: var(--clr-accent);
  padding: 38px 0 24px 0;
  border-top: 4px solid var(--clr-creative1);
}
.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--clr-primary);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-small);
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: none;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--clr-creative1);
  color: var(--clr-white);
}
.footer-contact {
  text-align: center;
  font-size: 0.96rem;
  color: var(--clr-dark);
}
.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--clr-dark);
}

/* ========================================================================
   FORM & INPUTS                                                             
   ======================================================================== */
form {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 0;
}
input[type="email"],
input[type="text"],
textarea {
  padding: 10px 18px;
  border-radius: var(--radius-small);
  border: 1.5px solid var(--clr-secondary);
  font-size: 1.05rem;
  color: var(--clr-dark);
  background: var(--clr-accent);
  transition: border 0.18s;
}
input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: var(--clr-creative1);
}
button[type="submit"],
.cta-primary,
button.cta-primary {
  background: var(--clr-creative1);
  color: var(--clr-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 46% 44% 36% 54%/43% 57% 56% 44%;
  padding: 12px 28px;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 4px 14px 0 rgba(232,93,117,0.12);
  margin-top: 8px;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.18s;
}
button[type="submit"]:hover,
.cta-primary:hover,
.cta-primary:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 20px rgba(232,93,117,0.14);
}

/* ========================================================================
   TESTIMONIALS                                                             
   ======================================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(232,93,117,0.11);
  min-height: 88px;
  margin-bottom: 24px;
  margin-top: 0;
  border-left: 9px solid var(--clr-creative1);
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(232,93,117,0.22);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card blockquote {
  background: none;
  color: var(--clr-creative1);
  border: none;
  margin-bottom: 0;
  padding: 0;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: var(--clr-primary);
  font-size: 1rem;
  margin-left: 12px;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 10px 16px 18px;
  }
  .testimonial-card p {
    margin-left: 0;
  }
}

/* ========================================================================
   MISC ELEMENTS                                                            
   ======================================================================== */
.map-embed {
  background: var(--clr-accent);
  border-radius: var(--radius-small);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(39,76,119,.08);
}
ul > li, .text-section ul > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  line-height: 1.6;
}
ul > li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--clr-creative1);
  border-radius: 60% 33% 44% 49% / 46% 58% 42% 47%;
  display: block;
  opacity: 0.12;
}
.text-section ul > li:before {
  background: var(--clr-creative3);
  opacity: 0.10;
}
.text-section img {
  max-width: 28px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}


/* ========================================================================
   RESPONSIVE LAYOUTS & FLEXBOX                                              
   ======================================================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .main-nav, .footer-nav {
    padding: 0 10px;
  }
  .content-wrapper, .section {
    padding: 32px 10px;
  }
  .features-grid {
    gap: 14px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 8px;
  }
  .features-grid > div {
    padding: 24px 10px;
  }
  .features-grid {
    gap: 14px;
  }
}
@media (max-width: 750px) {
  .main-nav {
    gap: 4px;
  }
  .footer-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
  .content-wrapper, .section {
    padding: 18px 3vw;
  }
  .features-grid {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid > div {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper,
  .section {
    padding: 10px 3px;
    margin-bottom: 36px;
    box-shadow: 0 1px 8px 0 rgba(39,76,119,0.07);
    border-radius: 10px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .features-grid > div { padding: 16px 5px; }
}

/* ========================================================================
   MOBILE NAVIGATION (BURGER MENU)                                           
   ======================================================================== */
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 14px;
    z-index: 120;
    background: var(--clr-creative1);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 5px 16px 4px 16px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(232,93,117,0.14);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: var(--clr-creative2);
    color: var(--clr-primary);
    box-shadow: 0 4px 20px rgba(232,93,117,0.16);
    transform: scale(1.12);
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--clr-primary);
    z-index: 5000;
    transform: translateX(-100%);
    transition: transform 0.33s cubic-bezier(.85,-0.24,.28,1.25);
    box-shadow: 0 8px 30px rgba(39,76,119,0.27);
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    right: 24px;
    top: 14px;
    background: var(--clr-creative1);
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 1.8rem;
    padding: 4px 16px 4px 16px;
    box-shadow: 0 2px 7px rgba(232,93,117,0.18);
    cursor: pointer;
    z-index: 5010;
    transition: background 0.2s, transform 0.15s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    background: var(--clr-creative2);
    color: var(--clr-primary);
    transform: scale(1.09);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-top: 80px;
  }
  .mobile-nav a {
    color: var(--clr-white);
    background: var(--clr-creative1);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.19rem;
    font-weight: 600;
    padding: 15px 38px;
    border-radius: 46% 40% 30% 60%/52% 65% 35% 45%;
    margin-bottom: 4px;
    box-shadow: 0 4px 18px rgba(232,93,117,0.12);
    transition: background 0.18s, color 0.18s, transform 0.15s;
    display: block;
    width: 82vw;
    max-width: 325px;
    text-align: center;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--clr-creative2);
    color: var(--clr-primary);
    transform: scale(1.06) rotate(-1.5deg);
    box-shadow: 0 6px 24px rgba(255,173,105,0.18);
  }
}

/* For accessibility in case JS fails - Hide mobile menu by default */
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: block;
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL                                             
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--clr-creative2);
  color: var(--clr-dark);
  box-shadow: 0 -4px 28px rgba(232,93,117,0.13);
  z-index: 9999;
  padding: 22px 8vw 18px 8vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  font-size: 1.03rem;
  animation: slideInBanner 0.8s cubic-bezier(0.31,0.52,0.54,1.18);
}
@keyframes slideInBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 320px;
  margin-bottom: 0;
  color: var(--clr-dark);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: var(--clr-creative1);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  padding: 11px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, transform 0.11s;
}
.cookie-banner button.reject {
  background: var(--clr-accent);
  color: var(--clr-creative1);
  border: 1.5px solid var(--clr-creative1);
}
.cookie-banner button.settings {
  background: var(--clr-creative2);
  color: var(--clr-primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.09) contrast(1.06);
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 5vw 13px 5vw;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 9px;
  }
  .cookie-banner button {
    width: 100%;
    padding: 10px 0;
    font-size: 1.001rem;
  }
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(39,76,119, .38);
  backdrop-filter: blur(2.2px);
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.97);
  min-width: 340px;
  width: 96vw;
  max-width: 430px;
  background: var(--clr-accent);
  color: var(--clr-dark);
  border-radius: var(--radius);
  box-shadow: 0 8px 34px 0 rgba(232,93,117,.21);
  z-index: 10010;
  padding: 32px 28px 24px 28px;
  animation: showCookieModal 0.34s cubic-bezier(.74,1.67,.93,1.25);
}
@keyframes showCookieModal {
  from {
    transform: translate(-50%, -100%) scale(0.87);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -60%) scale(1);
    opacity: 1;
  }
}
.cookie-modal.open {
  display: block;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--clr-creative1);
  margin-bottom: 12px;
  text-align: center;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal .cookie-toggle input[type='checkbox'] {
  width: 38px;
  height: 22px;
  background: var(--clr-creative2);
  border-radius: 11px;
  appearance: none;
  outline: none;
  box-shadow: 0 1px 4px rgba(39,76,119,.11);
  transition: background 0.18s;
  position: relative;
}
.cookie-modal .cookie-toggle input[type='checkbox']:checked {
  background: var(--clr-creative1);
}
.cookie-modal .cookie-toggle input[type='checkbox']:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  transform: translateX(3px);
  position: absolute;
  top: 3px;
  left: 0;
}
.cookie-modal .cookie-toggle input[type='checkbox']:checked:before {
  transform: translateX(17px); /* (38-16-5)px */
}
.cookie-modal .category-desc {
  font-size: 0.97rem;
  color: var(--clr-dark);
  margin-top: -6px;
  margin-bottom: 6px;
  padding-left: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}
.cookie-modal .cookie-modal-actions button {
  background: var(--clr-creative1);
  color: var(--clr-white);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
}
.cookie-modal .cookie-modal-actions button.secondary {
  background: var(--clr-accent);
  color: var(--clr-creative1);
  border: 1.4px solid var(--clr-creative1);
}
.cookie-modal .cookie-modal-actions button:hover,
.cookie-modal .cookie-modal-actions button:focus {
  filter: brightness(1.13);
  transform: scale(1.05);
}

/* ========================================================================
   MICRO-INTERACTIONS, SHADOWS, ANIMATIONS                                  
   ======================================================================== */
.card, .features-grid > div, .testimonial-card, .cookie-modal, .content-wrapper {
  will-change: transform, box-shadow;
}
button, a.cta-primary, .main-nav a.cta-primary {
  transition: background 0.22s, color 0.2s, transform 0.14s, box-shadow 0.14s;
}

/* Animated underline on hover for links (except CTAs) */
.main-nav a:not(.cta-primary):after,
.footer-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--clr-creative1);
  border-radius: 2px;
  margin-top: 2px;
  transition: width 0.2s;
}
.main-nav a:hover:after,
.footer-nav a:hover:after {
  width: 80%;
}

/* Artistic elements */
.features-grid > div::after {
  /* color blobs */
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  right: -16px; bottom: -10px;
  width: 38px;
  height: 38px;
  background: var(--clr-creative3);
  opacity: 0.12;
  border-radius: 54% 46% 40% 60% / 60% 55% 45% 45%;
}

/* ========================================================================
   ACCESSIBILITY                                                            
   ======================================================================== */
:focus {
  outline: 2px solid var(--clr-creative1) !important;
  outline-offset: 1px;
}
@media(hover: none) {
  button:focus, .cta-primary:focus, .main-nav a:focus, .footer-nav a:focus {
    outline: 2px solid var(--clr-creative2) !important;
    outline-offset: 1px;
  }
}

/* ========================================================================
   UTILITIES                                                                
   ======================================================================== */
.hide { display: none !important; }
.show { display: block !important; }


/** END OF CREATIVE_ARTISTIC FLEXBOX-ONLY CSS **/