/* RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAFB;
  color: #223049;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ==== SOFT PASTEL COLOR PALETTE - derived for dreamy pastel look ==== */
:root {
  --brand-primary: #223049;
  --brand-secondary: #D1A679;
  --brand-accent: #FFFFFF;
  --pastel-blue: #e8f0fb;
  --pastel-pink: #ffe8ed;
  --pastel-mint: #e7f7f1;
  --pastel-yellow: #fdf6e7;
  --pastel-lavender: #f0e8fa;
  --neutral-bg: #FAFAFB;
  --neutral-bg-dark: #eef1f7;
  --card-bg: #fff;
  --text-main: #223049;
  --text-secondary: #4d5566;
  --text-on-brand: #fff;
  --shadow: 0 4px 20px 0 rgba(60, 80, 120, 0.08);
  --border-radius-lg: 24px;
  --border-radius: 14px;
  --border-radius-sm: 8px;
  --focus-outline: 2px solid #C2ABD6;
}

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  background: var(--neutral-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;  /* 40px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;    /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem; /* 18px */
  margin-bottom: 10px;
}
p, ul, li, blockquote {
  font-size: 1rem;     /* 16px */
  color: var(--text-secondary);
}
strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
  h4 { font-size: 1rem; }
}

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

.content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .container, .content-wrapper {
    padding: 0 10px;
  }
}

/* ==== SECTIONS SPACING (MANDATORY) ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== FLEX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,48,73,0.17);
}
.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: 14px;
  background: var(--pastel-mint);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 30px;
  margin-bottom: 24px;
  min-width: 200px;
  max-width: 540px;
}
.testimonial-card p {
  color: var(--text-main);
  font-size: 1.12rem;
}
.testimonial-card span {
  color: #69515d;
  font-weight: 500;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 16px;
  }
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--pastel-lavender) 0%, var(--pastel-blue) 100%);
  box-shadow: 0 2px 16px 0 rgba(34,48,73,0.03);
  padding: 0;
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 0.85;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border 0.25s;
}
header nav a:hover, header nav a:focus {
  opacity: 1;
  border-bottom: 2px solid var(--brand-secondary);
  outline: none;
}

.btn-primary, .btn-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-left: 18px;
  display: inline-block;
  padding: 11px 32px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.1rem;
  outline: none;
  box-shadow: 0 1px 7px 0 rgba(34,48,73,0.10);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.btn-primary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #273861;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,48,73,0.13);
}
.btn-secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #e7c29b;
  color: #223049;
}
@media (max-width: 990px) {
  header nav {
    gap: 13px;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 0.97rem;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 1001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 8px 0 rgba(209,166,121,0.12);
  border: none;
  transition: background 0.18s, color 0.12s;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, header .btn-primary {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(112deg, var(--pastel-lavender) 0%, var(--pastel-blue) 100%);
  z-index: 1012;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.62, 0.02, 0.27, 1.08);
  padding: 0;
  box-shadow: 0 4px 36px 0 rgba(34,48,73,0.17);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  background: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--brand-primary);
  padding: 8px 0;
  width: 100%;
  border-radius: var(--border-radius-sm);
  transition: background 0.19s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: #775e3e;
  outline: none;
}

/* MAIN PAGE HERO & SECTIONS */
.hero {
  background: linear-gradient(100deg, var(--pastel-blue) 0%, var(--pastel-lavender) 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  padding-top: 46px;
  padding-bottom: 46px;
  box-shadow: 0 1px 20px 0 rgba(180,190,220,0.09);
}
.hero h1 {
  color: var(--brand-primary);
}
.hero p {
  color: #5f6075;
  max-width: 600px;
  margin-bottom: 16px;
}

/* Section spacings & gentle backgrounds */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:not(.hero):nth-of-type(odd) {
  background: var(--pastel-mint);
}
section:not(.hero):nth-of-type(even) {
  background: var(--neutral-bg);
}
.cta-final {
  background: linear-gradient(95deg,var(--pastel-pink) 0%, var(--pastel-yellow) 100%);
  margin-top: 38px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
ul li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(34,48,73,0.05));
  opacity: 0.85;
  border-radius: 6px;
  background: var(--pastel-yellow);
}

blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #5a6187;
  margin: 16px 0 0 0;
  padding: 18px 21px;
  background: var(--pastel-blue);
  border-left: 5px solid var(--brand-secondary);
  border-radius: var(--border-radius);
  box-shadow: 0px 2px 12px 0 rgba(180,190,220,0.08);
}

/* ==== Search box (blog) ==== */
.search-box {
  margin-top: 28px;
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  padding: 18px 16px 13px 16px;
  box-shadow: 0 2px 6px 0 rgba(60,80,120,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.search-box label {
  font-family: 'Montserrat';
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1rem;
}
.search-box input[type="text"] {
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid #e6e6ee;
  font-size: 1rem;
  background: #fff;
  transition: border 0.17s;
}
.search-box input[type="text"]:focus {
  border-color: var(--brand-secondary);
  outline: var(--focus-outline);
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(87deg,var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  box-shadow: 0 -1px 12px 0 rgba(34,48,73,0.03);
  padding: 32px 0 24px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
footer nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  opacity: 0.75;
  font-size: 0.98rem;
  transition: opacity 0.17s, text-decoration 0.13s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
footer p {
  font-size: 0.95rem;
  color: #787899;
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(90deg,var(--pastel-yellow) 60%,var(--pastel-mint) 100%);
  box-shadow: 0 -2px 12px 0 rgba(34,48,73,0.11);
  padding: 24px 34px;
  z-index: 2000;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  font-size: 1rem;
}
.cookie-banner p {
  color: #252547;
  max-width: 410px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat';
  font-weight: 600;
  border: none;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 7px 0 rgba(33,22,87,0.04);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1e2940;
}
.cookie-btn.reject {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bd9567;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #d2d8f2;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-lavender);
}
@media (max-width: 570px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 9px;
    font-size: 0.97rem;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2200;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,60,80, 0.38);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--neutral-bg-dark);
  border-radius: var(--border-radius-lg);
  max-width: 97vw;
  width: 420px;
  padding: 32px 26px 28px 26px;
  box-shadow: 0 8px 44px 0 rgba(93,106,133,0.21);
  animation: cookie-modal-in 0.25s ease;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes cookie-modal-in {
  0% { transform: translateY(40px) scale(0.98); opacity:0; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin: 0 0 10px 0;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.cookie-category label {
  font-size: 1.07rem;
  color: var(--brand-primary);
  font-weight: 500;
}
.cookie-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--pastel-blue);
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .slider {
  background: var(--brand-secondary);
}
.cookie-switch .slider:before {
  position: absolute;
  content: '';
  left: 3px; bottom: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.20s;
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 14px;
  background: none;
  font-size: 1.15rem;
  color: #7876a4;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-yellow);
}

/* ==== GENERAL INTERACTIONS ==== */
a, button, .btn-primary, .btn-secondary {
  transition: background 0.12s, color 0.12s, box-shadow 0.12s, border 0.15s;
}
a:focus, button:focus {
  outline: var(--focus-outline);
}

.card, .testimonial-card, .section, .cta-final {
  transition: box-shadow 0.20s;
}
.card:hover, .testimonial-card:hover, .cta-final:hover {
  box-shadow: 0 8px 36px 0 rgba(32,60,90,0.13);
}

/* ==== RESPONSIVE (MOBILE FIRST) ==== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1rem; }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
  .cta-final {
    margin-top: 18px;
    padding: 22px 0;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: 12px;
  }
}

/* ==== SPECIAL: THANK YOU PAGE ==== */
.thank-you {
  background: linear-gradient(100deg, var(--pastel-lavender), var(--pastel-pink) 80%);
  border-radius: var(--border-radius-lg);
  padding: 32px 16px;
  margin: 0 auto 30px auto;
  box-shadow: 0 6px 26px 0 rgba(93, 140, 160, 0.07);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

/* ==== FORM ELEMENTS - for contact/search ==== */
input[type="text"], input[type="email"], textarea {
  border: 1px solid #e0e7f0;
  border-radius: 9px;
  padding: 12px 14px;
  background: #fff;
  font-family: 'Roboto';
  font-size: 1rem;
  color: var(--brand-primary);
  transition: border 0.15s;
  width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--brand-secondary);
  outline: var(--focus-outline);
}
textarea {
  min-height: 120px;
}

/* ==== SHADOW & APPEARANCE FOR CARDS/TESTIMONIALS ==== */
.card, .testimonial-card {
  border: 1px solid #f2efee;
  box-shadow: var(--shadow);
  background: var(--card-bg);
  border-radius: var(--border-radius);
}

/* ==== UTILITY CLASSES ==== */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }

/* ==== ANIMATION ENHANCEMENTS ==== */
.fade-in {
  animation: fadeIn 0.42s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ==== ACCESSIBILITY: HIGH CONTRAST FOR TESTIMONIALS ==== */
.testimonial-card {
  background: var(--pastel-mint);
  color: var(--text-main);
  border: 1px solid #e4edea;
}
.testimonial-card strong {
  color: #254159;
}

/* ==== Z-INDEX LAYER CONTROL ==== */
header { z-index: 100; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 2200; }

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