/* ==== CSS RESET & BASE ==== */
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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  background: #F8FAFB;
  color: #204765;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #204765;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6A623;
  outline: none;
}
ul,ol {
  padding-left: 2em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23425E;
  margin-bottom: 0.5em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.4; }
p {
  font-size: 1rem;
  margin-bottom: 1.1em;
}
strong { font-weight: 600; }

/* ==== BRAND PASTEL COLOR VARIABLES ==== */
:root {
  --primary: #204765;
  --primary-dark: #16374b;
  --secondary: #E0E2E6;
  --accent: #F6A623;
  --white: #fff;
  --pastel-blue: #e6f3fa;
  --pastel-green: #e0f7ec;
  --pastel-pink: #f7ebfa;
  --pastel-yellow: #fff8e1;
  --pastel-lilac: #ebeaf8;
  --pastel-grey: #f5f6fa;
}

/* Soft Pastel Gradients for backgrounds */
body, .hero {
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== FLEXBOX UTILITY PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 rgba(32,71,101,0.09), 0 1.5px 4px 0 rgba(32,71,101,0.03);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
  flex: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 36px 0 rgba(32,71,101,0.12), 0 3px 8px 0 rgba(32,71,101,0.04);
  transform: translateY(-4px) scale(1.015);
}
.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 {
  background: var(--pastel-lilac);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 20px;
  min-width: 250px;
  box-shadow: 0 3px 12px 0 rgba(32,71,101,0.02);
  color: var(--primary-dark);
  font-size: 1rem;
}
.testimonial-card strong {
  font-size: 0.98em;
  color: #49578C;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION ==== */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 30%, var(--pastel-yellow) 100%);
  padding: 80px 0 56px 0;
  margin-bottom: 48px;
}
.hero h1 {
  color: #204765;
  font-size: 2.4rem;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  max-width: 600px;
  color: #3A416F;
  font-size: 1.16rem;
  margin-bottom: 30px;
}

/* ==== BUTTONS & CTAs ==== */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--white)!important;
  font-size: 1.1rem;
  padding: 14px 34px;
  border: none;
  border-radius: 100px;
  box-shadow: 0 2px 7px 0 rgba(246,166,35,0.09);
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: background 0.23s, box-shadow 0.23s, color 0.13s;
  outline: none;
  position: relative;
}
.cta-btn:hover,.cta-btn:focus {
  background: #dd9320;
  color: var(--white);
  box-shadow: 0 4px 20px 0 rgba(246,166,35,0.16);
  transform: translateY(-1px);
}

/* ==== NAVIGATION ==== */
header {
  background: var(--white);
  box-shadow: 0 2px 24px 0 rgba(32,71,101,0.06);
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}
.main-nav img {
  height: 38px;
  margin-right: 32px;
  display: block;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 34px;
  transition: background 0.24s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--pastel-yellow);
  color: var(--accent);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 28px;
  top: 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 12px 0 rgba(246,166,35,0.09);
  z-index: 300;
}
.mobile-menu {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--pastel-yellow) 10%, var(--pastel-lilac) 100%);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.82,.01,.47,1.02);
  display: flex;
  flex-direction: column;
  padding: 0 0 36px 0;
  box-shadow: 0 6px 28px 0 rgba(32,71,101,0.08);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  font-size: 2.4rem;
  background: var(--primary);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #16374b;
}
.mobile-nav {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mobile-nav a {
  padding: 16px 0;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: bold;
  width: 200px;
  border-radius: 42px;
  text-align: center;
  background: none;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--white);
}

/* ==== SECTIONS & CARDS ==== */
section {
  background: none;
  margin-bottom: 60px;
  padding: 40px 0;
}
.text-section {
  background: var(--pastel-grey);
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px 0 rgba(32,71,101,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--pastel-blue);
  padding: 48px 0 18px 0;
  box-shadow: 0 -5px 32px 0 rgba(32,71,101,0.04);
  color: #384e5b;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: center;
  justify-content: space-between;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 3px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer nav a:hover {
  text-decoration: underline;
  color: var(--accent);
}
footer img {
  height: 36px;
  margin-bottom: 12px;
}

/* ============ COOKIE CONSENT ========= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background: var(--pastel-pink);
  color: var(--primary-dark);
  padding: 28px 20px 28px 20px;
  box-shadow: 0 -2px 24px 0 rgba(246,166,35,0.10);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  transition: transform 0.42s cubic-bezier(.72,.01,.47,1.02);
  max-width: 100vw;
}
.cookie-btn {
  min-width: 130px;
  padding: 11px 26px;
  font-size: 1rem;
  margin: 0 7px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: bold;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.2s;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid #d1d5de;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #d89c1a;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(246,166,35,0.14);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e6f3fa;
  color: var(--primary-dark);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(35,66,94,0.21);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  min-width: 320px;
  max-width: 98vw;
  background: var(--pastel-yellow);
  color: var(--primary-dark);
  border-radius: 20px;
  box-shadow: 0 8px 36px 0 rgba(32,71,101,0.13);
  padding: 40px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeInModal 0.23s cubic-bezier(.77,.01,.43,1.11);
}
@keyframes fadeInModal {
  from { opacity:0; transform:translateY(60px); }
  to { opacity:1; transform:translateY(0); }
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.09rem;
  background: var(--pastel-lilac);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 44px; height: 24px;
  background: #D4D4D4;
  border-radius: 15px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content:'';
  display:block;
  position:absolute;
  left:3px; top:3px;
  width:18px; height:18px;
  border-radius:50%;
  background: var(--white);
  transition: left 0.17s;
  box-shadow: 0 1px 3px 0 rgba(32,71,101,0.05);
}
.cookie-toggle:checked:before {
  left:23px;
}
.cookie-modal h3 { font-size: 1.15rem; margin-bottom: 8px; }

.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

/* ==== FORMS & INPUTS ==== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid #e4e7ee;
  outline: none;
  margin-bottom: 19px;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* ==== ICONS IN LIST ==== */
ul li img {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
  position: relative;
  top: -2px;
}

/* ==== RESPONSIVE & MOBILE ===== */
@media (max-width: 992px) {
  .main-nav {
    gap: 16px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .card-container, .content-grid, .text-image-section, .footer .content-wrapper {
    flex-direction: column !important;
    gap: 22px;
  }
  .section, section {
    padding: 28px 0;
    margin-bottom: 38px;
  }
  .hero {
    padding: 42px 0 28px 0;
    margin-bottom: 23px;
  }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.17rem; }
  .cta-btn, .cookie-btn, .mobile-menu-toggle {
    font-size: 1rem;
    padding: 13px 20px;
  }
  .card {
    min-width: 90vw;
    padding: 22px 14px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 14px;
  }
  .cookie-modal {
    min-width: unset;
    padding: 24px 12px 22px 12px;
  }
  footer .content-wrapper {
    gap: 18px;
  }
}

/* ===== MICRO-INTERACTIONS & EFFECTS ===== */
.cta-btn:active {
  background: #c98b16;
  transform: scale(0.97);
}
.main-nav a:active {
  color: var(--accent);
}
.testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px 0 rgba(32,71,101,0.13);
  transform: translateY(-3px);
}
.cookie-consent-banner {
  animation: slideInUp 0.52s cubic-bezier(.52,.01,.38,0.95);
}
@keyframes slideInUp {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==== GENERAL UTILITIES ==== */
.dreamy-underline {
  border-bottom: 2px dotted var(--accent);
}
hr {
  border:none;
  border-bottom: 1.5px dashed var(--pastel-pink);
  margin: 24px 0;
  opacity: 0.6;
}

/* ==========================
   ACCESSIBILITY & PRINT
========================== */
::-webkit-input-placeholder { color: #9ba8ba; }
::-moz-placeholder { color: #9ba8ba; }
:-ms-input-placeholder { color: #9ba8ba; }
::placeholder { color: #9ba8ba; }

/* Hide outlines except for keyboard navigation */
a, button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

/* ======= SPACING UTILITY CLASSES ======= */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-30 { gap: 30px !important; }

/* ========== END ========== */