/* --- 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;
}
body {
  line-height: 1.5;
  font-size: 16px;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}

/* --- ROOT/BRAND VARIABLES --- */
:root {
  --color-primary: #25565C;
  --color-secondary: #A9D18E;
  --color-accent: #E6EAEF;
  --color-bg: #151C22;
  --color-surface: #202A31;
  --color-light: #F7F9FB;
  --color-dark: #111B22;
  --color-neon: #14FFF8;
  --color-neon-secondary: #7CFFB2;
  --color-danger: #FF4567;
  --color-shadow: rgba(20,56,66,0.07);
  --color-muted: #6A8288;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- BASE --- */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-accent);
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.2rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, .subtitle {
  color: var(--color-accent);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.subtitle {
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--color-neon-secondary);
  margin-bottom: 24px;
}
strong, b { color: var(--color-secondary); }

/* --- SECTION + FLEX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow), 0 0 0 2px var(--color-neon-secondary);
  background: var(--color-surface);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  box-shadow: 0 4px 26px var(--color-neon-secondary), 0 0 12px 2px var(--color-neon);
  border-color: var(--color-neon);
  z-index: 3;
}
.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;
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 400px;
  border-left: 4px solid var(--color-neon);
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: .97rem;
  color: var(--color-muted);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  color: var(--color-accent);
}

/* --- HEADER + NAV --- */
header {
  background-color: var(--color-dark);
  box-shadow: 0 2px 10px rgba(20,56,66,0.11);
  position: relative;
  z-index: 50;
  padding-top: 8px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 46px;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.20s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-neon);
  color: var(--color-dark);
}
.btn.primary {
  background: var(--color-neon);
  color: var(--color-primary);
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.16rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 28px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 var(--color-neon);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  outline: none;
  position: relative;
}
.btn.primary:hover, .btn.primary:focus {
  background: var(--color-primary);
  color: var(--color-neon);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px var(--color-neon);
}
.btn.secondary {
  background: var(--color-primary);
  color: var(--color-neon);
  padding: 9px 28px;
  border-radius: 22px;
  margin-left: 0;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.19s, color 0.17s, transform 0.13s;
  cursor: pointer;
  border: 2px solid var(--color-neon-secondary);
  margin-top: 16px;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--color-neon-secondary);
  color: var(--color-primary);
  box-shadow: 0 6px 18px var(--color-neon-secondary);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-neon);
  border: none;
  font-size: 2rem;
  padding: 6px 15px 6px 15px;
  border-radius: 8px;
  margin-left: 15px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-neon);
  color: var(--color-primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,36,47,0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  transform: translateX(-100vw);
  transition: transform .34s cubic-bezier(.66,.05,.43,1.04);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon);
  font-size: 2.1rem;
  border: none;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
  z-index: 2010;
  padding: 5px 12px;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 36px;
  width: 100%;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--color-neon);
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 0;
  border-radius: 7px;
  line-height: 1.5;
  transition: background 0.17s, color 0.17s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* --- HERO & GENERAL SECTIONS --- */
.hero {
  background: linear-gradient(140deg, var(--color-primary) 0%, #345873 90%);
  padding: 64px 0 60px 0;
  position: relative;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 280px;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-left: 0;
}
.hero h1 {
  font-size: 2.7rem;
  color: #fff;
  text-shadow: 0 3px 16px var(--color-neon-secondary);
}

.cta {
  background: var(--color-surface);
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 36px 0;
}

/* --- FEATURES --- */
.features {
  background: none;
  margin-bottom: 60px;
}
.features .container > h2 {
  color: var(--color-neon);
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 20px;
  margin-top: 10px;
}
.features ul li {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  flex: 1 1 240px;
  font-size: 1.07rem;
  color: var(--color-accent);
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: 16px;
  transition: transform 0.16s, box-shadow 0.16s;
}
.features ul li:hover {
  box-shadow: 0 2px 14px var(--color-neon-secondary), 0 0 0 2px var(--color-neon);
  color: var(--color-neon);
  transform: translateY(-2px) scale(1.04);
}
.features ul img {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px var(--color-neon-secondary));
}

/* --- SERVICES (KURZY) --- */
.services .container > h2 {
  color: var(--color-secondary);
}
.services .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: var(--color-surface);
  border-radius: 15px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 25px 20px 32px 28px;
  flex: 1 1 275px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-neon-secondary);
  transition: box-shadow 0.23s, border-color 0.23s, transform 0.18s;
  position: relative;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 4px 22px var(--color-neon-secondary), 0 3px 16px var(--color-neon);
  border-color: var(--color-neon);
  transform: translateY(-3px) scale(1.04);
  z-index: 10;
}
.service-card h3 {
  font-size: 1.24rem;
  color: var(--color-neon);
  margin-bottom: 8px;
}
.service-card .price {
  font-size: 1.12rem;
  color: var(--color-secondary);
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 12px;
}

/* --- STEP LIST / STATS / LEGAL --- */
.steps,
.stats,
.legal {
  background: var(--color-surface);
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 36px 20px 32px 20px;
}
.steps ol,
.stats ul {
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin-bottom: 10px;
}
.steps ol li, .stats ul li {
  background: var(--color-bg);
  padding: 15px 18px;
  border-radius: 10px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.steps ol img, .stats ul img {
  width: 32px; height: 32px;
}

/* --- ABOUT & TEAM --- */
.about .content-wrapper, .team .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about ul, .about ol {
  margin: 0 0 18px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team .text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- FAQ --- */
.faq .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq dl {
  width: 100%;
  border-radius: 12px;
  background: var(--color-surface);
  padding: 28px 20px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 16px;
}
.faq dt {
  font-size: 1.17rem;
  color: var(--color-neon);
  margin-top: 18px;
  font-weight: bold;
}
.faq dd {
  margin-left: 0;
  font-size: 1.05rem;
  color: var(--color-accent);
  margin-bottom: 8px;
  margin-top: 4px;
}

/* --- ACCORDION / CTA IN FAQ --- */
.accordion {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

/* --- CONTACT --- */
.contact .content-wrapper {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.contact ul {
  margin-top: 8px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  color: var(--color-accent);
  background: var(--color-surface);
  border-radius: 9px;
  padding: 7px 12px;
  min-width: 180px;
  width: fit-content;
}
.contact ul img {
  width: 23px; height: 23px;
  filter: drop-shadow(0 0 2px var(--color-neon-secondary));
}

/* --- CONFIRMATION --- */
.confirmation .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  background: var(--color-surface);
  border-radius: 18px;
  padding: 42px 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 40px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-dark);
  color: var(--color-accent);
  margin-top: 40px;
  padding: 36px 0 16px 0;
  border-top: 1px solid #203235;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: .99rem;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-neon-secondary);
}
footer p {
  color: var(--color-muted);
  font-size: .94rem;
}

/* --- COOKIE BANNER & COOKIE MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-surface);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 32px 18px 24px;
  z-index: 4000;
  box-shadow: 0 -2px 18px var(--color-shadow), 0 0 0 3px var(--color-neon);
  animation: cookieBannerIn .45s cubic-bezier(.54,.14,.49,.93);
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner .btn {
  font-size: .99rem;
  border-radius: 12px;
  padding: 8px 18px;
}
.cookie-banner .btn.primary {
  background: var(--color-neon);
  color: var(--color-primary);
}
.cookie-banner .btn.secondary {
  background: var(--color-primary);
  border: 2px solid var(--color-neon-secondary);
  color: var(--color-neon-secondary);
}
.cookie-banner .btn.reject {
  background: var(--color-danger);
  color: #fff;
  border: none;
  margin-left: 0;
}
.cookie-banner .btn.reject:hover {
  background: #c22e57;
}

.cookie-modal-overlay {
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  background: rgba(18,24,28,0.80);
  backdrop-filter: blur(2px);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.cookie-modal {
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 6px 34px var(--color-neon-secondary);
  padding: 38px 30px 28px 30px;
  width: 90%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn .4s cubic-bezier(.51,.13,.45,.99);
}
@keyframes cookieModalIn {
  from { transform: scale(.94); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 5px;
  color: var(--color-primary);
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 22px;
  position: relative;
  outline: none;
  vertical-align: middle;
  border: 2px solid var(--color-primary);
  transition: background 0.14s, border 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-neon-secondary);
  border: 2px solid var(--color-neon);
}
.cookie-toggle:before {
  content:'';
  display:block;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  box-shadow: 0 1px 4px #89dea3;
  transition: left 0.13s;
}
.cookie-toggle:checked:before {
  left: 15px;
  background: var(--color-neon);
}
.cookie-modal .essential-label {
  color: var(--color-muted);
  font-size: .97rem;
  font-style: italic;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  font-size: 1.44rem;
  color: var(--color-muted);
  cursor: pointer;
  border: none;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.14s, background 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-danger);
  background: #f1f5fa;
}

/* --- HOVER, FOCUS & MICRO-INTERACTIONS --- */
a, button, .btn {
  transition: background .21s, color .16s, box-shadow .18s, border .16s, transform .17s;
}
:focus {
  outline: 2px solid var(--color-neon-secondary);
  outline-offset: 1px;
}

/* --- SCROLLBAR (FUTURISTIC NEON) --- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-neon-secondary);
  border-radius: 9px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
  }
  .features ul,
  .services .content-wrapper,
  .stats ul,
  .steps ol {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .features ul {
    gap: 13px;
  }
  .services .content-wrapper,
  .team .text-section,
  .contact .content-wrapper {
    gap: 15px;
  }
  .testimonial-card {
    min-width: 210px;
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.48rem; }
  .section, .steps, .stats, .legal, .cta {
    padding: 22px 9px;
  }
  .hero {
    padding: 46px 0 38px 0;
  }
  .hero h1 { font-size: 2rem; }
  .hero .content-wrapper {
    padding-left: 0;
  }
  .content-grid, .text-image-section, .features ul, .services .content-wrapper, .card-container, .footer-nav {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch;
  }
  .testimonials .content-wrapper, .about .content-wrapper, .team .content-wrapper {
    gap: 7px;
  }
  .testimonial-card {
    min-width: unset;
    width: 100%;
    max-width: 98vw;
  }
}
@media (max-width: 580px) {
  .hero .container {
    justify-content: flex-start;
    min-height: 180px;
  }
  .hero .content-wrapper { gap: 10px; }
  .btn.primary, .btn.secondary { font-size: .97rem; padding: 8px 16px; }
}
@media (max-width: 470px) {
  .container { padding: 0 6px; }
}

/* --- SPACING & CARD/SECTION RULES --- */
.section, .steps, .stats, .legal, .about, .team, .features, .testimonials, .services, .contact, .confirmation {
  margin-bottom: 60px;
}
.card, .testimonial-card, .service-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .team .content-wrapper, .about .content-wrapper, .contact .content-wrapper {
  gap: 20px;
}

/* --- PREVENT OVERLAPPING --- */
.card, .service-card, .testimonial-card, .content-wrapper > *, .about ul, .about ol, .features ul > li {
  margin-bottom: 20px;
}

/* --- NEON EFFECTS --- */
.neon {
  color: var(--color-neon);
  text-shadow: 0 0 6px var(--color-neon), 0 0 3px var(--color-neon-secondary);
  font-weight: 800;
}

/* --- Z-INDEX FOR LAYERING --- */
header { z-index: 50; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 4000; }
.cookie-modal-overlay { z-index: 4100; }

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