/* =====================================================
   ClearWave Spot - Elegant Classic Style CSS
   Author: Professional Web Developer (2024)
   ===================================================== */

/* -------- 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.6;
  background: #F7F7F7;
  color: #244659;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  background-color: transparent;
  color: #244659;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8EC3B0;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  border: none;
  background: none;
  cursor: pointer;
}

/* -------- BASE TYPOGRAPHY -------- */
h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #244659;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #244659;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  letter-spacing: .02em;
}
h3 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #244659;
}
h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #244659;
}
p, .subtitle {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #273B45;
  margin-bottom: 16px;
  line-height: 1.7;
}
.subtitle {
  font-size: 1.25rem;
  color: #53616D;
  font-style: italic;
}
b, strong {
  font-weight: 700;
}
blockquote {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-left: 3px solid #8EC3B0;
  padding-left: 20px;
  margin: 16px 0;
  font-size: 1.1rem;
  color: #244659;
  font-style: italic;
}
span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
dt {
  font-weight: 700;
  margin-top: 10px;
}
dd {
  margin-left: 0;
  margin-bottom: 10px;
  color: #555;
  font-size: 0.97rem;
}

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

/* -------- SECTIONS & SPACING -------- */
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(36, 70, 89, 0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.25s;
}
section:last-child {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(36,70,89,.07);
  margin-bottom: 20px;
  padding: 30px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(36, 70, 89, 0.11); 
  transform: translateY(-4px);
}
.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;
  background: #F7F7F7;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(50,80,80,0.10);
  margin-bottom: 20px;
  /* proper contrast */
  color: #244659;
}
.testimonial-card p {
  font-style: italic;
  color: #2c4051;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.statistics, .market-stats {
  margin-top: 20px;
  background: #f3f7f5;
  border-left: 4px solid #8EC3B0;
  padding: 12px 20px;
  font-size: 1.08rem;
  border-radius: 6px;
}

/* -------- HEADER & NAVIGATION -------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(36, 70, 89, 0.04);
  border-bottom: 1px solid #e7eceb;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  min-height: 78px;
}
.logo-link {
  display: flex;
  align-items: center;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.04rem;
  color: #244659;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s;
}
nav a:after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #8EC3B0;
  transition: width 0.22s;
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -2px;
}
nav a:hover, nav a:focus {
  color: #8EC3B0;
}
nav a:hover:after, nav a:focus:after {
  width: 100%;
}
.button-primary {
  display: inline-block;
  padding: 10px 28px;
  background: #244659;
  color: #fff;
  border-radius: 32px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(36, 70, 89, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  border: 2px solid #244659;
}
.button-primary:hover, .button-primary:focus {
  background: #8EC3B0;
  color: #244659;
  border-color: #8EC3B0;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(36, 70, 89, 0.12);
}
.button-secondary {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  color: #244659;
  border-radius: 32px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 1px 6px rgba(36, 70, 89, 0.06);
  border: 2px solid #8EC3B0;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.16s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #8EC3B0;
  color: #fff;
  border-color: #244659;
  box-shadow: 0 4px 14px rgba(36, 70, 89, 0.09);
}

/* -------- MOBILE NAVIGATION -------- */
.mobile-menu-toggle {
  display: none;
  padding: 8px 13px;
  font-size: 2rem;
  background: #fff;
  border-radius: 8px;
  color: #244659;
  border: 2px solid #e1e5e3;
  transition: box-shadow 0.18s, background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #8EC3B0;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: rgba(245,248,247,0.98);
  z-index: 9999;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
}
.mobile-menu.open {
  left: 0;
  pointer-events: auto;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.14);
}
.mobile-menu-close {
  margin: 32px 0 18px 22px;
  background: #fff;
  color: #244659;
  border-radius: 6px;
  font-size: 2rem;
  border: 1px solid #e1e5e3;
  box-shadow: 0 2px 8px rgba(60,80,95,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 80vw;
  max-width: 320px;
  margin: 24px 0 0 30px;
}
.mobile-nav a {
  color: #244659;
  background: none;
  padding: 12px 0px 10px 0;
  font-size: 1.17rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #e6f0ed;
  color: #8EC3B0;
}

/* -------- CARD, TAB & ARTICLE LAYOUTS -------- */
.service-tabs, .article-grid, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-details, .article, .team-member {
  background: #f5f8f7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36, 70, 89, 0.045);
  padding: 22px 20px 20px 22px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 345px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.19s;
  border: 1px solid #e2ebe6;
}
.service-details:hover, .article:hover, .team-member:hover {
  box-shadow: 0 6px 18px rgba(36, 70, 89, 0.15);
  transform: translateY(-2px);
}
.team-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #8EC3B0;
  margin-bottom: 12px;
}

/* -------- LEGAL/INFO SECTIONS -------- */
.legal-section {
  font-size: 1rem;
  color: #425364;
  line-height: 1.7;
  background: #F7F7F7;
  border-radius: 10px;
  padding: 24px 18px 20px 20px;
  margin-bottom: 18px;
}
.legal-section ul {
  list-style: disc;
  margin-left: 28px;
}
.legal-section h2 {
  margin-top: 2em;
  font-size: 1.13rem;
}

/* -------- FAQ & Misc Lists -------- */
.faq-list, .report-faq {
  margin-top: 14px;
  background: #f4f8f9;
  border-radius: 9px;
  padding: 18px 20px;
  font-size: 1.01rem;
}
.faq-list dl, .report-faq dl {
  margin-top: 10px;
}
.faq-list dt, .report-faq dt {
  color: #2d4860;
}
.faq-list .question-form-info {
  margin-top: 15px;
}
.advice-list ul, .advice-list li {
  list-style: disc inside;
}

/* --------- MISC FEATURE ELEMENTS ---------- */
.service-price {
  color: #8EC3B0;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0.5em;
}
.timeline {
  margin-top: 14px;
  background: #f3f7f5;
  border-left: 3px solid #8EC3B0;
  padding: 12px 18px;
  border-radius: 8px;
}
.opening-hours-reminder, .privacy-notice, .form-info, .video-advice {
  background: #fafaf7;
  border-radius: 8px;
  padding: 14px 18px;
  color: #425364;
  margin: 18px 0 0 0;
}

/* -------- FOOTER -------- */
footer {
  background: #244659;
  color: #fff;
  padding: 0;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-top: 1px solid #e1e5e3;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 20px 18px 20px;
  min-height: 130px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #8EC3B0;
  font-size: 1rem;
  text-decoration: underline rgba(142,195,176,0.4) 0.1em;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline #fff 0.1em;
}
.contact-info p, .contact-info a {
  color: #fff;
  font-size: 1rem;
}
.contact-info a {
  text-decoration: underline dotted #8EC3B0 1.5px;
}
.footer-meta {
  font-size: 0.92rem;
  color: #b2c4cf;
  margin-top: 22px;
  width: 100%;
  text-align: right;
}

/* -------- FORM & CTA, MAP -------- */
.contact-details {
  margin-bottom: 12px;
}
.contact-details li {
  margin-bottom: 8px;
}
.contact-map {
  background: #f3f7f5;
  border-radius: 9px;
  padding: 16px 18px;
  margin-top: 12px;
  font-style: italic;
}
.contact-cta {
  margin-top: 14px;
}

/* ----------- COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #dee7e1;
  box-shadow: 0 -2px 16px rgba(36, 70, 89, 0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  z-index: 99999;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  animation: cookieSlideUp 0.48s cubic-bezier(.68,.15,.32,1.1);
  gap: 30px;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner-text {
  color: #244659;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  border-radius: 32px;
  padding: 8px 22px;
  border: 1.5px solid #244659;
  background: #fff;
  color: #244659;
  margin: 0;
  transition: background 0.17s, color 0.17s, border 0.17s;
}
.cookie-btn.accept {
  background: #244659;
  color: #fff;
  border: 1.5px solid #244659;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #8EC3B0;
  color: #244659;
}
.cookie-btn.reject {
  background: #fff;
  color: #244659;
  border: 1.5px solid #244659;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e1eae3;
}
.cookie-btn.settings {
  background: #8EC3B0;
  color: #244659;
  border: 1.5px solid #8EC3B0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #244659;
  color: #fff;
}

/* -------- COOKIE MODAL -------- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,70,89,0.18);
  z-index: 9999;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 45px rgba(36, 70, 89, 0.14);
  padding: 36px 30px 28px 30px;
  max-width: 440px;
  width: 90%;
  animation: cookieModalIn 0.44s cubic-bezier(.47,.75,.34,1.24);
  position: relative;
  z-index: 100001;
}
@keyframes cookieModalIn {
  from{opacity:0; transform:translateY(35px);}
  to {opacity:1; transform:none;}
}
.cookie-modal h2 {
  margin-bottom: 1.2em;
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-toggle {
  width: 42px;
  height: 22px;
  background: #e8f1ec;
  border: 1.5px solid #8EC3B0;
  border-radius: 14px;
  position: relative;
  margin-right: 4px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  display:flex;align-items:center;
}
.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #244659;
  border-radius: 50%;
  transition: left 0.17s, background .17s;
}
.cookie-category-toggle input:checked + .slider {
  left: 22px;
  background: #8EC3B0;
}
.cookie-category-label {
  color: #244659;
  font-size: 1.04rem;
}
.cookie-modal .cookie-description {
  font-size: 0.98rem;
  color: #4B5F73;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.7rem;
  color: #8EC3B0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: #244659;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  section, .section {
    padding: 34px 8px;
  }
  .card, .service-details, .article, .team-member {
    padding: 18px 11px 18px 15px;
  }
  header .container {
    padding: 15px 10px;
  }
  .footer-meta {
    text-align: left;
    font-size: 0.92rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .container {
    padding: 0 10px;
  }
  .service-tabs, .article-grid, .team-section, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  header .container nav, header .container .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    width: 100vw;
    min-width: unset;
    max-width: unset;
  }
  .mobile-nav {
    width: 88vw;
    max-width: 360px;
  }
  /* Footer single column */
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 18px 8px 12px 8px;
  }
  .footer-links nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 499px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.04rem; }
  section,.section {
    padding: 22px 3vw;
    margin-bottom: 36px;
  }
  .statistics, .market-stats, .timeline {
    padding: 10px 8px;
    font-size: 0.98rem;
  }
  .card, .service-details, .article, .team-member {
    padding: 12px 4px 13px 8px;
    font-size: 0.98rem;
  }
  .footer-meta {
    font-size: 0.88rem;
    margin-top: 12px;
  }
  .contact-map {
    padding: 10px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 8px 18px 8px;
    gap: 12px;
    font-size: .98rem;
    text-align: left;
  }
  .cookie-modal {
    padding: 18px 7px 20px 7px;
  }
}
/* --------- UTILITY --------- */
.mt-8 { margin-top: 8px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center !important; }
.text-muted { color: #90999e !important; }

/* --------- MICRO-INTERACTIONS --------- */
.button-primary, .button-secondary, .cookie-btn {
  will-change: background, color, box-shadow, transform;
  outline: none;
}
.button-primary:focus, .button-secondary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2px #8EC3B0;
}
.card, .service-details, .article, .team-member, .testimonial-card {
  transition: box-shadow .17s, transform .17s;
}
.card:active, .service-details:active, .article:active, .team-member:active, .testimonial-card:active {
  transform: scale(.99);
  box-shadow: 0 2px 12px rgba(36, 70, 89, 0.04);
}

/* --------- PRINT OPTIMIZATION --------- */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  section, .section { box-shadow: none !important; }
}
