/* =====================
   PRAWNY MATRIX CSS RESET & BASE
   ===================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #1b2836;
  color: #eef3f7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
*, *:before, *:after {box-sizing: border-box;}
img {max-width: 100%; vertical-align: middle; display: block;}
a {color: inherit; text-decoration: none; transition: color 0.18s;}
ul, ol {list-style: none;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: 0.01em;
  line-height: 1.16;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.25rem; margin-bottom: 14px;}
p {margin-bottom: 16px;}
strong {color: #2A9D8F; font-weight: 600;}
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   HEADER + NAVIGATION (DESKTOP & MOBILE)
   =============================== */
header {
  width: 100%;
  background: #222b36;
  box-shadow: 0 2px 24px 0 rgba(41,81,101,0.13);
  position: relative;
  z-index: 10;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #e5fdff;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2A9D8F;
  color: #FEFEFE;
  box-shadow: 0 0 0 2px #2A9D8F44;
}
.cta-btn {
  background: #F4A261;
  color: #1b2836;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 28px;
  margin-left: 14px;
  border: none;
  border-radius: 32px;
  outline: none;
  box-shadow: 0 4px 20px 0 #F4A26126;
  cursor: pointer;
  position: relative;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
  text-shadow: 0 1px 1px #fff2;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2A9D8F;
  color: #FEFEFE;
  box-shadow: 0 0 0 3px #2A9D8F33, 0 6px 22px #2A9D8F33;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F4A261;
  font-size: 2rem;
  cursor: pointer;
  align-items: center;
  z-index: 41;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #2A9D8F;
}

/* ================================
   MOBILE NAVIGATION
   ================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #21293a;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 14px 60px 0 #063b5050;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #F4A261;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2A9D8F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
  margin-top: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  color: #e5fdff;
  background: none;
  border-radius: 6px;
  padding: 11px 28px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2A9D8F;
  color: #ffffff;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1020px) {
  .cta-btn {
    margin-left: 0;
  }
}

/* ============================
   HERO SECTIONS & PAGE LAYOUT
   ============================ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.hero {
  background: linear-gradient(130deg, #264653 36%, #202b37 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
}
@media (min-width: 1020px) {
  .hero .container {
    min-height: 340px;
  }
  .content-wrapper {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 7px;
    margin-bottom: 40px;
  }
  .hero {
    min-height: 190px;
  }
  .hero .container {
    min-height: 170px;
  }
}

/* =============================
   FEATURES, SERVICES & CARDS
   ============================= */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 25px 0;
  justify-content: flex-start;
}
.features-list li {
  background: #213140;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 290px;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 #2A9D8F19;
  padding: 32px 22px 24px 22px;
  position: relative;
  transition: box-shadow 0.22s, border 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid #2A9D8F18;
  margin-bottom: 20px;
}
.features-list li:hover {
  box-shadow: 0 4px 30px 0 #2A9D8F44;
  border: 1.5px solid #2A9D8F;
}
.features-list img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px #2A9D8F66);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 32px 0;
  justify-content: flex-start;
}
.services-list li {
  background: #1b2836;
  color: #f6fafd;
  border-radius: 19px;
  padding: 28px 20px 22px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 310px;
  box-shadow: 0 3px 26px 0 #26465322;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.4px solid #F4A26114;
}
.services-list li:hover {
  box-shadow: 0 6px 28px #F4A26123;
  border: 1.4px solid #2A9D8F88;
}
.services-list li img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px #F4A26166);
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #2A9D8F;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #16212b;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 #2A9D8F15;
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
@media (max-width: 768px) {
  .features-list, .services-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* =============================
   CTA SECTIONS
   ============================= */
.cta-section {
  background: #23303b;
  border-radius: 18px;
  box-shadow: 0 3px 40px 0 #2A9D8F25;
  padding: 40px 22px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 19px;
}

/* =============================
   TESTIMONIAL CARD
   ============================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f9fafb;
  color: #222933;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 #2A9D8F20;
  margin-bottom: 24px;
  border: 1.7px solid #2A9D8F14;
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
  font-style: italic;
  margin: 0 0 0 0;
  color: #222933;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #264653;
  margin-left: 10px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
}

/* =============================
   TEAM GRID (ABOUT PAGE)
   ============================= */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 18px;
}
.team-member {
  background: #243541;
  color: #EAF5FA;
  border-radius: 18px;
  box-shadow: 0 2px 20px #2A9D8F18;
  padding: 32px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 310px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1.5px solid #2A9D8F13;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s;
}
.team-member img {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  border-radius: 50%;
  border: 2.5px solid #2A9D8F44;
  filter: drop-shadow(0 0 8px #2A9D8F44);
}
.team-member h3 {
  margin-bottom: 6px;
}
.team-member span {
  display: block;
  color: #A3E6E1;
  font-size: 0.98rem;
  font-weight: 500;
}
.team-member:hover {
  border-color: #2A9D8Fcc;
  box-shadow: 0 6px 36px #2A9D8F23;
}
@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ============================
   FAQ Sections (DL, DT, DD)
   ============================ */
.faq dl {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2A9D8F;
  margin-top: 10px;
  margin-bottom: 6px;
}
.faq dd {
  font-size: 1rem;
  color: #f1fafa;
  margin-bottom: 10px;
  margin-left: 0;
  padding-left: 8px;
  border-left: 3px solid #2A9D8F66;
}

/* ============================
   TEXT & LIST BLOCKS
   ============================ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  width: 100%;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 8px;
}
.text-section li {
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  margin-bottom: 8px;
}
.text-section ul > li:before {
  content: '•';
  color: #2A9D8F;
  font-size: 1.1em;
  margin-right: 8px;
  font-weight: 700;
  vertical-align: middle;
}

/* ===============
   CONTACT BLOCKS
   =============== */
.contact-info {
  background: #232e3d;
  color: #A1F0E8;
  border-radius: 16px;
  padding: 22px 18px 18px 18px;
  margin: 18px 0 20px 0;
  box-shadow: 0 2px 18px 0 #2A9D8F18;
  font-size: 1.04rem;
}
.contact-info a {
  color: #F4A261;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #2A9D8F;
  text-decoration: underline;
}

/* ==============
   FOOTER
   ==============
*/
footer {
  background: #202833;
  color: #bff1ef;
  border-top: 4px solid #2A9D8F;
  padding: 38px 0 10px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  min-width: 210px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 7px #2A9D8F44);
}
.tagline {
  color: #F4A261;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 6px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a, .footer-menu a {
  color: #7beea9;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  padding: 6px 11px;
  transition: background .16s, color .16s;
}
.footer-nav a:hover, .footer-menu a:hover {
  background: #2A9D8F;
  color: #FEFEFE;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px #2A9D8F11;
  padding: 6px;
  background: transparent;
  transition: background 0.21s, box-shadow 0.2s;
}
.footer-social a:hover {
  background: #2A9D8F;
  box-shadow: 0 4px 14px #F4A26133;
}
.footer-social img {
  width: 22px;
  height: 22px;
  display: block;
}
@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* ====================================
   COOKIE CONSENT BANNER & MODAL
   ==================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: #142025f4;
  color: #ffffff;
  box-shadow: 0 -2px 24px #2A9D8F33;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24px 20px;
  gap: 36px;
  width: 100vw;
  max-width: 100vw;
  border-top: 3px solid #2A9D8F;
  font-size: 1rem;
  animation: slideUp .44s cubic-bezier(.68,-0.12,.42,1.15);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-msg {
  flex: 1 1 0%;
  min-width: 140px;
  color: #fff;
}
.cookie-banner .cookie-btn {
  background: #2A9D8F;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 10px 22px;
  margin-right: 10px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 2px 12px #2A9D8F21;
  outline: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F4A261;
  color: #1b2836;
}
.cookie-banner .cookie-btn.settings {
  background: #F4A261;
  color: #222933;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #2A9D8F;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    padding: 18px 8px;
  }
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: rgba(24,32,38,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #f1f9fa;
  color: #1b2836;
  border-radius: 22px;
  padding: 44px 32px 34px 32px;
  max-width: 98vw;
  width: 380px;
  box-shadow: 0 4px 52px #2A9D8F38;
  display: flex;
  flex-direction: column;
  gap: 17px;
  transform: translateY(-22px);
  position: relative;
}
.cookie-modal-content h2 {
  color: #2A9D8F;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid #a9c6ca33;
}
.cookie-category:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.cookie-toggle {
  appearance: none;
  border: 1px solid #2A9D8F77;
  width: 46px;
  height: 26px;
  border-radius: 16px;
  background: #e5fdff;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, border 0.16s;
}
.cookie-toggle:checked {
  background: #2A9D8F;
  border-color: #2A9D8F;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px #2226;
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 22px;
  background: #F4A261;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: #F4A261;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #2A9D8F;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 425px) {
  .cookie-modal-content {
    padding: 24px 10px 20px 10px;
    width: 95vw;
  }
}

/* ===========================
   BUTTONS AND INTERACTIONS
   =========================== */
button, .cta-btn, .cookie-btn {
  user-select: none;
  outline: none;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: translateY(1px) scale(0.99);
}

/* =============================
   RESPONSIVE TYPOGRAPHY HIERARCHY
   ============================= */
@media (max-width: 1020px) {
  h1 {font-size: 2.05rem;}
  h2 {font-size: 1.55rem;}
  h3 {font-size: 1.08rem;}
}
@media (max-width: 768px) {
  h1 {font-size: 1.48rem;}
  h2 {font-size: 1.14rem;}
  h3 {font-size: 1.01rem;}
  .footer-brand img, .logo img {height: 34px;}
}

/* ===================================
   ACCENT LINES, NEON, MICROEFFECTS
   =================================== */
.hero h1, .content-wrapper h2, .content-wrapper h1 {
  position: relative;
}
.hero h1:after, .content-wrapper h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2A9D8F 0%,#F4A261 90%);
  box-shadow: 0 0 12px #F4A26166, 0 0 24px #2A9D8F66;
  margin-top: 10px;
  margin-bottom: 4px;
}
.card, .team-member, .features-list li {
  transition: box-shadow 0.22s, border 0.18s, transform 0.10s;
}
.card:hover, .team-member:hover, .features-list li:hover {
  box-shadow: 0 7px 38px #F4A26117, 0 0 0 3px #2A9D8F33;
  border-color: #F4A26180;
  transform: translateY(-3px) scale(1.01);
}

.cta-btn:before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #2A9D8F;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 6px #35ffd9aa;
  filter: brightness(1.1);
  animation: neonpulse 1.75s infinite alternate;
  vertical-align: middle;
}
@keyframes neonpulse {
  from {box-shadow: 0 0 6px #35ffd9c1;}
  to {box-shadow: 0 0 16px #35ffd9ee;}
}

/* ===========================
   FORM ELEMENTS (future ready)
   =========================== */
input, textarea, select {
  font-family: inherit;
  border-radius: 8px;
  background: #f1f7fa;
  border: 1.3px solid #2A9D8F23;
  color: #1b2836;
  padding: 10px 13px;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.18s;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid #2A9D8F;
}

/* ===========================
   MISC UTILS & ACCESSIBILITY
   =========================== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::-webkit-scrollbar { width: 12px; background: #2A9D8F19; }
::-webkit-scrollbar-thumb { background: #2A9D8F66; border-radius: 8px; }

/* ===========================
   OVERRIDES FOR BRAND COLORS
   =========================== */
::selection { background: #2A9D8F; color: #fff; }
