/* =========================
   CSS 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #FAFAF8;
  color: #264653;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2a4978;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #82B29A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #264653;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.13;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1rem;
}
p, li {
  font-size: 1rem;
  color: #355070;
}
.subheadline {
  color: #82B29A;
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: bold;
  color: #264653;
}

/* =========================
   COLOR PALETTE & SOFT PASTELS
   ========================= */
:root {
  --primary: #264653;
  --secondary: #82B29A;
  --accent: #F9F7F3;
  --pastel-lavender: #F4E9F5;
  --pastel-blue: #D7E6F7;
  --pastel-mint: #D8F6EC;
  --pastel-pink: #FFE8F0;
  --pastel-yellow: #FFF6DB;
  --pastel-orange: #FFEDD5;
  --white: #FFFFFF;
  --dark: #264653;
  --text-main: #264653;
  --text-soft: #355070;
  --border-pale: #E9ECEF;
  --box-shadow: 0 2px 8px rgba(173, 207, 221, 0.12);
  --shadow-card: 0 4px 24px rgba(69, 123, 157, 0.08);
}


/* ================
   LAYOUT
   ================ */
.container {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  margin: 0 auto;
  padding: 0 0 0 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

main > section + section {
  margin-top: 32px;
}

@media (min-width: 960px) {
  .section {
    padding: 48px 48px;
    margin-bottom: 80px;
  }
}


/* =========================
   HEADER, NAVIGATION, LOGO
   ========================= */
header {
  background-color: var(--pastel-blue);
  box-shadow: 0 2px 8px rgba(130, 178, 154, 0.07);
  padding: 0;
}
header .container {
  min-height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 14px;
  background: var(--accent);
  padding: 4px 8px;
  transition: box-shadow 0.2s;
  box-shadow: var(--box-shadow);
}
.logo:focus img,
.logo:hover img {
  box-shadow: 0 4px 16px rgba(130,178,154,0.16);
}
.main-nav {
  display: none;
}
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 32px;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(130, 178, 154, 0.09);
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  display: inline-block;
  margin-left: 8px;
  margin-right: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(38,70,83,0.17);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 8px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}


@media (min-width: 960px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .main-nav a {
    display: block;
    padding: 10px 0;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    border-radius: 8px;
    transition: color 0.15s, background 0.17s;
  }
  .main-nav a:hover, .main-nav a:focus {
    color: var(--secondary);
    background: var(--pastel-mint);
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-mint) 60%, var(--pastel-pink) 100%);
  box-shadow: 0 6px 32px rgba(38,70,83,0.17);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.69,.13,.1,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  padding: 36px 30px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--white);
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  align-self: flex-end;
  margin-bottom: 12px;
  padding: 3px 20px 6px 20px;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: var(--primary);
  background: transparent;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
@media (min-width: 960px) {
  .mobile-menu {
    display: none;
  }
}

/* ==========================
   MAIN CONTENT & FEATURES
   ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin: 30px 0 0 0;
}
.feature-grid > div {
  background: var(--pastel-mint);
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  padding: 24px 18px 20px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  transition: background 0.19s, box-shadow 0.22s;
}
.feature-grid > div:hover {
  background: var(--pastel-blue);
  box-shadow: 0 6px 32px rgba(130,178,154,0.17);
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-yellow);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  padding: 22px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.17s, background 0.16s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover,
.card:focus-within {
  background: var(--pastel-mint);
  box-shadow: 0 4px 32px rgba(38, 70, 83, 0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.text-section {
  margin-bottom: 20px;
}

/* ==========================
   TESTIMONIAL STYLING
   ========================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--pastel-pink);
  color: #264653;
  box-shadow: 0 2px 18px rgba(130,178,154,0.11);
  min-width: 220px;
  max-width: 500px;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.09rem;
  color: #264653;
  text-align: center;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #355070;
  text-align: center;
}

/* ==========================
   LISTS, TABLES
   ========================== */
ul, ol {
  margin-bottom: 16px;
}
ul > li, ol > li {
  margin-left: 0;
  padding-left: 0.5em;
}
ul > li img, ol > li img {
  vertical-align: middle;
  height: 1em;
  margin-right: 6px;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: linear-gradient(110deg, var(--pastel-lavender) 60%, var(--pastel-mint) 100%);
  box-shadow: 0 -2px 12px rgba(38,70,83, 0.07);
  padding-top: 38px;
  padding-bottom: 26px;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.14s, color 0.16s;
}
.footer-nav a:hover {
  color: var(--secondary);
  background: var(--pastel-mint);
  text-decoration: none;
}
footer address {
  font-style: normal;
  text-align: center;
  font-size: 1rem;
  color: #335170;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer address img {
  height: 20px;
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-copy {
  color: #7b8997;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ==========================
   COOKIE CONSENT BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-blue) 80%, var(--pastel-mint) 100%);
  box-shadow: 0 -2px 18px rgba(38,70,83, 0.11);
  color: var(--primary);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  gap: 12px;
  animation: slideInBanner 0.75s;
}
@keyframes slideInBanner {
  0% {transform: translateY(80px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 4px;
}
.cookie-banner .btn-cookie {
  padding: 9px 23px;
  border-radius: 22px;
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: background 0.13s, color 0.17s, transform 0.18s;
}
.cookie-banner .btn-cookie.btn-reject {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .btn-cookie.btn-settings {
  background: var(--pastel-pink);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: var(--pastel-yellow);
  color: var(--primary);
  transform: translateY(-1px) scale(1.03);
}
.cookie-banner .btn-cookie.btn-reject:hover, .cookie-banner .btn-cookie.btn-reject:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 5px 10px 5px;
    gap: 8px;
  }
}

/* ==========================
   COOKIE PREFERENCES MODAL
   ========================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: var(--accent);
  border-radius: 20px;
  box-shadow: 0 8px 48px 0 rgba(130,178,154,0.22);
  min-width: 295px;
  max-width: 94vw;
  width: 400px;
  z-index: 1400;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: showModal 0.38s cubic-bezier(.52,.01,.45,1);
}
@keyframes showModal {
  0% {opacity: 0; transform: translate(-50%,-45%) scale(0.95);}
  100% {opacity: 1; transform: translate(-50%,-50%) scale(1);}
}
.cookie-modal h2 {
  font-size: 1.4rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--secondary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie-modal {
  background: var(--secondary);
  color: var(--accent);
  padding: 7px 22px;
  border-radius: 18px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .btn-cookie-modal.btn-cancel {
  background: var(--pastel-pink);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-modal .btn-cookie-modal:hover,
.cookie-modal .btn-cookie-modal:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal .btn-cookie-modal.btn-cancel:hover,
.cookie-modal .btn-cookie-modal.btn-cancel:focus {
  background: var(--pastel-yellow);
  color: var(--primary);
}
@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    width: 95vw;
    padding: 22px 8px 16px 8px;
  }
}
/* ==========================
   MEDIA QUERIES: Responsive Design
   ========================== */
@media (max-width: 968px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .section {
    padding: 30px 5px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    font-size: 0.96rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .section {
    border-radius: 11px;
  }
  .logo img {
    height: 36px;
    padding: 2px 3px;
  }
  .footer-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* ==========================
   UTILITY CLASSES & EFFECTS
   ========================== */
.shadow-s {
  box-shadow: 0 2px 6px rgba(130, 178, 154, 0.09);
}
.hide {
  display: none !important;
}
.mt-24 {margin-top: 24px !important;}
.mt-16 {margin-top: 16px !important;}
.mb-8 {margin-bottom: 8px !important;}
.mb-16 {margin-bottom: 16px !important;}
.mb-20 {margin-bottom: 20px !important;}
.gap-24 {gap: 24px !important;}
.rounded-xxl {border-radius: 29px !important;}

/* ==========================
   FOCUS OUTLINE
   ========================== */
a:focus, button:focus, input:focus, .btn-primary:focus, .cookie-banner .btn-cookie:focus, .cookie-modal .btn-cookie-modal:focus {
  outline: 2px solid var(--secondary) !important;
  outline-offset: 2px;
}

/* ==========================
   MICRO-INTERACTIONS
   ========================== */
.btn-primary, .btn-cookie, .btn-cookie-modal {
  transition: box-shadow 0.19s, background 0.17s, color 0.15s, transform 0.17s;
}
.btn-primary:active, .btn-cookie:active, .btn-cookie-modal:active {
  transform: scale(0.97);
}

.feature-grid > div,
.card,
.testimonial-card,
.btn-primary,
.btn-cookie,
.btn-cookie-modal {
  transition: box-shadow 0.19s, background 0.2s, color 0.2s, transform 0.16s;
}

/* ==========================
   SCROLLBAR STYLING (optional, extra soft)
   ========================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--pastel-lavender);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-mint);
  border-radius: 12px;
}

/* ==========================
   END OF STYLE.CSS
   ========================== */