/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #205369;
  background: linear-gradient(135deg, #F7F8FA 0%, #e7f0f5 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #25637D;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #FDCA40;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s cubic-bezier(.4,0,.2,1), color 0.2s cubic-bezier(.4,0,.2,1);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #25637D;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.34rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p, ul, ol, blockquote {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: #205369;
}
blockquote {
  font-style: italic;
  color: #205369;
  opacity: 0.85;
  border-left: 4px solid #FDCA40;
  padding-left: 16px;
  margin-bottom: 8px;
}

/* --- CONTAINER & GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px -6px rgba(37,99,125,0.08);
  padding: 0;
  z-index: 1001;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #25637D;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s cubic-bezier(.4,0,.2,1), color 0.2s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover, .main-nav a.active {
  background: #F7F8FA;
  color: #205369;
}
.cta-btn {
  background: linear-gradient(95deg, #FDCA40 0%, #FFE484 80%);
  color: #205369;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 12px 34px;
  border: none;
  box-shadow: 0 3px 10px -5px #FDCA40cc;
  transition: background 0.3s, color 0.2s, box-shadow 0.2s;
  margin-left: 14px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(95deg, #25637D 0%, #205369 100%);
  color: #fff;
  box-shadow: 0 6px 18px -5px #25637D55;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  color: #205369;
  background: transparent;
  border-radius: 6px;
  padding: 6px 12px;
  margin-left: 8px;
  transition: background .2s;
  z-index: 2003;
}
.mobile-menu-toggle:focus {
  background: #f4f8fa;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(32,83,105,0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 40px 24px 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #205369;
  background: #F7F8FA;
  padding: 7px 15px 7px 7px;
  border-radius: 7px;
  margin-bottom: 18px;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #25637D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  padding: 0 0 0 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #205369;
  background: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDCA40;
  color: #205369;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 8px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
    height: 62px;
  }
}
/* --- HERO & GENERAL SECTION STYLES --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:first-child {
  margin-top: 10px;
}
.content-wrapper {
  gap: 24px;
}
.text-section {
  gap: 20px;
}

/* --- FLEXBOX PATTERNS (MANDATORY) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px -8px #25637D11;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 8px 40px -10px #25637D22;
}
.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: #F7F8FA;
  border-radius: 16px;
  box-shadow: 0 2px 10px -7px #20536936;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, background 0.18s;
  border: 1.5px solid #e7f0f5;
}
.testimonial-card blockquote {
  margin: 0;
  color: #205369;
  opacity: 0.97;
  font-size: 1.01rem;
}
.testimonial-card p {
  color: #205369;
  font-size: 0.97rem;
  margin: 0;
}
.testimonial-card:hover {
  background: #fffbe6;
  box-shadow: 0 10px 32px -10px #FDCA402a;
  border-color: #FDCA40;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px -8px #25637D12;
  margin-bottom: 20px;
}

ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
ul.feature-grid li {
  background: #fff;
  flex: 1 1 220px;
  border-radius: 16px;
  box-shadow: 0 4px 22px -8px #25637D22;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1.5px solid #e7f0f5;
}
ul.feature-grid li:hover {
  box-shadow: 0 8px 36px -10px #25637D33;
  border-color: #FDCA40;
}
ul.feature-grid img {
  height: 36px;
  width: 36px;
}

/* --- TABLES (PRICING) --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px -8px #25637D18;
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: #F7F8FA;
}
th, td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid #e7f0f5;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #205369;
}
tr:last-child td {
  border-bottom: 0;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(95deg, #25637D 0%, #205369 100%);
  color: #fff;
  margin-top: 60px;
  padding: 48px 0 30px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 8px;
}
.footer-brand p {
  color: #fff;
  font-size: 0.97rem;
  opacity: .92;
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 7px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.86;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: color .2s, opacity .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FDCA40;
  opacity: 1;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;  right: 0;  bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  z-index: 2200;
  pointer-events: none;
}
.cookie-banner .cookie-inner {
  background: #fff;
  color: #205369;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 24px -8px #25637D33;
  padding: 28px 34px 22px 30px;
  margin: 0 8px 20px 8px;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(75px);
  transition: opacity 0.29s, transform 0.36s;
  pointer-events: all;
}
.cookie-banner.active .cookie-inner {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  border-radius: 24px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.22s, color 0.18s;
}
.cookie-btn.accept {
  background: #FDCA40;
  color: #205369;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #25637D;
  color: #fff;
}
.cookie-btn.reject {
  background: #F7F8FA;
  color: #205369;
  border: 1.5px solid #e7f0f5;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fcd86b;
  color: #205369;
}
.cookie-btn.settings {
  background: transparent;
  color: #25637D;
  border: 1.5px solid #25637D22;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F7F8FA;
  color: #205369;
}

/* --- COOKIE PREFERENCE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,99,125,0.38);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 48px -12px #25637D55;
  max-width: 420px;
  width: 90vw;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopupIn 0.38s cubic-bezier(.46,.03,.52,.96);
}
@keyframes modalPopupIn {
  from { transform: translateY(45px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F7F8FA;
  color: #205369;
  border: none;
  border-radius: 12px;
  font-size: 1.25rem;
  padding: 2px 10px;
  transition: background .2s;
}
.cookie-modal .close-modal:hover {
  background: #FDCA40;
  color: #205369;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 7px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #205369;
}
.cookie-category input[type="checkbox"] { /* switch style */
  appearance: none;
  width: 34px;
  height: 20px;
  background: #e7f0f5;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .2s;
}
.cookie-category input[type="checkbox"]:checked {
  background: #FDCA40;
}
.cookie-category input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px #0002;
  transition: transform .22s cubic-bezier(.45,.05,.62,.99);
}
.cookie-category input[type="checkbox"]:checked:before {
  transform: translateX(14px);
}
.cookie-category input[disabled] {
  background: #c2cdd5;
  cursor: not-allowed;
}

.cookie-modal .cookie-btn-row {
  margin-top: 18px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  section, .section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 15px;
  }
  ul.feature-grid {
    gap: 14px;
  }
  ul.feature-grid li {
    padding: 16px 10px;
  }
}
@media (max-width: 770px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.44rem; }
  h3 { font-size: 1.13rem; }
  section, .section { padding: 24px 0 0 0; }
}
@media (max-width: 700px) {
  .footer-brand img { height: 30px; }
  .footer-brand, .footer-nav { font-size: .95rem; }
  .footer-nav { gap: 7px; }
}
@media (max-width: 600px) {
  .content-wrapper, .card-container, .content-grid, .footer .container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  ul.feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card, .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px !important;
  }
  .features {
    flex-direction: column !important;
  }
  .cookie-banner .cookie-inner {
    max-width: 97vw;
    padding: 18px 8px 16px 10px;
  }
  .cookie-modal {
    padding: 19px 10px 16px 10px;
  }
}
@media (max-width: 520px) {
  .logo img { height: 28px; }
  header .container { height: 48px; }
}
@media (max-width: 480px) {
  .cta-btn { padding: 10px 18px; font-size: 0.98rem; }
  .cookie-btn { padding: 7px 12px; font-size: 0.93rem; }
}

/* --- SPECIAL LAYOUT PATTERNS --- */
.map-placeholder {
  border-radius: 16px;
  background: #e7f0f5;
  color: #25637D;
  text-align: center;
  padding: 34px 10px;
  font-size: 1.02rem;
}
ul.contact-list {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* --- BUTTONS & INTERACTIONS --- */
button:active {
  filter: brightness(0.98);
}
.cta-btn:focus, .cookie-btn:focus {
  outline: 2px dashed #FDCA40;
  outline-offset: 2px;
}

/* --- VISUAL MICRO-INTERACTIONS & HOVER EFFECTS --- */
a, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a {
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
}
ul.feature-grid li, .testimonial-card, .footer-brand, .footer-nav a {
  transition: box-shadow .18s, border-color .14s, background .18s, color .18s;
}
ul.feature-grid li:active, .testimonial-card:active {
  transform: scale(0.98);
}
.cta-btn:active { transform: scale(0.97); }

/* --- ACCESSIBILITY & COLOR CONTRAST --- */
.testimonial-card, .testimonial-card blockquote, .testimonial-card p {
  color: #205369!important;
  background: none!important;
}

/* Hide scroll when modal/menu open */
body.menu-open, body.cookie-modal-open { overflow: hidden; }

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display:none !important; }
  section, .section { padding: 0 !important; margin: 0 0 24px 0 !important; }
  body { background: #fff; }
  .card, .testimonial-card, ul.feature-grid li { box-shadow: none !important; border-color: #c7cfd7 !important; }
}
