/* 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22334a;
  background: #E7EEF6;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style-position: inside;
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: #476380;
  text-shadow: 2px 4px 0 #F49E42, 0 1px 6px rgba(34, 51, 74, 0.09);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #F49E42;
  text-shadow: 1px 2px 0 #E7EEF6;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #22334a;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #476380;
}

p, li {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
}

/* GENERAL LAYOUT CLASSES */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 32px 0 rgba(244, 158, 66, 0.045), 0 2px 16px 0 rgba(71,99,128,0.05);
  transition: box-shadow 0.25s;
}
.section:hover {
  box-shadow: 0 6px 40px 0 rgba(244, 158, 66, 0.11), 0 4px 20px 0 rgba(71,99,128,0.13);
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #E7EEF6;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(244, 158, 66, 0.04), 0 1.5px 10px rgba(71,99,128,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s cubic-bezier(.42,0,.58,1), box-shadow 0.25s;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 300px;
}
.card:hover {
  transform: translateY(-4px) scale(1.025) rotate(-0.5deg);
  box-shadow: 0 8px 32px rgba(71,99,128,0.12), 0 0.5px 2px rgba(244,158,66,0.07);
  background: #fffbea;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E7EEF6;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 1px 8px rgba(244, 158, 66, 0.04), 0 1px 8px rgba(34, 51, 74, 0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.2s;
}
.feature-item:hover {
  background: #F8E8D6;
  box-shadow: 0 5px 24px rgba(244, 158, 66, 0.10);
}

/**************************/
/* HEADER & NAVIGATION    */
/**************************/
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 16px 0 rgba(244, 158, 66, 0.04);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #476380;
  padding: 8px 16px;
  border-radius: 30px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
header nav a.active, header nav a:focus, header nav a:hover {
  background: #F49E42;
  color: #fff;
  text-shadow: 0 1px 2px #47638022;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 28px;
}

/**************************/
/* MOBILE MENU            */
/**************************/
.mobile-menu-toggle {
  display: none;
  background: #F49E42;
  color: #22334a;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 51;
  box-shadow: 0 3px 10px #F49E421a;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {
  background: #476380;
  color: #fff;
}
.mobile-menu {
  /* initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  bottom:0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  transition: transform 0.32s cubic-bezier(.58,0,.28,1), opacity 0.23s;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 80px 0 #22334a22;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #476380;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #F49E42;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-top: 60px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #476380;
  background: #E7EEF6;
  border-radius: 30px;
  font-size: 1.4rem;
  padding: 15px 36px;
  margin: 0 0 8px 0;
  width: 80%;
  text-align: center;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F49E42;
  color: #fff;
}

/**************************/
/* MAIN & CARDS           */
/**************************/
main {
  background: transparent;
  min-height: 60vh;
  font-size: 1rem;
  width: 100%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/**************************/
/* CTA & BUTTONS          */
/**************************/
.cta, button.cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  background: #F49E42;
  color: #fff;
  border: none;
  padding: 14px 34px;
  margin-top: 10px;
  font-size: 1.16rem;
  box-shadow: 0 4px 16px 0 #f49e4234;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.17s, box-shadow 0.18s;
  gap: 8px;
  text-shadow: 0 2px 5px #47638022;
  letter-spacing: 0.03em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #476380;
  color: #fff;
  transform: scale(1.045) rotate(-1.5deg);
  box-shadow: 0 8px 28px 0 #47638033;
}
.cta.secondary {
  background: #476380;
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F49E42;
  color: #fff;
}

/**************************/
/* TESTIMONIALS           */
/**************************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 22px 28px;
  box-shadow: 0 2px 32px 0 rgba(244, 158, 66, 0.085), 0 1.5px 7px rgba(71,99,128,0.11);
  margin-bottom: 20px;
  min-width: 260px;
  border-left: 6px solid #F49E42;
  color: #22334a;
  position: relative;
  transition: box-shadow 0.23s, transform 0.16s;
  z-index: 0;
}
.testimonial-card p {
  font-weight: 600;
  font-size: 1.08rem;
  color: #22334a;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #476380;
  margin-top: 2px;
  display: block;
}
.testimonial-card span strong { color: #22334a; }
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #f49e4270, 0 1.5px 11px rgba(71,99,128,0.12);
  transform: scale(1.018) rotate(0.5deg);
}

/**************************/
/* FOOTER                 */
/**************************/
footer {
  background: #476380;
  width: 100%;
  color: #fff;
  padding: 0 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 30px; padding-bottom: 16px;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
footer nav a {
  font-size: 0.97rem;
  color: #F49E42;
  text-decoration: underline;
  font-weight: 600;
  margin-right: 4px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: #fffbea;
  text-shadow: 0 1px 4px #F49E4215;
}
footer img {
  height: 40px; width: auto;
}
footer p { font-size: 0.95rem; color: #fff; letter-spacing: 0.02em; }

/******************************/
/* COOKIE CONSENT BANNER      */
/******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 4px solid #F49E42;
  box-shadow: 0 -2px 18px #47638021;
  z-index: 120;
  width: 100vw;
  padding: 24px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-slidein 0.56s cubic-bezier(.31,1.31,.49,1) forwards;
}
@keyframes cookie-slidein {
  0% { transform: translateY(150px); opacity: 0; }
  85% { transform: translateY(-8px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  color: #476380;
  max-width: 800px;
  font-size: 1.04rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 17px;
  margin-top: 4px;
}
.cookie-banner .cta {
  border-radius: 18px;
  font-size: 1rem;
  padding: 9px 22px;
  background: #F49E42;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 10px #F49E4255;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner .cta.reject {
  background: #E7EEF6;
  color: #22334a;
  border: 2px solid #F49E42;
}
.cookie-banner .cta.settings {
  background: #476380;
  color: #fff;
}
.cookie-banner .cta:hover, .cookie-banner .cta:focus {
  background: #476380;
  color: #fff;
}

/******** COOKIE MODAL ********/
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34, 51, 74, 0.33);
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.45s cubic-bezier(.2,1.25,.5,1) forwards;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px #22334a41;
  padding: 40px 30px 30px 30px;
  width: 96%;
  max-width: 420px;
  text-align: left;
  animation: pop-modal-in 0.44s cubic-bezier(.43,2.23,.49,1) forwards;
  position: relative;
}
@keyframes pop-modal-in {
  0%{transform: scale(.8) translateY(90px); opacity:0;}
  60%{transform: scale(1.09) translateY(-8px);}
  100%{transform: scale(1.0) translateY(0); opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 11px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #476380;
  cursor: pointer;
  z-index: 2;
  transition: color 0.17s;
}
.cookie-modal-close:hover{
  color: #F49E42;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 19px;
  color: #F49E42;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: #22334a;
}
.cookie-category input[type="checkbox"]:disabled + label {
  opacity: 0.58;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/**************************/
/* MISC                   */
/**************************/
.company-info {
  margin-top: 10px;
  font-size: 1rem;
  color: #476380;
  line-height: 1.6;
  background: #fffbe9;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 2px 12px #f49e4221;
}
.address-map {
  margin-top: 14px;
  background: #E7EEF6;
  padding: 19px 15px;
  border-radius: 14px;
  color: #476380;
  font-size: 0.98rem;
  box-shadow: 0 1px 7px #47638022;
}

/**************************/
/* ANIMATIONS             */
/**************************/
.section, .card, .testimonial-card, .feature-item,
footer, .company-info, .address-map {
  transition: box-shadow 0.2s, transform 0.16s, background 0.19s;
}

/**************************/
/* RESPONSIVE, FLEX-ONLY  */
/**************************/
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
  footer .container {
    padding-left: 5vw; padding-right: 5vw;
  }
}
@media (max-width: 900px) {
  .card-container, .content-grid {
    gap: 16px;
  }
  .feature-item {
    padding: 20px 10px;
  }
  .card {
    min-width: 60vw;
    padding: 22px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding-left: 6px; padding-right: 8px;
    justify-content: flex-start;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 8px;
    border-radius: 18px;
  }
  .content-wrapper, .text-section {
    gap: 18px;
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.27rem;
  }
  .testimonial-card {
    padding: 17px 12px 15px 14px;
    border-radius: 15px;
    font-size: 0.94rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card {
    min-width: 0; width: 100%;
    margin-bottom: 18px;
    padding: 16px 7px;
    border-radius: 13px;
  }
  .feature-item {
    gap: 10px;
    border-radius: 10px;
  }
  .company-info, .address-map {
    padding: 13px 8px;
    border-radius: 8px;
  }
  .mobile-nav a {
    font-size: 1.01rem;
    padding: 12px 14px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  footer .container {
    gap: 6px;
  }
  .footer nav {
    gap: 6px;
  }
  .section {
    padding: 13px 2px;
  }
}

/****************************/
/* FUN/PY DYNAMIC EFFECTS   */
/****************************/
body {
  background: #E7EEF6 url('../assets/bg-shapes.svg') repeat-x 0 0;
  background-size: cover;
}
h1::after {
  content: '';
  display: inline-block;
  background: #F49E42;
  width: 34px;
  height: 8px;
  border-radius: 6px 22px 18px 20px / 10px 10px 10px 8px;
  margin-left: 12px;
  vertical-align: middle;
  animation: playful-underline 1.8s ease-in-out alternate infinite;
}
@keyframes playful-underline {
  0%, 100% { transform: translateY(0) scaleX(1); }
  45% { transform: translateY(4px) scaleX(1.22); }
  80% { transform: translateY(-1px) scaleX(.92); }
}
.cta.primary::after {
  content: ' →';
  font-weight: 900;
  font-size: 1.13em;
  color: #fffbea;
  margin-left: 6px;
  transition: transform 0.22s;
  display: inline-block;
}
.cta.primary:hover::after {
  transform: translateX(8px) scale(1.12) rotate(-2.5deg);
}
.card, .testimonial-card, .feature-item {
  position: relative;
  overflow: visible;
}
.card::before, .testimonial-card::before, .feature-item::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -13px; right: -20px;
  width: 38px; height: 38px;
  background: #F49E42;
  border-radius: 50% 44% 57% 35% / 48% 45% 65% 57%;
  opacity: 0.12;
  pointer-events: none;
  animation: scatter-bubble 3.6s ease-in-out infinite alternate;
}
.card::before { background: #F49E42; }
.testimonial-card::before { background: #476380; left: -17px; right:auto; opacity: 0.16; }
.feature-item::before {background: #F49E42; left:auto;top:-11px;right:-15px;opacity:0.09;}
@keyframes scatter-bubble {
  0% { transform:scale(1) translateY(0) rotate(0deg); }
  10%{transform:scale(.95) translateY(-2px) rotate(-7deg);}
  70% { transform:scale(1.14) translateY(-7px) rotate(15deg); }
  100% { transform:scale(1.03) translateY(6px) rotate(-21deg); }
}

/****************************/
/* FORMS (optional, for cta)
/****************************/
input, textarea, select {
  border-radius: 7px;
  border: 1.8px solid #E7EEF6;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 12px;
  width: 100%;
  background: #fff;
  color: #22334a;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F49E42;
  box-shadow: 0 0 0 2px #F49E428e;
}

/*************************/
/* TYPOGRAPHIC HIERARCHY */
/*************************/
.section h1, .section h2 {
  margin-top: 0;
}
.section h2 {
  margin-bottom: 10px;
}
/*************************/
/* LINKS                */
/*************************/
a {
  color: #F49E42;
  text-decoration: underline dotted #F49E42 1.5px;
  transition: color 0.16s, text-decoration 0.14s;
}
a:hover, a:focus {
  color: #476380;
  text-decoration: underline solid #476380 2px;
}

/* Hide visually when not needed on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Ensure no element overlap (layout assurance) */
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/************************************/
/* UNIQUE ELEMENT + SPACING PATTERNS*/
/************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
