/* ---------------------------
   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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F1;
  color: #1C2633;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button, [type="button"], [type="submit"], [type="reset"] {
  appearance: none;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #15AABF;
  outline-offset: 2px;
}

/* ---------------------------
   BRAND FONTS & BASELINE
---------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
body {
  font-family: 'Roboto', serif;
  background: #F7F6F1;
  color: #1C2633;
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #112741;
  letter-spacing: 0.009em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
  color: #112741;
}

/* Typography scale classes */
.display-1 { font-size: 2.7rem; }
.display-2 { font-size: 2rem; }
.display-3 { font-size: 1.3rem; }

/* Elegant Links */
a {
  color: #112741;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #15AABF;
  text-decoration: underline;
}

/* -------------
   LAYOUT
-------------- */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive layout helpers */
@media (max-width: 768px) {
  .container,
  .content-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(17,39,65,0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 12px rgba(17, 39, 65, 0.07);
  padding: 24px 20px;
  min-width: 260px;
  max-width: 100%;
  flex: 1 1 270px;
  transition: box-shadow 0.25s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 22px rgba(17,39,65,0.12);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-list > div {
  flex: 1 1 260px;
  background: #F7F6F1;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 10px rgba(17, 39, 65, 0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.service-list > div:hover {
  box-shadow: 0 3px 22px rgba(17,39,65,0.10);
}
.service-list h3>span { font-size: 1rem; font-family: 'Roboto', serif; font-weight: 400; color: #15AABF; margin-left: 7px; }

@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
  }
}

/* -------------
   HEADER
-------------- */
header {
  background: #FFF;
  box-shadow: 0 2px 9px rgba(17, 39, 65, 0.12);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  min-height: 74px;
  gap: 16px;
}
.logo {
  margin-right: 24px;
  font-weight: 700;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
}
.logo img { height: 38px; width: auto; margin-right:8px; }

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  font-family: 'Montserrat', serif;
  font-size: 1.07rem;
}
.main-nav a {
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  color: #112741;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #15AABF18;
  color: #15AABF;
}

.cta-button {
  margin-left: 26px;
  padding: 11px 28px;
  background: #112741;
  color: #FFF;
  border-radius: 24px;
  font-family: 'Montserrat', serif;
  font-size: 1.07rem;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, box-shadow 0.23s;
  box-shadow: 0 2px 8px rgba(17, 39, 65, 0.06);
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #15AABF;
  color: #112741;
  box-shadow: 0 4px 18px rgba(17,39,65,.13);
}

/* Hamburger - mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #112741;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 1202;
  padding: 6px 13px 7px 13px;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #15AABF18;
  color: #15AABF;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-left: 12px;
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* -------------
   MOBILE MENU
-------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(17,39,65,0.96);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.41s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 25px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFF;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 8px 20px 28px 0;
  padding: 7px 14px;
  border-radius:7px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #15AABF24;
  color: #15AABF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 8px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.18rem;
  font-family: 'Montserrat', serif;
  padding: 15px 30px;
  transition: background 0.17s, color 0.17s;
  border-radius: 0 28px 28px 0;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #15AABF;
  color: #112741;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------
   HERO SECTIONS
-------------- */
.hero {
  min-height: 270px;
  background: #112741;
  color: #FFF;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 25px 0 rgba(17,39,65,0.07);
}
.hero .container {
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: #FFF;
  margin-bottom: 14px;
}
.hero p {
  color: #F7F6F1;
}
.hero .cta-button {
  margin-top: 20px;
  background: #15AABF;
  color: #112741;
  box-shadow: 0 2px 7px rgba(17,39,65,.13);
}
.hero .cta-button:hover, .hero .cta-button:focus {
  background: #FFF;
  color: #15AABF;
}

@media (max-width: 768px) {
  .hero {
    min-height: 145px;
    border-radius: 0 0 18px 18px;
    padding: 0;
    margin-bottom: 24px;
  }
  .hero .container {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}


/* ---- LISTS ---- */
ul, ol {
  margin-bottom: 16px;
}
li {
  font-size: 1rem;
  padding-left: 25px;
  position: relative;
  margin-bottom: 9px;
  color: #202a37;
  line-height: 1.64;
}
ul li:before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #15AABF;
  font-size: 1.1rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
}

/* -----------
   TESTIMONIAL CARDS
-------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1.5px solid #E4E4E4;
  border-radius: 15px;
  margin-bottom: 22px;
  background: #F7F6F1;
  box-shadow: 0 2px 10px 0 rgba(17,39,65,0.07);
  transition: box-shadow 0.22s, border-color 0.14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #273241;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.testimonial-card strong {
  min-width: 160px;
  text-align: right;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 5px 22px rgba(17,39,65,0.12);
  border-color: #15AABF44;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px 12px;
  }
  .testimonial-card strong {
    text-align: left;
    min-width: 0;
  }
}

/* ---- CONTACT LIST (ICON LIST) ---- */
.content-wrapper ul li img {
  width: 21px;
  height: 21px;
  margin-right: 12px;
  vertical-align: middle;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
}

/* ---- FOOTER ---- */
footer {
  background: #112741;
  color: #F7F6F1;
  padding: 40px 0 24px 0;
  margin-top: 50px;
  border-radius: 30px 30px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #F7F6F1;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 32px;
  width: auto;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 18px;
  justify-content: center;
  margin-bottom: 16px;
  font-family: 'Montserrat', serif;
  font-size: 1.06rem;
}
.footer-nav a,
.footer-legal a {
  color: #F7F6F1;
  transition: color 0.17s, text-decoration 0.17s;
  padding: 4px 8px;
  border-radius: 5px;
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: #15AABF;
  background: #F7F6F112;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.footer-social a img {
  width: 26px; height: 26px;
  transition: filter 0.21s;
}
.footer-social a:hover img { filter: brightness(1.35) saturate(1.9);}

@media (max-width: 600px) {
  footer .container {
    gap: 14px;
    padding: 0 5px;
  }
  .footer-nav, .footer-legal {
    gap: 13px 6px;
    font-size: 0.92rem;
  }
}

/* ---------
   COOKIE CONSENT BANNER
------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF;
  border-top: 2.2px solid #15AABF;
  color: #112741;
  padding: 18px 16px 18px 18px;
  box-shadow: 0 -2px 15px rgba(17,39,65,.09);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: 'Roboto', serif;
  font-size: 0.99rem;
  transition: transform 0.42s cubic-bezier(.8,0,.3,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  margin: 0 16px 0 0;
  color: #1C2633;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 20px;
  background: #112741;
  color: #FFF;
  font-size: 1.02rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  border: none;
  margin-left: 0;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 6px rgba(17,39,65,0.09);
}
.cookie-btn.cookie-reject {
  background: #F7F6F1;
  color: #112741;
  border: 1.2px solid #15AABF;
}
.cookie-btn.cookie-reject:hover {
  background: #E2E3E1;
  color: #1C2633;
}
.cookie-btn.cookie-settings {
  background: #15AABF;
  color: #112741;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #15AABF;
  color: #FFF;
  box-shadow: 0 3px 16px rgba(17,39,65,0.12);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    padding: 15px 12px;
  }
  .cookie-banner .cookie-buttons { gap: 10px; }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(17,39,65,0.92);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s ease;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  padding: 32px 26px 15px 26px;
  border-radius: 19px;
  box-shadow: 0 8px 28px rgba(17,39,65,0.18);
  max-width: 390px;
  min-width: 260px;
  width: 96%;
  display: flex;
  flex-direction: column;
  color: #112741;
  position: relative;
  font-size: 1.02rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top:12px; right: 14px;
  font-size: 1.55rem;
  background: none;
  color: #15AABF;
  border: none;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 7px;
  transition: background 0.17s;
}
.cookie-modal .modal-close:hover {
  background: #E2E3E1;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E3E1;
  padding: 11px 0 11px 0;
  font-size: 0.99rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 46px;
  height: 26px;
  background: #E2E3E1;
  border-radius: 16px;
  position: relative;
  transition: background 0.18s;
  outline: none;
}
.cookie-toggle[data-checked="true"] {
  background: #15AABF;
}
.cookie-toggle .toggle-handle {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.21s;
  box-shadow: 0 1px 2px rgba(17, 39, 65, 0.14);
}
.cookie-toggle[data-checked="true"] .toggle-handle {
  left: 23px;
}
.cookie-modal .modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}
.cookie-modal .cookie-btn {
  width: 100%;
}

/* -----------
   ANIMATIONS
------------ */
.cta-button,
.cookie-btn,
.card, .service-list > div, .testimonial-card {
  transition: box-shadow 0.22s, background 0.19s, color 0.15s, border 0.19s;
}

/* ----------
   ACCESSIBILITY
----------- */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: #112741;
  color: #FFF;
  padding: 10px 24px;
  z-index: 2100;
  border-radius: 5px;
  font-size: 1rem;
}
.skip-link:focus {
  top: 12px;
}

/* -----------
   RESPONSIVE
------------- */
@media (max-width: 900px) {
  .section {
    padding: 22px 7px;
    margin-bottom: 38px;
  }
  .card {
    padding: 12px 9px;
    min-width: 180px;
  }
}
@media (max-width: 600px) {
  .service-list > div, .card {
    min-width: 0;
    padding: 12px 6px;
  }
  .section {
    border-radius: 11px;
  }
  .content-wrapper {
    gap: 8px;
  }
}

/* ----------
   UTILITIES
----------  */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* ---- MODALS ---- */
.modal-backdrop {
  position: fixed;
  z-index: 1999;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(17,39,65,0.44);
}

/* ---- MISC ---- */
::-webkit-input-placeholder { color: #8A99AD; }
::-moz-placeholder { color: #8A99AD; }
:-ms-input-placeholder { color: #8A99AD; }
::placeholder { color: #8A99AD; }

/* Hide visually but remain accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ----------
   PRINT STYLES
---------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container, .content-wrapper {
    box-shadow: none !important; background: #FFF !important;
    color: #000 !important;
  }
}
