/* =============================== */
/* RESET & NORMALIZE (mobile first) */
/* =============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  background: #f8f8f8;
  color: #204056;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
:focus {
  outline: 2px solid #26A69A;
  outline-offset: 2px;
}

/* ============================ */
/* BRAND FONTS & COLOR SCHEME   */
/* ============================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --primary: #204056;
  --secondary: #26A69A;
  --accent: #F8F8F8;
  --creative-violet: #6842a7;
  --creative-orange: #ff914d;
  --creative-sky: #34bfd2;
  --creative-yellow: #ffe172;
  --radius-lg: 1.5rem;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow-lg: 0 8px 32px 0 rgba(32,64,86,0.18);
  --shadow: 0 2px 12px 0 rgba(32,64,86,0.10);
  --shadow-card: 0 3px 16px 0 rgba(32,64,86,0.08);
  --transition: 0.25s cubic-bezier(.29,.55,.44,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, .logo, .footer-logo {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--primary);
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.20; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.24; margin-bottom: 10px; font-weight: 700; }
p, li {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
  color: var(--primary);
}
strong { color: var(--secondary); font-weight: 700; }

/* Decorative artistic font for special titles */
.hero h1, .hero h2, .feature-grid h3 {
  font-family: var(--font-display), cursive;
  letter-spacing: -0.01em;
  color: var(--creative-violet);
  text-shadow: 2px 2px 0 var(--creative-sky), 0 1px 0 #fff;
}

/* ==================== */
/* CONTAINER & LAYOUTS  */
/* ==================== */
.container {
  width: 100%;
  max-width: 1172px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.025);
}
.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;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: #fff;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--primary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--creative-violet);
  font-family: var(--font-display);
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** FEATURE GRID (varying number of features) *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 32px;
  margin-bottom: 32px;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 330px;
  background: linear-gradient(135deg, #fff 80%, var(--creative-yellow) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-height: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.02) rotate(-1deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

/***** CONTACT BOX *****/
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 32px 24px;
  background: linear-gradient(110deg, #ffe172 20%, #fff 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.contact-box > div {
  flex: 1 1 320px;
  min-width: 240px;
}
.contact-box ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--primary);
  gap: 12px;
}
.contact-box img {
  width: 22px;
  height: 22px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--creative-yellow);
  box-shadow: 0 1px 4px rgba(32,64,86,0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-wrap: nowrap;
  gap: 10px;
}
.logo img {
  height: 44px;
  transition: filter var(--transition);
}
.logo:hover img {
  filter: brightness(1.1) drop-shadow(0 2px 12px #26A69A22);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.main-nav a:not(.btn-primary):hover , .footer-nav a:hover, .mobile-nav a:hover {
  color: var(--secondary);
  background: #e8f7f5;
}
.btn-primary, .main-nav .btn-primary {
  background: var(--secondary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px 0 #26A69A44;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--creative-violet);
  color: #fff;
  box-shadow: 0 5px 24px 0 #6842a733;
  transform: scale(1.04);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 20px;
  box-shadow: 0 2px 8px 0 #20405622;
  cursor: pointer;
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 5px 18px 0 #26A69A33;
  transform: scale(1.03);
}

/* ========== MOBILE MENU BUTTON & RESPONSIVENESS ========== */
.mobile-menu-toggle {
  background: var(--creative-sky);
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px #34bfd244;
  cursor: pointer;
  margin-left: 20px;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 99;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--creative-violet);
  box-shadow: 0 2px 16px #6842a744;
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,64,86,0.96);
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.29,.55,.34,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: none;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--creative-violet);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 0 54px;
  margin-top: 8px;
  margin-right: 6px;
  cursor: pointer;
  box-shadow: 0 2px 18px #6842a7aa;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 72px 36px 36px 36px;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  position: relative;
  align-items: flex-start;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  padding: 16px 5px 10px 0px;
  width: 100%;
  border-radius: 0 var(--radius-sm) var(--radius) 0;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.mobile-nav a:hover {
  color: var(--creative-yellow);
  background: rgba(38,166,154,0.12);
  padding-left: 12px;
}

/***** HERO SECTION *****/
.hero {
  background: linear-gradient(120deg, var(--creative-yellow) 2%, #fff 40%, var(--creative-sky) 190%);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-top: 48px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
  margin-bottom: 52px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero .content-wrapper {
  width: 100%;
  max-width: 680px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 500;
}
.hero .btn-primary {
  margin-top: 18px;
  font-size: 1.18rem;
  letter-spacing: 1px;
}

/***** FOOTER *****/
footer {
  background: var(--primary);
  color: #fff;
  padding: 50px 0 24px 0;
  box-shadow: 0 -3px 16px #20405622;
  position: relative;
}
footer .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 0;
  gap: 28px;
}
.footer-logo img {
  height: 42px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px #26A69A88);
  transition: filter 0.18s;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-nav a {
  color: #fff;
  padding: 5px 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.footer-contact span {
  color: #ffe172;
  font-size: 0.98rem;
  font-family: var(--font-body);
}

/***** SPACING BETWEEN SECTIONS (MAIN) *****/
main > section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/***** RESPONSIVENESS – MOBILE FIRST *****/
@media (max-width: 992px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .feature-grid > div {
    flex-basis: 46%;
    min-width: 180px;
  }
  .contact-box {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero .container {
    gap: 16px;
  }
  .footer-nav {
    gap: 8px;
    flex-direction: column;
  }
  .contact-box {
    padding: 16px 10px;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 90vw;
    width: 100%;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    gap: 10px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 6px;
    height: auto;
  }
  .footer-logo img { height: 38px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.05rem; }
  .section, main > section { padding: 24px 0 0 0; }
  .feature-grid {
    gap: 10px;
  }
  .testimonial-card {
    padding: 12px 8px;
  }
  .contact-box {
    padding: 10px 2px;
    gap: 14px;
  }
}

/***** ANIMATIONS *****/
.btn-primary, .btn-secondary, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.card, .testimonial-card, .feature-grid > div {
  animation: fadeInUp 0.55s cubic-bezier(.19,1,.22,1) backwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to {   opacity: 1; transform: none; }
}
.mobile-menu {
  will-change: transform;
}
.mobile-menu.active {
  animation: menuSlideIn .33s cubic-bezier(.29,.55,.34,1) forwards;
}
@keyframes menuSlideIn {
  from { transform: translateX(100%); }
  to { transform: none; }
}


/***** COOKIE BANNER (FIXED) *****/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fffbe7;
  color: var(--primary);
  width: 100vw;
  padding: 20px 10px 22px 10px;
  box-shadow: 0 -6px 18px #6842a712;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  z-index: 5000;
  transition: transform 0.24s;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: fadeInUp 0.65s;
}
.cookie-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-right: 24px;
  color: var(--primary);
  max-width: 440px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-right: 0px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
  margin-right: 0px;
  box-shadow: 0 2px 10px #26a69a11;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--creative-violet);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--creative-yellow);
  color: var(--primary);
}
.cookie-banner .settings {
  background: var(--creative-yellow);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--creative-orange);
  color: #fff;
}

/***** COOKIE PREFERENCES MODAL *****/
.cookie-modal {
  position: fixed;
  z-index: 6000;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(32,64,86,0.39);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fffbe7;
  color: var(--primary);
  padding: 38px 24px 20px 24px;
  border-radius: var(--radius);
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 12px 32px #20405618;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInUp 0.65s;
}
.cookie-modal h3 {
  color: var(--creative-violet);
  font-family: var(--font-display);
  margin-bottom: 4px;
  font-size: 1.2rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-switch {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #d5dbe3;
  position: relative;
  transition: background 0.17s;
  margin-left: 10px;
}
.cookie-modal .cookie-switch[data-checked="true"] {
  background: var(--secondary);
}
.cookie-modal .cookie-switch .slider {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #20405622;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.21s;
}
.cookie-modal .cookie-switch[data-checked="true"] .slider {
  left: 20px;
}
.cookie-modal .category-essential {
  color: var(--primary);
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal button {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 0;
}
.cookie-modal .save {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: var(--creative-violet);
}
.cookie-modal .cancel {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: var(--creative-yellow);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.45rem;
  cursor: pointer;
}

/***** FORMS *****/
input, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.2px solid #d5dbe3;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 8px #26a69a22;
}
label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  display: block;
}

/***** ARTISTIC EXTRAS *****/
h1, h2, .btn-primary {
  /* Artistic color flick */
  position: relative;
}
.hero h1:after, .hero h2:after {
  content: '';
  display: block;
  width: 30%;
  height: 6px;
  background: var(--creative-orange);
  border-radius: 6px;
  position: absolute;
  left: 0;
  bottom: -14px;
  opacity: 0.6;
  z-index: 1;
}
.hero h1:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: var(--creative-sky);
  border-radius: 50%;
  position: absolute;
  right: -38px;
  top: 6px;
  opacity: 0.33;
  z-index: 1;
}
.feature-grid > div:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--creative-orange);
  border-radius: 50%;
  position: absolute;
  right: 16px;
  top: 22px;
  opacity: 0.13;
  z-index: 1;
}
.feature-grid > div:after {
  content: '';
  display: block;
  width: 40px;
  height: 7px;
  background: var(--creative-violet);
  border-radius: 4px;
  position: absolute;
  left: 16px;
  bottom: 12px;
  opacity: 0.09;
  z-index: 1;
}

/***** ACCESSIBILITY IMPROVEMENTS *****/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
  }
}

/***** UTILITY CLASSES *****/
.gap-xs { gap: 8px !important; }
.gap-sm { gap: 12px !important; }
.gap-md { gap: 20px !important; }
.gap-lg { gap: 32px !important; }
.margin-bottom { margin-bottom: 32px !important; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.hide { display: none !important; }

/***** ENSURE NON-OVERLAPPING SPACING *****/
.section > *, .content-wrapper > *, .container > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child, .section > *:last-child, .container > *:last-child {
  margin-bottom: 0;
}

/***** PRINT OPTIMIZED (just in case) *****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; }
}
button.mobile-menu-toggle {
  display: none !important;
}