/* CSS RESET & BASE NORMALIZATION */
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;
}
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #F7F3EC;
  color: #27536B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: inline-block;
}

a {
  color: #27536B;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.5,.03,.25,1);
}
a:hover, a:focus {
  color: #ff6f6c;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1e384b;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.13rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  margin-bottom: 14px;
  color: #27536B;
  font-size: 1rem;
}
ul, ol {
  padding-left: 24px;
}
strong {
  font-weight: 700;
  color: #FC7836;
}
blockquote {
  padding: 15px 20px 15px 30px;
  border-left: 4px solid #ffcb2e;
  background: #fff7e7;
  font-style: italic;
  color: #1e384b;
  margin-bottom: 8px;
  border-radius: 13px;
}

/* PLAYFUL DYNAMIC COLORS (Brand + Accent Pops) */
:root {
  --brand-primary: #27536B;
  --brand-secondary: #9AB5C6;
  --brand-accent: #F7F3EC;
  --fun-blue: #39b4eb;
  --fun-yellow: #ffcb2e;
  --fun-green: #46e3ad;
  --fun-orange: #FC7836;
  --fun-pink: #ff6f6c;
  --fun-purple: #907af7;
  --heading-color: #1e384b;
  --card-bg: #fff;
  --card-shadow: 0 5px 28px 0 rgba(41,92,120,0.10), 0 1.5px 6px 0 rgba(255,206,73,0.11);
  --border-radius: 18px;
  --transition: 0.23s cubic-bezier(.74,.2,.27,1.01);
  --spc-s: 12px;
  --spc-m: 24px;
  --spc-l: 40px;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX UTILITY LAYOUTS */
.card-container,
.card-grid,
.feature-grid,
.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  background: #fff;
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  min-width: 220px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 1px #ffcb2e);
}
.feature-item:hover {
  transform: translateY(-8px) scale(1.035) rotate(-2deg);
  box-shadow: 0 10px 32px 0 rgba(57,180,235,0.13),0 2.5px 9px 0 rgba(255,110,108,0.10);
}
.icon-list {
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1 1 200px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 14px;
  min-width: 160px;
}
.icon-item img {
  width: 48px;
  height: 48px;
}

.feature-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 0 0;
}
.feature-icons img {
  width: 48px;
  height: 48px;
  filter: grayscale(0%) drop-shadow(0 2px 8px #46e3ad40);
}

/* HERO */
.hero {
  background: var(--fun-blue);
  position: relative;
  padding: 48px 0 36px 0;
  min-height: 315px;
  z-index: 1;
}
.hero:after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 62px;
  background: url('../assets/wave.svg') no-repeat bottom center/cover;
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 18px;
  letter-spacing: 0.025em;
}
.hero p {
  color: #fff;
  font-size: 1.19rem;
  margin-bottom: 30px;
}
.hero .btn-primary {
  box-shadow: 0 5px 20px 0 rgba(255,110,108, 0.09);
}

/* BUTTONS & CTAs */
.btn-primary, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  background: linear-gradient(90deg, #ffcb2e 60%, #FC7836 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  font-size: 1.1rem;
  border: none;
  border-radius: 800px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(255,203,46, 0.08);
  transition: background 0.15s, box-shadow 0.2s, transform 0.22s;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn:focus {
  background: linear-gradient(90deg, #FC7836 60%, #ffcb2e 100%);
  color: #fff;
  transform: scale(1.07) rotate(-1.5deg);
  box-shadow: 0 8px 28px rgba(57,180,235,0.13);
}
.btn-secondary {
  background: #46e3ad;
  color: #27536B;
  border: none;
}

/* NAVIGATION */
header {
  background: var(--brand-accent);
  box-shadow: 0 3px 12px 0 rgba(41,83,107,0.073);
  padding: 0;
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 64px;
}
header a img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 36px;
  flex: 1 1 auto;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27536B;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 16px;
  transition: background 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ffcb2e33;
  color: #FC7836;
}
header .btn-primary {
  margin-left: 18px;
}
/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
  margin-left: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FC7836;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffcb2e44;
}

/* MOBILE NAVIGATION (Burger Menu) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff4e8;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.49,.02,.61,1.09);
  box-shadow: 0 0 32px rgba(41,83,107,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 28px 0 0;
  font-size: 2.3rem;
  color: var(--fun-pink);
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
  padding: 3px 12px;
  transition: color 0.13s, background 0.12s;
  border-radius: 12px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ff6f6c15;
  color: #ffcb2e;
}
.mobile-nav {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  padding: 0 24px;
}
.mobile-nav a {
  font-size: 1.21rem;
  color: #27536B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 44px 15px 16px;
  border-radius: 12px;
  transition: background 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #ffcb2e33;
  color: #FC7836;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff7e7;
  color: #27536B;
  box-shadow: 0 -2px 12px 0 rgba(241,170,60,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1200;
  padding: 24px 10px 22px 10px;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-banner-in 0.8s cubic-bezier(.46,.03,.52,.96);
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}
.cookie-banner .btn-primary {
  padding: 9px 30px;
  font-size: 1rem;
  margin: 0 4px;
}
.cookie-banner .btn-secondary {
  padding: 9px 28px;
  background: #eaf9f4;
  color: #27536B;
  margin: 0 4px;
  font-size: 1rem;
}
.cookie-banner .btn-secondary:hover {
  background: #46e3ad33;
  color: #FC7836;
}
/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.97);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 68px 0 rgba(68,34,7,0.22);
  z-index: 1300;
  min-width: 295px;
  max-width: 94vw;
  width: 370px;
  padding: 37px 23px 33px 23px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookie-modal-in 0.32s cubic-bezier(.7,.03,.22,1.21);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%,-33%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.19rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #ff6f6c;
  font-size: 1.45rem;
  align-self: flex-end;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 9px;
  padding: 2px 10px;
}
.cookie-modal-close:hover {
  background: #fdab991c;
  color: #ffcb2e;
}
.cookie-pref-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 8px;
}
.cookie-pref-label {
  font-weight: 600;
  font-size: 1rem;
  color: #253659;
}
.cookie-pref-toggle {
  width: 48px; height: 26px;
  border-radius: 100px;
  background: #e2e8fe;
  box-shadow: 0 0 3px 0 #b7c0ed;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-pref-toggle.on { background: #46e3ad; }
.cookie-pref-toggle:after {
  content: '';
  position: absolute;
  width: 21px; height: 21px;
  background: #fff;
  border-radius: 50%;
  top: 2.5px; left: 4px;
  transition: left 0.21s cubic-bezier(.49,.02,.61,1.09);
  box-shadow: 0 1.5px 5px #e2cfc0aa;
}
.cookie-pref-toggle.on:after { left: 23px; }

/* END - COOKIE MODAL STYLES */

/* CARD & TESTIMONIALS */
.card, .feature-item, .testimonial-card, .icon-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}
.testimonial-card {
  min-height: 100px;
  background: #fff;
  color: #1e384b;
  gap: 15px;
  transition: box-shadow 0.16s, border 0.11s, transform 0.16s;
  border: 2px solid #ffcb2e44;
}
.testimonial-card:hover {
  box-shadow: 0 13px 36px rgba(252,120,54, 0.10), 0 2.5px 10px rgba(255,110,108,0.08);
  border-color: #FC7836;
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card blockquote {
  background: none;
  border-left-color: #46e3ad;
  color: var(--heading-color);
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #fc7836;
  font-size: 0.99rem;
  font-style: normal;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* PROCESS, STEPS, & UL/OL FLOWS */
.process-flow, .process-steps, .search-steps, .step-by-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 10px 0;
}
.process-flow ol, .process-steps ol, .search-steps ol, .step-by-step ol {
  padding-left: 20px;
  color: #fc7836;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
}
.process-flow li, .process-steps li, .search-steps li, .step-by-step li {
  margin-bottom: 7px;
  color: #1e384b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 400;
  background: #eaf9f4;
  border-radius: 9px;
  padding: 7px 16px;
  box-shadow: 0 0.5px 2px #46e3ad13;
  transition: background 0.11s;
}

/* MAP SNIPPET, CONTACT, & PHONE/EMAIL */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #ffcb2e16;
  border-radius: 13px;
  padding: 12px 19px;
  margin-bottom: 13px;
}
.phone-email-summary ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.phone-email-summary li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.06rem;
  color: #FC7836;
  padding: 7px 0;
}
.contact-information p, .footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}

/* LIST CUSTOMIZATIONS */
ul li, ol li {
  margin-bottom: 8px;
  color: #27536B;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: #FC7836;
  font-weight: bold;
  display: inline-block; width: 1em;
  margin-left: -1em;
}
ol li::before {
  content: counter(li) '.';
  color: #27536B;
  font-weight: bold;
  margin-right: 4px;
}
ol {
  counter-reset: li;
}
ol li {
  counter-increment: li;
}

/* FOOTER */
footer {
  background: #27536B;
  color: #fff;
  padding: 42px 0 26px 0;
  margin-top: 0;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.footer-brand img {
  width: 52px;
  height: 52px;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-decoration: underline dotted #46e3ad67 1px;
  transition: color 0.12s;
  padding: 3px 6px;
  border-radius: 6px;
}
.footer-menu a:hover {
  background: #ffcb2e;
  color: #27536B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #cbe2f1;
}
.footer-contact img {
  width: 22px;
}

/* CONFIRMATION MESSAGE, SUCCESS SCREENS */
.confirmation-message {
  background: #eaf9f4;
  border-left: 4px solid #46e3ad;
  border-radius: 12px;
  padding: 14px 22px;
  color: #1e384b;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 7px #46e3ad17;
}
.next-steps {
  background: #ffcb2e16;
  border-radius: 12px;
  color: #1e384b;
  padding: 12px 18px;
  margin-bottom: 11px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.feature-item, .icon-item, .testimonial-card, .btn-primary {
  transition: box-shadow 0.22s, transform 0.22s, background 0.18s, color 0.13s;
}
.card:hover, .icon-item:hover {
  box-shadow: 0 13px 36px rgba(252,120,54, 0.10), 0 2.5px 10px rgba(39,83,107,0.07);
  transform: translateY(-4px) scale(1.01);
}
.card:active, .feature-item:active, .btn-primary:active {
  box-shadow: 0 0.5px 4px #39b4eb44;
  transform: scale(0.98);
}

/* RESPONSIVENESS & MOBILE-FIRST LAYOUTS */
@media (max-width: 1024px) {
  .container { max-width: 95vw; }
  .main-nav {
    gap: 13px;
    margin-left: 13px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .footer-menu { flex-wrap: wrap; gap: 8px; }
  .feature-grid, .icon-list, .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-menu,
  .footer-brand,
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 24px;
    min-height: 180px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    margin-bottom: 36px;
    padding: 25px 8px;
  }
  .feature-grid, .icon-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .feature-item, .icon-item {
    min-width: 90%;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 13px 11px;
    min-width: 88vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .process-flow, .process-steps, .search-steps, .step-by-step {
    gap: 5px;
  }
  .hero:after {
    height: 30px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 7px 12px 8px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.08rem; }
  h2 { font-size: 0.98rem; }
  h3 { font-size: 0.9rem; }
  p, ul, ol { font-size: 0.98rem; }
  .btn-primary, .btn { font-size: 0.99rem; padding: 9px 18px; }
  .cookie-banner { font-size: 0.93rem; padding: 13px 5px; gap: 8px; }
  .confirmation-message { font-size: 0.94rem; padding: 9px 9px; }
}

/* Z-INDEX LAYERS (menus/cookies etc) */
.mobile-menu { z-index: 900; }
.cookie-banner { z-index: 1200; }
.cookie-modal { z-index: 1300; }

/* MISC UTILITY */
.text-section {
  background: #fff7e7;
  border-radius: 10px;
  padding: 12px 16px;
}

.policy-details, .gdpr-details, .terms-details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2.5px 9px #ffcb2e0d;
  padding: 22px 20px;
}

/* Hide cookie modal & banner on inactive */
.cookie-modal, .cookie-banner {
  display: none;
}
.cookie-modal.active, .cookie-banner.active {
  display: flex;
}

/* Accessibility outline for all active/focus inputs/buttons/links */
a:focus, button:focus, .btn:focus {
  outline: 2.5px solid #ffcb2e;
  outline-offset: 2px;
}

/***** END: Playful Dynamic Flexbox CSS *****/
