/* ========================
   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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #FFFFFF;
  color: #17475E;
  height: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #17475E;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #17475E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #17475E;
}

/* ==============
   Typography
================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17475E;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, ol, ul, table, td, th, label, input, select, textarea {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.15rem;
  color: #40627C;
  margin-bottom: 24px;
  font-weight: 400;
}
strong {
  font-weight: 700;
}

/* ==============
   LAYOUT CONTAINERS
================ */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* ==============
   HEADER & NAVIGATION
================ */
header {
  background: #fff;
  border-bottom: 1px solid #F2F2F2;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #40627C;
  padding: 8px 0;
  position: relative;
  font-weight: 500;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #E3B873;
}

.btn.primary {
  background: #17475E;
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(23,71,94,0.07);
  transition: background 0.16s, color 0.18s, box-shadow 0.18s;
  margin-left: 12px;
  display: inline-block;
}
.btn.primary:hover,
.btn.primary:focus {
  background: #E3B873;
  color: #17475E;
  box-shadow: 0 6px 32px rgba(227,184,115,0.10);
}
.btn {
  background: none;
  color: #17475E;
  border: 1px solid #17475E;
  padding: 11px 22px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s, color 0.16s, border 0.16s;
  display: inline-block;
}
.btn:hover,
.btn:focus {
  background: #17475E;
  color: #fff;
  border: 1px solid #17475E;
}

/* ==============
   MOBILE NAVIGATION
================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #17475E;
  cursor: pointer;
  margin-left: 16px;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #E3B873;
}
.mobile-menu {
  display: none;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,71,94, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.8,0.02,0.17,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin-top: 26px;
  margin-left: 26px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.18s;
  align-self: flex-end;
  outline: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E3B873;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 48px 0 0 48px;
  gap: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E3B873;
  background: rgba(255,255,255,0.05);
}
@media (max-width: 600px) {
  .mobile-nav { margin-left: 24px; }
  .mobile-menu-close { margin-left: 14px; }
}

/* ==============
   HERO SECTION
================ */
.hero {
  background: #F9FAFB;
  border-bottom: 1px solid #F2F2F2;
  position: relative;
  margin-bottom: 0;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
}
.hero .btn.primary {
  margin-top: 14px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 36px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* ==============
   FEATURES & CARDS
================ */
.feature-grid,
.brand-logos,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature,
.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(23,71,94,0.07);
  padding: 28px 26px 24px 26px;
  flex: 1 1 230px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1px solid #F5F5F5;
}
.feature:hover,
.service-card:hover {
  box-shadow: 0 8px 34px rgba(23,71,94,0.13);
  transform: translateY(-5px) scale(1.025);
}
.feature img,
.service-card img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
@media (max-width: 750px) {
  .feature,
  .service-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 18px 14px 18px 14px;
  }
  .feature-grid,
  .service-cards {
    gap: 14px;
  }
}

/* ==============
   BRAND LOGOS
================ */
.brand-logos {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.brand-logos img {
  height: 38px;
  filter: grayscale(70%) contrast(1.05);
  transition: filter 0.2s, transform 0.18s;
  margin-bottom: 0;
}
.brand-logos img:hover { filter: grayscale(0%) contrast(1.08); transform: scale(1.07); }

/* ==============
   TESTIMONIALS
================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: #FAFAFA;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(23,71,94,0.08);
  padding: 22px 24px;
  margin-bottom: 20px;
  max-width: 540px;
  color: #17475E;
  font-size: 1rem;
  transition: border 0.15s, box-shadow 0.16s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border: 1px solid #E3B873;
  box-shadow: 0 4px 30px rgba(227,184,115,0.10);
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #40627C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* ==============
   ACCORDION FAQ
================ */
.accordion-faqs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FAFAFA;
  border-radius: 10px;
  border: 1px solid #ECECEC;
  padding: 18px 24px;
  transition: box-shadow 0.16s, border-color 0.16s;
  box-shadow: 0 2px 12px rgba(23,71,94,0.06);
  cursor: pointer;
}
.faq-item h3 {
  font-size: 1.14rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.15s;
}
.faq-item .faq-content {
  font-size: 1rem;
  margin-top: 6px;
  color: #40627C;
  display: block;
}
.faq-item.active {
  border-color: #E3B873;
  box-shadow: 0 8px 30px rgba(227,184,115,0.10);
}

/* ==============
   TABLES (Pricing)
================ */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(23,71,94,0.06);
  margin-bottom: 18px;
  overflow: hidden;
  font-size: 1rem;
}
thead tr { background: #F9FAFB; }
thead th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  color: #17475E;
  font-size: 1rem;
}
tbody td {
  padding: 13px 16px;
  border-top: 1px solid #ECECEC;
  color: #40627C;
  font-size: 0.98rem;
}
tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  td { border: none; padding: 10px 8px; }
}

/* ==============
   LEGAL TEXT (Policy pages)
================ */
.legal-text h1, .legal-text h2, .legal-text h3 {
  margin-top: 18px;
}
.legal-text ul {
  margin: 14px 0 14px 32px;
  list-style: disc;
}
.legal-text li {
  margin-bottom: 6px;
}

/* ==============
   LISTS, UL, OL
================ */
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
  padding-left: 0;
}
ul li, ol li {
  line-height: 1.7;
  margin-bottom: 8px;
}

.usp-list {
  margin-left: 0;
  list-style: none;
  padding: 0;
  border-left: 3px solid #E3B873;
  padding-left: 20px;
  margin-bottom: 22px;
}
.usp-list li {
  margin-bottom: 10px;
  color: #40627C;
}

/* ==============
   MISC PATTERNS
================ */
.notes-on-additional-costs,
.quality-guarantee {
  background: #FAFAFA;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 18px;
  color: #17475E;
}
.certifications {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.certifications p img {
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}
.contact-details p, .open-hours ul, .map-embed p {
  display: flex;
  align-items: center;
  gap: 9px;
}
.open-hours ul {
  list-style: none;
  margin-left: 0;
}

/* ==============
   FOOTER
================ */
footer {
  background: #F9FAFB;
  border-top: 1px solid #ECECEC;
  padding: 40px 0 20px 0;
  font-size: 0.96rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-logo img {
  height: 44px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 4px;
}
.footer-nav a {
  color: #40627C;
  font-size: 0.99rem;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.17s;
  padding: 2px 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #E3B873;
}
.footer-contact {
  color: #40627C;
  max-width: 400px;
}
.footer-cta {
  margin-top: 10px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    margin-bottom: 8px;
  }
}

/* ==============
   RESPONSIVE FLEX & LAYOUTS
================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ==============
   COOKIE CONSENT BANNER
================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #fff;
  border-top: 1px solid #E3B873;
  box-shadow: 0 -4px 24px rgba(23,71,94,0.10);
  padding: 24px 18px 19px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.4s, opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner__text {
  color: #17475E;
  max-width: 440px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #17475E;
  border: 1.5px solid #17475E;
  border-radius: 32px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, border 0.19s;
}
.cookie-btn.accept {
  background: #17475E;
  color: #fff;
  border: 1.5px solid #17475E;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus { background: #E3B873; color: #17475E; border-color: #E3B873; }
.cookie-btn.reject {
  background: #fff;
  color: #17475E;
  border: 1.5px solid #E3B873;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus { background: #F7ECD9; color: #17475E; }
.cookie-btn.settings {
  background: #fff;
  color: #40627C;
  border: 1.5px solid #40627C;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus { background: #F7F9FB; color: #17475E; }

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 8px 13px 8px;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 9px;
  }
}

/* ==============
   COOKIE MODAL
================ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right: 0; bottom: 0;
  background: rgba(23,71,94,0.28);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(23,71,94,0.13);
  padding: 30px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 88vh;
  overflow-y: auto;
  z-index: 3050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s, transform 0.34s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.0);
  pointer-events: all;
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cookie-modal__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #17475E;
}
.cookie-modal__close {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #40627C;
  cursor: pointer;
  transition: color 0.18s;
  outline: none;
}
.cookie-modal__close:focus,
.cookie-modal__close:hover {
  color: #E3B873;
}
.cookie-modal__body {
  color: #40627C;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 6px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 17px;
  background: #F9FAFB;
  border-radius: 8px;
  padding: 13px 19px;
  font-size: 1rem;
  color: #17475E;
  box-shadow: 0 1px 8px rgba(23,71,94,0.04);
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #ECECEC;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
  margin-left: auto;
}
.cookie-toggle.on {
  background: #E3B873;
}
.cookie-toggle .circle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 6px rgba(16,16,16,0.08);
}
.cookie-toggle.on .circle {
  left: 20px;
}
.cookie-modal__footer {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 22px 4vw 16px 4vw;
    min-width: 0;
  }
}

/* ==============
   ANIMATIONS
================ */
.btn, .btn.primary, .main-nav a, .mobile-nav a, .faq-item, .feature, .service-card, .cookie-btn,
input, textarea, select, .cookie-toggle,
.mobile-menu-toggle, .mobile-menu-close {
  transition-timing-function: cubic-bezier(0.25,0.1,0.25,1);
}

/* ==============
   MISC
================ */
::-webkit-scrollbar {
  width: 9px;
  background: #F5F5F5;
}
::-webkit-scrollbar-thumb {
  background: #E3B873;
  border-radius: 8px;
}

/******************************
* ADAPTIVE SIZING BREAKPOINTS *
******************************/
@media (max-width: 1120px) {
  .container { max-width: 94vw; }
}
@media (max-width: 630px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: 0.98rem; }
  .btn.primary, .btn { font-size: 0.96rem; padding: 9px 13px; }
}

/****************************************
* CLASSIC HTML ELEMENTS STYLE + FALLBACKS
****************************************/
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: #17475E;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ECECEC;
  padding: 10px 12px;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.14s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E3B873;
  box-shadow: 0 0 0 2px #F7ECD9;
}

/*******************************
* UTILITY CLASSES
*******************************/
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }

/*******************************
* END CSS *
*******************************/