/* === 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #171b1f; color: #F7F3E8; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #24B292; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #1f8e76; outline: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

/* === FONT FAMILY & TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --primary: #153248;
  --secondary: #24B292;
  --accent: #F7F3E8;
  --dark-bg: #171b1f;
  --metallic: #c8ccd0;
  --grey: #23282c;
  --danger: #ba2130;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .01em;
  background: var(--dark-bg);
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: var(--accent);
  text-transform: none;
}
h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 24px; letter-spacing: -.012em; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 10px; }
.subtitle { font-size: 1.25rem; margin-bottom: 18px; font-weight: 400; color: var(--metallic); }
p { margin-bottom: 16px; color: var(--accent); }
strong, b { font-weight: 700; color: var(--metallic); }
small { font-size: 0.937rem; color: var(--metallic); }

/* === LAYOUT CONTAINER FLEXBOX === */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--grey);
  border: 1.5px solid var(--metallic);
  border-radius: 18px;
  box-shadow: 0 2px 22px 0 rgba(20,22,29, .18);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 220px;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 38px 0 rgba(30,44,60,0.28);
  transform: translateY(-5px) scale(1.01);
  border-color: var(--secondary);
}

.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: 20px;
  background: #F7F3E8;
  color: #171b1f;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(21,50,72,0.08);
  border-left: 5px solid var(--secondary);
  min-width: 220px;
  max-width: 540px;
  transition: border .14s, box-shadow .14s;
}
.testimonial-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(21,50,72,0.15);
}
.testimonial-card h3 {
  margin-top: 0;
  color: var(--primary);
}
.testimonial-card p {
  color: #171b1f;
}
.testimonial-card small {
  color: #626262;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--accent);
}

/* === NAVIGATION & HEADER === */
header {
  background: #141921;
  border-bottom: 1.5px solid var(--metallic);
  padding: 0;
  z-index: 1001;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
}
header a img {
  height: 44px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--metallic);
  padding: 8px 5px;
  text-transform: none;
  letter-spacing: .02em;
  border-bottom: 2px solid transparent;
  transition: color .16s, border .18s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 32px;
  background: linear-gradient(94deg, #153248 65%, #24B292 100%);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: .015em;
  color: #F7F3E8;
  box-shadow: 0 2px 12px 0 rgba(36,178,146,0.13);
  border: none;
  margin-left: 15px;
  margin-right: 0;
  margin-top: 0;
  text-align: center;
  transition: background .17s, color .18s, transform .15s, box-shadow .16s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(80deg, #24B292 40%, #153248 100%);
  color: var(--accent);
  box-shadow: 0 5px 18px 0 rgba(36,178,146,0.22);
  transform: translateY(-1px) scale(1.04);
}
.btn-secondary {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--secondary);
  color: #171b1f;
  margin-top: 12px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(36,178,146,0.10);
  transition: background .17s, color .18s, transform .15s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1f8e76;
  color: #F7F3E8;
  transform: translateY(-1px) scale(1.03);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 2050;
  background: var(--primary);
  color: var(--accent);
  border-radius: 8px;
  border: 2px solid var(--metallic);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background .14s, color .14s, border .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #171b1f;
  border-color: var(--secondary);
}

/* Mobile Slide Menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  max-width: 350px;
  height: 100vh;
  background: #1e242b;
  box-shadow: 3px 0 25px 1px rgba(21,50,72,0.18);
  z-index: 2100;
  padding-top: 40px;
  padding-left: 32px;
  padding-right: 15px;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(0.39,0.575,0.565,1), opacity .28s cubic-bezier(.61,.21,.27,1.02);
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  left: 16px;
  top: 18px;
  background: var(--metallic);
  color: var(--primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.7rem;
  border: 2px solid var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--danger);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 11px 0;
  width: 100%;
  border-radius: 5px;
  transition: background .13s, color .14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: #171b1f;
}

@media (max-width: 1100px) {
  .container { max-width: 960px; padding: 0 15px; }
  header .container { gap: 16px; }
}
@media (max-width: 950px) {
  .container { max-width: 700px; }
}
@media (max-width: 800px) {
  .container { max-width: 98vw; }
}
/* Mobile Navigation Adaptive */
@media (max-width: 900px) {
  header nav, header .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

/* === MAIN PAGE COMPONENTS === */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section .container {
  padding: 0 8px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-bottom: 0;
}

.content-wrapper > div:not(:last-child) {
  margin-bottom: 24px;
}

.content-wrapper > ul, .content-wrapper > ol {
  margin: 0;
  margin-bottom: 16px;
  padding: 0 0 0 14px;
  color: var(--metallic);
}
.content-wrapper > ul li, .content-wrapper > ol li {
  list-style: disc inside;
  margin-bottom: 7px;
  font-size: 1rem;
}

.text-section ul {
  padding-left: 18px;
}
.text-section ul li, .text-section ol li {
  list-style: disc inside;
  margin-bottom: 7px;
  color: var(--metallic);
}

.text-section h3 { color: var(--secondary); margin-bottom: 8px; }
.text-section p {
  color: var(--accent);
  margin-bottom: 6px;
}
.text-section a { color: var(--secondary); text-decoration: underline; }

/* Feature and Service Cards */
.content-wrapper > div > img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  filter: grayscale(11%) contrast(1.15) drop-shadow(0 2px 3px #0004);
}

/* === FOOTER === */
footer {
  background: #13171d;
  border-top: 1.5px solid var(--metallic);
  padding: 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 20px;
}
footer nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: var(--metallic);
  font-size: 0.99rem;
  font-weight: 500;
  margin-bottom: 5px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color .13s, border .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: var(--metallic);
  font-weight: 800;
  font-size: 1rem;
}
.footer-brand img {
  height: 30px;
  width: 30px;
  filter: grayscale(18%);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23282c;
  color: var(--accent);
  z-index: 2300;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 9vw 18px 9vw;
  box-shadow: 0 -3px 28px 0 rgba(21,50,72,0.19);
  gap: 30px;
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
  transition: transform .42s cubic-bezier(0.39,0.575,0.565,1), opacity .4s cubic-bezier(.85,.35,.36,.89);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .banner-message {
  max-width: 760px;
  font-size: 1.12rem;
  color: var(--accent);
  line-height: 1.45;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 2px;
  margin-left: 2px;
  transition: background .16s, color .13s, box-shadow .14s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #171b1f;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1f8e76; color: #F7F3E8;
}
.cookie-banner .reject {
  background: #c8ccd0; color: #171b1f;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ba2130; color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary);
  color: #F7F3E8;
  border-color: var(--primary);
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(15,23,37,0.77);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .26s cubic-bezier(.66,.19,.35,.91);
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23282c;
  border-radius: 17px;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 8px 32px 0 rgba(21,50,72,0.28);
  min-width: 300px;
  max-width: 420px;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 { color: var(--secondary); margin-bottom: 13px; font-size: 1.45rem; }
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-modal .category-label {
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--metallic);
}
.cookie-modal .category-toggle:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 15px; top: 15px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%; border: 2px solid var(--metallic);
  width: 37px; height: 37px;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.25rem;
  transition: background .12s, color .13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--danger); color: #fff;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 700px) {
  .container { max-width: 99vw; }
  .footer-brand { font-size: .97rem; gap: 10px; }
  header .container .footer-brand img { width: 24px; height: 24px; }
}
@media (max-width: 670px) {
  .section, section, .content-wrapper {
    padding: 0 4px !important;
  }
  .card, .testimonial-card {
    min-width: 95vw;
    padding: 15px 8px;
  }
  .footer-brand { font-size: .93rem; }
}
@media (max-width: 550px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.01rem; }
  .content-wrapper, section .container { padding: 0 2px !important; }
  .cookie-banner { flex-direction: column; gap: 15px; padding: 16px 10px; align-items: flex-start; }
  .card, .testimonial-card { padding: 13px 4px; }
}

@media (max-width: 900px) {
  .container { max-width: 97vw; padding: 0 6px; }
  header .container { flex-direction: row; gap: 10px; }
}
@media (max-width: 800px) {
  .content-grid, .card-container, .content-wrapper {
    flex-direction: column !important;
    gap: 18px !important;
    justify-content: flex-start
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: flex-start;
  }
  .feature-item { gap: 10px; }
}

/* Helper class for spacing if needed */
.mb-16 { margin-bottom: 16px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.gap-8 { gap: 8px; }
.gap-20 { gap: 20px; }

/* === MICRO-INTERACTIONS & ANIMATIONS === */
.card, .testimonial-card, .btn-primary, .btn-secondary, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal {
  will-change: transform, box-shadow, opacity;
}

/* === HIDE MENU SCROLL WHEN OPEN === */
body.menu-open {
  overflow: hidden;
}

/* === SCROLLBAR CUSTOMIZATION === */
::-webkit-scrollbar { width: 8px; background: #23282c; }
::-webkit-scrollbar-thumb { background: var(--metallic); border-radius: 8px; }

/* === SELECTION STYLING === */
::selection { background: var(--secondary); color: #171b1f; }

/* === UTILITY CLASSES (FOR JS) === */
.hide { display: none !important; }
.visible { display: flex !important; }

/* Ensure no absolute positioning for card or content containers. Only used for mobile menu close and cookie modal close. No grid used. */
