/* ==================================================================
   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,
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #181a21;
  color: #FFFFFF;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #70ffe2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e9a356;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==================================================================
   BRAND & TECH FUTURISTIC COLOR PALETTE
   ================================================================== */
:root {
  --primary: #73655F;
  --primary-dark: #3c2f28;
  --secondary: #FFFFFF;
  --bg-light: #22232b;
  --bg-dark: #181a21;
  --accent: #49796B;
  --accent-strong: #37ffd5;
  --accent-secondary: #e9a356;
  --neon: #70ffe2;
  --text-main: #FFFFFF;
  --text-dark: #181a21;
  --shadow: 0 8px 32px 0 rgba(10,30,60,0.25);
  --border-radius: 16px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ==================================================================
   LAYOUT CONTAINERS & FLEXBOX UTILITY CLASSES
   ================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 340px;
  transition: transform 0.18s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.024);
  box-shadow: 0 12px 40px rgba(76,255,226,0.20), var(--shadow);
}
.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;
}
.testimonials, .testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 26px 0 rgba(72,160,144,0.11);
  color: #181a21;
  min-width: 300px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, filter 0.18s;
}
.testimonial-card:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 32px rgba(90,255,210,0.12);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 210px;
  max-width: 300px;
  flex: 1 1 210px;
  transition: transform 0.18s, box-shadow 0.2s;
  margin-bottom: 20px;
  border: 1.5px solid rgba(112,255,226,0.10);
}
.feature-grid li:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 32px rgba(58,255,210,0.15), var(--shadow);
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-list li {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(76,255,226,0.07);
}
.article-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-previews article {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.article-previews article:hover {
  box-shadow: 0 12px 44px 0 rgba(112,255,226,0.13);
  transform: scale(1.025);
}
.tips-list ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 12px;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.category-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.address-map {
  display: flex;
  align-items: center;
  margin: 18px 0 24px 0;
}

/* ==================================================================
   TYPOGRAPHY & HEADINGS
   ================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--neon);
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.40rem;
  margin-bottom: 10px;
  color: var(--accent-strong);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--secondary);
}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1rem;
}
.subtitle {
  color: var(--accent-secondary);
  font-size: 1.13rem;
  max-width: 700px;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 10px 0;
}
.testimonial-author {
  color: var(--accent);
  font-size: 1.06rem;
  font-weight: 500;
  margin-left: 8px;
}
strong {
  font-weight: bold;
  color: var(--accent-strong);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ==================================================================
   SECTION SPACING & BACKGROUNDS
   ================================================================== */
section {
  background: var(--bg-dark);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 45px 0 rgba(76,255,226,0.03);
  position: relative;
  z-index: 1;
}
main > section:first-of-type, section.hero {
  background: linear-gradient(120deg, #1e232a 70%, #2d3642 100%);
}
/* Neon glow lines for futuristic feel */
section::before {
  content: '';
  display: block;
  position: absolute;
  left: 18px;
  top: 18px;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-strong) 0%, #ffffff00 100%);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.45;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  right: 32px;
  bottom: 10px;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff00 0%, var(--accent-strong) 100%);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.32;
}
section > .container {
  position: relative;
  z-index: 1;
}

/* ==================================================================
   HEADER & NAVIGATION
   ================================================================== */
header {
  background: #15171d;
  border-bottom: 1.5px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 18px rgba(76,255,226,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo img {
  height: 42px;
  filter: drop-shadow(0 0 8px var(--accent-strong));
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
nav a {
  color: var(--neon);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 7px;
  padding: 7px 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
nav a:hover, nav a:focus {
  color: #181a21;
  background: var(--accent-secondary);
  box-shadow: 0 2px 12px 0 rgba(233,163,86,0.13);
}

/* ==================================================================
   MOBILE NAVIGATION (BURGER MENU)
   ================================================================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--neon);
  background: none;
  border: none;
  padding: 6px 16px;
  margin-left: 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #27323c;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 300px;
  background: #181a21;
  box-shadow: 3px 0 44px 0 rgba(76,255,226,0.10);
  transform: translateX(-120%);
  transition: transform 0.33s cubic-bezier(.74, -.13, .46, 1.33), box-shadow 0.16s;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 16px 20px 18px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 3px 0 44px 0 rgba(76,255,226,0.18);
}
.mobile-menu-close {
  font-size: 1.5rem;
  background: none;
  color: var(--neon);
  align-self: flex-end;
  border-radius: 8px;
  padding: 6px 11px;
  margin-bottom: 18px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #28344c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.mobile-nav a {
  color: var(--accent-strong);
  font-size: 1.20rem;
  font-weight: bold;
  padding: 11px 2px 9px 0px;
  border-bottom: 1px solid rgba(112,255,226,0.11);
  border-radius: 5px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #281e3e;
  color: var(--neon);
  padding-left: 8px;
}

@media (max-width: 1050px) {
  nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 10px 6vw;
  }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==================================================================
   BUTTONS & CTA
   ================================================================== */
.cta-button, .quick-links a, .services-list li a, .cookie-bar-btn, .cookie-bar-settings {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-secondary));
  color: #181a21;
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 1.04rem;
  border-radius: 24px;
  padding: 12px 36px;
  margin-top: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 20px 0 rgba(112,255,226,0.15);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.18s, box-shadow 0.22s, border 0.18s;
  text-shadow: 0 1px 2px rgba(255,255,255,0.01);
}
.cta-button:hover, .quick-links a:hover, .cookie-bar-btn:hover, .cookie-bar-settings:hover {
  background: linear-gradient(90deg, #fff183, var(--accent-strong));
  color:#181a21;
  box-shadow: 0 8px 24px 0 rgba(112,255,226,0.18);
  border: 2px solid var(--accent-strong);
}
.cta-button:focus, .quick-links a:focus, .cookie-bar-btn:focus, .cookie-bar-settings:focus {
  outline: 2.5px solid var(--accent-strong);
  outline-offset: 2px;
}

.quick-links a {
  padding: 12px 18px;
  font-size: 1.05rem;
}

/* Cookie Bar Button Extras */
.cookie-bar-btn.accept {
  background: linear-gradient(90deg, #1ecba2, #08fcbe);
  color: #23232a;
}
.cookie-bar-btn.reject {
  background: linear-gradient(90deg, #31384b, #3c2f28);
  color: #e9a356;
}
.cookie-bar-btn.settings {
  background: linear-gradient(90deg, var(--accent-strong), #3c2f28);
  color: #181a21;
}

/* ==================================================================
   FOOTER
   ================================================================== */
footer {
  background: #1c191c;
  border-top: 1.5px solid rgba(112,255,226,0.09);
  box-shadow: 0 -2px 22px 0 rgba(112,255,226,0.03);
  margin-top: 60px;
  padding: 32px 0 16px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  gap: 15px;
}
footer nav a {
  color: var(--neon);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent-secondary);
  background: none;
}
footer small {
  color: #b8b8ca;
  margin-left: 12px;
  font-size: 0.96rem;
  opacity: 0.78;
}

/* ==================================================================
   COOKIE CONSENT BAR & MODAL
   ================================================================== */
.cookie-bar {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #1a212b;
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  box-shadow: 0 -4px 32px 0 rgba(76,255,226,0.11);
  z-index: 6100;
  animation: slidein-cookiebar 0.6s cubic-bezier(0.2, 1.1, 0.44, 1) forwards;
}
@keyframes slidein-cookiebar {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-bar-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-bar-btn, .cookie-bar-settings {
  min-width: 110px;
  margin-top: 0;
}
.cookie-bar-content {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  margin-right: 20px;
}

.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 6120;
  background: rgba(28,34,40,0.74);
  animation: fadeInModal 0.35s; 
}
@keyframes fadeInModal {
  from {opacity: 0;}
  to {opacity: 1;}
}

.cookie-modal {
  background: #252c37;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(76,255,226,0.13);
  max-width: 410px;
  width: 92vw;
  padding: 34px 22px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  z-index: 6200;
  animation: slideUpModal 0.33s;
}
@keyframes slideUpModal {
  0% {transform: translateY(80px) scale(0.96); opacity: 0;}
  100% {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  color: var(--accent-strong);
  font-weight: bold;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #1e2a29;
  border-radius: 9px;
  padding: 11px 14px;
}
.cookie-category .cookie-toggle {
  cursor: pointer;
  appearance: none;
  width: 46px;
  height: 22px;
  border-radius: 18px;
  background: #314942;
  position: relative;
  transition: background 0.17s;
}
.cookie-category .cookie-toggle:checked {
  background: var(--accent-strong);
}
.cookie-category .cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s;
}
.cookie-category .cookie-toggle:checked::before {
  transform: translateX(22px);
  background: var(--accent-secondary);
}
.cookie-category input[disabled] {
  cursor: not-allowed;
  opacity: 0.78;
  filter: grayscale(0.45);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 11px;
  top: 10px;
  font-size: 1.3rem;
  background: none;
  color: var(--accent-strong);
  border-radius: 7px;
  padding: 3px 9px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #323a45;
}
/* ==================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST, FLEX ONLY)
   ================================================================== */
@media (max-width: 1050px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .feature-grid,
  .card-container,
  .testimonials .content-wrapper, .article-previews {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 22px;
  }
  .card, .feature-grid li, .testimonial-card, .article-previews article {
    padding: 22px 12px;
  }
  section {
    padding: 32px 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-wrapper,
  .feature-grid,
  .card-container,
  .article-previews,
  .testimonials .content-wrapper {
    flex-direction: column !important;
    gap: 18px;
  }
  .testimonials {
    flex-direction: column;
  }
  .testimonial-card, .feature-grid li, .card {
    min-width: unset;
    width: 100%;
  }
  section {
    margin-bottom: 38px;
    border-radius: 9px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 5px 14px 8px;
    font-size: 0.98rem;
  }
}

/* ==================================================================
   FOCUS STATES & ACCESSIBILITY
   ================================================================== */
:focus-visible {
  outline: 2.5px solid var(--accent-strong) !important;
  outline-offset: 2px;
}

/* ==================================================================
   UTILITIES, EXTRAS & MICRO-INTERACTIONS
   ================================================================== */
::-webkit-scrollbar {
  width: 9px;
  background: #232632;
}
::-webkit-scrollbar-thumb {
  background: var(--accent-strong);
  border-radius: 8px;
}

/* Futuristic glow effect for neon accents */
.neon-glow {
  text-shadow: 0 0 8px var(--accent-strong), 0 0 4px #70ffe2;
  color: var(--accent-strong);
}

/* Style for icons in feature-grid etc. */
.feature-grid img,
.feature-item img,
.article-previews img {
  width: 48px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 0 8px var(--accent-strong));
  margin-bottom: 6px;
}

/* Category links for katalog */
.category-list a {
  color: var(--accent-strong);
  background: #191c20;
  border-radius: 11px;
  padding: 7px 22px;
  transition: background 0.16s, box-shadow 0.18s, color 0.17s;
  font-size: 1.06rem;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(112,255,226,0.10);
}
.category-list a:hover, .category-list a:focus {
  background: var(--accent-secondary);
  color: #181a21;
}
/* List bullets for text-sections */
.text-section ul {
  padding-left: 24px;
}
.text-section li {
  list-style: disc;
  margin-bottom: 7px;
}

/* Address map */
.address-map img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  box-shadow: 0 0 18px 0 rgba(112,255,226,0.07);
}

/* Template overrides - remove unwanted spacing between cards etc. */
.card-container > *, .content-grid > *, .feature-grid > *, .article-previews > *, .testimonials > *, .testimonials .content-wrapper > * {
  margin-bottom: 0 !important;
}

/* ==================================================================
   PRINT & MISC
   ================================================================== */
@media print {
  body * { background: #fff !important; color: #181a21 !important; box-shadow: none !important; }
  .mobile-menu, .mobile-menu-toggle, .cookie-bar { display: none !important; }
}
