/* --- CSS RESET & NORMALIZE --- */
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 { 
  box-sizing: border-box; 
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FBFC;
  color: #283246;
  min-height: 100vh;
}
a {
  color: #17435E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E2B13C;
  outline: none;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

/* --- TYPOGRAPHY SCALE (SOFT PASTEL FEEL) --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #17435E;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #17435E;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #285776;
  margin-bottom: 10px;
  line-height: 1.25;
}
p, li {
  font-size: 1rem;
  color: #37485A;
}
strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17435E;
  font-weight: 700;
}

/* --- SOFT PASTEL COLORS (palette with gentle gradients or solid backgrounds) --- */
:root {
  --primary: #17435E;
  --secondary: #E2B13C;
  --accent: #F6F8F9;
  --pastel-blue: #C4E4F7;
  --pastel-yellow: #FFF4C7;
  --pastel-peach: #FFE4D5;
  --pastel-pink: #FDE4F3;
  --pastel-green: #D6F4EA;
  --pastel-violet: #F0E8FA;
  --navbar-bg: #F9FBFC;
  --shadow: 0 2px 22px rgba(80, 120, 180, 0.06);
  --text-contrast: #283246;
  --testimonial-bg: #FFFFFF;
}

/* --- BODY & CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- HEADER/NAVBAR --- */
header {
  background: var(--navbar-bg);
  box-shadow: var(--shadow);
  width: 100%;
  z-index: 998;
  border-bottom: 2px solid #F3EFE7;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header a img {
  height: 40px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #17435E;
  padding: 8px 0;
  margin-right: 4px;
  position: relative;
  border-radius: 6px;
  transition: background 0.15s;
}
header nav a.button-primary {
  margin-left: 12px;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: #17435E;
}
.button-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 30px;
  background: linear-gradient(90deg, #C4E4F7 0%, #FFF4C7 100%);
  color: #17435E;
  border: none;
  border-radius: 50px;
  transition: background 0.28s, box-shadow 0.22s, color 0.18s;
  box-shadow: 0 2px 10px rgba(200,200,200,0.09);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #FFF4C7 5%, #C4E4F7 90%);
  color: #17435E;
  box-shadow: 0 4px 24px rgba(180,170,200,0.15);
}

/* --- MOBILE MENU (burger + slide-in overlay) --- */
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  display: none;
  padding: 7px 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-yellow);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #F9FBFC;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.43,1.41,.6,1);
  box-shadow: 0 8px 32px rgba(50, 80, 90, 0.12);
  padding: 32px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2rem;
  border: none;
  background: none;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0 10px 7px;
  color: #17435E;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-blue);
  color: #17435E;
}

@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 99vw;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/* --- MAIN & SECTION LAYOUTS --- */
main {
  min-height: 75vh;
  margin-top: 0;
  background: #F9FBFC;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 750px;
}

/* --- FLEXBOX MANDATORY PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 20px 0px rgba(140, 160, 180, 0.13);
  transform: translateY(-2px) scale(1.018);
}
.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;
  background: var(--testimonial-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(180,195,210,0.12);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 590px;
  flex: 1 1 320px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(120,135,180, 0.16);
  transform: scale(1.01);
}
.testimonial-card p {
  color: #1D2937;
  font-style: italic;
  font-size: 1.07rem;
  margin-right: 16px;
  flex: 2;
}
.testimonial-card strong {
  color: #17435E;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HOMEPAGE GRIDS & FEATURES --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px 28px 28px 28px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 6px 26px rgba(140, 180, 192, 0.14);
  transform: translateY(-1px) scale(1.015);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

/* --- SERVICE CARDS & LISTS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.service-list > div {
  background: var(--pastel-peach);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: background 0.14s, box-shadow 0.13s;
}
.service-list > div img {
  height: 34px;
  margin-bottom: 9px;
  border-radius: 0;
  box-shadow: none;
}
.service-list > div:hover, .service-list > div:focus-within {
  background: var(--pastel-yellow);
}

/* --- TEAM & FAQ & NEWS CARDS --- */
.team-list, .faq-list, .guides-list, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-list > div, .faq-list > div, .guides-list > div, .news-list > div {
  background: var(--pastel-green);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 18px 16px 20px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: background 0.11s, box-shadow 0.13s;
}
.team-list > div:hover, .faq-list > div:hover, .guides-list > div:hover, .news-list > div:hover,
.team-list > div:focus-within, .faq-list > div:focus-within, .guides-list > div:focus-within, .news-list > div:focus-within {
  background: var(--pastel-pink);
  box-shadow: 0 8px 32px rgba(200,160,200,0.08);
}

.tip-box {
  background: var(--pastel-yellow);
  color: #17435E;
  border-left: 4px solid #E2B13C;
  border-radius: 10px;
  padding: 16px 24px;
  margin-top: 16px;
  margin-bottom: 20px;
}
.updates-teaser {
  background: var(--pastel-violet);
  color: #17435E;
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

/* --- FOOTER --- */
footer {
  background: #F6F8F9;
  padding: 48px 0 36px 0;
  box-shadow: 0 -3px 16px rgba(180,180,200,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer a img {
  height: 34px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  gap: 19px;
  margin-bottom: 4px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #28608B;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--pastel-peach);
  color: #17435E;
}
.contact-footer {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  color: #3C4D61;
  align-items: center;
  font-size: 0.99rem;
}
.contact-footer div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-hours {
  margin-top: 10px;
  color: #BFA61A;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- COOKIE BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: #FFF4C7;
  color: #17435E;
  box-shadow: 0 -2px 20px rgba(80,120,180,0.16);
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 18px 10vw;
  font-size: 1.03rem;
  animation: cookieSlideIn 0.35s ease-in;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 7px 24px;
  margin: 0 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
  font-size: 0.98rem;
}
.cookie-banner .cookie-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #FFF;
  border: 1.2px solid #D9B950;
  color: #BFA61A;
}
.cookie-banner .cookie-settings {
  background: var(--pastel-pink);
  color: #17435E;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  filter: brightness(0.97);
  box-shadow: 0 2px 12px #E2B13C55;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 14000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(54,55,70,0.27);
  justify-content: center;
  align-items: center;
  transition: background 0.34s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(164,170,220,0.13);
  min-width: 340px;
  max-width: 95vw;
  padding: 36px 30px 30px 30px;
  color: #17435E;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modalFadeIn 0.3s cubic-bezier(.51,1.56,.47,1);
  position: relative;
}
@keyframes modalFadeIn {
  from { opacity: 0;transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.cookie-modal label {
  font-weight: 600;
  color: #285776;
  font-size: 1.05rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #E2B13C;
  width: 22px;
  height: 22px;
  border-radius: 8px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #BFA61A;
  font-size: 1.75rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.15s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--pastel-yellow);
  color: #17435E;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  padding: 8px 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 30px;
}

/* --- GENERAL RESPONSIVE LAYOUTS --- */
@media (max-width: 1080px) {
  .feature-grid > div,
  .service-list > div,
  .team-list > div,
  .faq-list > div,
  .guides-list > div,
  .news-list > div {
    max-width: 280px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .team-list, .faq-list, .guides-list, .news-list {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .service-list, .team-list, .faq-list, .guides-list, .news-list {
    gap: 12px;
  }
  .feature-grid > div, .service-list > div, .team-list > div, .faq-list > div, .guides-list > div, .news-list > div {
    min-width: 170px; max-width: 320px;
    flex-basis: 160px;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 31px 8px;
    margin-bottom: 36px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid, .service-list, .team-list, .faq-list, .guides-list, .news-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-list > div, .team-list > div, .faq-list > div, .guides-list > div, .news-list > div {
    max-width: 98vw; width: 100%;
    flex-basis: 100%;
    min-width: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 98vw;
  }
  .footer-hours { text-align: center; }
  .contact-footer {
    flex-direction: column;
    gap: 14px;
    font-size: 1.05rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- MICRO-INTERACTIONS & SUBTLE EFFECTS --- */
::-webkit-scrollbar { width: 10px; background: #F6F8F9; }
::-webkit-scrollbar-thumb { background: #E2E8EF; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #D3DEE9; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.2px solid #C4E4F7;
  padding: 10px 14px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E2B13C;
  box-shadow: 0 2px 12px #FFF4C777;
  outline: none;
}

/* --- FORM & BUTTONS GENERAL --- */
button, .button-primary {
  outline: none;
  border: none;
}
button:active {
  outline: none;
}

/* --- WHITE SPACE / SPACING CLASSES --- */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.pt-16 { padding-top: 16px; }
.pb-16 { padding-bottom: 16px; }

/* --- ACCESSIBILITY --- */
:focus { outline: 2px solid #E2B13C; outline-offset: 2px; }

/* --- OVERRIDES: SPACING - NO OVERLAP --- */
h1, h2, h3, h4, h5, h6 { margin-bottom: 18px; }
p { margin-bottom: 16px; }
.card + .card, .testimonial-card + .testimonial-card { margin-top: 20px; }

/* --- ENSURE NO ABSOLUTE FOR CONTENT --- */
/* Decorative elements only can use absolute (NONE found in main layouts) */

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