/* ========================== */
/* === Celestia Wave Tools === */
/* === Scandinavian Clean  ==== */
/* ========================== */

/* --- CSS Reset & Normalization --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #24477A;
  background: #F4F7FA;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24477A;
  text-decoration: none;
  transition: color 0.22s;
}
a:focus {
  outline: 2px solid #ABB8C3;
  outline-offset: 2px;
}
li {
  list-style: none;
}
ul {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #24477A;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.22;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(36, 71, 122, 0.06);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(63, 80, 150, 0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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 {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36, 71, 122, 0.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  color: #24477A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === Navigation & Header === */
header {
  background: #F4F7FA;
  border-bottom: 1px solid #E6ECF2;
  position: relative;
  z-index: 200;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 20px 0;
  gap: 26px;
}
.nav-bar nav {
  display: flex;
  gap: 24px;
}
.nav-bar nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #24477A;
  letter-spacing: 0.1px;
  padding: 4px 0;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
}
.nav-bar nav a:hover,
.nav-bar nav a:focus {
  color: #507dc3;
  border-bottom: 2px solid #24477A;
}
.cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #24477A;
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 13px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 12px 0 rgba(36,71,122,0.08);
  margin-left: 20px;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #507dc3;
  box-shadow: 0 4px 24px 0 rgba(36, 71, 122, 0.12);
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #24477A;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.2s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #ABB8C3;
  outline-offset: 2px;
  color: #507dc3;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F4F7FA;
  z-index: 1200;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,.2,.35,1.1);
  box-shadow: 0 0 24px 0 rgba(36,71,122,0.11);
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #24477A;
  padding: 25px 32px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #ABB8C3;
  color: #507dc3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 22px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #24477A;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid #E6ECF2;
  transition: color 0.18s, background 0.18s;
  border-radius: 5px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #507dc3;
  background: #e8f1fa;
}

@media (max-width: 1020px) {
  .nav-bar nav {
    gap: 18px;
  }
  .cta-button {
    padding: 12px 20px;
    font-size: 0.98rem;
  }
}

@media (max-width: 900px) {
  .nav-bar nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === Hero Section === */
.hero {
  background: linear-gradient(120deg, #F4F7FA 69%, #fff 100%);
  padding: 70px 0 60px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #24477A;
  font-family: 'Montserrat', sans-serif;
}
.hero p {
  font-size: 1.1rem;
  color: #24477A;
  opacity: 0.88;
  margin-bottom: 12px;
}

/* === Features Section, About-Intro, etc. === */
.features ul,
.about-intro ul,
.products-preview ul,
.technology-highlight ul,
.values ul,
.benefits ul,
.innovation-features ul,
.sustainability ul,
.resources ul,
.business-hours ul,
.faq .accordion-faqs,
.team ul,
.news-list ul,
.newsletter-signup ul,
.privacy-policy ul,
.rodo ul,
.cookies-policy ul,
.terms-and-conditions ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.features li,
.values li,
.benefits li,
.innovation-features li,
.technology-highlight li,
.sustainability li,
.products-preview li,
.team li,
.news-list li,
.resources li,
.privacy-policy li,
.rodo li,
.cookies-policy li,
.terms-and-conditions li {
  font-size: 1.04rem;
  color: #24477A;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.features li img,
.values li img,
.benefits li img,
.innovation-features li img,
.technology-highlight li img,
.sustainability li img,
.products-preview li img,
.contact ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 12px;
  flex-shrink: 0;
  filter: grayscale(0.3) brightness(0.98) contrast(1.04);
}

.cta-link, .mini-cta {
  color: #24477A;
  font-weight: 600;
  text-underline-offset: 2.5px;
  border-bottom: 1.5px solid #ABB8C3;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: color 0.22s, border-color 0.22s;
}
.cta-link:hover, .mini-cta:hover {
  color: #507dc3;
  border-bottom: 1.5px solid #24477A;
}

/* === Testimonial Card === */
.testimonials {
  background: #F4F7FA;
  border-radius: 32px;
  padding: 36px 0 30px 0;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-weight: 500;
  color: #24477A;
  opacity: 0.93;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #5c6c80;
  font-style: italic;
  margin-left: 10px;
}

/* === Card-like Panels / Banner === */
.cta-banner {
  background: #24477A;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 46px;
}
.cta-banner .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .cta-button {
  background: #fff;
  color: #24477A;
  box-shadow: 0 2px 8px 0 rgba(36,71,122,0.07);
  margin-left: 0;
}
.cta-banner .cta-button:hover, .cta-banner .cta-button:focus {
  background: #f4f7fa;
  color: #24477A;
  box-shadow: 0 4px 22px 0 rgba(36, 71, 122, 0.14);
}

/* === Accordion for FAQs === */
.accordion-faqs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 8px 0 rgba(36,71,122,0.07);
  padding: 18px 20px;
  color: #24477A;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #24477A;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 0.98rem;
  color: #507dc3;
}

/* === Footer === */
footer {
  background: #f4f7fa;
  border-top: 1px solid #E6ECF2;
  padding-top: 38px;
  margin-top: 70px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 60px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-main nav a {
  color: #24477A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  opacity: 0.90;
  transition: color 0.18s;
}
.footer-main nav a:hover {
  color: #507dc3;
}
.footer-contact p, .footer-contact a {
  color: #516276;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.92;
}
.footer-bottom {
  margin-top: 20px;
  text-align: center;
  color: #7c8da2;
  font-size: 0.95rem;
  opacity: 0.85;
  padding-bottom: 28px;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -2px 30px 0 rgba(36,71,122,0.08);
  background: #fff;
  padding: 24px 22px;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__text {
  color: #24477A;
  font-size: 1.01rem;
  max-width: 600px;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  background: #24477A;
  color: #fff;
  padding: 10px 28px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(36,71,122,0.07);
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.reject {
  background: #ABB8C3;
  color: #24477A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #507dc3;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d3dbe3;
}
.cookie-settings-btn {
  background: #fff;
  color: #24477A;
  border: 1.5px solid #ABB8C3;
  transition: background 0.22s, color 0.22s, border-color 0.18s;
  box-shadow: none;
  padding: 10px 22px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F4F7FA;
  border-color: #507dc3;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left: 0; right:0; bottom:0;
  background: rgba(45, 67, 90, 0.21);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 97vw;
  width: 430px;
  padding: 36px 30px 32px 30px;
  box-shadow: 0 8px 40px 0 rgba(36,71,122,0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #24477A;
  margin-bottom: 8px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal__label {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #24477A;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #ABB8C3;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch:checked {
  background: #24477A;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px; left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px 0 rgba(63, 80, 150, 0.07);
}
.cookie-switch:checked:before {
  transform: translateX(16px);
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal__close {
  color: #24477A;
  background: none;
  border: none;
  position: absolute;
  right: 22px; top: 18px;
  font-size: 1.95rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #507dc3;
}

/* --- General Buttons --- */
.mini-cta {
  background: none;
  color: #24477A;
  border-radius: 12px;
  border: 1.5px solid #ABB8C3;
  padding: 7px 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 500;
  margin-top: 18px;
  margin-bottom: 0;
  transition: border-color 0.18s, background 0.14s, color 0.18s;
  cursor: pointer;
  display: inline-block;
}
.mini-cta:hover, .mini-cta:focus {
  border-color: #24477A;
  color: #24477A;
  background: #f2f6fa;
}

/* --- Newsletter Section --- */
.newsletter-signup {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(36, 71, 122, 0.06);
}
.newsletter-signup h2, .newsletter-signup p, .newsletter-signup li {
  color: #24477A;
}

/* --- Thank You Page --- */
.thank-you {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(36, 71, 122, 0.06);
  padding: 54px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.thank-you h1 {
  font-size: 2.1rem;
}
.thank-you a.cta-button {
  margin: 12px 0 0 0;
  min-width: 180px;
  display: inline-block;
}

/* --- General Spacing and Layout --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    gap: 36px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .section, section {
    padding: 60px 38px;
  }
  .hero {
    padding: 110px 0 80px 0;
  }
  .thank-you {
    padding: 74px 50px;
  }
}

/* --- Responsive Rules --- */
@media (max-width: 940px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section, section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero {
    padding: 38px 0 26px 0;
    border-radius: 0 0 15px 15px;
    margin-bottom: 24px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card, .faq-item, .thank-you {
    padding: 16px 10px;
  }
  .text-image-section, .features {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 16px 7px;
  }
  .cookie-banner__text {
    margin-right: 0;
    max-width: 96vw;
    font-size: 0.98rem;
  }
  .cookie-modal {
    width: 95vw;
    padding: 23px 6vw 16px 6vw;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .section, section {
    padding: 16px 3px;
    margin-bottom: 20px;
  }
  .hero {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.16rem;
  }
}

/* --- Misc --- */
.category-tabs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.category-tabs a {
  color: #24477A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 6px 14px;
  background: #F4F7FA;
  transition: background 0.16s, color 0.16s;
}
.category-tabs a:hover,
.category-tabs a:focus {
  background: #E6ECF2;
  color: #507dc3;
}

input, button, textarea, select {
  font-family: inherit;
}

::-webkit-input-placeholder { color: #abb8c3; }
::-moz-placeholder { color: #abb8c3; }
:-ms-input-placeholder { color: #abb8c3; }
::placeholder { color: #abb8c3; }

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

/* --- Micro-interactions (hover, focus, etc) --- */
a, .cta-link, .cta-button, .mini-cta, .footer-main nav a, .category-tabs a {
  transition: color 0.18s, background 0.16s, border-color 0.17s, box-shadow 0.18s;
}

/* --- Custom Font Family Imports (assume Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
