/* =======================
  CSS RESET & BASE
======================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F7F9FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233249;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #6CAFBF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F7B040;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}

/* =======================
  BRAND TYPOGRAPHY
======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', serif;
  font-weight: bold;
  color: #233249;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  margin-bottom: 14px;
  font-size: 1.1rem;
}
strong, b {
  font-weight: 700;
  color: #233249;
}
blockquote {
  font-size: 1.15em;
  background: #e4f3f8;
  color: #233249;
  border-left: 6px solid #6CAFBF;
  margin: 18px 0;
  padding: 16px 22px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* =======================
  GENERAL LAYOUT CONTAINERS
======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(35, 50, 73, 0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/*
  FLEXBOX SPACING/ALIGNMENT CLASSES
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(35, 50, 73, 0.09);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.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;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35, 50, 73, 0.12);
  margin-bottom: 24px;
  min-width: 0;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================
  HEADER NAVIGATION
======================= */
header {
  background: #fff;
  box-shadow: 0 0px 10px 0 rgba(35, 50, 73, 0.07);
  padding: 0;
  position: relative;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
}
header nav > a img {
  width: 132px;
  height: auto;
}
header nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
}
header nav ul li a {
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  font-size: 1.05em;
  color: #233249;
  transition: color .16s;
  letter-spacing: 0.01em;
}
header nav ul li a.active, header nav ul li a:hover, header nav ul li a:focus {
  color: #F7B040;
}
header .cta-primary {
  margin-left: 14px;
}

/* HAMBURGER MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 2.2rem;
  color: #233249;
  background: none;
  border: none;
  padding: 6px 12px;
  margin-right: 2px;
  z-index: 98;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e4f3f8;
  color: #F7B040;
}

/* MOBILE MENU PANEL */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,50,73,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.8,.1,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  color: #fff;
  align-self: flex-end;
  margin: 24px 22px 12px 0;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F7B040;
  color: #233249;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: 26px;
  padding: 18px 36px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3em;
  font-weight: 700;
  color: #fff;
  border-radius: 8px;
  padding: 14px 8px;
  margin-right: 0 !important;
  transition: background .17s, color .17s;
  display: block;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7B040;
  color: #233249;
  text-decoration: none;
}

/* Hide nav / show hamburger on mobile */
@media (max-width: 1024px) {
  header nav ul,
  header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================
      HERO SECTION
========================= */
.hero {
  background: linear-gradient(120deg, #e4f3f8 65%, #fff 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 32px -10px rgba(35,50,73,0.08);
  padding: 56px 12px 52px 12px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 620px;
}
.hero h1 {
  color: #233249;
  font-size: 2.6rem;
  margin-bottom: 18px;
  word-break: break-word;
}
.hero p {
  font-size: 1.2em;
  font-weight: 500;
  color: #233249;
  margin-bottom: 22px;
}

/* =========================
  CTA BUTTONS
========================= */
.cta-primary {
  display: inline-block;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #fff;
  background: #6CAFBF;
  padding: 14px 34px;
  border-radius: 32px;
  box-shadow: 0 2px 10px 0 rgba(107,175,191,0.10);
  font-size: 1.13em;
  letter-spacing: 0.02em;
  border: 3px solid #6CAFBF;
  margin-top: 10px;
  margin-bottom: 15px;
  transition: background 0.22s, border 0.22s, color 0.22s, transform 0.17s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F7B040;
  color: #233249;
  border: 3px solid #F7B040;
  transform: translateY(-2px) scale(1.023);
  text-decoration: none;
}

/* =======================
  FEATURES & ICON GRID
======================= */
.features {
  padding-top: 10px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(107,175,191,0.13);
  flex: 1 1 220px;
  min-width: 170px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px 22px 22px;
  gap: 7px;
  font-size: 1.05em;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233249;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 8px 28px rgba(107,175,191,0.16);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 7px;
}
.feature-grid strong {
  color: #233249;
  font-size: 1.09em;
  margin-bottom: 3px;
}

/* =============================
   SERVICE CARD LIST / PRICING
============================= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 28px 0;
  list-style: none;
  width: 100%;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  min-width: 190px;
  flex: 1 1 250px;
  box-shadow: 0 2px 10px 0 rgba(107,175,191,0.11);
  padding: 20px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 0;
}
.service-list li strong {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #233249;
}
.service-list li span {
  color: #6CAFBF;
  background: #e4f3f8;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  border-radius: 9px;
  font-size: 1em;
  padding: 3px 14px;
  margin: 8px 0 9px 0;
}
.service-list li p {
  font-size: 1em;
  color: #56657A;
}
.service-list li:hover, .service-list li:focus {
  box-shadow: 0 8px 24px 0 rgba(247,176,64,0.12);
  transform: translateY(-3px) scale(1.020);
}

/* Grid for Ture page */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 15px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  flex: 1 1 240px;
  min-width: 200px;
  box-shadow: 0 2px 12px rgba(35,50,73,0.10);
  padding: 20px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.service-item h2 {
  font-size: 1.24em;
  margin-bottom: 8px;
  color: #233249;
  font-family: 'Roboto Slab', serif;
}
.price {
  color: #6CAFBF;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  background: #edf2f6;
  border-radius: 7px;
  font-size: 1em;
  padding: 3px 12px;
  margin: 8px 0 12px 0;
  letter-spacing: .01em;
}

.service-item p {
  font-size: 1em;
  color: #56657A;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 8px 28px 0 rgba(108,175,191,0.13);
  transform: translateY(-2px) scale(1.019);
}

/* =======================
   TESTIMONIALS SECTION
======================= */
.testimonials {
  background: #FAFAFD;
  border-radius: 24px;
  padding: 32px 20px 44px 20px;
  box-shadow: 0 0px 12px 0 rgba(35,50,73, 0.05);
  margin-bottom: 60px;
}
.testimonials .testimonial-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,50,73,0.11);
  margin-bottom: 24px;
  min-width: 0;
  gap: 16px;
  transition: box-shadow .14s, transform .13s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px 0 rgba(108,175,191,0.14);
  transform: translateY(-2.5px) scale(1.017);
}
.testimonial-text {
  font-size: 1.12em;
  color: #233249;
  line-height: 1.6;
  flex: 1 1 0;
}
.testimonial-meta {
  font-size: 1em;
  color: #6CAFBF;
  font-weight: bold;
  margin-left: 8px;
}

/* Avatar initial in testimonials */
.avatar {
  width: 48px;
  height: 48px;
  background: #F7B040;
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(255,183,64,0.13);
  flex-shrink: 0;
}

/* =======================
   MAP PLACEHOLDER
======================= */
.map-placeholder {
  background: #edf0f3 !important;
  border: 2px solid #e4f3f8;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6CAFBF !important;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  letter-spacing: .02em;
  box-shadow: 0 2.5px 8px 0 rgba(107,175,191,0.09);
}

/* =======================
      FOOTER
======================= */
footer {
  background: #233249;
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: auto;
  box-shadow: 0 -2px 20px 0 rgba(35,50,73,0.09);
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
footer nav a {
  color: #F7B040;
  font-family: 'Roboto Slab', serif;
  font-size: 1.05em;
  font-weight: 700;
  transition: color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #6CAFBF;
}
footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  font-size: 1em;
  color: #fff;
  align-items: center;
}
footer .footer-info a {
  color: #6CAFBF;
  font-weight: 700;
}

/* =======================
    COOKIE CONSENT BANNER
======================= */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 3.5px solid #6CAFBF;
  box-shadow: 0 -3px 22px 0 rgba(35,50,73,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 18px;
  z-index: 1500;
  min-height: 72px;
  transition: transform .36s cubic-bezier(.67,.05,.29,.96), opacity .16s;
  font-size: 1em;
}
#cookie-banner.hide, .cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner__info {
  flex: 2 1 0;
  color: #233249;
  font-size: 1.06em;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject {
  font-size: 1em;
  font-family: 'Roboto Slab', serif;
  background: #6CAFBF;
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 32px;
  margin-right: 5px;
  font-weight: 700;
  transition: background .18s, color .18s, transform .13s;
  outline: none;
}
.cookie-btn-reject {
  background: #fff;
  color: #233249;
  border: 2px solid #6CAFBF;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #233249;
  color: #fff;
}
.cookie-btn-accept {
  background: #F7B040;
  color: #233249;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #6CAFBF;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7B040;
  color: #233249;
  transform: scale(1.03);
}

/* Cookie settings modal */
#cookie-modal, .cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35,50,73,0.82);
  z-index: 1700;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .3s cubic-bezier(.57,.02,.34,.95);
}
#cookie-modal.hide, .cookie-modal.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  padding: 40px 34px 34px 34px;
  max-width: 410px;
  box-shadow: 0 6px 40px 0 rgba(35,50,73,0.21);
  font-size: 1.07em;
  color: #233249;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  min-width: 0;
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cookie-modal__title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.35em;
  font-weight: bold;
  color: #233249;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 2em;
  color: #6CAFBF;
  border-radius: 7px;
  transition: background .18s;
  margin-left: 12px;
  padding: 2px 7px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F7B040;
  color: #fff;
}
.cookie-modal__categories {
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 1em;
}
.cookie-category input[type="checkbox"] {
  accent-color: #6CAFBF;
  width: 20px;
  height: 20px;
}
.cookie-category .pill {
  background: #edf2f6;
  color: #6CAFBF;
  font-family: 'Roboto Slab', serif;
  border-radius: 12px;
  font-size: .93em;
  padding: 0 10px;
  margin-left: 4px;
  font-weight: bold;
  border: 1.5px solid #6CAFBF;
}
.cookie-category.disabled .pill {
  background: #F7B040;
  color: #fff;
  border: none;
}
.cookie-category.disabled label {
  color: #b0b7be;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* =======================
  ACCESSIBILITY FOCUS
======================= */
:focus-visible {
  outline: 2.5px dashed #F7B040;
  outline-offset: 2px;
}

/* =======================
  RESPONSIVE LAYOUT
======================= */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 16px;
  }
  footer .container,
  .footer-info {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-list,
  .service-grid,
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper, main {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 40px;
    border-radius: 11px;
    gap: 10px;
  }
  .features, .testimonials {
    padding: 18px 7px 20px 7px;
    border-radius: 10px;
    margin-bottom: 40px;
  }
  .feature-grid, .service-list, .service-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .service-list li,
  .service-item {
    min-width: 0;
    max-width: 100%;
    padding: 16px 12px 19px 12px;
    border-radius: 9px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px 7px;
    gap: 10px;
    border-radius: 7px;
  }
  .avatar {
    align-self: flex-start;
    margin-bottom: 6px;
  }
  .hero {
    padding: 28px 3px 28px 3px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.19rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px 18px 14px;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 11px;
  }
  .cookie-modal__content {
    padding: 19px 7.5vw 19px 7.5vw;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .feature-grid img {
    width: 33px;
    height: 33px;
  }
  .avatar {
    width: 40px;
    height: 40px;
    font-size: 1.02em;
  }
  .testimonials {
    padding: 10px 1.5px 12px 1.5px;
  }
}

/* =======================
  VISUALS, SHAPES, EFFECTS
======================= */
.section {
  /* Add bold UI effect (geometric, modern_bold) */
  border: 3.5px solid #6CAFBF;
  box-shadow: 0 8px 40px 0 rgba(35,50,73,0.07);
}
.card,
.feature-grid li, .service-list li, .service-item {
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35, 50, 73, 0.10);
}
.hero {
  border-bottom: 5px solid #F7B040;
}

/* =======================
  MICRO-INTERACTION EFFECTS
======================= */
.cta-primary, .cookie-btn, .cookie-btn-accept, .cookie-btn-reject {
  will-change: background, color, transform;
}
.service-list li, .feature-grid li, .service-item, .testimonial-card {
  transition: box-shadow .15s, transform .14s;
}
input, textarea, select {
  font-family: inherit;
  border-radius: 8px;
  padding: 9px 13px;
  border: 2px solid #e4f3f8;
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #6CAFBF;
  outline: 2px solid #F7B040;
  outline-offset: 1.5px;
}

/* =======================
   SPACING/MARGINS/TWEAKS
======================= */
h1, h2, h3 {
  margin-top: 10px;
}
.section:not(:last-child), .features:not(:last-child), .testimonials:not(:last-child) {
  margin-bottom: 60px !important;
}
.card:not(:last-child) {
  margin-bottom: 20px !important;
}
.card-container {
  margin-bottom: 28px !important;
}
.service-grid, .feature-grid, .service-list, .content-grid {
  margin-bottom: 24px !important;
}

/* =======================
    PRINT/ACCESSIBILITY
======================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  .section, .features, .testimonials {
    padding: 0;
    margin-bottom: 18px;
    box-shadow: none;
    border: none;
  }
  body {
    background: #fff;
    color: #111;
  }
}
