/* RESET & BASE STYLES ----------------------------------------------------- */
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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafdff;
  color: #204265;
  line-height: 1.65;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.05em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  transition: color 0.15s;
  font-weight: bold;
}
a:hover, a:focus {
  color: #FFD564;
  outline: none;
}
ul,
ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  color: #204265;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 16px;
}
strong, b { font-weight: 700; }

/* CONTAINER / SECTION / GRID ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  max-width: 700px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(32,66,101,0.10);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 6px 32px 4px rgba(119,178,140,0.18), 0 8px 40px 0 rgba(255,213,100,0.10);
  transform: translateY(-4px) scale(1.01);
  z-index: 1;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(32,66,101,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 260px;
  position: relative;
  text-align: left;
  transition: box-shadow 0.18s, transform 0.17s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 32px 3px rgba(255,213,100,0.15), 0 4px 32px 0 rgba(32,66,101,0.17);
  transform: scale(1.03) rotate(-1.5deg);
}
.features-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 6px;
}
.features-grid h3 {
  margin-bottom: 0;
  margin-top: 6px;
  font-size: 1.18rem;
  color: #77B28C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* HEADER --------------------------------------------------------------------- */
header {
  background: #204265;
  color: #fff;
  padding: 0;
  position: relative;
  box-shadow: 0 4px 16px 0 rgba(32,66,101,0.07);
  z-index: 101;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 20px;
}
header a img {
  height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #FFD564;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.18s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: #FFD564;
  color: #204265;
}
.cta-btn {
  display: inline-block;
  background: #FFD564;
  color: #204265;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px 0 rgba(255,213,100,0.06);
  border: none;
  outline: none;
  transition: background 0.17s, color 0.2s, box-shadow 0.17s, transform 0.12s;
  margin-left: 18px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #77B28C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px 4px rgba(119,178,140,0.11);
}

/* MOBILE MENU --------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FFD564;
  border: none;
  font-size: 2rem;
  padding: 4px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.14s,color 0.11s,box-shadow 0.13s;
  z-index: 1201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD564;
  color: #204265;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #204265;
  color: #FFD564;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  z-index: 2000;
  box-shadow: 0 0 120px 8px rgba(32,66,101,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 0 8px 20px;
  background: none;
  border: none;
  color: #FFD564;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s;
  align-self: flex-start;
  z-index: 2050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD564;
  color: #204265;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 28px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #FFD564;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: bold;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD564;
  color: #204265;
}

/* HERO SECTIONS ------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #FFD564 0%, #77B28C 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  box-shadow: 0 6px 32px 0 rgba(32,66,101,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #204265;
  font-size: 2.6rem;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.18rem;
  color: #204265;
}
.hero img {
  margin-top: 16px;
  height: 70px;
}

/* FEATURE & BODY CARDS ------------------------------------------------------ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(32,66,101,0.07);
  padding: 22px 20px;
  margin-bottom: 18px;
}

.quick-tips {
  background: #FFD564;
  color: #204265;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1.045rem;
  margin-top: 18px;
  font-weight: 500;
  box-shadow: 0 5px 24px 0 rgba(255,213,100,0.11);
}

/* TESTIMONIALS -------------------------------------------------------------- */
.testimonials {
  background: #fff;
  padding: 60px 0;
}
.testimonials h2 {
  color: #204265;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFD564;
  color: #204265;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(255,213,100,0.13), 0 6px 30px 0 rgba(32,66,101,0.06);
  margin-top: 26px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #204265;
  font-size: 1.12rem;
  margin-bottom: 0;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #204265;
  font-style: italic;
  margin-left: 12px;
  font-weight: 400;
}

/* CALL TO ACTION SECTIONS --------------------------------------------------- */
.cta {
  background: #204265;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px 0 rgba(32,66,101,0.10);
  margin-bottom: 40px;
  padding: 48px 0;
}
.cta h2 {
  color: #FFD564;
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta p {
  color: #fff;
  font-size: 1.15rem;
}

/* COOKIE CONSENT BANNER & MODAL --------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #204265;
  color: #FFD564;
  padding: 18px 24px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  gap: 30px;
  box-shadow: 0 -2px 16px 0 rgba(32,66,101,0.12);
  font-size: 1.07rem;
  animation: fadeInBanner 0.6s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn {
  background: #FFD564;
  color: #204265;
  border-radius: 24px;
  font-size: 1.03rem;
  font-weight: 700;
  padding: 10px 24px;
  margin-left: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 3px 12px 0 rgba(255,213,100,0.11);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #77B28C;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #204265;
  border: 2px solid #FFD564;
  margin-left: 16px;
  padding: 10px 20px;
  border-radius: 22px;
  font-weight: 700;
  box-shadow: none;
  transition: background 0.12s, color 0.11s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #FFD564;
  color: #204265;
}

.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,66,101,0.73);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #204265;
  border-radius: 22px;
  box-shadow: 0 8px 54px 0 rgba(32,66,101,0.14), 0 4px 30px 0 rgba(119,178,140,0.05);
  padding: 40px 32px;
  max-width: 90vw;
  width: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPop 0.27s cubic-bezier(.48,1.41,.49,.77);
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(1.06) translateY(32px); }
  50% { opacity: 1; transform: scale(1.01) translateY(-4px); }
  100% { opacity: 1; transform: scale(1.0) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  font-size: 1.05rem;
}
.cookie-toggle {
  appearance: none;
  background: #FFD564;
  border-radius: 16px;
  width: 37px; height: 22px;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #77B28C;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.16s;
  box-shadow: 0 2px 4px 0 rgba(32,66,101,0.09);
}
.cookie-toggle:checked::after {
  left: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .modal-actions button {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 20px;
  border-radius: 18px;
  border: none;
  background: #FFD564;
  color: #204265;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #77B28C;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px; top: 10px;
  background: none;
  border: none;
  color: #204265;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 6px 10px;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #FFD564;
  color: #204265;
}

/* FORMS (GENERIC) ----------------------------------------------------------- */
input, select, textarea, button {
  font-family: inherit;
}
input[type="text"], input[type="email"], textarea, select {
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 9px;
  box-shadow: 0 2px 8px 0 rgba(32,66,101,0.08);
  margin-bottom: 20px;
  font-size: 1rem;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #FFD564;
  border-color: #FFD564;
}
button {
  cursor: pointer;
}

/* LISTS & TEXT -------------------------------------------------------------- */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
ul li img, ol li img {
  margin-right: 8px;
  vertical-align: middle;
  height: 1.1em;
}

address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}

/* FOOTER -------------------------------------------------------------------- */
footer {
  background: #204265;
  color: #FFD564;
  padding: 40px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 60px;
  box-shadow: 0 -6px 28px 0 rgba(32,66,101,0.09);
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #FFD564;
  font-size: 1.02rem;
  padding: 7px 13px;
  border-radius: 7px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  background: #FFD564;
  color: #204265;
}
footer address {
  text-align: center;
  margin-top: 6px;
}
footer small {
  font-size: 0.95rem;
  color: #FFD564;
  opacity: 0.85;
  margin-top: 12px;
}

/* RESPONSIVE DESIGN --------------------------------------------------------- */
@media (max-width: 1020px) {
  .container { max-width: 880px; }
}
@media (max-width: 850px) {
  .container { max-width: 97vw; }
  .features-grid { flex-direction: column; gap: 22px; }
  .features-grid > div { min-width: 180px; max-width: 99%; width: 100%; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px 14px 10px;
  }
  nav, header nav {
    display: none;
  }
  .cta-btn { margin-left: 0; margin-top: 12px; }
  .mobile-menu-toggle { display: block; margin-left: auto; }
  .testimonials { padding: 38px 0; }
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .content-wrapper { gap: 18px; }
  .hero h1 { font-size: 2.1rem; }
  .hero { min-height: 220px; }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card {
    padding: 18px 10px;
  }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  footer { padding: 22px 0 9px 0; gap: 14px; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .container { padding: 0 7px; }
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cookie-modal { padding: 20px 8px; width: 97vw; }
}

/* VIBRANT/ENERGETIC ELEMENT EFFECTS ----------------------------------------- */
.hero, .cta, .cta-btn, .features-grid > div, .card, .testimonial-card, .quick-tips {
  box-shadow: 0 4px 30px 0 rgba(32,66,101,0.07);
  border-radius: 14px;
}
h1, h2, h3 {
  text-shadow: 0 2px 8px rgba(255,213,100,0.09), 0 1px 2px rgba(32,66,101,0.12);
  text-transform: none;
}
.cta-btn, .cookie-banner .cookie-btn {
  box-shadow: 0 4px 14px 0 rgba(255,213,100,0.10), 0 1px 4px 0 rgba(119,178,140,0.05);
  border-width: 2px;
}

/* ACCESSIBLE FOCUS STATES --------------------------------------------------- */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-close:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .cookie-modal .modal-close:focus {
  outline: 2px dashed #FFD564;
  outline-offset: 2px;
}

/* DISABLE GRID & COLUMNS ---------------------------------------------------- */
/* Ensuring forbidden properties are not used anywhere (see requirements). */
