/* CSS RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; }
:focus { outline: 2px solid #557ea1; outline-offset: 2px; }
html { font-size: 16px; }
body { min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; color: #11304B; background: #F7FAFC; }

/* ROOT VARIABLES - Soft Pastel Palette */
:root {
  --primary: #11304B;
  --secondary: #FFD94C;
  --accent: #FFFFFF;
  --pastel-blue: #D3E7F7;
  --pastel-pink: #FFE3EA;
  --pastel-peach: #FFF7E1;
  --pastel-lilac: #F6E6FB;
  --pastel-mint: #E6FAF2;
  --text-dark: #11304B;
  --text-soft: #3B5C72;
  --border-light: #E1E9F0;
  --shadow-soft: 0 4px 16px 0 rgba(90,130,180,0.09);
  --radius-lg: 18px;
  --radius: 10px;
  --gap-lg: 32px;
  --gap-md: 24px;
  --gap: 20px;
  --card-padding: 28px;
}

/* TYPOGRAPHY */
body { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; color: var(--text-dark); background: var(--pastel-peach); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Montserrat', 'Roboto', Arial, sans-serif; color: var(--primary); font-weight: 700; letter-spacing: -0.5px; }
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 12px; }
.text-section p, .content-wrapper p, ul li { margin-bottom: 12px; }
strong, b { color: var(--primary); font-weight: 600; }
.text-section a, .content-wrapper a:not(.cta) { color: var(--primary); text-decoration: underline dotted; transition: color 0.18s; }
.text-section a:hover, .content-wrapper a:not(.cta):hover { color: var(--secondary); }

/* CONTAINER & LAYOUTS */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

main { padding-bottom: 40px; }

.section { margin-bottom: 60px; padding: 40px 20px; background: var(--pastel-lilac); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--card-padding);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(85,126,161,0.18);
}

.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: 12px;
  background: var(--pastel-mint);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 390px;
  transition: box-shadow 0.22s, transform 0.2s;
  border: 1.5px solid var(--border-light);
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(81,143,170,0.17);
  transform: translateY(-6px) scale(1.025);
}
.testimonial-card p { color: var(--primary); font-size: 1.07rem; font-style: italic; margin-bottom: 8px; }
.testimonial-card strong { color: var(--primary); font-size: 1rem; font-weight: 700; }

/* FEATURE ITEM (used in icon+text blocks) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* UL/OL STYLES */
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul li, .content-wrapper ul li {
  padding: 14px 0 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  background: transparent;
}
ul li img { width: 26px; height: 26px; flex-shrink: 0; margin-right: 10px; }

/* BUTTONS & CTA */
.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  background: linear-gradient(90deg, #FFD94C 60%, #FFE3EA 100%);
  color: #11304B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 40px;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(255,211,110,0.13);
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.16s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
  z-index: 1;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FFEDA9 60%, #FFD94C 100%);
  color: #11304B;
  box-shadow: 0 6px 24px 0 rgba(255,211,110,0.25);
  transform: translateY(-2px) scale(1.03);
}

button, .btn {
  font-family: inherit; font-size: 1rem; cursor: pointer;
  border-radius: var(--radius);
  border: none;
  transition: background 0.16s, color 0.14s;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 2px 16px 0 rgba(81,165,195,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 20px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  padding: 8px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  border-radius: 20px;
  transition: background 0.14s, color 0.16s;
}
header nav a.cta {
  margin-left: 14px;
  padding: 10px 24px;
  background: linear-gradient(90deg, #FFD94C 60%, #FFE3EA 100%);
  color: #11304B;
  font-weight: 700;
  border-radius: 23px;
  box-shadow: var(--shadow-soft);
  transition: background 0.14s, color 0.16s;
}
header nav a.cta:hover { background: linear-gradient(90deg, #FFE3EA 60%, #FFD94C 100%); color: #11304B; }
header nav a:hover:not(.cta), header nav a:focus:not(.cta) { background: var(--pastel-peach); color: var(--secondary); }
header img { height: 48px; }

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.25rem;
  color: var(--primary);
  background: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  margin-left: 16px;
  transition: background 0.14s, color 0.16s;
  z-index: 888;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus { background: var(--pastel-peach); color: var(--secondary); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1250;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 227, 234, 0.96);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.26,.47,.99);
  box-shadow: 0 0 64px 0 rgba(81, 140, 160, 0.09);
}
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 0 0;
  background: none;
  font-size: 2.1rem;
  color: var(--primary);
  transition: color 0.16s, background 0.18s;
  border-radius: 6px;
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--secondary); background: var(--pastel-peach); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.18rem;
  padding: 14px 24px;
  border-radius: 16px;
  background: none;
  min-width: 170px;
  text-align: center;
  transition: background 0.13s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--pastel-peach); color: var(--secondary); }

/* Hide desktop nav/show burger on mobile */
@media (max-width: 1000px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTION SPECIAL STYLES */
main > section:first-of-type {
  background: linear-gradient(90deg, var(--pastel-blue) 60%, var(--pastel-lilac) 100%);
  box-shadow: 0 4px 18px 0 rgba(205,229,249,0.23);
}

main > section:first-of-type .content-wrapper {
  align-items: flex-start;
  padding: 28px 0 14px 0;
}
main > section:first-of-type h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 14px;
}
main > section:first-of-type p {
  font-size: 1.17rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* CARDS & ARTICLES */
article {
  border-radius: var(--radius);
  background: var(--accent);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 14px 20px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 355px;
  transition: box-shadow 0.22s, transform 0.2s;
}
article:hover {
  box-shadow: 0 8px 28px 0 rgba(81,143,170,0.13);
  transform: translateY(-3px) scale(1.018);
}

/* FOOTER */
footer {
  background: var(--pastel-lilac);
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  font-size: 1rem;
  padding: 30px 0 12px 0;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 8px;
  border-radius: 12px;
  transition: background .15s, color .16s;
}
footer nav a:hover { background: var(--pastel-peach); color: var(--secondary); }
footer .legal-links { width: 100%; margin-top: 13px; color: var(--text-soft); font-size: 1rem; text-align: left; }

.social-links { display: flex; gap: 13px; }
.social-links img { height: 28px; border-radius: 7px; transition: box-shadow .18s, filter .16s; }
.social-links a:hover img { box-shadow: 0 4px 12px #FFD94C55; filter: brightness(1.1); }

/* FORMS / INPUTS (for future use - simple soft style) */
input, textarea, select {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--pastel-peach);
  padding: 12px 16px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: none;
  transition: border 0.15s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 2px 1.5px #FFD94C99;
}
label { display: block; margin-bottom: 8px; color: var(--primary); font-weight: 500; }

/* MODAL (cookie modal) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(17,48,75,0.17);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .26s;
}
.cookie-modal {
  background: var(--pastel-blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px 0 rgba(29,97,149,0.10);
  padding: 38px 26px 24px 26px;
  max-width: 400px;
  min-width: 275px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.cookie-modal h2 { font-size: 1.4rem; margin-bottom: 4px; color: var(--primary); }
.cookie-modal label { display: flex; align-items: center; gap: 13px; font-size: 1.06rem; }
.cookie-modal input[type="checkbox"] { accent-color: var(--secondary); width: 21px; height: 21px; }
.cookie-modal .cookie-actions {
  display: flex; gap: 18px; align-items: center; width: 100%; justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cta,
.cookie-modal .btn {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 32px;
  margin-right: 0;
  background: #FFD94C; color: var(--primary);
}
.cookie-modal .btn.secondary {
  background: var(--pastel-pink); color: var(--primary);
}

.cookie-modal .btn.settings {
  background: var(--pastel-mint); color: var(--primary);
}

/* COOKIE BANNER (fixed bottom) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1090;
  background: linear-gradient(90deg, var(--pastel-blue) 0, var(--pastel-pink) 100%);
  color: var(--primary);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 32px 16px 20px;
  box-shadow: 0 -6px 24px 0 rgba(81,143,170,0.13);
  border-radius: 18px 18px 0 0;
  gap: 18px;
}
.cookie-banner p { font-size: 1rem; margin-right: 8px; color: var(--primary); }
.cookie-banner .cookie-actions {
  display: flex; gap: 12px; align-items: center; }
.cookie-banner .cookie-btn, .cookie-banner .cta {
  padding: 9px 22px;
  border-radius: 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  transition: background .15s, color .14s, box-shadow .14s;
}
.cookie-banner .cookie-btn.accept { background: var(--secondary); color: var(--primary); }
.cookie-banner .cookie-btn.reject { background: var(--pastel-pink); color: var(--primary); }
.cookie-banner .cookie-btn.settings { background: var(--pastel-mint); color: var(--primary); }
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus { box-shadow: var(--shadow-soft); }

/* --- MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  header .container { flex-direction: row; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .section { padding: 34px 8px; }
  main > section:first-of-type .content-wrapper { padding-right: 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .section { margin-bottom: 44px; padding: 25px 5px; }
  .testimonial-card, article, .card { max-width: 99vw; min-width: 0; padding: 18px 12px; }
  .cookie-modal { padding: 21px 8px 15px 8px; min-width: 185px; }
  .content-grid,.card-container { flex-direction: column; gap: 15px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .content-wrapper { gap: 11px; padding: 0; }
  header img { height: 39px; }
}
@media (max-width: 690px) {
  header .container { padding: 12px 5px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 12px 8px 12px 8px; gap: 11px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.09rem; }
  h2 { font-size: 1rem; }
  .container { padding: 0 2px; }
  .section { padding: 15px 1px; }
  .cookie-banner { font-size: 0.99rem; padding: 7px 4px; }
  .cookie-banner .cookie-actions { gap: 5px; }
}

/* ------ MICRO-ANIMATIONS ------ */
.cta, .cookie-btn, .btn {
  transition: background 0.15s, color 0.17s, box-shadow 0.13s, transform 0.19s;
}
.cta:active, .cookie-btn:active, .btn:active { transform: scale(0.98); }

/* --- FOCUS STATES --- */
.cta:focus, .btn:focus, .cookie-btn:focus {
  outline: 2px solid #11304B;
  outline-offset: 2px;
  box-shadow: 0 2px 12px #FFD94C44;
}

/* --- Z-INDEX FOR OVERLAYS --- */
.mobile-menu { z-index: 1400; }
.cookie-modal-overlay { z-index: 2100; }
.cookie-banner { z-index: 1090; }
header { z-index: 1000; }
footer { z-index: 980; }

/* --- SPECIAL CLASSES FOR SPACING ALIGNMENTS --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- UTILITY CLASSES & HELPERS --- */
.mt-32 { margin-top: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-20 { gap: 20px !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Ensure NO OVERLAPPING */
main > section, .content-wrapper, .card-container, .content-grid > *,
article, .testimonial-card, .card, .section {
  margin-bottom: 20px;
}

/* --- END OF CSS --- */
