/*--------------------------------------------------------
  CSS RESET & NORMALIZE
--------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  vertical-align: baseline;
}
body {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  color: #234960;
  background: #FAFAFB;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: #234960;
  text-decoration: none;
  transition: color .2s;
}
a:focus,
a:hover {
  color: #D3B47F;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/*--------------------------------------------------------
  CSS VARIABLES – Palette Soft Pastel
--------------------------------------------------------*/
:root {
  --brand-primary: #234960;
  --brand-secondary: #D3B47F;
  --brand-accent: #F5F5F5;
  --pastel-blue: #e3f0fa;
  --pastel-green: #d5f9e2;
  --pastel-pink: #ffe8ef;
  --pastel-yellow: #fffadc;
  --pastel-mint: #eafaf3;
  --pastel-purple: #f1eefa;
  --soft-shadow: 0 2px 24px rgba(80,120,170,0.10);
  --card-radius: 20px;
}

/*--------------------------------------------------------
  TYPOGRAPHY
--------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234960;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.375rem; margin-top: 0; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-top: 0; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, ol {
  font-size: 1rem;
  color: #234960;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 1em;
}
strong { font-weight: 600; color: #234960; }
em { color: var(--brand-primary); font-style: italic; }

@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.24rem; }
  h3 { font-size: 1.1rem; }
}

/*--------------------------------------------------------
  CONTAINER & SPACING
--------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--card-radius);
}
@media (max-width: 568px) {
  .section { padding: 30px 10px; margin-bottom: 32px; }
  .container { padding: 0 7px; }
}

/*--------------------------------------------------------
  HEADER & NAVIGATION
--------------------------------------------------------*/
header {
  width: 100%;
  padding: 0;
  background: var(--pastel-blue);
  box-shadow: 0 2px 14px rgba(35,73,96,0.04);
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #234960;
  opacity: 0.92;
  font-weight: 500;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-secondary);
  color: #234960;
  outline: none;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #f8faff 0% , #ffe8ef 100%);
  color: #234960;
  border-radius: 45px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 30px;
  margin-left: 20px;
  box-shadow: 0 2px 14px rgba(211,180,127, 0.10);
  border: 2px solid var(--brand-secondary);
  transition: background .18s, color .18s, border .2s;
}
.cta-btn.secondary {
  background: linear-gradient(90deg, #ebfaff 0%, #fffadc 100%);
  color: #234960;
  border-color: #b2e0d2;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--brand-secondary);
  color: #234960;
  border-color: var(--brand-secondary);
}
/* Burger mobile button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: #234960;
  font-size: 2rem;
  border-radius: 10px;
  padding: 7px 16px;
  margin-right: 8px;
  margin-left: auto;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 10px rgba(35,73,96,.13);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fffadc;
  color: var(--brand-primary);
  outline: none;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(220,237,255,0.95);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 26px 24px 26px;
  transition: transform .33s cubic-bezier(.5,.2,.3,1);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  color: #234960;
  border-radius: 8px;
  padding: 4px 12px;
  margin-bottom: 36px;
  transition: background .19s, color .19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #D3B47F;
  background: #fafae7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
}
.mobile-nav a {
  color: #234960;
  background: #fffaf3;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 12px;
  border-radius: 13px;
  margin-bottom: 10px;
  transition: background .18s, color .18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #ffe8ef;
  color: #234960;
}

@media (max-width: 1140px) {
  .main-nav { gap: 15px; }
}
@media (max-width: 900px) {
  header .container { gap: 8px; }
}
@media (max-width: 890px) {
  .main-nav a { font-size: 0.98rem; }
  .cta-btn { padding: 10px 22px; font-size:1rem; }
}
@media (max-width: 880px) {
  .main-nav { gap: 12px; }
  header .container { flex-wrap: wrap; }
}
/* Hide desktop nav on mobile, show burger */
@media (max-width: 768px) {
  .main-nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 8px 10px;
    min-height: 56px;
  }
}

/*--------------------------------------------------------
  HERO SECTION (for .hero-section)
--------------------------------------------------------*/
.hero-section {
  width: 100%;
  background: linear-gradient(90deg, #ffe8ef 0%, #e3f0fa 100%);
  padding: 65px 0 52px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 40px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section h1 {
  color: #234960;
  font-size: 2.25rem;
  font-weight: 700;
  background: none;
  text-align: center;
  margin-bottom: 13px;
}
.hero-section p {
  font-size: 1.225rem;
  color: #234960;
  text-align: center;
  margin-bottom: 25px;
}
.hero-section .cta-btn {
  margin-left: 0;
  margin-right: 0;
  min-width: 240px;
}
@media (max-width: 520px) {
  .hero-section { padding: 36px 0 26px 0; }
  .hero-section h1 { font-size: 1.3rem; }
}

/*--------------------------------------------------------
  FEATURE GRID
--------------------------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 9px;
  margin-bottom: 16px;
}
.feature-grid li {
  background: #ebfaff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 7px rgba(123,188,185,0.08);
  min-width: 240px;
  flex: 1 1 220px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #234960;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 5px;
}
.feature-grid img {
  width: 34px;
  height: 34px;
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 11px;
  }
  .feature-grid li { min-width: 0; font-size: 0.98rem; }
}

/*--------------------------------------------------------
  FLEX UTILITY PATTERNS (MANDATORY)
--------------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  background: #fffdfb;
  padding: 26px 25px;
  flex: 1 1 240px;
  transition: box-shadow .19s, transform .18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(35,73,96,0.13);
  transform: translateY(-3px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 28px;
  background: #fffaf3;
  border-left: 7px solid #D3B47F;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(211,180,127,0.08);
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
}
.testimonial-card p {
  color: #234960;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-style: italic;
  font-weight: 600;
  color: #234960;
  opacity: .88;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------
  BLOG CARDS & TAGS
--------------------------------------------------------*/
.blog-teaser-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.blog-card {
  flex: 1 1 310px;
  background: #f1eefa;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(185, 159, 249, 0.09);
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .18s;
}
.blog-card h3 {
  color: #234960;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 1rem;
  color: #465f7b;
  margin-bottom: 13px;
}
.blog-card a {
  font-size: 1.02rem;
  color: #a168ba;
  text-decoration: underline;
  font-weight: 500;
  transition: color .17s;
}
.blog-card a:hover { color: #ffbdb6; }

.blog-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.blog-category-tags li {
  background: #eafaf3;
  color: #4b817d;
  padding: 7px 14px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background .18s;
}
.blog-category-tags li:hover,
.blog-category-tags li:focus { background: #fffadc; color: #7345a1; }
@media (max-width: 900px) {
  .blog-teaser-cards { flex-direction: column; gap:14px; }
  .blog-card { min-width: 0; margin-bottom: 14px; }
}

/*--------------------------------------------------------
  TEXT-SECTION
--------------------------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #234960;
}
.text-section h2, .text-section h3 {
  margin-bottom: 0;
}
.text-section ul {
  margin-top: 2px;
  margin-left: 16px;
  font-size: 1.05rem;
  color: #234960;
}
.text-section li {
  list-style: disc inside;
  margin-bottom: 5px;
}

/*--------------------------------------------------------
  CTA SECTION
--------------------------------------------------------*/
.cta-section {
  background: linear-gradient(90deg, #fffadc 0, #d5f9e2 100%);
  box-shadow: 0 2px 19px rgba(211, 180, 127, 0.07);
  border-radius: 26px;
  padding: 45px 10px 45px 10px;
  text-align: center;
  margin-bottom: 48px;
}
.cta-section .container {
  align-items: center;
}
.cta-section h2 {
  color: #234960;
  font-size: 1.5rem;
  margin-bottom: 9px;
}
.cta-section p {
  color: #234960;
  font-size: 1.08rem;
  margin-bottom: 27px;
}
@media (max-width: 520px){
  .cta-section { padding: 28px 0 28px 0; margin-bottom: 32px; }
}

/*--------------------------------------------------------
  MAP SNIPPET & MISC
--------------------------------------------------------*/
.map-snippet {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #e3f0fa;
  border-radius: 14px;
  padding: 14px 24px;
  margin-top: 12px;
}
.map-snippet img { width:26px; height:26px;}

/*--------------------------------------------------------
  FOOTER
--------------------------------------------------------*/
footer {
  background: #f6f7fb;
  box-shadow: 0 -1px 16px rgba(90, 94, 100, 0.04);
  padding: 24px 0 0 0;
  margin-top: 32px;
  color: #234960;
}
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
}
.footer-contact, .footer-links, .footer-legal {
  flex: 1 1 240px;
  min-width: 190px;
}
.footer-contact h3, .footer-links h3, .footer-legal h3 {
  color: #234960;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 11px;
}
.footer-contact p, .footer-links ul, .footer-legal ul {
  font-size: 0.99rem;
  color: #234960;
}
.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a, .footer-legal a {
  color: #5e708b;
  font-size: 0.97rem;
  opacity: 0.88;
  text-decoration: none;
  transition: color .17s, opacity .22s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #D3B47F;
  opacity: 1;
}
.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #234960;
  opacity: .75;
  padding: 15px 0;
  border-top: 1px solid #e9eaf0;
  margin-top: 13px;
}
@media (max-width: 900px){
  .footer-sections { flex-direction: column; gap: 24px; }
  .footer-contact, .footer-links, .footer-legal { min-width:0; width:100%; }
}

/*--------------------------------------------------------
  COOKIE CONSENT BANNER
--------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1600;
  background: linear-gradient(90deg, #fffadc 0, #ffe8ef 100%);
  box-shadow: 0 -2px 20px rgba(211,180,127,0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 18px 19px 18px;
  font-size: 1rem;
  color: #234960;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner__text {
  flex: 1 1 260px;
  min-width: 190px;
  max-width: 500px;
  font-size: 1rem;
  margin: 0 10px 8px 0;
}
.cookie-banner__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  border-radius: 30px;
  border: 2px solid var(--brand-secondary);
  background: #fffdfb;
  color: #234960;
  font-weight: 600;
  padding: 9px 24px;
  margin: 0;
  font-size: 1rem;
  transition: background .16s, color .15s, border .14s;
}
.cookie-btn.cookie-accept {
  background: linear-gradient(90deg,#fffadc 0,#ebfaff 100%);
  color: #234960;
}
.cookie-btn.cookie-accept:hover,
.cookie-btn.cookie-accept:focus {
  background: #D3B47F;
  color: #234960;
  border-color: #D3B47F;
}
.cookie-btn.cookie-reject {
  background: #ffe8ef;
  color: #234960;
  border-color: #ffbdb6;
}
.cookie-btn.cookie-reject:hover,
.cookie-btn.cookie-reject:focus {
  background: #ffbdb6;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #e3f0fa;
  color: #234960;
  border-color: #cce5ff;
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: #b2e0d2;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1650;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .22s;
}
.cookie-modal__window {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(211,180,127,0.16);
  padding: 45px 32px;
  max-width: 455px;
  width: 93%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.05rem;
  animation: slideUp .28s cubic-bezier(.3,.7,.6,1);
}
.cookie-modal__close {
  position: absolute;
  top: 24px; right: 26px;
  background: transparent;
  font-size: 1.7rem;
  color: #885e2f;
  border-radius: 6px;
  transition: background .15s;
}
.cookie-modal__close:focus,
.cookie-modal__close:hover {
  background: #ffe8ef;
  color: #cb3659;
}
.cookie-modal__heading {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234960;
  font-size: 1.26rem;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #eafaf3;
  border-radius: 13px;
  padding: 9px 10px 9px 15px;
  gap: 16px;
  box-shadow: 0 1px 6px rgba(120,188,185,0.09);
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: #23ab8d;
  width: 23px;
  height: 23px;
  margin: 0 10px 0 0;
}
.cookie-category input[disabled] {
  accent-color: #D3B47F;
  opacity: 0.77;
}
.cookie-category-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #234960;
  margin-right: 8px;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 540px) {
  .cookie-modal__window { padding: 20px 7px; }
  .cookie-modal__heading { font-size: 1.06rem; }
}

/*--------------------------------------------------------
  MISC STYLE/REUSABLE CLASSES
--------------------------------------------------------*/
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.rounded-20 { border-radius: 20px; }
.shadow-sm { box-shadow: 0 2px 10px rgba(60, 100, 166, .07); }
.text-center { text-align: center; }

/*--------------------------------------------------------
  INTERACTIONS & TRANSITIONS
--------------------------------------------------------*/
.card, .blog-card, .cta-btn, .main-nav a, .mobile-nav a, .cookie-btn {
  transition: box-shadow .19s, background .22s, transform .13s, color .19s, border .14s;
}
.card:active, .blog-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(35,73,96,0.11);
}
.cta-btn:active {
  transform: scale(.98);
}

/*--------------------------------------------------------
  ACCESSIBILITY FOCUS RING
--------------------------------------------------------*/
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #D3B47F;
  outline-offset: 2px;
  z-index: 3;
}

/*--------------------------------------------------------
  RESPONSIVE GENERAL LAYOUT
--------------------------------------------------------*/
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .blog-teaser-cards {
    flex-direction: column;
    gap: 14px;
  }
  .section { margin-bottom: 32px; padding:18px 6px; }
  .hero-section { padding: 20px 0 18px 0; }
  .footer-bottom { padding:11px 0; }
  .footer-sections { gap: 18px; }
}

/*--------------------------------------------------------
  PRINT STYLES
--------------------------------------------------------*/
@media print {
  header, .mobile-menu, footer, .cookie-banner, .cookie-modal { display: none !important; }
  .container { padding: 0; }
}
