/* === CSS RESET & BASE === */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', serif;
  background: #F5FAFF;
  color: #143055;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #143055;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #22A7A8;
  text-decoration: underline;
}
button, .cta {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
  padding: 12px 28px;
  font-size: 1rem;
  background: #143055;
  color: #fff;
  transition: background 0.24s, color 0.24s, box-shadow 0.19s;
  box-shadow: 0 2px 10px 0 rgba(20,48,85,0.07);
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta:hover, .cta:focus, button:hover, button:focus {
  background: #22A7A8;
  color: #143055;
  box-shadow: 0 4px 20px 0 rgba(32,120,120,0.15);
}

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #143055;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: #225; font-weight: 600; }
h4 { font-size: 1.08rem; margin-bottom: 8px; }
p, ul, ol, li {
  font-size: 1.08rem;
  font-family: 'Roboto', serif;
  color: #25385e;
  font-weight: 400;
}
strong { color: #143055; font-weight: 600; }
ul, ol {
  padding-left: 24px;
  margin-bottom: 12px;
  margin-top: 8px;
}
li { margin-bottom: 8px; }

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px 0 rgba(20,48,85,0.08);
  padding: 40px 28px;
  margin-bottom: 60px;
}
.content-wrapper:last-child {
  margin-bottom: 0;
}
.text-section {
  background: #F5FAFF;
  border: 1px solid #e7eef5;
  box-shadow: none;
  padding: 40px 28px;
  border-radius: 10px;
}

.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: 10px;
  box-shadow: 0 2px 8px 0 rgba(20,48,85,0.09);
  padding: 28px 22px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(20,48,85,0.18);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F5FAFF;
  border: 1px solid #e2e9f1;
  border-radius: 9px;
  box-shadow: 0 2px 8px 0 rgba(20,48,85,0.05);
  transition: box-shadow 0.15s, border 0.18s;
}
.testimonial-card p {
  color: #143055;
  font-size: 1.14rem;
  font-style: italic;
  margin-bottom: 0;
  font-family: 'Montserrat', serif;
}
.testimonial-card span {
  color: #25385e;
  font-size: 1.07rem;
  font-style: normal;
}
.testimonial-card:hover {
  border-color: #22A7A8;
  box-shadow: 0 8px 28px 0 rgba(34,167,168,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* === HEADER & NAV === */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(20,48,85,0.04);
  z-index: 50;
  position: relative;
  padding-top: 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #143055;
  padding: 8px 10px;
  border-radius: 4px;
  transition: color 0.16s, background 0.16s;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #F5FAFF;
  color: #22A7A8;
}
.main-nav .cta {
  background: #22A7A8;
  color: #fff;
  border-radius: 5px;
  padding: 10px 22px;
  margin-left: 16px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.18s, color 0.17s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #143055;
  color: #fff;
}
.mobile-menu-toggle {
  background: #22A7A8;
  color: #fff;
  border-radius: 7px;
  padding: 8px 14px;
  margin-left: 16px;
  border: none;
  font-size: 1.25rem;
  display: none;
  transition: background 0.22s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #143055;
  color: #ffd;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background: #143055;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.8,.13,.47,.87);
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  box-shadow: 0 8px 40px 0 rgba(20,48,85,0.34);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.0rem;
  border: none;
  padding: 24px 24px 0 18px;
  margin-left: 2px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 28px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.17rem;
  padding: 13px 0;
  width: 100%;
  border-radius: 0;
  border-bottom: 1px solid rgba(245,250,255,0.07);
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22A7A8;
  color: #143055;
}

/* === MAIN LAYOUT === */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section:last-of-type {
  margin-bottom: 0;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 1px solid #e7eef5;
  padding: 36px 0 18px 0;
  box-shadow: 0 1px 8px 0 rgba(20,48,85,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #143055;
  opacity: 0.82;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #22A7A8;
  opacity: 1;
}
.brand-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  font-family: 'Montserrat', serif;
  font-size: 1.04rem;
  color: #516484;
}
.brand-footer img {
  width: 34px;
  height: 34px;
}

/* == COOKIES BANNER & MODAL == */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1001;
  background: #143055;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 18px 18px 18px;
  gap: 18px;
  box-shadow: 0 -2px 18px 0 rgba(20,48,85,0.14);
  font-family: 'Roboto', serif;
  font-size: 1rem;
  min-height: 54px;
  animation: cookie-slidein 0.6s;
}
@keyframes cookie-slidein {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 18px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  background: #22A7A8;
  color: #fff;
  font-family: 'Montserrat', serif;
  border: none;
  font-size: 0.98rem;
  border-radius: 4px;
  padding: 8px 20px;
  margin: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.11s;
}
.cookie-banner button:hover, .cookie-banner .cookie-btn:hover,
.cookie-banner button:focus, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #143055;
  outline: none;
}

.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%,50%) scale(0.97);
  z-index: 1002;
  min-width: 340px;
  max-width: 98vw;
  background: #fff;
  color: #143055;
  border-radius: 14px;
  box-shadow: 0 8px 42px rgba(20,48,85,0.18);
  padding: 38px 24px 28px 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: slideModalUP .44s ease;
}
@keyframes slideModalUP {
  from { opacity: 0; transform: translate(-50%,60%) scale(0.95);} to { opacity: 1; transform: translate(-50%,50%) scale(1); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', serif;
  font-size: 1.23rem;
  margin-bottom: 7px;
  font-weight: bold;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-modal label {
  font-family: 'Roboto', serif;
  font-size: 1.01rem;
  color: #143055;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #22A7A8;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal .close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  color: #22A7A8;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #143055;
  background: none;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  font-family: 'Roboto', serif;
  border: 1px solid #e7eef5;
  border-radius: 5px;
  padding: 9px 13px;
  background: #fff;
  font-size: 1rem;
  color: #143055;
  margin-bottom: 16px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #22A7A8;
  outline: none;
  background: #F5FAFF;
}
label {
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  color: #143055;
}

/* === UTILITY & HELPER CLASSES === */
.mt-0 { margin-top: 0 !important;}  .mb-0 { margin-bottom: 0 !important;}
.mt-2 { margin-top: 8px !important;}  .mb-2 { margin-bottom: 8px !important;}
.mt-3 { margin-top: 20px !important;} .mb-3 { margin-bottom: 20px !important;}
.mt-4 { margin-top: 30px !important;} .mb-4 { margin-bottom: 30px !important;}
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards 0.12s linear;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* === RESPONSIVENESS (MOBILE-FIRST) === */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 6vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.06rem; }
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .text-section {
    padding: 25px 10px;
    margin-bottom: 40px;
  }
  section {
    padding: 25px 7px;
    margin-bottom: 38px;
  }
  .section {
    padding: 25px 7px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid, .features {
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 8px;
    font-size: 0.96rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 480px){
  .brand-footer span {
    font-size: 0.93rem;
  }
}

/* === CLASSIC ELEGANT EFFECTS === */
.content-wrapper, .card, .testimonial-card {
  box-shadow: 0 3px 16px 0 rgba(20,48,85,0.08);
  border-radius: 10px;
}
.text-section { border-radius: 10px; }

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 24px;
  font-size: 1rem;
  font-family: 'Roboto', serif;
}
th, td {
  padding: 12px 10px;
  border: 1px solid #e7eef5;
}
th {
  background: #143055;
  color: #fff;
  font-family: 'Montserrat', serif;
}

/* === QUOTES === */
blockquote {
  border-left: 4px solid #22A7A8;
  padding: 10px 0 10px 22px;
  color: #143055;
  font-style: italic;
  background: #F5FAFF;
  border-radius: 6px;
  margin: 16px 0;
}

/* == Hide cookie modal by default == */
.cookie-modal:not(.open) { display: none; }

/* ============= END ============= */
