/* ---------------------------------------------------
   CSS 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F7F8FB; /* dreamy white-blue */
  color: #243038;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ---------------------------------------------------
   GLOBAL VARIABLES & PASTEL PALETTE
--------------------------------------------------- */
:root {
  --primary: #243038;
  --secondary: #97B7A3;
  --accent: #E9E3D6;
  --bg-pastel-pink: #FAEBF4;
  --bg-pastel-blue: #E5F0FB;
  --bg-pastel-green: #E3F7EC;
  --bg-pastel-yellow: #FCF6DE;
  --bg-card: #FFFFFF;
  --shadow: 0 8px 24px 0 rgba(80,100,90,0.12);
  --radius: 22px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ---------------------------------------------------
   TYPOGRAPHY & TEXT HIERARCHY
--------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--primary);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
p, li, dl, address, small {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #29343d;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}
.text-section > p, .content-wrapper > p {
  margin-bottom: 18px;
}

/* Quote style for testimonials */
blockquote, .testimonial-card p {
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: #28353D;
}

@media (min-width: 620px) {
  h1, .h1 {
    font-size: 3rem;
  }
  h2, .h2 {
    font-size: 2.2rem;
  }
  h3, .h3 {
    font-size: 1.5rem; 
  }
}

/* ---------------------------------------------------
   CONTAINER & PAGE STRUCTURE & SECTION SPACING
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
}

main > section {
  background: var(--bg-pastel-blue);
  margin-bottom: 60px;
  border-radius: var(--radius);
}

main > section:nth-child(2n) {
  background: var(--bg-pastel-green);
}
main > section:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .container { max-width: 100%;}
  .section, section { padding: 32px 8px; }
}

@media (max-width: 768px) {
  .container { padding: 0 8px; }
}

/* ---------------------------------------------------
   FLEX PATTERNS & WRAPPERS
--------------------------------------------------- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: box-shadow .28s;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 28px 0 rgba(45,54,60,.16);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin: 20px 0;
  background: var(--bg-pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--secondary);
  color: #262a2d;
  max-width: 650px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  background: var(--bg-pastel-green);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

/* ---------------------------------------------------
   HEADER, NAVIGATION & MOBILE BURGER MENU
--------------------------------------------------- */
header {
  background: var(--bg-card);
  position: relative;
  z-index: 22;
  box-shadow: 0 4px 18px 0 rgba(80,100,90,0.07);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 20px;
  gap: 24px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--primary);
  transition: background .15s, color .15s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--bg-pastel-pink);
  color: #7FA797;
}
header nav .cta {
  background: var(--secondary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: var(--radius);
  margin-left: 24px;
  box-shadow: 0 2px 12px 0 rgba(151,183,163,0.08);
  transition: background .20s, color .19s, box-shadow .3s;
}
header nav .cta:hover, header nav .cta:focus {
  background: var(--primary);
  color: var(--accent) !important;
  box-shadow: 0 4px 16px 0 rgba(80,100,90,0.18);
}

/* --- Mobile burger --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  background: var(--bg-pastel-pink);
  font-size: 2.1rem;
  color: var(--primary);
  z-index: 40;
  border-radius: 50%;
  padding: 4px 10px;
  box-shadow: 0 2px 10px rgba(180,170,200,0.12);
  transition: background .22s, color .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(236,242,238,0.98);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.62,0.07,0.23,0.99);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
}
.mobile-menu.open { /* Slide in */
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 32px;
  top: 32px;
  font-size: 2.2rem;
  background: var(--bg-pastel-blue);
  color: var(--primary);
  border-radius: 50%;
  padding: 4px 10px;
  z-index: 1020;
  transition: background .2s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 90px 0 0 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.26rem;
  color: var(--primary);
  background: none;
  display: block;
  padding: 11px 0;
  border-radius: 10px;
  width: 100%;
  transition: background .14s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--bg-pastel-green);
  color: var(--secondary);
}
@media (max-width: 960px) {
  header nav ul, header nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding-top: 22px;
  }
  .mobile-nav { margin: 58px 0 0 26px;}
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #E9E3D6 40%, #E5F0FB 100%);
  margin-bottom: 60px;
  border-radius: var(--radius);
}
.hero .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1 {
  color: var(--primary);
}
.hero .cta {
  margin-top: 24px;
}

/* ---------------------------------------------------
   CTA BUTTON & LINKS
--------------------------------------------------- */
.cta, .button, button.cta, input[type=submit].cta {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .03em;
  border-radius: var(--radius);
  padding: 10px 34px;
  border: none;
  margin-top: 10px;
  margin-bottom: 5px;
  box-shadow: 0 2px 12px 0 rgba(151,183,163,0.10);
  transition: background .18s, color .16s, box-shadow .22s;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 18px 0 rgba(80,100,90,0.18);
}
.button-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* ---------------------------------------------------
   CARDS & BLOCKS
--------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow .22s;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-list, ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 8px;
}
li {
  margin-bottom: 12px;
  padding-left: 0;
  font-size: 1.03rem;
}
ul > li strong {
  font-weight: 600;
  color: var(--primary);
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: var(--bg-card);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 36px 0 20px 0;
  box-shadow: 0 -5px 36px rgba(80,100,90,0.06);
  margin-top: 80px;
  font-size: 1.05rem;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  max-height: 60px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav ul li a {
  font-size: 1rem;
  color: var(--secondary);
  transition: color .15s;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  color: var(--primary);
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98rem;
  color: var(--primary);
}
footer a {
  color: var(--primary);
  word-break: break-all;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav {
    gap: 18px;
  }
  footer {
    margin-top: 45px;
  }
  footer img {
    margin-bottom: 8px;
  }
}

/* ---------------------------------------------------
   TESTIMONIALS CARD
--------------------------------------------------- */
.testimonial-card {
  font-family: var(--font-body);
  border-left: 6px solid var(--secondary);
  box-shadow: 0 6px 32px 0 rgba(70,110,90,0.10);
  background: var(--bg-pastel-yellow);
  color: #273438;
  margin-bottom: 26px;
  max-width: 650px;
  transition: box-shadow .2s, border-color .22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 48px 0 rgba(151,183,163,0.26);
  border-left: 6px solid var(--primary);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #262a2d;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.04rem;
}
.testimonial-card div {
  font-size: 1.06rem;
  color: #65747c;
}

/* Stars or ratings in testimonials */
.testimonial-card div:nth-child(2) {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 3px;
  letter-spacing: .04em;
}

/* ---------------------------------------------------
   UTILITIES & EFFECTS
--------------------------------------------------- */
.shadow {
  box-shadow: var(--shadow);
}
.rounded {
  border-radius: var(--radius);
}

/* Spacing helpers */
.mb-8 {margin-bottom: 8px;}
.mb-16 {margin-bottom: 16px;}
.mb-20 {margin-bottom: 20px;}
.mb-32 {margin-bottom: 32px;}
.mt-24 {margin-top: 24px;}
.mt-40 {margin-top: 40px;}

/* ---------------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------------- */
@media (max-width: 860px) {
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer .content-wrapper {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section, section { padding: 24px 4px; }
  .content-wrapper, .card-container, .content-grid {
    gap: 13px;
  }
  .testimonial-card {
    padding: 14px 10px;
  }
  .hero .container { padding-top: 12px; padding-bottom: 12px;}
  footer {
    padding: 24px 0 10px 0;
  }
}

/* ---------------------------------------------------
   FORMS & INTERACTIVE ELEMENTS
--------------------------------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.4px solid var(--secondary);
  border-radius: 18px;
  background: #FCF8F2;
  color: var(--primary);
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
}
label {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
::-webkit-input-placeholder {
  color: #B8BFC5;
}
::-moz-placeholder {
  color: #B8BFC5;
}
:-ms-input-placeholder {
  color: #B8BFC5;
}
::placeholder {
  color: #B8BFC5;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2100;
  background: var(--bg-pastel-blue);
  padding: 22px 12px 16px 12px;
  box-shadow: 0 -4px 16px rgba(120,180,150,0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 22px 22px 0 0;
}
.cookie-banner .cookie-banner-text {
  max-width: 360px;
  color: var(--primary);
}
.cookie-banner .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cta, .cookie-banner .button-secondary {
  font-size: 1rem;
  padding: 8px 22px;
}
.cookie-banner .button-secondary {
  background: var(--bg-pastel-pink);
  color: var(--primary);
  border: 1.4px solid var(--secondary);
  border-radius: var(--radius);
}
.cookie-banner .button-secondary:hover, .cookie-banner .button-secondary:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 14px;}
  .cookie-banner .button-group { gap: 10px; width: 100%;}
}

/* Cookie modal overlay & dialog */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2110;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,48,56,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBgIn .23s;
}
@keyframes fadeModalBgIn { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal {
  background: var(--bg-pastel-pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 95%;
  padding: 34px 24px 22px 24px;
  position: relative;
  z-index: 2200;
  animation: modalAppear .32s cubic-bezier(0.7,0,0.36,1);
}
@keyframes modalAppear {
  from { transform: translateY(40px) scale(.97); opacity: 0.3; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: #dde3e7;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background .21s;
  margin-right: 8px;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  transition: left .2s, background .2s;
}
/* Toggle - active */
.cookie-modal .cookie-toggle.active {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle.active:before {
  left: 19px;
  background: var(--primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .button-secondary {
  font-size: 1rem;
  padding: 7px 18px;
}
.cookie-modal .cta {
  font-size: 1rem;
  padding: 7px 22px;
  margin-top: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #f6f9fc;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.6rem;
  border: none;
  transition: background .16s, color .17s;
  padding: 3px 9px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 18px 5px 15px 8px; }
  .cookie-modal h2 {
    font-size: 1.03rem;
    margin-bottom: 13px;
  }
}

/* ---------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
--------------------------------------------------- */
.card, .cta, .button, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .testimonial-card, .feature-item, .cookie-banner, .cookie-modal, .cookie-modal .close-modal {
  transition: box-shadow .18s, background .18s, color .17s, border .16s, transform .25s;
}
li, .text-section, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: background .24s, color .19s, box-shadow .20s, border .22s;
}

/* ---------------------------------------------------
   MISC. SMART STYLING
--------------------------------------------------- */
@media (hover: hover) {
  a:not(.cta):hover, a:not(.cta):focus {
    text-decoration: underline;
    color: var(--secondary);
  }
}
::-webkit-scrollbar {
  width: 8px;
  background: #efebe2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #dfdbd1;
  border-radius: 6px;
}
::selection {
  background: #f8ecf7;
}

/* ---------------------------------------------------
   ACCESSIBILITY & PRINT
--------------------------------------------------- */
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  footer, header, .cookie-banner, .mobile-menu { display: none !important;}
}
