/* --- 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F3E7;
  color: #14313E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #23546B;
  text-decoration: none;
  outline: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #7DCFB6;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23546B;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }
.subtitle {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #34768B;
  margin-bottom: 20px;
  font-weight: 600;
}
p, li, ul, ol {
  font-size: 1rem;
  color: #23546B;
}
strong { font-weight: bold; }

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* --- HEADER NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(35,84,107,0.07);
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 100;
}
.header-logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #23546B;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #7DCFB6;
  color: #fff;
}

.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: #7DCFB6;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(35,84,107,0.08);
  transition: background 0.2s, transform 0.16s, box-shadow 0.2s;
  margin-left: 12px;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23546B;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(35,84,107,0.13);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #7DCFB6;
  border-radius: 8px;
  font-size: 2rem;
  padding: 6px 16px;
  color: #23546B;
  cursor: pointer;
  margin-left: 14px;
  z-index: 211;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
  background: #7DCFB6;
  border-color: #23546B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(35,84,107,0.97);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.85,0,.35,1);
  z-index: 210;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 70px;
}
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  border: none;
  background: #fff;
  color: #23546B;
  font-size: 2.1rem;
  border-radius: 7px;
  padding: 2px 12px 4px 12px;
  cursor: pointer;
  z-index: 211;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7DCFB6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  margin-top: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7DCFB6;
  color: #fff;
}

/* --- MAIN SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 900px) {
  section {
    padding: 30px 10px;
    margin-bottom: 44px;
  }
}
@media (max-width: 450px) {
  section {
    padding: 16px 4px;
    margin-bottom: 28px;
  }
}

/* --- FLEXBOX CONTENT PATTERNS --- */
.content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(35,84,107,0.13);
  padding: 28px 24px 24px 24px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 30px 4px rgba(35,84,107,0.22);
  border-color: #7DCFB6;
  transform: translateY(-4px) rotate(-1.5deg) scale(1.025);
  z-index: 2;
}
.feature-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  background: #7DCFB6;
  padding: 8px;
  transition: background 0.2s, box-shadow 0.24s;
  box-shadow: 0 3px 20px rgba(125, 207, 182, 0.17);
}
.feature-item:hover img {
  background: #23546B;
  box-shadow: 0 6px 28px 2px rgba(35,84,107,0.13);
}
.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 1rem;
  opacity: 0.85;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 14px 0 rgba(35,84,107,0.15);
  padding: 28px 24px;
  max-width: 340px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s, border-color 0.18s, transform 0.15s;
  border: 2px solid transparent;
}
.service-item:hover {
  border-color: #7DCFB6;
  box-shadow: 0 12px 32px 4px rgba(35,84,107,0.13);
  transform: rotate(2deg) scale(1.04);
}
.service-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 4px;
}

.price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.price-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 9px 0 rgba(35,84,107,0.095);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 300px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid #F5F3E7;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.14s;
}
.price-item .price {
  font-size: 1.35rem;
  color: #7DCFB6;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.price-item:hover {
  border-color: #7DCFB6;
  box-shadow: 0 6px 26px 2px rgba(35,84,107, 0.11);
  transform: scale(1.03) rotate(-2.5deg);
  z-index: 2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 12px;
}
.confirmation-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(125,207,182,0.13);
  padding: 32px 28px;
}

/* --- SECTION / ALIGNMENT RULES --- */
.text-section, .contact-snippet, .faq-snippet, .additional-costs-info, .map-snippet, .certifications {
  margin-bottom: 20px;
  background: transparent;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 6px 0 rgba(35,84,107,0.07);
  margin-bottom: 26px;
}

.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;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(35,84,107,0.13);
  padding: 20px;
  margin-bottom: 20px;
  color: #23546B;
  transition: box-shadow 0.17s, transform 0.17s;
  min-height: 82px;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #23546B;
  margin-right: 18px;
  margin-bottom: 0;
  line-height: 1.4;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #7DCFB6;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(125,207,182,0.15);
  transform: translateY(-3px) scale(1.018);
}

/* --- FOOTER --- */
footer {
  background: #23546B;
  color: #fff;
  padding: 36px 0 12px;
}
.footer-logo-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-logo-nav img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.87;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7DCFB6;
  color: #23546B;
}
footer p {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 12px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23546B;
  color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 20px 2px rgba(35,84,107,0.21);
  padding: 28px 20px 18px 20px;
  z-index: 1800;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(.85,0,.35,1);
  font-size: 1rem;
  animation: slideUpBanner 0.5s ease-out;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 18px;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  background: #7DCFB6;
  color: #23546B;
  box-shadow: 0 2px 8px 0 rgba(125,207,182,0.16);
}
.cookie-btn.rejected {
  background: #C0324B;
  color: #fff;
}
.cookie-btn.accepted {
  background: #34D57C;
  color: #fff;
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  background: #23546B;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn:active, .cookie-settings-btn:active {
  transform: scale(0.98);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(31,64,77,0.68);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.22s linear;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23546B;
  border-radius: 22px;
  box-shadow: 0 8px 48px 0 rgba(35,84,107, 0.20);
  padding: 36px 30px 30px 30px;
  max-width: 480px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.08rem;
  animation: slideInModal 0.4s cubic-bezier(.85,0,.35,1);
}
@keyframes slideInModal {
  from { transform: scale(0.82) translateY(80px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  align-items: center;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 1.7rem;
  color: #23546B;
  background: #F5F3E7;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #7DCFB6;
  color: #fff;
}

/* --- UTILITY CLASSES --- */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.gap-20 { gap: 20px; }
.center { text-align: center; }

/* --- PLAYFUL ANIMATIONS & ELEMENTS --- */
.btn-primary, .feature-item, .service-item, .price-item, .testimonial-card { transition: box-shadow 0.15s, background 0.16s, transform 0.14s; }
.btn-primary:active { transform: scale(0.98) rotate(-1deg); }
.card-bounce:hover { animation: bounceCard 0.18s linear; }
@keyframes bounceCard {
  0% { transform: scale(1); }
  30% { transform: scale(1.06); }
  60% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

h2, .btn-primary, .feature-item, .testimonial-card, .confirmation-block {
  animation: appearUp 0.65s cubic-bezier(.86,0,.18,1) both;
}
@keyframes appearUp {
  from { opacity: 0; transform: translateY(46px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1100px) {
  .feature-grid, .service-list, .price-grid {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .price-grid {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .container { padding-right: 7px; padding-left: 7px; }
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .price-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-item, .price-item {
    min-width: 90vw;
    max-width: 99vw;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .header-logo-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 3px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .main-nav { font-size: 0.95rem; gap: 14px; }
  .footer-logo-nav { flex-direction: column; gap: 10px; }
  .footer-nav { gap: 7px; }
  .btn-primary { font-size: 1rem; padding: 10px 20px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .feature-item, .service-item, .price-item { padding: 20px 10px; }
}

/* --- MOBILE HEADER / NAV --- */
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* --- FORM ELEMENTS (for possible future forms) --- */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #7DCFB6;
  padding: 8px 12px;
  outline: none;
  background: #fff;
  color: #14313E;
  box-shadow: 0 1px 4px rgba(35,84,107,0.08);
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #23546B;
  box-shadow: 0 4px 14px 2px rgba(35,84,107,0.16);
}

/* Accessibility / Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid #7DCFB6;
  outline-offset: 1.5px;
}
::selection {
  background: #7DCFB6;
  color: #fff;
}

/* --- CARD CONTAINER --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(125,207,182,0.09);
  padding: 24px 18px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px 3px rgba(35,84,107,0.11);
  transform: rotate(-1.5deg) scale(1.04);
}

/* --- SPACING UTILS & VISUAL HIERARCHY --- */
hr {
  border: 0;
  border-top: 1.5px solid #7DCFB6;
  margin: 26px 0;
}

ol {
  padding-left: 20px;
}

ul li, ol li {
  margin-bottom: 8px;
}

/* --- VISUAL PLAYFUL ELEMENTS --- */
h1, h2, h3, h4, .btn-primary, .feature-item, .service-item, .price-item, .testimonial-card {
  border-radius: 22px;
  /* Achieve energetic, bouncy look */
}

h1, h2, h3, .btn-primary {
  /* Fun accents: underline squiggle with pseudo element */
  position: relative;
  z-index: 1;
}
h2::after, .btn-primary::after {
  content: '';
  display: block;
  width: 60px;
  height: 8px;
  background: #FFD86E;
  border-radius: 8px 18px 40px 8px;
  position: absolute;
  left: 0;
  bottom: -8px;
  opacity: 0.4;
  z-index: -1;
}
@media (max-width: 600px) {
  h2::after, .btn-primary::after { width: 36px; height: 5px; bottom: -6px; }
}

/* --- ACCENT ELEMENTS / DECOR ---- */
/* Add playful colored dots for sections using ::before where appropriate */
section > h2::before, section > h1::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 60%;
  background: #7DCFB6;
  margin-right: 12px;
  margin-bottom: 4px;
  vertical-align: baseline;
  animation: playfulDotBounce 1.4s infinite alternate cubic-bezier(.61,0,.36,1);
}
@keyframes playfulDotBounce {
  0% { transform: translateY(0) scale(1); }
  80% { transform: translateY(-6px) scale(1.14); }
  100% { transform: translateY(0) scale(1); }
}

/* --- PRINT-FRIENDLY --- */
@media print {
  .cookie-banner, .mobile-menu, header, footer { display: none !important; }
  section, .container { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}
