/* =====================================
   Reset & Base
====================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #18425D;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: #18425D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #315c7a;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: inline-block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #18425D;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #18425D;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 1em;
  font-size: 16px;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  box-shadow: 0 4px 24px rgba(24,66,93,0.04);
  border-radius: 18px;
}

/* =====================================
   Header & Navigation
====================================== */
header {
  background: #18425D;
  color: #fff;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(24,66,93,0.05);
}
.logo img {
  height: 42px;
  vertical-align: middle;
}
header .container {
  padding: 0 20px;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 16px;
  position: relative;
  padding: 6px 2px;
  border-radius: 6px;
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(121,167,157,0.15);
  color: #79A79D;
}
.cta-button {
  background: #79A79D;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 3px 16px rgba(24,66,93,0.08);
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s;
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #18425D;
  color: #fff;
  box-shadow: 0 5px 30px rgba(24,66,93,0.13);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 16px;
  z-index: 9991;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(24,66,93,0.07);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #18425D;
  color: #fff;
  z-index: 12000;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.87,.08,.08,.87), opacity 0.2s;
  box-shadow: 0 8px 64px rgba(24,66,93,0.12);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5F7FA;
  font-size: 2rem;
  padding: 18px;
  align-self: flex-end;
  cursor: pointer;
  margin: 12px 14px 0 0;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(121,167,157,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(121,167,157,0.16);
  color: #79A79D;
}

/* =====================================
   Hero Section
====================================== */
.hero {
  background: linear-gradient(120deg, #F5F7FA 60%, #edf1f6 100%);
  padding: 64px 0 32px 0;
  margin-bottom: 0;
}
.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}
.hero .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}
.hero .text-section {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero h1 {
  color: #18425D;
  line-height: 1.18;
  margin-bottom: 15px;
}
.hero p {
  color: #315c7a;
  font-size: 18px;
  margin-bottom: 20px;
}

/* =====================================
   Features & Services
====================================== */
.features, .services-list {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(24,66,93,0.045);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.feature-grid, .services-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F7FA;
  border-radius: 18px;
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(24,66,93,0.05);
  margin-bottom: 20px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-item img, .service-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature-item h3, .service-item h3 {
  margin-bottom: 4px;
  color: #18425D;
  font-size: 1.12rem;
  font-weight: 600;
}
.feature-item p, .service-item p {
  color: #315c7a;
  font-size: 0.98rem;
}
.feature-item strong, .service-item strong {
  display: block;
  color: #18425D;
  letter-spacing: 0.01em;
  margin-top: 6px;
}
.feature-item:hover, .feature-item:focus, .service-item:hover, .service-item:focus {
  box-shadow: 0 8px 36px rgba(24,66,93,0.12);
  transform: translateY(-2px) scale(1.018);
}

.services-list .cta-button {
  margin-top: 28px;
  align-self: flex-start;
}
.services-list .service-item {
  width: 100%;
  margin-bottom: 20px;
}
.features ul, .features-list ul {
  list-style: none;
  padding-left: 0;
}
.features ul li, .features-list ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 12px;
  color: #18425D;
}
.features ul li img {
  width: 32px;
  height: 32px;
}

/* =====================================
   Cards
====================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(24,66,93,0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(24,66,93,0.13);
  transform: scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =====================================
   Testimonials
====================================== */
.testimonials {
  background: #F5F7FA;
  padding: 40px 0 28px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px 28px;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(24,66,93,0.05);
  color: #18425D; /* Dark text for good readability */
  margin-bottom: 20px;
  max-width: 680px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card p {
  color: #18425D;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: #79A79D;
  font-size: 1rem;
  margin-left: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 36px rgba(24,66,93,0.09);
  transform: scale(1.008) translateY(-2px);
}
.rating-summary {
  padding: 16px 0 0 0;
  color: #18425D;
  font-weight: 500;
  font-size: 1.04rem;
}
.rating-summary span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18425D;
  background: #EAF3F4;
  padding: 2px 12px;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 4px;
}

/* =====================================
   CTA Section
====================================== */
.cta {
  background: linear-gradient(120deg, #18425D 70%, #79A79D 100%);
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 60px;
  color: #fff;
  box-shadow: 0 4px 32px rgba(24,66,93,0.13);
}
.cta .text-section {
  align-items: flex-start;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-button {
  margin-top: 22px;
  background: #fff;
  color: #18425D;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #18425D;
  color: #fff;
}

/* =====================================
   Content Sections
====================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* =====================================
   Tips/Articles
====================================== */
.tips-categories {
  margin-bottom: 18px;
  color: #18425D;
  font-size: 1rem;
}
.tips-categories span {
  background: #EAF3F4;
  padding: 3px 10px;
  border-radius: 9px;
  margin: 0 8px 0 0;
  font-weight: 500;
  color: #18425D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
}
.tip-item {
  background: #fff;
  border-radius: 13px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px rgba(24,66,93,0.04);
}
.tip-item h3 {
  color: #18425D;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

/* =====================================
   Contact Details & Map
====================================== */
.contact-details .text-section p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-details .text-section h3 {
  color: #18425D;
  margin-bottom: 7px;
}
.contact-details .text-section ul {
  margin-top: 0;
  margin-bottom: 10px;
}
.contact-details .cta-button {
  margin-top: 9px;
}
.map .text-section {
  gap: 16px;
  align-items: flex-start;
}

/* =====================================
   Footer
====================================== */
footer {
  background: #18425D;
  color: #fff;
  padding: 0 0 0 0;
  font-size: 1rem;
  box-shadow: 0 -4px 16px rgba(24,66,93,0.04);
}
footer .container {
  padding: 40px 20px 20px 20px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 330px;
  align-items: flex-start;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 2px;
}
.footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  color: #EAF3F4;
  font-weight: 500;
}
.footer-contact h3 {
  color: #79A79D;
  font-size: 1.12rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 0.98rem;
  color: #fff;
}
.footer-contact a {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px dashed #79A79D;
  transition: color 0.18s, border 0.1s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #79A79D;
  border-bottom: 1px solid #79A79D;
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #EAF3F4;
  font-size: 0.97rem;
  padding: 2px;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  background: rgba(121,167,157,0.21);
  color: #79A79D;
}

/* =====================================
   Cookie Consent Banner
====================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15000;
  background: #18425D;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 18px;
  box-shadow: 0 -4px 36px rgba(24,66,93,0.12);
  font-size: 1rem;
  transition: transform 0.32s, opacity 0.22s;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-info {
  max-width: 600px;
  color: #fff;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.12s, box-shadow 0.17s;
  box-shadow: 0 2px 8px rgba(24,66,93,0.03);
  outline: none;
}
.cookie-banner .cookie-accept {
  background: #79A79D;
  color: #fff;
}
.cookie-banner .cookie-accept:hover {
  background: #59b09b;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #18425D;
  border: 2px solid #18425D;
}
.cookie-banner .cookie-reject:hover {
  background: #EAF3F4;
  color: #18425D;
}
.cookie-banner .cookie-settings {
  background: #18425D;
  color: #fff;
  border: 2px solid #79A79D;
}
.cookie-banner .cookie-settings:hover {
  background: #315c7a;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 15001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,66,93,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #18425D;
  border-radius: 20px;
  box-shadow: 0 8px 60px rgba(24,66,93,0.18);
  max-width: 400px;
  width: 92vw;
  padding: 34px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: cookieModalAppear 0.34s cubic-bezier(.78,.28,.26,1);
}
@keyframes cookieModalAppear {
  from { opacity: 0; transform: scale(0.93) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  color: #18425D;
}
.cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #EAF3F4;
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #18425D;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #bcd8dc;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #79A79D;
}
.cookie-toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 9px;
  transition: left 0.18s;
  box-shadow: 0 1px 3px rgba(24,66,93,0.09);
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal-actions button {
  padding: 9px 22px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #79A79D;
  color: #fff;
  margin-right: 4px;
}
.cookie-modal-actions button:last-child {
  background: #fff;
  color: #18425D;
  border: 2px solid #18425D;
  margin-right: 0;
}
.cookie-modal-actions button:focus, .cookie-modal-actions button:hover {
  box-shadow: 0 4px 16px rgba(121,167,157,0.13);
  background: #18425D;
  color: #fff;
}

/* =====================================
   Responsive Design (Mobile-First)
   Use ONLY Flexbox, No CSS Grid
====================================== */
@media (max-width: 1024px) {
  .footer-links { gap: 24px; }
  .footer-brand { max-width: 220px; }
}
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
  .footer-links { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100%; padding: 0 10px; }
  .content-wrapper { gap: 20px; }
  header .content-wrapper {
    flex-direction: row;
    gap: 13px;
    min-height: 62px;
  }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero, .features, .services-list, .cta, .section { padding: 24px 8px; border-radius: 0; }
  .hero .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    border-radius: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px;
    max-width: 100%;
  }
  .footer-brand img { height: 34px; }
  .footer-brand span { font-size: 0.88rem; }
  .footer-contact h3 { font-size: 1rem; }
  .footer-contact p { font-size: 0.94rem; }
  .footer-links nav a { font-size: 0.94rem; }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 17px 5px; font-size: .97rem; }
  .cookie-banner .cookie-info { margin-right: 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.14rem; }
  .cookie-modal { padding: 18px 6px 11px 6px; max-width: 95vw; }
}

/* =====================================
   Micro-Interactions / Transitions
====================================== */
*:focus {
  outline: 2px solid #79A79D;
  outline-offset: 2px;
}
button:focus, .cta-button:focus {
  outline: 2px solid #79A79D;
  outline-offset: 2px;
}

/* Card subtle appearance animation */
.card, .testimonial-card, .feature-item, .tip-item {
  animation: cardIn 0.6s cubic-bezier(.4,.14,.22,1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(32px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================================
   Utilities
====================================== */
.bg-accent { background: #F5F7FA !important; }
.text-primary { color: #18425D !important; }
.text-secondary { color: #79A79D !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* =====================================
   Print Styles
====================================== */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cta, .cta-button { display: none !important; }
  header, footer { background: #fff !important; color: #18425D !important; box-shadow: none !important; }
}
