/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FBFAF7;
  color: #2C3E50;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8BBDC5;
  outline-offset: 2px;
}

/* BRAND COLORS & PASTEL PALETTE */
:root {
  --primary: #2C3E50;
  --secondary: #8BBDC5;
  --accent: #F1E9DB;
  --pastel-blue: #B5E6F7;
  --pastel-purple: #E3D9F7;
  --pastel-green: #CFE6D7;
  --pastel-pink: #F7DBE6;
  --pastel-yellow: #FEF6CC;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(44,62,80,0.08);
  --shadow-elevated: 0 4px 32px rgba(44,62,80,0.10);
  --radius: 18px;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 820px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
main > section:not(.hero) {
  margin-top: 32px;
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.012);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  max-width: 500px;
  transition: box-shadow 0.15s, background 0.25s;
}
.testimonial-card:nth-child(3n+2) {
  background: var(--pastel-pink);
}
.testimonial-card:nth-child(3n+3) {
  background: var(--pastel-green);
}
.testimonial-card p {
  color: #234054;
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 15px;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-purple);
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 190px;
  flex: 1 1 270px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.feature-item:nth-child(2) {
  background: var(--pastel-yellow);
}
.feature-item:nth-child(3) {
  background: var(--pastel-green);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 25%, var(--pastel-pink) 100%);
  padding: 60px 0 50px 0;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-elevated);
  margin-bottom: 40px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 38px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(255,255,255,0.13);
}
.hero p {
  font-size: 20px;
  color: var(--primary);
  max-width: 600px;
  opacity: 0.96;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 32px;
  margin-top: 10px;
}
h2 {
  font-size: 26px;
  margin-top: 35px;
}
h3 {
  font-size: 20px;
  margin-top: 26px;
}
h4 {
  font-size: 17px;
  margin-top: 18px;
}
p, ul, ol, table, dl, .faq-list {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
ul, ol {
  margin-left: 1.3em;
  padding-left: 0.5em;
  margin-bottom: 22px;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 9px;
}

/* TABLE STYLING */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
thead tr {
  background: var(--pastel-blue);
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  padding: 14px 8px;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid #dfeaec;
}
tbody td {
  font-size: 16px;
  color: var(--primary);
  padding: 11px 8px;
  border-bottom: 1px solid #e8e6e4;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ LIST */
.faq-list {
  margin-top: 24px;
  margin-bottom: 30px;
}
.faq-list dt {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  color: var(--primary);
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 16px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  padding: 13px 16px;
  box-shadow: var(--shadow);
  color: #234054;
}

/* BUTTONS & CTA */
.cta-button {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 35px;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  border: none;
  margin-top: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(44,62,80,0.06);
  transition: background 0.2s, color 0.2s, transform 0.13s, box-shadow 0.2s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--pastel-pink);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-elevated);
}
button, .mobile-menu-close {
  cursor: pointer;
  font-family: inherit;
}

/* HEADER */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a img {
  height: 54px;
  width: auto;
  margin-right: 8px;
  border: none;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 14px;
  transition: background .15s, color .2s;
}
nav a:hover {
  background: var(--pastel-blue);
  color: #193455;
}

/* Hide .mobile-menu-toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--secondary);
  margin-left: 12px;
  cursor: pointer;
  z-index: 102;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}

/* FOOTER */
footer {
  background: var(--accent);
  padding: 48px 0 30px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3d4c5b;
  transition: color .2s;
  margin-bottom: 6px;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--primary);
}
.footer-info p {
  font-size: 15px;
  color: var(--primary);
  line-height: 1.7;
}
.footer-info img {
  vertical-align: middle;
  margin-right: 5px;
  width: 21px;
  height: 21px;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}
.social-links a img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transition: box-shadow .22s;
}
.social-links a:hover img {
  box-shadow: 0 4px 14px 0 rgba(139,189,197,0.32);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container {
    max-width: 970px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 740px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0;
    max-width: 100vw;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .hero .content-wrapper {
    gap: 15px;
  }
  nav {
    display: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 23px;
  }
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 16px;
  }
  .section, .hero {
    padding: 28px 5px;
  }
  .card, .feature-item, .testimonial-card {
    padding: 16px 8px;
  }
}
/* Responsive: text-image-section - column on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(251,250,247, 0.99);
  z-index: 120;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.55,0,0.55,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: var(--shadow-elevated);
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  font-size: 36px;
  background: none;
  border: none;
  color: var(--secondary);
  align-self: flex-end;
  margin: 20px 26px 0 0;
  padding: 6px 12px;
  border-radius: 13px;
  transition: color .2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--primary);
  background: var(--pastel-blue);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 36px 0 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 18px;
  padding: 11px 0;
  border-radius: 10px;
  width: 100%;
  transition: background .14s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-green);
  color: #325275;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-button {
    display: none;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MODALS & COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--pastel-blue);
  color: var(--primary);
  padding: 26px 16px 16px 16px;
  z-index: 1002;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px 0 rgba(44, 62, 80, 0.10);
  border-radius: 24px 24px 0 0;
  animation: bannerfadein .6s cubic-bezier(0.57,0.09,0.68,0.53);
  gap: 14px;
}
@keyframes bannerfadein {
  0% { transform: translateY(110%); opacity: 0; }
  80% { transform: translateY(-10px); opacity: .7; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 3px;
  font-size: 15px;
  color: #1a3646;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  padding: 9px 24px;
  border-radius: 17px;
  margin: 0;
  border: none;
  cursor: pointer;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: background .18s, color .19s, box-shadow .12s;
}
.cookie-banner button:hover {
  background: var(--pastel-green);
  color: var(--primary);
  box-shadow: var(--shadow-elevated);
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .accept:hover {
  background: var(--pastel-blue);
}
.cookie-banner .settings {
  background: var(--pastel-yellow);
  color: var(--primary);
}

@media (max-width:500px) {
  .cookie-banner {
    padding: 11px 2px 12px 2px;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;top: 0;right: 0;bottom: 0;
  background: rgba(44,62,80,0.17);
  justify-content: center;
  align-items: center;
  transition: opacity .23s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 26px 24px 26px;
  max-width: 415px;
  min-width: 260px;
  box-shadow: var(--shadow-elevated);
  animation: modalpop .35s cubic-bezier(0.51,0,0.61,1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@keyframes modalpop {
  0% { transform: scale(0.7); opacity: 0; }
  80%{ transform: scale(1.05);}
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
}
.cookie-modal .cookie-cat label {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin-right: 1px;
}
.cookie-modal .cookie-cat.essential label {
  color: #387876;
  opacity: 0.88;
}
.cookie-modal .cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

/* UTILITY SPACING */
.mb-20 {margin-bottom: 20px;}
.mb-32 {margin-bottom: 32px;}
.mb-40 {margin-bottom: 40px;}
.mt-24 {margin-top: 24px;}
.mt-36 {margin-top: 36px;}

/* SPECIALS: FORMS, ETC */
input, textarea, select {
  border: 1px solid #e0e4ea;
  border-radius: 13px;
  padding: 12px 13px;
  font-size: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF;
  color: #2C3E50;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color .13s, box-shadow .11s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px #c6eaf8;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  font-size: 15px;
}

/* ACCESSIBILITY FOCUS STATE */
button:focus, a:focus {
  outline: 2px solid var(--secondary); 
  outline-offset: 2px;
}

/* ELEVATED SHADOW ON HOVER */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-elevated);
}

/* NO GRID USED. FLEXBOX ONLY. */

