/* ================================================================
   Tatry Przygód – Futuristic Tech CSS (MOBILE FIRST, FLEXBOX ONLY)
   Author: Senior CSS Developer & UI Designer
   ================================================================ */

/* ===================== 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,
main, 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 {
  min-height: 100vh;
  background: #10151a;
  color: #fbfdfb;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(150deg, #10151a 60%, #145373 100%);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #3D9246;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #0ff; text-shadow: 0 0 6px #00e2ff; }
ul { list-style: none; }

/* ===================== BRAND COLOR VARIABLES ===================== */
:root {
  --color-primary: #145373;
  --color-secondary: #FBFDFB;
  --color-accent: #3D9246;
  --color-accent2: #20662A;
  --color-bg-dark: #10151a;
  --color-bg-semilight: #182633;
  --color-bg-light: #223852;
  --color-neon: #00e2ff;
  --color-card-bg: #16202a;
  --color-card-glow: rgba(0,226,255,.15);
  --color-shadow: rgba(20,83,115,.23);
  --color-testimonial-lightbg: #f8fafc;
}

/* ======================== TYPOGRAPHY ============================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
  color: var(--color-secondary);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 2.1rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

@media (min-width: 600px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

p, li, span, .testimonial-author {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 400;
}
strong { font-weight: 600; }

/* ======================== LAYOUT CONTAINERS ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  background: none;
}
.text-section {
  max-width: 740px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =================== FLEXBOX ALIGNMENT PATTERNS ================= */
.features-grid,
.services-list,
.card-container, 
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid {
  gap: 24px;
  margin-top: 12px;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 24px var(--color-card-glow), 0 2px 6px var(--color-shadow);
  overflow: hidden;
  border: 1.5px solid var(--color-accent2);
  transition: box-shadow .22s, transform .22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 0 18px 2px var(--color-neon), 0 2px 6px var(--color-shadow);
  transform: translateY(-4px) scale(1.012);
  border-color: var(--color-neon);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================== HEADER + MAIN NAV ======================== */
header {
  width: 100%;
  background: #0f1d27;
  box-shadow: 0 3px 16px 0 #10315417;
  position: sticky; top: 0; z-index: 60;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px 0;
  gap: 16px;
}
.main-nav > a > img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.main-nav ul li a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 15px;
  padding: 7px 9px;
  border-radius: 8px;
  transition: background .15s, color .18s, box-shadow .2s;
}
.main-nav ul li a.active,
.main-nav ul li a:focus,
.main-nav ul li a:hover {
  background: var(--color-card-bg);
  color: var(--color-neon);
  box-shadow: 0 0 8px 0 var(--color-neon);
}
.main-nav .cta-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 18px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 0 8px 0 var(--color-accent), 0 1px 8px var(--color-shadow);
  cursor: pointer;
  transition: background .22s, box-shadow .18s, color .16s;
  position: relative;
  outline: none;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--color-neon);
  color: #10151a;
  box-shadow: 0 0 16px 2px var(--color-neon);
}

/* =========== MOBILE BURGER MENU =========== */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  line-height: 1;
  padding: 6px 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .18s, color .15s;
  z-index: 121;
  display: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #193648;
  color: var(--color-neon);
}
/* burger visible on mobile */
@media (max-width: 980px) {
  .main-nav ul,
  .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #10151ae6;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 20px;
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(.5,.92,.39,1);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 120px 40px var(--color-neon);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2rem;
  margin-left: 20px;
  margin-bottom: 18px;
  cursor: pointer;
  z-index: 160;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding-left: 36px;
  padding-top: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 1.19rem;
  letter-spacing: 0.02em;
  padding: 7px 5px 7px 0px;
  border-radius: 8px;
  transition: background .15s, color .18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-card-bg);
  color: var(--color-neon);
}

/* ====== Ensure nav/CTA visible above modal/banner ====== */
header, .mobile-menu, .mobile-menu-toggle {
  z-index: 160 !important;
}

/* ================== HERO HEADINGS, CTAs, ANIMATIONS ============== */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: .03em;
  border-radius: 28px;
  padding: 12px 32px;
  margin-top: 24px;
  border: none;
  background: var(--color-accent);
  color: var(--color-secondary);
  box-shadow: 0 0 8px 0 var(--color-accent), 0 1px 8px var(--color-shadow);
  cursor: pointer;
  transition: background .22s, box-shadow .18s, color .14s, outline .15s;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-neon);
  color: #102d39;
  box-shadow: 0 0 24px 4px var(--color-neon);
  text-shadow: 0 0 10px #0ff;
}
.cta-secondary {
  background: none;
  color: var(--color-neon);
  border: 2px solid var(--color-neon);
  margin-top: 20px;
  transition: background .18s, color .18s;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--color-neon);
  color: #182633;
}

/* ================= CARD, SERVICE, FEATURE, SECTION =============== */
.features-grid .feature {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 0 18px 2px var(--color-card-glow), 0 1.5px 6px var(--color-shadow);
  border: 1.2px solid var(--color-neon);
  flex: 1 1 255px;
  min-width: 215px;
  max-width: 330px;
  padding: 30px 18px 20px;
  position: relative;
  transition: box-shadow .21s, border .15s, transform .14s;
}
.features-grid .feature:hover {
  box-shadow: 0 0 24px 8px var(--color-neon), 0 2px 8px var(--color-shadow);
  border-color: #3D9246;
  transform: translateY(-3px) scale(1.025);
}
.features-grid .feature img {
  width: 48px;
  margin-bottom: 16px;
}
.features-grid .feature h3 {
  color: var(--color-neon);
  font-size: 1.09rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px 2px var(--color-card-glow), 0 1.5px 3px var(--color-shadow);
  border: 1px solid var(--color-accent2);
  padding: 28px 18px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  transition: box-shadow .22s, transform .17s, border .15s;
  flex: 1 1 260px;
  max-width: 370px;
  color: var(--color-secondary);
}
.service:hover {
  box-shadow: 0 0 18px 4px var(--color-accent);
  border-color: var(--color-neon);
  transform: translateY(-5px) scale(1.022);
}
.price {
  color: var(--color-neon);
  background: #0a2026;
  border-radius: 18px;
  padding: 5.5px 13px;
  margin-top: 14px;
  font-weight: 700;
  font-size: .99rem;
  letter-spacing: .02em;
  display: inline-block;
  box-shadow: 0 0 7px 1.1px #00e2ff33;
}
.special-offer {
  color: #2aff00;
  font-weight: 700;
  padding-top: 6px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

/* =============== TESTIMONIALS & REVIEW CARDS ==================== */
.testimonial-card {
  background: var(--color-testimonial-lightbg);
  color: #182633;
  border-radius: 20px;
  box-shadow: 0 1.2px 17px 0px #23dfff12, 0 2px 8px #14537310;
  padding: 24px 26px 22px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  min-width: 250px;
  max-width: 690px;
  border: 1.2px solid #b2e6f6;
}
.testimonial-card p {
  color: #111522;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-author {
  color: var(--color-accent2);
  font-size: 0.99rem;
  font-style: italic;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  margin-top: 2px;
}
.testimonial-card:before {
  content: '';
  display: block;
  width: 6px;
  height: 80%;
  min-height: 44px;
  max-height: 100px;
  background: linear-gradient(185deg, #00e2ff 0%, #145373 100%);
  border-radius: 5px;
  position: absolute;
  left: 14px;
  top: 10%;
}

/* ====================== OTHER CONTENT STYLES ===================== */
.contact-info {
  background: var(--color-card-bg);
  color: var(--color-secondary);
  border-radius: 16px;
  padding: 18px 18px 14px 25px;
  margin: 18px 0 20px 0;
  font-size: 1rem;
  box-shadow: 0 0 9px #16bb6b11;
  border: 1px solid var(--color-accent2);
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
  color: var(--color-secondary);
}
ul li, ol li {
  line-height: 1.65;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--color-secondary);
}
section ul li img {
  width: 32px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ======================== FOOTER ================================ */
footer {
  background: #10151a;
  padding: 0 0 30px 0;
}
.footer-nav {
  margin-bottom: 16px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 9px;
}
.footer-nav li a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #d7f3ef;
  font-size: .99rem;
  opacity: .93;
  letter-spacing: .01em;
  padding: 5px 13px;
  border-radius: 10px;
  transition: background .13s, color .19s;
}
.footer-nav li a:focus, .footer-nav li a:hover {
  background: #193648;
  color: var(--color-neon);
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.footer-info img {
  width: 38px; height: 38px; border-radius: 0 50% 50% 50%; background: var(--color-card-bg);
  box-shadow: 0 0 8px 0 #00e2ff22;
}
.footer-info span {
  font-size: .97rem;
  color: #cee1f2;
}

/* ======================= COOKIES CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #131f2a;
  color: #fbfdfb;
  box-shadow: 0 -1.5px 20px #00e2ff33;
  padding: 21px 20px 17px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 801;
  font-size: 1rem;
  border-top: 2.5px solid var(--color-neon);
  transition: transform .32s cubic-bezier(.8,.45,.32,.93), opacity .2s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  outline: none;
  padding: 9px 22px;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background .18s, color .13s, box-shadow .22s;
}
.cookie-banner .accept {
  background: var(--color-accent2);
  color: #f2fcfa;
  box-shadow: 0 0 8px #20662A66;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: var(--color-neon); color: #142739; }
.cookie-banner .reject {
  background: #192940;
  color: #fff;
  border: 1.3px solid var(--color-neon);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus { background: var(--color-neon); color: #142739; }
.cookie-banner .settings {
  background: #11313d;
  color: #00e2ff;
  border: 1.3px solid #00e2ff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus { background: var(--color-neon); color: #142739; }

/* ========================= COOKIE MODAL ======================== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 850;
  left: 0; top: 0; right:0; bottom:0;
  background: #10151aee;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s;
}
.cookie-modal-overlay.show {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #182633;
  color: #fbfdfb;
  border-radius: 18px;
  box-shadow: 0 0 40px 8px var(--color-neon);
  max-width: 380px;
  width: 95%;
  padding: 28px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 861;
  position: relative;
  animation: modal-pop-in .35s cubic-bezier(.67,1.2,.38,1.12);
}
@keyframes modal-pop-in {
  0% { transform: scale(.88); opacity: .4; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 { color: var(--color-neon); font-size: 1.12rem; margin-bottom: 15px; }
.cookie-modal label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cookie-modal input[type='checkbox'] { width: 21px; height: 21px; accent-color: var(--color-neon); }
.cookie-modal .toggle-label {
  font-weight: 500;
  letter-spacing: .01em;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: #00e2ff;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 2px 8px;
}

/* ========================== RESPONSIVE ========================= */
@media (max-width: 1150px) {
  .container { max-width: 928px; }
  .features-grid, .services-list { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .features-grid, .services-list { gap: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.16rem; }
  .section {
    padding: 22px 7px;
    margin-bottom: 37px;
  }
  .content-wrapper, .text-section {
    padding-left: 0; padding-right: 0;
  }
  .features-grid, .services-list {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .footer-nav ul { gap: 12px; }
  .footer-info {
    flex-direction: column; gap: 2px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    min-width: unset;
    max-width: unset;
    padding: 18px 13px;
  }
  .testimonial-card:before { left: 6px; top: 12px; height: 30px; min-height: 28px; }
  .contact-info { padding: 10px 10px 8px 12px; font-size: 0.97rem; }
}
@media (max-width: 480px) {
  .main-nav > a > img { height: 26px; }
  .cta-primary, .cta-secondary { padding: 10px 17px; font-size: 0.98rem; }
  .footer-info img { width: 28px; height: 28px; }
  .cookie-modal { padding: 18px 8px 14px 12px; }
  .features-grid .feature, .service { padding: 14px 4px 10px; }
}

/* ========================== MICRO-INTERACTIONS =================== */
.card, .service, .feature, .cta-primary, .cta-secondary, .testimonial-card, .cookie-banner button, .footer-nav a {
  transition: box-shadow .21s, color .18s, background .17s, border .14s, transform .15s;
}
.card:hover, .service:hover, .feature:hover {
  cursor: pointer;
  outline: none;
}
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1.2px solid #16bb6b22;
  padding: 9px 13px;
  font-size: 1rem;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon);
  outline: none;
  box-shadow: 0 0 7px 0 var(--color-neon);
}

/* ===================== NEON DECORATIVE EFFECTS =================== */
.card:hover::after, .service:hover::after, .feature:hover::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: 3%; right: 3%; top: 3%; bottom: 3%;
  border-radius: 24px;
  box-shadow: 0 0 16px 6px var(--color-neon);
  opacity: .16;
  animation: neon-flicker .61s;
}
@keyframes neon-flicker {
  0% { opacity: 0.2; }
  42% { opacity: .26; }
  74% { opacity: .18; }
  100% { opacity: .09; }
}

/* =============== MISC ============ */
::-webkit-scrollbar {
  width: 12px;
  background: #16202a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #234d64;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover { background: #2af2e6; }

/* Hide outline for mouse, show for keyboard navigation */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--color-neon); }

/* Make sure all cards/blocks/sections have at least 20px gap */
.card, .service, .testimonial-card, .content-wrapper, .feature-item {
  margin-bottom: 20px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== END of CSS ========== */
