/* ===================== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #111B26;
  color: #FAFAFA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #111B26;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #F7B940;
  outline-offset: 2px;
}

/* ===================== FONT IMPORT ===================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ===================== CSS VARIABLES ===================== */
:root {
  --primary: #2074A0;
  --primary-dark: #185278;
  --secondary: #E5EEF4;
  --surface: #152234;
  --surface-light: #24384F;
  --accent: #F7B940;
  --accent-neon: #ffe38a;
  --border: #233551;
  --bg-gradient: linear-gradient(135deg,#2074A0 0%,#152234 100%);
  --shadow: 0 2px 16px rgba(32,116,160,0.15), 0 1.5px 8px rgba(0,0,0,0.08);
  --neon: 0 0 6px var(--accent), 0 0 16px var(--accent-neon);
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #FAFAFA;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: var(--neon);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p, li, .footer-contact, .cookie-modal label, .cookie-modal p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #E5EEF4;
}
.subheadline {
  font-size: 1.25rem;
  letter-spacing: 0.3px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  font-weight: 600;
}
strong {
  color: var(--accent);
  font-weight: 700;
}

/* ===================== LAYOUT: FLEXBOX PATTERNS ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(24, 82, 120, 0.17);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface-light);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 0 0 2px var(--accent), 0 0 16px var(--accent);
  transform: translateY(-4px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFA;
  color: #222A36;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,116,160,0.07);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 700px;
  font-size: 1rem;
  transition: box-shadow 0.23s, transform 0.23s;
  border-left: 4px solid var(--accent);
}
.testimonial-card strong {
  color: var(--primary-dark);
}
.testimonial-card:hover {
  box-shadow: 0 0 0 2px var(--primary), 0 0 16px var(--accent-neon);
  transform: scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  background: var(--surface-light);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 4px var(--accent));
}
.feature-item:hover {
  box-shadow: 0 0 0 2px var(--accent), 0 0 18px var(--accent-neon);
  cursor: pointer;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.text-section {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.service-list li {
  background: var(--surface-light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
}
.service-list li span {
  color: var(--accent);
  font-size: 1.07rem;
  font-weight: 700;
}

/* =========== HEADER ============ */
header {
  width: 100%;
  background: var(--bg-gradient);
  box-shadow: 0 1px 12px rgba(17,27,38,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  position: sticky;
  top: 0; left: 0;
  z-index: 50;
  min-height: 64px;
}
.logo img {
  height: 42px;
  width: auto;
  transition: filter 0.2s;
  filter: drop-shadow(0 0 8px var(--primary));
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  color: #FAFAFA;
  border-radius: 22px;
  transition: background 0.17s, color 0.16s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
nav a:hover, nav a.active {
  background: var(--accent);
  color: #2A353F;
  box-shadow: var(--neon);
}

/* ========= CTA BUTTON =========== */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--accent);
  color: #2A353F;
  border-radius: 28px;
  padding: 10px 32px;
  font-size: 1.16rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 2px var(--accent), 0 0 14px var(--accent-neon);
  cursor: pointer;
  border: none;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.22s, color 0.14s, transform 0.16s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD35F;
  color: #111B26;
  box-shadow: 0 0 0 3px var(--primary-dark), 0 0 16px var(--accent-neon);
  transform: scale(1.028);
}

/* ========= MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.2rem;
  color: var(--accent);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 120;
  line-height: 1;
  padding: 0;
  transition: color 0.18s, filter 0.16s;
}
.mobile-menu-toggle:focus {
  color: #fff;
  outline: 2px solid var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(24,82,120,0.98);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.69,.23,.41,1.12);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 2.1rem;
  margin: 24px 26px 4px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 122;
  line-height: 1;
  padding: 0;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF8DD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 36px 32px 0 0;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 14px 0 12px 0;
  color: #FAFAFA;
  border-radius: 10px;
  width: 100%;
  text-align: right;
  transition: background 0.12s, color 0.16s, letter-spacing 0.09s;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--accent);
  color: #152234;
  letter-spacing: 0.07em;
}

@media (max-width: 1024px) {
  header {
    padding: 16px 10px;
  }
  .container {
    max-width: 98vw;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 860px) {
  nav a {
    font-size: 0.97rem;
    padding: 8px 10px;
    margin-inline: 2px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 16px;
    margin-left: 8px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .section {
    padding: 24px 6vw;
    margin-bottom: 36px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .subheadline {
    font-size: 0.98rem;
  }
  .feature-item {
    padding: 10px 8px;
    font-size: 0.96rem;
  }
  .content-wrapper, .section {
    padding: 12px 2vw;
    margin-bottom: 18px;
  }
}


/* ========== FOOTER ========== */
footer {
  background: #192E46;
  color: var(--secondary);
  width: 100%;
  padding: 28px 14px 14px 14px;
  box-shadow: 0 -2px 12px rgba(32,116,160,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  letter-spacing: 0.02em;
}
footer nav {
  gap: 18px;
}
footer nav a {
  color: var(--secondary);
  font-size: 0.97rem;
  padding: 7px 10px;
  border-radius: 16px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.14s, color 0.16s;
}
footer nav a:hover, footer nav a.active {
  background: var(--primary);
  color: var(--accent);
}
.footer-contact {
  margin-top: 16px;
  color: var(--secondary);
  opacity: 0.63;
  font-size: 0.91rem;
  text-align: center;
}

/* ========== FORMS & LISTS ========== */
input, textarea, select {
  background: var(--surface-light);
  color: #FAFAFA;
  border-radius: 8px;
  border: 1.2px solid var(--border);
  padding: 9px 14px;
  margin-bottom: 12px;
  width: 100%;
  font-size: 1rem;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

ul, li {
  list-style: none;
}
ul > li::marker, ol > li::marker {
  display: none;
}

/* ========== SPECIALS ========== */
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
  margin-bottom: 18px;
}
.text-section li::before {
  content: '\25B6';
  color: var(--accent);
  margin-right: 8px;
  font-size: 0.88em;
  opacity: 0.88;
}
.text-section li {
  padding-left: 8px;
  color: #E5EEF4;
}

/* ========== OVERRIDES ========== */
h2 + .feature-grid, h2 + .service-list {
  margin-top: 10px;
}

/* ========== ANIMATIONS ========== */
@keyframes neonGlow {
  0%,100% { box-shadow: 0 0 0 2px var(--accent), 0 0 14px var(--accent-neon); }
  50% { box-shadow: 0 0 0 3px var(--accent), 0 0 30px var(--accent-neon); }
}
.cta-btn:hover, .cta-btn:focus {
  animation: neonGlow 0.7s alternate infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.section,.content-wrapper,.feature-item,.testimonial-card,.text-section,form,main > section {
  animation: fadeInUp 0.7s both;
}

/* ===================== COOKIE CONSENT BANNER AND MODAL ===================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 22px 18px 22px 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  box-shadow: 0 -4px 18px rgba(24, 82, 120, 0.16);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: fadeInUp 0.7s both;
}
.cookie-consent-banner span {
  max-width: 450px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  border: none;
  background: var(--accent);
  color: #222A36;
  border-radius: 18px;
  padding: 10px 24px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, color 0.16s, transform 0.13s;
  box-shadow: 0 0 0 1px var(--accent), 0 0 7px var(--accent-neon);
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover {
  background: #FFD35F;
  color: #111B26;
  transform: scale(1.045);
  box-shadow: 0 0 0 2px var(--accent), 0 0 16px var(--accent-neon);
}
.cookie-btn-reject {
  background: #222a36;
  color: #F7B940;
  border: 1.5px solid var(--accent);
  margin-right: 12px;
}
.cookie-btn-reject:hover {
  background: #17202b;
  color: #FFD35F;
}
.cookie-btn-settings {
  background: transparent;
  color: #F7B940;
  border: 1.5px solid var(--accent);
}
.cookie-btn-settings:hover {
  background: var(--surface);
  color: #ffd35f;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(0.96);
  background: #FAFAFA;
  color: #10243C;
  border-radius: 16px;
  padding: 38px 32px 32px 32px;
  box-shadow: 0 4px 28px rgba(32,116,160,0.19);
  min-width: 340px;
  max-width: 97vw;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s, transform 0.32s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-52%) scale(1);
}
.cookie-modal h3 {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #10243C;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  border-radius: 6px;
}
.cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 8px 16px;
  font-size: 0.97rem;
}
@media (max-width:500px){
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    padding: 19px 4vw 20px 4vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.96rem;
  }
}

/* ===================== END COOKIE CONSENT ===================== */

/* ========== UTILITY CLASSES ========== */
.hide { display: none !important; }
.show { display: block !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.nowrap { white-space: nowrap; }

/* ========== MISC ELEMENTS ========== */
a[href^="mailto:"] {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.muted {
  color: #B7C8DE;
  font-size: 0.91em;
}

.calendar-icon {
  color: var(--accent);
  font-size: 1.1em;
  margin-right: 6px;
}

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

/* ===================== END OF CSS ===================== */
