/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F1F5F8;
  color: #18536B;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18536B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E1A420;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #18536B;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24,83,107,.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}
header a img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
  color: #18536B;
}
header nav a:hover, header nav a:focus {
  background: #F1F5F8;
  color: #E1A420;
}
.cta-primary {
  background: #18536B;
  color: #fff !important;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(24,83,107,0.12);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #E1A420;
  color: #18536B !important;
  box-shadow: 0 4px 18px rgba(225,164,32,0.09);
}
.cta-secondary {
  background: #fff;
  color: #18536B;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 2px solid #18536B;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.17s, border-color 0.18s;
  cursor: pointer;
  display: inline-block;
  margin-top: 18px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #18536B;
  color: #fff;
  border-color: #E1A420;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #18536B;
  border: none;
  border-radius: 50%;
  box-shadow: 0 1px 7px rgba(24,83,107,0.14);
  font-size: 2rem;
  z-index: 101;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E1A420;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 0 32px rgba(24,83,107,0.12);
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 80vw;
  max-width: 350px;
  height: 100vh;
  z-index: 200;
  transition: transform 0.36s cubic-bezier(.59,.09,.71,.94);
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18536B;
  padding: 0 0 12px 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E1A420;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.1rem;
  padding: 10px 0;
  border-radius: 7px;
  color: #18536B;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.16s, color 0.16s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F5F8;
  color: #E1A420;
}

/* Dim overlay when menu open */
body.menu-open::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,83,107,0.18);
  z-index: 110;
  transition: opacity 0.25s;
}

/* --- HERO --- */
.hero {
  background: #fff;
  box-shadow: 0 6px 28px rgba(24,83,107,0.07);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: #18536B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.15rem;
  color: #3a6e84;
  max-width: 520px;
}
.hero .cta-primary {
  margin-top: 14px;
}

/* --- FLEX SPACING PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,83,107,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(225,164,32,0.12);
  transform: translateY(-3px) scale(1.02);
}
.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: 24px;
  background: #F1F5F8;
  border-radius: 16px;
  box-shadow: 0 1.5px 11px rgba(24,83,107,0.07);
  border-left: 4px solid #E1A420;
  max-width: 650px;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 22px rgba(24,83,107,0.13);
}
.testimonial-card h3 {
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #18536B;
  font-size: 1rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #838C93;
  font-size: 0.97rem;
  margin-top: 3px;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRIDS & LISTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 34px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 214px;
  background: #fff;
  padding: 26px 20px 22px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,83,107,0.07);
  min-width: 180px;
  transition: box-shadow .16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.feature-grid li img {
  height: 46px;
  width: 46px;
}
.feature-grid li h3 {
  font-size: 1.08rem;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 5px 18px rgba(225,164,32,0.10);
}
.service-list, .unique-usps, .quick-tips, .advice-list, .detailed-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list li, .detailed-service-list li {
  background: #fff;
  margin-bottom: 8px;
  padding: 22px 18px;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(24,83,107,0.07);
  transition: box-shadow 0.16s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li:hover, .detailed-service-list li:hover {
  box-shadow: 0 4px 20px rgba(225,164,32,0.09);
}
.service-list h3, .detailed-service-list h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.service-list h3 span, .detailed-service-list p strong {
  font-size: 1rem;
  color: #E1A420;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
  font-weight: 700;
}
.unique-usps li, .quick-tips li {
  background: #fff;
  border-left: 3px solid #E1A420;
  padding: 13px 14px 13px 18px;
  border-radius: 9px;
  margin-bottom: 8px;
  color: #18536B;
  box-shadow: 0 1.5px 7px rgba(24,83,107,0.06);
}
.advice-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px rgba(24,83,107,0.07);
  padding: 14px 13px;
}

/* --- CTA SECTION --- */
.cta {
  background: #18536B;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 55px;
  box-shadow: 0 4px 32px rgba(24,83,107,0.08);
}
.cta .content-wrapper {
  align-items: center;
  padding: 36px 10px 36px 10px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-primary {
  background: #E1A420;
  color: #18536B !important;
  margin-top: 18px;
}
.cta .cta-primary:hover, .cta .cta-primary:focus {
  background: #fff;
  color: #18536B !important;
  border: 2px solid #E1A420;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  padding: 34px 0 24px 0;
  border-top: 1px solid #E1A42020;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #18536B;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #E1A420;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.brand-info img {
  height: 30px;
  margin-bottom: 6px;
}
.brand-info p {
  color: #18536B;
  font-size: 0.97rem;
}

/* --- TEXT SECTION --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
}
.text-section h2 {
  margin-top: 18px;
}

/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -6px 32px rgba(24,83,107,0.10);
  border-top: 2px solid #E1A420;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 23px 22px;
  z-index: 9999;
  gap: 20px;
  animation: slideUpCookie 0.5s cubic-bezier(.59,.09,.71,.94) 1;
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #18536B;
  font-size: 1rem;
  margin: 0;
  flex: 1 1 180px;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 9px 24px;
  font-weight: 600;
  background: #18536B;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.17s;
}
.cookie-actions button.cookie-accept {
  background: #18536B;
  color: #fff;
}
.cookie-actions button.cookie-reject {
  background: #F1F5F8;
  color: #18536B;
  border: 1px solid #18536B;
}
.cookie-actions button.cookie-settings {
  background: #E1A420;
  color: #18536B;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #E7B13C;
  color: #18536B;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,83,107,0.20);
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInCookieModal .28s cubic-bezier(.61,.13,.49,1.1) 1;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px 22px 28px;
  border-radius: 22px;
  box-shadow: 0 16px 64px rgba(24,83,107,0.16);
  width: 95%;
  max-width: 390px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popInCookieModal .36s cubic-bezier(.66,-0.03,.47,1.25) 1;
}
@keyframes popInCookieModal {
  0% { transform: scale(.87); opacity: 0; }
  97% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal h2 {
  color: #18536B;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F1F5F8;
  border-radius: 11px;
  padding: 9px 15px;
}
.cookie-category label {
  font-weight: 500;
  color: #18536B;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 15px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #18536B;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #E1A420;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #18536B;
}
.cookie-category input[disabled] {
  accent-color: #E1A420;
  opacity: 0.6;
  filter: grayscale(0.45);
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 8px 20px;
  cursor: pointer;
  background: #18536B;
  color: #fff;
  transition: background 0.2s, color 0.16s;
}
.cookie-modal-actions button.cookie-save {
  background: #E1A420;
  color: #18536B;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #E7B13C;
  color: #18536B;
}

/* --- GENERAL ELEMENTS --- */
main {
  min-height: 52vh;
  margin-bottom: 40px;
}
section {
  background: transparent;
}
::-webkit-input-placeholder { color: #9cb4bc; }
::-moz-placeholder { color: #9cb4bc; }
:-ms-input-placeholder { color: #9cb4bc; }
::placeholder { color: #9cb4bc; }

/* --- FORM ELEMENTS (if any added in future) --- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #BED2DB;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  outline: none;
  background: #fff;
  color: #18536B;
  transition: border 0.14s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E1A420;
  box-shadow: 0 1.5px 8px rgba(225,164,32,0.09);
}
button {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid li, .card {
    min-width: 160px;
    padding: 18px 10px 16px 10px;
  }
  .hero .container {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
@media (max-width: 860px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    gap: 7px;
  }
  .feature-grid {
    gap: 13px;
  }
  .feature-grid li {
    flex: 1 1 135px;
    gap: 7px;
    font-size: 0.97rem;
  }
  .card-container {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 56px;
  }
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container, main, section {
    padding-left: 0;
    padding-right: 0;
  }
  .section {
    margin-bottom: 32px;
    padding: 28px 9px;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid li, .card {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card, .testimonials .testimonial-card {
    max-width: 100%;
  }
  .hero .container, .hero .content-wrapper {
    padding: 0;
    margin: 0;
    text-align: left;
  }
  .cta {
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
  }
  .cta .content-wrapper {
    align-items: flex-start;
    text-align: left;
    padding: 26px 0 25px 0;
  }
  .footer-menu, .brand-info {
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 26px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .service-list,
  .unique-usps,
  .quick-tips,
  .advice-list,
  .detailed-service-list {
    gap: 10px;
  }
  .testimonial-card {
    gap: 11px;
    padding: 13px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1rem; }
}
@media (max-width: 510px) {
  html { font-size: 95%; }
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.05rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 11px;
  }
}

/* --- ACCESSIBILITY FOCUS STATE --- */
:focus-visible {
  outline: 2px dashed #E1A420;
  outline-offset: 2px;
}

/* --- SCROLLBAR BASIC THEME --- */
::-webkit-scrollbar {
  width: 9px; background: #F1F5F8;
}
::-webkit-scrollbar-thumb {
  background: #D5E4EA;
  border-radius: 7px;
}

/* --- TRANSITIONS (MICRO-INTERACTIONS) --- */
a, button, .card, .feature-grid li, .testimonial-card {
  transition: box-shadow .18s, color .16s, background .18s, border .16s, transform .15s;
}

/* --- PRINT SUPPORT --- */
@media print {
  header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
}
