/* 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,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #FCFCFC 0%, #EAF3FC 100%);
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #17233E;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #418C89;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #17233E;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.6em 1.6em;
}
li {
  margin-bottom: 0.6em;
}
button, .cta, input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #17233E;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #17233E;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: #17233E;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
p,
.text-section,
.text-section p,
.service-list ul li {
  font-size: 1rem;
  color: #2D3846;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #418C89;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
}
small {
  color: #868FA2;
}

/* LAYOUT CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper,
.text-section,
.feature-list,
.feature-grid,
.service-cards,
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(65,140,137,0.07);
  padding: 28px 24px 20px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 28px rgba(23,35,62,0.13);
  transform: translateY(-3px) scale(1.015);
}
.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;
  background: #FCFCFC;
  border-left: 5px solid #418C89;
  box-shadow: 0 2px 10px rgba(65,140,137,0.05);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  max-width: 480px;
  color: #17233E;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #17233E;
  font-size: 1rem;
}
.testimonial-card strong {
  font-weight: 600;
  color: #418C89;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID/SERVICE CARDS */
.feature-grid,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.service-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(65,140,137,0.07);
  padding: 24px 20px 18px 20px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover,
.service-cards > div:hover {
  box-shadow: 0 8px 24px rgba(23,35,62,0.11);
  transform: translateY(-4px) scale(1.02);
}

/* SERVICE PRICE */
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #17233E;
  margin-top: 8px;
}

/* SERVICE LIST */
.service-list ul,
.feature-list ul {
  list-style: disc inside;
  margin-bottom: 12px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.faq-list h2 {
  font-size: 1.1rem;
  color: #418C89;
  margin-bottom: 6px;
  margin-top: 14px;
}
.faq-list p {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* CTA BUTTONS */
.cta,
button,
input[type="submit"] {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 25px;
  background: linear-gradient(90deg, #418C89 0%, #17233E 90%);
  color: #FCFCFC;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(65,140,137,0.07);
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.17s;
  margin: 2px 0 2px 0;
}
.cta.primary {
  background: linear-gradient(90deg, #418C89 0%, #17233E 100%);
  color: #FCFCFC;
  border: none;
}
.cta.primary:hover,
button:hover,
input[type="submit"]:hover,
.cta.primary:focus {
  background: linear-gradient(90deg, #38b3a7 0%, #2D3846 100%);
  color: #FCFCFC;
  box-shadow: 0 6px 16px rgba(23,35,62,0.16);
  transform: translateY(-2px) scale(1.012);
}
button:active,
.cta:active {
  filter: brightness(0.93);
  transform: scale(0.98);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(17,36,62,0.04);
  padding: 12px 0;
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
header nav ul li {
  margin: 0;
  font-size: 1rem;
}
header nav ul li a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #17233E;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 16px;
  transition: background 0.17s, color 0.17s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #EBF5F4;
  color: #418C89;
}
header nav > a img {
  height: 38px;
  width: auto;
  margin-right: 22px;
}

/* HEADER CTA */
header .cta.primary {
  font-size: 0.98rem;
  border-radius: 20px;
  padding: 10px 22px;
  margin-left: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* FOOTER */
footer {
  background: #17233E;
  color: #FCFCFC;
  padding: 40px 0 12px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 48px;
  box-shadow: 0 -3px 15px rgba(23,35,62,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #FCFCFC;
  opacity: 0.82;
  font-size: 1rem;
  margin-right: 6px;
}
footer nav a:hover,
footer nav a:focus {
  opacity: 1;
  color: #38b3a7;
}
footer .text-section {
  margin-top: 8px;
}
footer small {
  color: #D6DEE6;
}

/* CONTACT */
.contact-info ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px 0;
}
.contact-info ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.contact-info a {
  color: #418C89;
}

.map-embed {
  margin-top: 16px;
  font-size: 0.97rem;
}

/* THANK-YOU PAGE */
.thank-you {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(23,35,62,0.13);
  border-top: 4px solid #418C89;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 14px;
  font-size: 1rem;
  animation: slideBannerUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes slideBannerUp {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: linear-gradient(90deg, #418C89 0%, #17233E 100%);
  color: #FCFCFC;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #418C89 0%, #38b3a7 100%);
}
.cookie-banner button.reject {
  background: #EBF5F4;
  color: #17233E;
}
.cookie-banner button.settings {
  background: #FCFCFC;
  border: 2px solid #418C89;
  color: #418C89;
}
.cookie-banner button:hover  {
  background: #17233E;
  color: #FCFCFC;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3550;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,35,62,0.36);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.37s cubic-bezier(0.23, 1, 0.32, 1);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  padding: 32px 20px;
  max-width: 412px;
  width: 98%;
  box-shadow: 0 8px 32px rgba(23,35,62,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideModalUp 0.59s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes slideModalUp {
  from {transform: translateY(60px) scale(0.98); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px; right: 13px;
  background: none;
  color: #17233E;
  font-size: 2rem;
  line-height: 1;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #418C89;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: #17233E;
}
.cookie-modal .cookie-category input[type=checkbox],
.cookie-modal .cookie-category input[type=radio] {
  accent-color: #418C89;
}
.cookie-modal .cookie-category input[disabled],
.cookie-modal .cookie-category input[disabled] + label {
  opacity: 0.56;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1rem;
  padding: 7.5px 22px;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
  background: #FCFCFC;
}
body::-webkit-scrollbar-thumb {
  background: #EAF3FC;
  border-radius: 6px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .feature-grid > div,
  .service-cards > div {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 840px) {
  .feature-grid,
  .service-cards {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 900px) {
  header nav ul {
    gap: 12px;
  }
  header nav .cta.primary {
    margin-left: 6px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .section {
    padding: 30px 6vw;
    margin-bottom: 38px;
  }
  .content-wrapper,
  .text-section,
  .feature-list,
  .service-list,
  .faq-list {
    gap: 18px;
  }
  .feature-grid,
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header nav ul {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
    background: #FCFCFC;
    color: #417FA0;
    border: 2px solid #EAF3FC;
    border-radius: 14px;
    font-size: 2rem;
    line-height: 1;
    padding: 4px 17px 4px 17px;
    z-index: 103;
    transition: background 0.21s;
  }
  .mobile-menu-toggle:hover {
    background: #EAF3FC;
    color: #17233E;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: #fff;
    z-index: 2002;
    width: 100vw;
    height: 100vh;
    padding: 0 0 0 0;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 24px rgba(23,35,62,0.13);
  }
  .mobile-menu.open {
    transform: translateX(0);
    animation: slideInMenu 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  @keyframes slideInMenu {
    from { transform: translateX(105%); }
    to { transform: translateX(0); }
  }
  .mobile-menu-close {
    background: none;
    color: #17233E;
    border: none;
    position: absolute;
    font-size: 2.7rem;
    top: 20px;
    right: 33px;
    cursor: pointer;
    z-index: 103;
    transition: color 0.2s;
  }
  .mobile-menu-close:hover {
    color: #418C89;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 70px;
    width: 100%;
    gap: 6px;
    padding-left: 34px;
  }
  .mobile-nav a {
    color: #17233E;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.05rem;
    padding: 16px 0;
    min-width: 70vw;
    border-radius: 18px;
    background: #F2FCFB;
    margin-bottom: 5px;
    padding-left: 18px;
    transition: background 0.17s, color 0.17s;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #D6DEE6;
    color: #418C89;
  }
  .mobile-nav a:last-child {
    margin-bottom: 14px;
  }
  footer .container {
    padding-left: 6vw;
    padding-right: 6vw;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .feature-grid > div,
  .service-cards > div {
    min-width: unset;
    max-width: 100%;
    padding: 16px 5vw;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 0.98rem;
    padding: 12px 10px;
  }
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.02rem;
  }
  .cookie-modal {
    padding: 16px 4vw;
    width: 97vw;
    font-size: 0.98rem;
  }
}

/* --- UTILITY CLASSES FOR FLEX SPACING --- */
.gap-20 {
  gap: 20px;
}
.gap-24 {
  gap: 24px;
}
.gap-30 {
  gap: 30px;
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
*:focus {
  outline: 2px solid #418C89;
  outline-offset: 2px;
}

/* --- END CUSTOM CSS --- */
