/* 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F7F8FA;
  color: #26324B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: bold;
}

/* COLORS: SOFT PASTEL PALETTE + BRAND */
:root {
  --primary: #2956A3;
  --secondary: #FFD600;
  --accent: #FFFFFF;
  --pastel-blue: #D6E4FF;
  --pastel-pink: #FFD9F5;
  --pastel-yellow: #FFF9C4;
  --pastel-mint: #C8F2E1;
  --pastel-lavender: #F0ECFF;
  --pastel-orange: #FFE6CF;
  --text-main: #26324B;
  --text-muted: #6883A0;
  --shadow: 0 3px 20px 0 rgba(120,146,194, 0.13);
  --card-bg: #FFFFFF;
  --section-bg: #F7F8FA;
  --button-hover: #1A4080;
  --outline: #B6C8EA;
}

/* TYPOGRAPHY =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol {
  margin-bottom: 10px;
}
.subheadline {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.text-section {
  max-width: 760px;
}
ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 8px;
}

/* LAYOUT: CONTAINERS, SECTIONS, FLEXBOX ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* FLEX LAYOUT PATTERNS */
.feature_grid, .feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-item:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(80, 100, 160, 0.16);
  background: var(--pastel-lavender);
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(100, 130, 200, 0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIALS ========================= */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 18px;
  background: var(--pastel-mint);
  border-radius: 22px;
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card:hover {
  background: var(--pastel-blue);
  box-shadow: 0 8px 32px 0 rgba(80, 100, 160, 0.15);
}
.user-rating {
  font-size: 1.35rem;
  color: #FEA7CF;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px #ffd9f5;
  margin-bottom: 8px;
}
.testimonial-card p {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: center;
}
.user-name {
  color: var(--primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
}

/* BUTTONS, LINKS, CTA =================== */
.cta-primary {
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 38px;
  box-shadow: 0 3px 12px 0 rgba(41,86,163,0.07);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 12px;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--button-hover);
  color: var(--secondary);
  box-shadow: 0 8px 24px 0 rgba(41,86,163,0.20);
  outline: none;
  transform: translateY(-2px) scale(1.025);
}

.button-secondary {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.button-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
a {
  color: var(--primary);
  transition: color 0.15s;
}
a:hover {
  color: #FEA7CF;
}

/* HEADER & MAIN NAV ===================== */
header {
  background: var(--pastel-pink);
  box-shadow: var(--shadow);
  padding: 0 0 6px 0;
  margin-bottom: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 12px 0;
}
.main-nav img {
  height: 44px;
  margin-right: 18px;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 8px 10px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover:not(.cta-primary) {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.main-nav .cta-primary {
  margin-left: 10px;
}

/* MOBILE MENU =========================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 70;
  box-shadow: var(--shadow);
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--button-hover);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(252,249,255,0.98);
  box-shadow: 0 8px 40px 0 rgba(80,60,150,0.17);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.62,-0.02,.67,1.05), opacity 0.18s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 24px 18px auto;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.75rem;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: var(--shadow);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--button-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 12px 48px;
  margin-top: 8px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 0 6px 7px;
  transition: color 0.13s, background 0.13s;
  border-radius: 17px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 11px;
    padding: 10px 0;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-list, .feature_grid, .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .section {
    padding: 22px 6px;
    margin-bottom: 44px;
    border-radius: 20px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 90vw;
    max-width: 99vw;
    padding: 16px 12px;
  }
}

/* FOOTER -------------------------------- */
footer {
  background: var(--pastel-lavender);
  box-shadow: 0 -4px 24px 0 rgba(110, 90, 180, 0.08);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-top: 40px;
  padding: 24px 0 6px 0;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 13px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  color: var(--text-main);
  font-size: 0.98rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-contact img {
  height: 20px;
  width: 20px;
}
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    font-size: 0.99rem;
    align-items: flex-start;
    padding-left: 14px;
  }
}

/* TIPS & CATEGORIES ===================== */
.tips-list, .categories_list ul {
  margin-top: 12px;
  padding-left: 16px;
}
.tips-list li, .categories_list ul li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 7px;
  list-style-type: disc;
}
.categories_list h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* MAP PLACEHOLDER (CONTACT) ============= */
.map-placeholder {
  background: var(--pastel-pink);
  border-radius: 16px;
  padding: 18px 12px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-weight: 500;
}
.map-placeholder img {
  height: 24px;
  margin-right: 8px;
}

/* RESPONSIVE FONTS & SPACING ============ */
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
}

/* SHADOWS & EFFECTS ===================== */
.box-shadow, .box-shadow-hover {
  box-shadow: var(--shadow);
}
.box-shadow-hover:hover {
  box-shadow: 0 8px 24px 0 rgba(90,130,150,0.18);
}

/* MICROINTERACTIONS ===================== */
.feature-item, .testimonial-card, .card {
  transition: transform 0.21s, box-shadow 0.21s, background 0.22s;
}
.feature-item:active, .testimonial-card:active, .card:active {
  transform: scale(0.98);
}

/* INPUTS, FORMS (if any in extended code) ===== */
input[type="text"], input[type="email"], textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--outline);
  border-radius: 10px;
  background: #FAFAFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  margin-bottom: 10px;
  transition: border 0.18s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: #F4F8FF;
}

/* COOKIE CONSENT ======================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--pastel-lavender);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(110,90,180,0.16);
  padding: 20px 18px 16px 18px;
  z-index: 260;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  opacity: 1;
  transition: opacity 0.3s, transform 0.28s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}
.cookie-banner p {
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
}
.cookie-banner .button-accept,
.cookie-banner .button-reject,
.cookie-banner .button-settings {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  transition: background 0.21s, color 0.17s;
  cursor: pointer;
}
.cookie-banner .button-accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .button-accept:hover {
  background: var(--button-hover);
  color: var(--secondary);
}
.cookie-banner .button-reject {
  background: var(--pastel-pink);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .button-reject:hover {
  background: var(--pastel-blue);
  color: #FEA7CF;
}
.cookie-banner .button-settings {
  background: var(--pastel-blue);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .button-settings:hover {
  background: var(--pastel-yellow);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    left: 6px;
    right: 6px;
    padding: 10px 7px 9px 11px;
    font-size: 0.99rem;
  }
  .cookie-banner-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-banner .button-accept,
  .cookie-banner .button-reject,
  .cookie-banner .button-settings {
    padding: 9px 12px;
    font-size: 0.96rem;
  }
}

/* COOKIE MODAL ========================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,66,120, 0.18);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--pastel-blue);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 32px 22px 18px 22px;
  min-width: 298px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.28rem;
  font-weight: 700;
}
.cookie-modal-close {
  background: var(--primary);
  border: none;
  color: var(--accent);
  font-size: 1.2rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover {
  background: var(--button-hover);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-switch-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-switch-label {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
  flex: 1;
}
.cookie-switch {
  width: 44px;
  height: 22px;
  background: var(--pastel-yellow);
  border-radius: 15px;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  border: 1px solid var(--primary);
  flex-shrink: 0;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  left: 3px; top: 2px;
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.2s, background 0.18s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 21px;
  background: #76BCFF;
}
.cookie-switch[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-switch[aria-disabled="true"] .cookie-switch-slider {
  background: #84A9DC;
}
@media (max-width: 800px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 16px 7px;
  }
}

/* SCROLLBAR STYLING ===================== */
::-webkit-scrollbar {
  width: 8px;
  background: #f4f8ff;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 8px;
}

/* MISC: MARGIN BETWEEN CARDS/SECTIONS === */
section, .section {
  margin-bottom: 60px !important;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px !important;
}
@media (max-width: 480px) {
  section, .section {
    margin-bottom: 32px !important;
    padding: 10px 2px !important;
  }
  .card, .feature-item, .testimonial-card {
    margin-bottom: 12px !important;
    padding: 12px 5px !important;
  }
}

/* ACCESSIBILITY & FOCUS STYLES ========== */
a:focus, button:focus, .cta-primary:focus, .button-secondary:focus {
  outline: 2px solid var(--button-hover);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--pastel-yellow);
}

/* PRINT STYLE (BASIC) =================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #222;
  }
}
