/* RESET AND 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; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', serif;
  background: #FAFAF8;
  color: #25415F;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}
a { color: #25415F; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #67B4D7; outline: none; }
strong { font-weight: 600; }


/* TYPOGRAPHY SCALE (Serif for elegance) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #25415F;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 0.7em; }
h2 { font-size: 2rem; margin-bottom: 0.6em; line-height: 1.2; }
h3 { font-size: 1.45rem; margin-bottom: 0.5em; }
h4 { font-size: 1.20rem; margin-bottom: 0.4em; }
h5, h6 {font-size: 1rem;}
p, ul, ol { font-size: 1rem; margin-bottom: 1em; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.5em; }
.mission {
  font-style: italic;
  background: #E7F3F9;
  color: #25415F;
  padding: 16px 24px;
  border-radius: 8px;
  margin-top: 18px;
}

/* CONTAINERS AND LAYOUTS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

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

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,65,95,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(37,65,95,0.13);
}

.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: center;
  gap: 20px;
  background: #fff;
  color: #25415F;
  box-shadow: 0 2px 10px rgba(37,65,95,0.08);
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 600px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 30px rgba(37,65,95,0.14);
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #25415F;
  margin-bottom: 0.3em;
}
.testimonial-card span { color: #25415F; font-size: 0.99rem; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E7F3F9;
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 20px;
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
.feature-icons li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FAFAF8;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 1.06rem;
}

.statistics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid #E7F3F9;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 18px;
}

.opening-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 0 8px 0;
}
.article-categories span {
  background: #E7F3F9;
  color: #25415F;
  padding: 6px 12px;
  margin-right: 6px;
  border-radius: 18px;
  font-size: 0.96rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
}

.visual-process {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px 0;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: #25415F;
  color: #fff;
  font-family: 'Montserrat', serif;
  border: none;
  border-radius: 36px;
  padding: 12px 34px;
  font-size: 1.025rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(37,65,95,0.07);
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s,transform 0.12s;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #67B4D7;
  color: #25415F;
  box-shadow: 0 4px 18px rgba(37,65,95,0.13);
  transform: translateY(-1px) scale(1.025);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(37,65,95,0.09);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  max-height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #25415F;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.13s, border 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #67B4D7;
  border-color: #67B4D7;
}
.main-nav .btn-primary {
  margin-left: 20px;
  margin-top: 0;
}

/* BURGER MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #25415F;
  cursor: pointer;
  margin-left: 14px;
  z-index: 102;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(37,65,95, 0.97);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 18px 24px 8px 0;
  cursor: pointer;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 0;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.23rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #67B4D7;
  border-color: #67B4D7;
}

/* FOOTER */
footer {
  background: #F6FAFD;
  border-top: 1px solid #E7F3F9;
  margin-top: 60px;
  padding: 32px 0 18px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #25415F;
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', serif;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.14s, border 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #67B4D7;
  border-bottom: 2px solid #67B4D7;
}
footer small {
  color: #6B798A;
  font-size: 0.99rem;
}


/* --- COOKIE BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #25415F;
  box-shadow: 0 -2px 18px rgba(37,65,95,0.13);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 32px;
  gap: 20px;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: banner-slide-in 0.4s cubic-bezier(0.65,0,0.35,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .consent-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-consent-banner button {
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
  box-shadow: 0 1px 4px rgba(37,65,95,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-accept {
  background: #25415F;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #67B4D7;
  color: #fff;
}
.cookie-reject {
  background: #E7F3F9;
  color: #25415F;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #B8DAED;
  color: #25415F;
}
.cookie-settings {
  background: #fff;
  color: #25415F;
  border: 1px solid #25415F;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #f3f8fa;
  color: #25415F;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,65,95, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal-bg 0.28s;
}
@keyframes fade-in-modal-bg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #25415F;
  border-radius: 16px;
  padding: 32px 28px;
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 8px 40px rgba(37,65,95,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop-in 0.22s cubic-bezier(0.72,0,0.28,1);
}
@keyframes modal-pop-in {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 6px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #25415F;
  position: absolute;
  top: 8px; right: 18px;
  cursor: pointer;
}


/* --- UTILITY CLASSES --- */
.hide { display: none !important; }

/* ---- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { max-width: 950px; }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.52rem; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 98vw; padding: 0 10px; }
  .section { padding: 26px 5px; margin-bottom: 36px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .feature-icons, .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 99vw; }
  .content-wrapper { gap: 14px; }
  .article-categories {
    gap: 8px;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .header img { max-height: 25px; }
  .cookie-consent-banner { flex-direction: column; padding: 18px 12px; font-size: 0.97rem; gap: 14px; }
  .cookie-modal { padding: 16px 6vw; min-width: 0; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/*--- MICRO-INTERACTIONS ---*/
.btn-primary:active, .main-nav a:active {
  filter: brightness(0.97);
  transform: scale(0.98);
}
.testimonial-card:active {
  box-shadow: 0 2px 12px rgba(37,65,95,0.10);
}

/*--- FORMS (if needed in modals or future expansion) ---*/
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}
input[type="checkbox"]:focus, input[type="radio"]:focus {
  outline: 2px solid #67B4D7;
}

::-webkit-input-placeholder { color: #8aa1b4; }
::-moz-placeholder { color: #8aa1b4; }
:-ms-input-placeholder { color: #8aa1b4; }
::placeholder { color: #8aa1b4; }

/* --- SPECIAL CLASSES FOR FLEXBOX MARGINS ---*/
.card + .card,
.section + .section,
.testimonial-card + .testimonial-card,
.feature-item + .feature-item {
  margin-top: 20px !important;
}

/*--- ACCESSIBILITY ---*/
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid #67B4D7;
  outline-offset: 1px;
}

/* --- VISUAL HIERARCHY & SPACING ---*/
.section h2 + ul, .section h2 + ol, .section h2 + p {
  margin-top: 8px;
}
.section h3 {
  margin-top: 20px;
}

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