/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, address { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; border: 0; }
button, input, textarea, select { font: inherit; background: none; border: none; outline: none; }

:root {
  --color-primary: #2B7247;
  --color-secondary: #1976D2;
  --color-accent: #E6F2E3;
  --color-bg: #101820;
  --color-card-bg: #162329;
  --color-text: #f3fff8;
  --color-heading: #ffffff;
  --color-muted: #b7d1be;
  --color-border: #25d399;
  --color-neon: #2fd98c;
  --color-neon-blue: #25b6ff;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-heading);
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; text-shadow: 0 0 8px var(--color-neon); }
h2 { font-size: 2rem; margin-bottom: 18px; text-shadow: 0 0 6px var(--color-neon-blue); }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 600; }

p, address, li, blockquote {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.7em;
}

strong { color: var(--color-neon); font-weight: 700; }

/* LINKS */
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  position: relative;
  padding: 6px 0;
  margin-left: 16px;
  transition: color 0.2s;
}
nav a:first-child { margin-left: 0; }
nav a:hover, nav a:focus {
  color: var(--color-neon-blue);
}

/* HEADER */
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 16px 0 rgba(30,100,80,0.12);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; left: 0; z-index: 100;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
}
header img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  gap: 18px;
}

.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-secondary) 100%);
  color: #fff;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 700;
  box-shadow: 0 2px 24px 0 rgba(37,211,153,0.18);
  cursor: pointer;
  border: none;
  margin-left: 24px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-neon) 60%, var(--color-neon-blue) 100%);
  color: #101820;
  box-shadow: 0 4px 36px 0 rgba(37,211,153,0.25);
  transform: translateY(-2px) scale(1.04);
}

/* --- BURGER & MOBILE NAV --- */
.mobile-menu-toggle {
  background: rgba(25,118,210,0.14);
  color: var(--color-neon);
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  display: none;
  margin-left: 16px;
  position: relative;
  z-index: 301;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-neon-blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(37,182,255,0.16);
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100vw; max-width: 320px;
  background: #121c1f;
  box-shadow: -4px 0 32px 0 rgba(37,182,255,0.12);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.66,-0.21,0.29,1.12);
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 38px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  color: var(--color-neon-blue);
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 17px; right: 18px;
  z-index: 310;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  padding: 11px 8px;
  border-radius: 7px;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neon);
  color: #101820;
}

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

@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* --- SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }

/* FOCUS/ACCESSIBILITY */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 2px;
}

/* CARDS & FEATURES (tech_futuristic accents) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(65,255,181,0.09);
  border: 1.5px solid var(--color-neon);
  position: relative;
  margin-bottom: 20px;
  padding: 28px 26px 20px 26px;
  transition: box-shadow 0.17s, border-color 0.15s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 36px 0 rgba(47,217,140,0.19);
  border-color: var(--color-neon-blue);
  transform: translateY(-4px) scale(1.025);
}

/* --- LAYOUT PATTERNS & FLEXBOX --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.features-grid li {
  flex: 1 0 220px;
  min-width: 200px;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 0px 8px 0 rgba(47,217,140,0.10);
  border: 1px solid var(--color-neon);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.16s, transform 0.14s;
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}
.features-grid li img {
  height: 40px; width: 40px; background: #182922; border-radius: 50%; padding: 7px; box-shadow: 0 0 16px 0 var(--color-neon-blue, #25b6ff33);
  margin-bottom: 8px;
}
.features-grid li:hover, .features-grid li:focus-within {
  box-shadow: 0 6px 32px 0 rgba(47,217,140,0.23);
  border-color: var(--color-neon-blue);
  transform: translateY(-2px) scale(1.02);
}

.values-grid, .team-list, .timeline, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.values-grid > div, .team-list > div, .timeline > div, .news-list > article {
  background: var(--color-card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(41,255,134,0.10);
  border: 1px solid var(--color-neon-blue);
  padding: 18px 16px 16px 16px;
  flex: 1 0 220px;
  margin-bottom: 20px;
  min-width: 190px;
}
.news-list > article {
  border-left: 4px solid var(--color-neon-blue);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-list li {
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(37,182,255,0.09);
  border: 1px solid var(--color-neon-blue);
  padding: 26px 20px 18px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.14s;
}
.services-list li:hover {
  background: #162d1f;
  border-color: var(--color-neon);
  box-shadow: 0 6px 28px 0 rgba(47,217,140,0.19);
}
.services-list .price {
  float: right;
  color: var(--color-neon);
  font-weight: 700;
}

.timeline > div h4 {
  color: var(--color-neon-blue);
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
}

.category-tag {
  font-size: 0.9rem;
  background: var(--color-neon-blue);
  color: #fff;
  border-radius: 8px;
  padding: 2px 9px;
  margin-left: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.news-date {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-right: 8px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #eafaf1;
  color: #181e2b;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(47,217,140,0.10);
  border: 1.5px solid var(--color-neon);
  padding: 20px 24px 18px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.13s;
}
.testimonial-card blockquote {
  font-size: 1.19rem;
  color: #232f2d;
  font-style: italic;
  quotes: "\201E" "\201C";
  position: relative;
  margin-bottom: 8px;
}
.testimonial-card blockquote:before {
  content: "\201D";
  color: var(--color-neon-blue);
  font-size: 2.3rem;
  left: -24px;
  top: -9px;
  position: absolute;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ADDRESS blocks */
address {
  background: var(--color-card-bg);
  padding: 24px 16px;
  border-radius: 10px;
  font-style: normal;
  margin-bottom: 18px;
  color: var(--color-neon);
  border-left: 3px solid var(--color-secondary);
}
address a { color: var(--color-neon-blue); }

/* CONTENT GRID, TEXT-IMAGE-SECTION, FEATURE-ITEM */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* CTA */
section .btn-primary {
  margin-left: 0;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #101820;
  box-shadow: 0 -2px 16px 0 rgba(30,100,80,0.09);
  padding: 48px 0 18px 0;
}
.footer-wrapper {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex; flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--color-neon);
}
.footer-credits {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.footer-wrapper img { height: 38px; width: auto; margin-bottom: 8px; }
footer a:hover, footer a:focus { color: var(--color-neon-blue); }

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .footer-wrapper { flex-direction: column; align-items: stretch; gap: 22px; }
}
@media (max-width: 800px) {
  .container { padding: 0 12px; }
  section { padding: 30px 8px; }
  .features-grid, .values-grid, .team-list, .timeline, .news-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 18px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .features-grid li,
  .values-grid > div, .team-list > div, .timeline > div, .news-list > article {
    min-width: 92vw; flex: 1 0 92vw;
  }
  .footer-wrapper { gap: 14px; }
  .card-container {
    gap: 12px;
  }
  .card { padding: 18px 9px; }
  .services-list li {
    padding: 16px 8px;
    font-size: 0.99rem;
  }
  .testimonial-card {
    padding: 13px 7px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 4px; }
}

/* TRANSITIONS & INTERACTION EFFECTS */
.card, .features-grid li, .services-list li, .testimonial-card, .btn-primary {
  transition: box-shadow 0.23s, border-color 0.14s, transform 0.16s, background 0.18s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: #181e2b;
  color: #fff;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 -1px 16px 0 rgba(30,100,80,0.22);
  border-top: 3px solid var(--color-neon-blue);
  animation: ccbannerIn 0.5s;
}
@keyframes ccbannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
  border-radius: 7px;
  padding: 8px 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: background 0.2s, color 0.16s, box-shadow 0.13s;
}
.cookie-banner .btn-accept {
  background: var(--color-neon);
  color: #101820;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: var(--color-neon-blue);
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #222;
  color: var(--color-neon);
  border: 1.5px solid var(--color-neon);
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #333;
  color: #fff;
  border-color: var(--color-neon-blue);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--color-neon-blue);
  border: 1.5px solid var(--color-neon-blue);
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: var(--color-neon-blue);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(10,24,32,0.78);
  z-index: 9999;
  display: flex;
  align-items: center; justify-content: center;
  animation: fadeCCModalIn 0.26s;
}
@keyframes fadeCCModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #101820;
  border-radius: 18px;
  box-shadow: 0 10px 48px 0 rgba(25,118,210,0.16);
  max-width: 400px;
  width: 92vw;
  padding: 34px 24px 24px 24px;
  position: relative;
  animation: slideCCModalIn 0.38s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes slideCCModalIn {
  from { transform: translateY(40px); opacity: 0; } 
  to { transform: translateY(0); opacity: 1; } 
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: var(--color-secondary);
}
.cookie-modal .cookie-toggle {
  appearance: none;
  display: inline-block;
  width: 44px; height: 25px;
  background: #ccebe0;
  border-radius: 25px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-neon-blue);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 21px; height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(25,118,210,0.12);
  transition: left 0.16s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 21px;
  background: var(--color-neon-blue);
}
.cookie-modal .ccmodal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .ccmodal-actions button {
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal .ccmodal-actions .btn-accept-modal {
  background: var(--color-neon);
  color: #101820;
  border: none;
}
.cookie-modal .ccmodal-actions .btn-accept-modal:hover {
  background: var(--color-neon-blue);
  color: #fff;
}
.cookie-modal .ccmodal-actions .btn-close-modal {
  background: #f2f4fa;
  color: #101820;
}
.cookie-modal .ccmodal-actions .btn-close-modal:hover {
  background: var(--color-neon-blue);
  color: #fff;
}

/* MISC */
::-webkit-scrollbar {
  width: 10px;
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: var(--color-neon-blue);
  border-radius: 8px;
}

/* FORBIDDEN: No grid, no columns used anywhere */

/* FORMS (mainly for potential future contact forms) */
input, select, textarea {
  background: #181e2b;
  border-radius: 5px;
  border: 1.5px solid var(--color-neon-blue);
  color: #fff;
  padding: 9px 12px;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.13s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon);
  background: #222c38;
}

/* TEXT SELECTION */
::selection {
  background: var(--color-neon-blue);
  color: #fff;
}

/* UTILITIES */
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.text-center { text-align: center !important; }

/* VISUAL FOCUS FOR CARDS/ELEMENTS */
.card:focus-within, .services-list li:focus-within, .features-grid li:focus-within {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 3px;
}

/* ENSURE ALL LAYOUTS USE FLEXBOX, NO GRID */
/* --- END --- */
