/* === 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 {
  scroll-behavior: smooth;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #131927;
  color: #f5f7fa;
}
body {
  background-color: #131927;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
article, aside, details, figcaption, figure, 
footer, header, main, nav, section {
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}

/* === BRAND FONTS === */
@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 {
  --color-primary: #20435C;
  --color-primary-dark: #192f40;
  --color-secondary: #F5F7FA;
  --color-bg-dark: #131927;
  --color-accent: #D9A14A;
  --color-accent-neon: #FFD269;
  --color-neon-blue: #38D5F4;
  --color-neon-violet: #995EFF;
  --color-danger: #e53935;
  --color-success: #43bc70;
  --color-neutral: #A2B4C4;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-card: 0 6px 32px 0 rgba(38,68,105,0.18);
  --radius: 14px;
}

/* === GENERAL LAYOUT === */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
main {
  width: 100%;
  flex: 1;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #181f2c;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 28px 0 rgba(56,213,244,0.18), var(--shadow-card);
  transform: translateY(-3px) scale(1.02);
}

.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 28px;
  background: var(--color-secondary);
  color: #222F39;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(32,67,92, 0.11);
  margin-bottom: 20px;
  font-size: 18px;
  max-width: 480px;
}
.testimonial-card span {
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* === HEADER & NAV === */
header {
  width: 100%;
  background: #161d2a;
  box-shadow: 0 4px 20px 0 rgba(44,73,113,.08);
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 0 6px 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}
header a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  transition: color 0.18s;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--color-accent);
  color: #1f2439;
  border-radius: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 30px;
  font-size: 17px;
  min-height: 40px;
  box-shadow: 0 3px 16px 0 rgba(217,161,74,0.10);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.20s, color 0.15s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-neon-blue);
  color: #0d1422;
  box-shadow: 0 4px 22px 0 rgba(57,213,244,0.25);
  transform: translateY(-1px) scale(1.01);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 32px;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 12px;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #151D2B;
  z-index: 110;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.5,1,0.5,1), opacity 0.23s;
  opacity: 0.99;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  box-shadow: 0 2px 32px rgba(20,17,40,0.23);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 35px;
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 2;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  padding-top: 86px;
  padding-left: 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 22px;
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,83,114,0.18);
  min-width: 60vw;
  transition: color 0.16s;
  border-radius: 4px 0 0 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(57,213,244,0.07);
}

/* === HERO / CTA SECTIONS === */
.hero {
  background: linear-gradient(92deg, #1B2235 68%, #181946 100%), #1B2235;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  margin-bottom: 0;
  position: relative;
}
.hero .container {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--color-accent-neon);
  text-shadow: 0 2px 16px #20435C;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero p {
  color: #F5F7FA;
  font-size: 20px;
  margin-bottom: 24px;
  font-family: var(--font-body);
}
.hero .cta-btn {
  margin-top: 14px;
}

.cta {
  background: linear-gradient(90deg, #20435c 86%, #38d5f4 100%);
  padding: 42px 20px 44px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 0;
}
.cta h2 {
  color: var(--color-accent-neon);
  font-size: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.cta p {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}


/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.09;
}
h1 {
  font-size: 32px;
  margin-bottom: 30px;
}
h2 {
  font-size: 24px;
  margin-bottom: 18px;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-size: 16px;
  margin-bottom: 10px;
}
p, li {
  font-size: 16px;
  font-family: var(--font-body);
  color: #ecf0f6;
}
strong {
  color: var(--color-neon-blue);
}

/* === LISTS === */
ul, ol {
  padding-left: 0;
}
ul > li, ol > li {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* === FEATURES / SERVICES / CARDS === */
.feature, .service {
  background: #17212F;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  margin-bottom: 24px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, border 0.15s;
  position: relative;
  border: 2px solid transparent;
}
.feature:hover, .service:hover {
  box-shadow: 0 0 24px 0 #38D5F4, var(--shadow-card);
  border: 2px solid var(--color-accent);
}
.feature img, .service img {
  height: 42px;
  width: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px #38D5F4) drop-shadow(0 0 2px #D9A14A88);
}
.feature h3, .service h2 {
  color: var(--color-accent-neon);
  font-size: 19px;
  margin-bottom: 8px;
}
.feature p, .service p {
  color: #E2F3F7;
}

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

/* === BLOG CARDS === */
.blog-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.blog-teaser-list article {
  flex: 1 1 280px;
  background: #17212F;
  border-radius: var(--radius);
  padding: 24px 20px 20px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
  border: 2px solid transparent;
}
.blog-teaser-list article:hover {
  box-shadow: 0 0 18px #995EFF, var(--shadow-card);
  border: 2px solid var(--color-neon-violet);
  transform: translateY(-2px) scale(1.01);
}
.blog-teaser-list h3 {
  color: var(--color-accent);
  font-size: 18px;
  margin-bottom: 7px;
}
.blog-teaser-list p {
  color: #cfd7e5;
  font-size: 16px;
}
.blog-teaser-list a {
  color: var(--color-neon-blue);
  font-weight: 500;
  margin-top: 5px;
  font-size: 16px;
  transition: color 0.15s, text-decoration 0.12s;
}
.blog-teaser-list a:hover, .blog-teaser-list a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.blog-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-filter label {
  color: var(--color-accent);
  font-weight: 600;
}
.blog-filter select {
  background: #181c2b;
  color: #eaeaea;
  border: 1px solid var(--color-primary);
  border-radius: 7px;
  padding: 8px 20px 8px 9px;
  font-size: 16px;
  margin-left: 4px;
}

/* === CONTACT === */
.contact-details, .contact-persons {
  margin-bottom: 24px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details p {
  color: #eaf5ff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img {
  height: 22px; width:22px;
}
.contact-persons p {
  color: var(--color-accent-neon);
  font-weight: 600;
}


/* === FOOTER === */
footer {
  background: #16212e;
  color: #e0e7f4;
  padding: 46px 0 0 0;
}
footer .container {
  padding-top: 0;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 25px;
  border-bottom: 1px solid #234;
}
.footer-flex > div {
  flex: 1 1 280px;
  min-width: 200px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #A2B4C4;
  font-size: 16px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
}
.footer-contact img {
  height: 18px; width: 18px;
}
.legal {
  text-align: center;
  margin-top: 18px;
  color: #93A2B2;
  font-size: 15px;
  padding-bottom: 14px;
}


/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #202c41;
  border-top: 2.5px solid var(--color-accent);
  padding: 20px 20px 20px 32px;
  color: #fff;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.32s;
  box-shadow: 0 -2px 28px #242f44aa;
}
.cookie-banner.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: cookieSlideUp 0.35s ease-out;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  margin-left: auto;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 18px;
  font-size: 16px;
  font-family: var(--font-display);
  border-radius: 20px;
  border: none;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .cookie-accept {
  background: var(--color-success);
  color: #fff;
  font-weight: 600;
}
.cookie-banner .cookie-reject {
  background: var(--color-danger);
  color: #fff;
  font-weight: 600;
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.11) drop-shadow(0 1px 10px #995EFF33);
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(16,22,34,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.cookie-modal.active {
  display: flex;
  animation: modalFadeIn 0.34s;
}
@keyframes modalFadeIn {
  from {opacity: 0;}
  to   {opacity: 1;}
}
.cookie-modal-dialog {
  background: #181f2c;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px 0 #22559655;
  padding: 46px 36px 38px 36px;
  max-width: 400px;
  min-width: 280px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-dialog h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: 8px;
  font-size: 22px;
}
.cookie-modal-dialog label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  margin-bottom: 9px;
}
.cookie-modal-dialog input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.cookie-modal-dialog .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-neon-blue);
  font-size: 17px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--color-accent);
  position: absolute;
  top: 11px; right: 17px;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-dialog .btn {
  margin-top: 16px;
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-accent);
  color: #181c2b;
  border: none;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal-dialog .btn:hover,
.cookie-modal-dialog .btn:focus {
  background: var(--color-neon-blue);
  color: #19292f;
}

/* === UTILS, BADGES, ETC. === */
.badge-accent {
  background: var(--color-accent);
  color: #1a2331;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 9px;
}

/* === SPACING CLARIFICATIONS === */
.content-wrapper {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  overflow: visible;
}

/* === FORMS / INPUTS === */
input, textarea, select {
  background: #272f45;
  color: #fff;
  border: 1.3px solid var(--color-accent);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  margin-bottom: 20px;
  transition: border 0.16s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-neon-blue);
  background: #232d40;
}
label {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 16px;
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #181f2c;
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  padding: 15px 14px;
  color: #FFF;
  border-bottom: 1px solid #222e3d;
}
th {
  background: #131927;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
}

/* === ACCESSIBLE FOCUSES === */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px solid var(--color-neon-blue);
  outline-offset: 0.5px;
  z-index: 5;
}

/* === MICRO-INTERACTIONS === */
.btn, .cta-btn, .main-nav a, .feature, .service, .card, .blog-teaser-list article {
  transition: box-shadow 0.18s, transform 0.16s, color 0.18s, border 0.18s;
}

/* === RESPONSIVE TYPOGRAPHY and LAYOUT === */
@media (max-width: 1100px) {
  .footer-flex {
    gap: 24px;
    flex-wrap: wrap;
  }
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 11px 18px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    z-index: 40;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero {
    min-height: 240px;
    padding-top: 10px;
  }
  .blog-teaser-list {
    gap: 10px;
    flex-direction: column;
  }
  .footer-flex {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 96vw;
    font-size: 16px;
    padding: 14px 8px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service {
    flex-direction: row;
    padding: 13px 10px;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: center;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 18.5px; }
  .hero p  { font-size: 15.5px; }
  section  { padding: 18px 2vw; }
  .cta h2 { font-size: 21px; }
  .cta {
    padding: 18px 4vw 17px 4vw;
  }
  footer {
    padding-left: 2vw; padding-right: 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 13px 7px;
    gap: 13px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 8px;
    justify-content: flex-end;
  }
}

/* === OVERLAY/BACKDROP Z-INDEXes === */
/*
Mobile menu: 110
Cookie banner: 2000
Cookie modal: 3000
Focus ring: 5
*/

/* === END === */
