/* ========== 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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F4F6;
  color: #17304A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #17304A;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #32B6C8;
}
strong { font-weight: 600; }
em, i { font-style: italic; }

/* ========== BRAND TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', Roboto, Arial, sans-serif;
  color: #17304A;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, li, ul, ol { font-size: 1rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ========== LAYOUT CLASSES ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(23,48,74,0.08);
  padding: 40px 32px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 24px 10px;
    margin-bottom: 40px;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
}

/* ========== FLEX BATCHES ========== */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23,48,74,0.09);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  flex: 1 1 300px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #17304A;
  box-shadow: 0 4px 20px rgba(23,48,74,0.07);
  padding: 0 0 0 0;
  margin-bottom: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
header img {
  height: 44px;
  margin-right: 24px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #213e59;
  color: #32B6C8;
}
header nav .cta-primary {
  background: #32B6C8;
  color: #fff;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(23,48,74,0.19);
  margin-left: 12px;
  border: none;
  font-family: 'Orbitron', Roboto, Arial, sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.22s, box-shadow 0.18s, color 0.22s;
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: #1E7796;
  color: #fff;
  box-shadow: 0 6px 24px rgba(50,182,200,0.16);
}

/* ========== MOBILE MENU & BURGER ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 100;
  background: #17304A;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 3px 12px rgba(23,48,74,0.14);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1E2D40;
  color: #32B6C8;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,74, 0.98);
  z-index: 300;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
  box-shadow: -9px 0 40px rgba(23,48,74,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #213e59;
  color: #32B6C8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 32px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 6px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  font-weight: 400;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #32B6C8;
  color: #17304A;
}
@media (max-width: 1100px) {
  header .container nav { gap: 10px; }
}
@media (max-width: 930px) {
  header nav a { font-size: 0.98rem; padding: 7px 8px; }
  header nav .cta-primary { font-size: 1rem; padding: 9px 10px; }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .mobile-menu {
    width: 100vw;
    height: 100vh;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(80deg,#17304A 85%,#32B6C8 245%);
  color: #fff;
  padding: 60px 0 70px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: 660px;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  gap: 10px;
  padding: 0;
}
.hero h1, .hero p { color: #fff; }

.hero .cta-primary {
  margin-top: 32px;
}
@media (max-width: 768px) {
  .hero { padding: 34px 0 38px 0; margin-bottom: 34px; }
  .hero .content-wrapper { padding: 0 6px; }
}

/* ========== BUTTONS ========== */
.cta-primary {
  display: inline-block;
  background: #32B6C8;
  color: #fff;
  font-family: 'Orbitron', Roboto, Arial, sans-serif;
  font-weight: 600;
  padding: 13px 34px;
  font-size: 1.18rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(50,182,200,0.18);
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.22s, box-shadow 0.18s, color 0.22s, transform 0.12s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1A859B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 9px 24px rgba(50,182,200,0.25);
}
.cta-secondary {
  display: inline-block;
  background: #fff;
  color: #17304A;
  border: 2px solid #32B6C8;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 11px 28px;
  font-size: 1rem;
  border-radius: 9px;
  margin-top: 10px;
  letter-spacing: 0.02em;
  transition: background 0.19s, color 0.19s, border-color 0.14s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(50,182,200,0.11);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #32B6C8;
  color: #fff;
  border-color: #32B6C8;
  transform: translateY(-1px) scale(1.03);
}

button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background 0.1s, color 0.19s;
}

/* ========== CARDS, TESTIMONIALS, BLOG ENTRIES ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  margin: 20px 0 0 0;
  background: #F6FAFC;
  border-left: 5px solid #32B6C8;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(23,48,74,0.09);
  color: #17304A;
  font-size: 1.1rem;
  min-width: 270px;
  max-width: 620px;
}
.testimonial-card p {
  flex: 1;
  margin-bottom: 0;
  color: #17304A;
  font-weight: 400;
}
.testimonial-card span {
  color: #17304A;
  font-size: 0.94em;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.8;
}
.testimonial-card:hover {
  background: #e3f7fa;
  box-shadow: 0 6px 18px rgba(23,48,74,0.11);
  border-left: 6px solid #1A859B;
}

.blog-entry {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(23,48,74,0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.blog-entry h3 {
  margin-bottom: 5px; font-size: 1.18em;
}

/* ========== LIST & CONTENT STYLING ========== */
ul {
  list-style-type: disc;
  margin-left: 22px;
  margin-bottom: 14px;
}
ol {
  list-style-type: decimal;
  margin-left: 28px;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.45;
}
.privacy-hint { font-size: 0.92rem; color: #17304A; opacity: 0.78; }
.map-placeholder {
  background: #e7ebee;
  border-radius: 10px;
  padding: 26px 20px;
  font-size: 1.05rem;
  color: #42556A;
  border: 1px solid #32B6C8;
  margin-bottom: 22px;
}

/* ========== FOOTER ========== */
footer {
  background: #17304A;
  color: #fff;
  padding: 40px 0 20px 0;
  margin-top: 42px;
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #fff;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.92;
  transition: color 0.18s, border-bottom 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #32B6C8;
  text-decoration: underline;
}
.footer-contact {
  color: #c9d4e1;
  font-size: 0.96rem;
  opacity: 0.96;
  margin-top: 4px;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #17304A;
  color: #fff;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 -2px 24px rgba(23,48,74,0.12);
  padding: 22px 12px 18px 12px;
  animation: slideUp 0.57s cubic-bezier(.62,1.25,.34,1);
  gap: 16px;
}
.cookie-banner-content {
  max-width: 750px;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 24px;
  background: #32B6C8;
  color: #fff;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  font-family: 'Orbitron', Roboto, Arial, sans-serif;
  margin-right: 0;
  font-weight: 500;
  transition: background 0.17s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 1px 8px rgba(50,182,200,0.09);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A859B;
  color: #fff;
}
.cookie-btn.reject {
  background: #E7EAF0;
  color: #17304A;
  border: 1.5px solid #32B6C8;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dfeef4;
  color: #1A859B;
}
.cookie-btn.settings {
  background: #fff;
  color: #17304A;
  border: 1.5px solid #32B6C8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #32B6C8;
  color: #fff;
}
@keyframes slideUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,74, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #17304A;
  border-radius: 18px;
  max-width: 440px;
  min-width: 280px;
  padding: 40px 28px 32px 28px;
  box-shadow: 0 6px 40px rgba(23,48,74,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn 0.42s cubic-bezier(.6,1.27,.28,1.14);
}
@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; } 
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cookie-modal-close {
  background: none;
  color: #17304A;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E7EAF0;
  color: #1A859B;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 16px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #32B6C8;
  width: 22px; height: 22px;
  cursor: pointer;
  border-radius: 5px;
}
.cookie-category label {
  font-size: 1rem;
}
.category-essential {
  opacity: 0.7;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex; flex-direction: row; gap: 18px; margin-top: 20px;
}
/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 750px) {
  .cookie-modal-content {
    min-width: 92vw;
    padding: 20px 8px 18px 8px;
  }
}
@media (max-width: 480px) {
  .cookie-banner-content {
    font-size: 0.97rem;
  }
  .cookie-modal-content { font-size: 0.98rem; }
}

/* ========== RESPONSIVE UTILITY CLASSES ========== */
@media (max-width: 900px) {
  .container { padding: 0 9px; }
}

/* ========== MICRO-INTERACTIONS: HOVER, FOCUS, TRANSITIONS ========== */
.card, .testimonial-card, .blog-entry, .cookie-modal-content, .cta-primary, .cta-secondary, .cookie-btn {
  transition: box-shadow 0.22s, background 0.20s, border-color 0.19s, color 0.19s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 7px 32px rgba(23,48,74,0.15);
  transform: translateY(-3px) scale(1.02);
}

/* ========== COMMON SPACING & ALIGNMENT ========== */
main > section {
  margin-bottom: 60px;
  padding: 0;
}
@media (max-width: 700px) {
  main > section { margin-bottom: 34px; }
}

/* ========== FOCUS OUTLINES FOR ACCESSIBILITY ========== */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid #32B6C8;
  outline-offset: 2px;
}

/* ========== Z-INDEX LAYERS ========== */
header { z-index: 30; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 9000; }
.cookie-modal { z-index: 9999; }

/* ========== PRINT STYLE ========== */
@media print {
  .mobile-menu,
  .mobile-menu-toggle,
  .cookie-banner,
  .cookie-modal,
  nav,
  .cta-primary,
  .cta-secondary,
  button { display: none !important; }
  main, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}

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