/* RESET & BASE ========================= */
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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #16202A;
  color: #F6F4F0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #E1A13D;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #BB7500;
  text-decoration: underline;
  outline: none;
}
strong { font-weight: 700; }

/* CONTAINER LAYOUTS ====================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

/* SECTION SPACING ======================= */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-child {
  margin-bottom: 0;
}

/* BRAND TYPOGRAPHY ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(225,161,61,0.11),0 0px 1px #1e3142;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(225,161,61,0.09);
}
h3 {
  font-size: 1.35rem;
  color: #E1A13D;
  margin-bottom: 6px;
}
.subheadline {
  font-size: 1.14rem;
  font-weight: 400;
  color: #BFD1E3;
  margin-bottom: 18px;
  line-height: 1.7;
}
p {
  color: #F6F4F0;
  margin-bottom: 14px;
}
ul, ol {
  color: #E5EAF2;
  padding-left: 20px;
  margin-bottom: 12px;
  list-style-position: inside;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5 {
  filter: drop-shadow(0 1px 1px #0f1931);
}


/* FLEXBOX CARD & LAYOUT CLASSES  ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #203149;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(41,80,111,0.18), 0 0px 1.5px #29506F;
  padding: 32px 26px 26px 26px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 4px 24px 0 rgba(225, 161, 61, 0.16),0 2px 6px #182d46;
}
.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;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F6F4F0;
  color: #1d222b;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(41,80,111,0.13),0 0.5px 1px #BB7500;
  position: relative;
}
.testimonial-card p {
  color: #111a22;
  font-size: 1.09rem;
  margin-bottom: 5px;
  line-height: 1.7;
}
.testimonial-card strong,
.testimonial-card div {
  color: #29506F;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #232b36;
  border-radius: 14px;
  box-shadow: 0 1px 5px 0 rgba(41,80,111,0.13),0 0.5px 1px #29506F;
  padding: 24px 20px 18px 20px;
  min-width: 230px;
  flex: 1 1 250px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 2.5px 11px 0 rgba(225, 161, 61, 0.12),0 2px 8px #142842;
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 5px #BB7500);
}

/* ACCENT ELEMENTS (NEON/TECH EFFECTS) */
.primary-cta, .secondary-cta {
  padding: 12px 36px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg,#E1A13D 0%, #BB7500 100%);
  box-shadow: 0 2px 12px 0 rgba(225,161,61,0.15), 0 0.5px 1px #29506F;
  color: #ffffff;
  margin-top: 14px;
  position: relative;
  outline: none;
  z-index: 1;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
}
.primary-cta::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; right: 6px; bottom: 6px;
  border-radius: 999px;
  box-shadow: 0 0 15px 2px #E1A13D88, 0 0 3px #fff;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(90deg,#FFCA7C 0%, #E1A13D 100%);
  color: #142842;
  box-shadow: 0 4px 22px #E1A13D66,0 1px 10px #16262F;
  transform: translateY(-2px) scale(1.045);
}
.secondary-cta {
  background: none;
  border: 2px solid #E1A13D;
  color: #E1A13D;
  transition: background 0.22s, color 0.22s, border 0.15s;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #E1A13D;
  color: #232b36;
  border-color: #FFCA7C;
}

/* NAVIGATION STYLES ====================== */
header {
  width: 100%;
  background: #202f43;
  box-shadow: 0 2px 18px #0e182472;
  position: relative;
  z-index: 99;
}
header nav {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding: 14px 0 10px 0;
}
header nav > a img {
  height: 40px;
  transition: transform 0.13s;
}
header nav > a:hover img {
  transform: scale(1.09) rotate(-2deg);
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
header nav ul li a {
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 9px 15px 9px 15px;
  border-radius: 13px;
  transition: background 0.15s, color 0.14s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #E1A13D;
  color: #222c39;
}
header .primary-cta {
  margin-left: 20px;
  margin-top: 0;
  font-size: 1rem;
}

/* RESPONSIVE NAVIGATION ================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 14px; right: 24px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #E1A13D;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 1012;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFCA7C;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #16202A;
  box-shadow: 0 0 48px 12px #000a19f5;
  z-index: 1011;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 46px 0 0 0;
  transition: transform 0.35s cubic-bezier(0.4,1,0.6,1), opacity 0.2s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.33s cubic-bezier(0.4,1,0.6,1), opacity 0.2s;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E1A13D;
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
  z-index: 1022;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFCA7C;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 30px 24px 24px 34px;
}
.mobile-nav a {
  padding: 13px 12px 13px 0;
  font-size: 1.25rem;
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1.3px solid #232b36;
  margin-bottom: 7px;
  border-radius: 0 17px 17px 0px;
  transition: background 0.1s, color 0.13s, padding 0.14s;
  display: block;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #E1A13D;
  color: #16202A;
  padding-left: 12px;
}

/* Only show hamburger on mobile  */
@media (max-width: 1024px) {
  header nav ul, header nav .primary-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO & SECTIONS ======================= */
section {
  border-radius: 24px;
  box-shadow: 0 2px 32px 0 rgba(41,80,111, 0.09);
  background: linear-gradient(125deg,#203149 32%,#355D85 110%);
  border: 1px solid #27395a;
}
section .primary-cta, section .secondary-cta {
  align-self: flex-start;
}

@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .container {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* FLEX RESPONSIVE ADJUSTMENTS =========== */
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* FOOTER ================================ */
footer {
  background: #202f43;
  border-top: 2px solid #29506F;
  padding: 38px 0 28px 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.97rem;
}
footer a {
  color: #E1A13D;
  text-decoration: underline;
  font-weight: 600;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.99rem;
  color: #C7DBEF;
  margin-top: 5px;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ICONS ================================= */
img[alt*="Ikona"], img[alt*="icon-"], .feature-grid img, .footer-contact img {
  filter: drop-shadow(0 0 8px #BB7500ee);
}

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

/* COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #203149;
  border-top: 1.5px solid #E1A13D;
  box-shadow: 0 -6px 32px #12213f99;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 24px 18px;
  gap: 36px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(0.5,0,0.5,1), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(160px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  outline: none;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: #E1A13D;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #BB7500;
}
.cookie-banner .reject {
  background: #F6F4F0;
  color: #203149;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e3e7ed;
  color: #16202A;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  border: 1.4px solid #E1A13D;
  color: #E1A13D;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #BB7500;
  color: #fff;
}

/* COOKIE MODAL ========================= */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(22,32,42,0.78);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal {
  background: #f6f4f0;
  border-radius: 18px;
  box-shadow: 0 8px 40px #29506Fcc, 0 0.7px 3px #BB7500;
  color: #1d222b;
  max-width: 380px;
  width: 88%;
  padding: 36px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2001;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  color: #E1A13D;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2010;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #BB7500;
}
.cookie-modal h3 {
  color: #29506F;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.04rem;
  color: #203149;
}
.cookie-category input[type="checkbox"],
.cookie-category input[type="radio"] {
  accent-color: #E1A13D;
  margin-top: 0;
  vertical-align: sub;
}
.cookie-category .essential {
  color: #BB7500;
  font-weight: 600;
  font-size: 1.02em;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin: 0 0 6px 0;
}
.cookie-modal .modal-actions button {
  width: 100%;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.97rem;
    padding: 15px 6px 16px 6px;
  }
  .cookie-modal {
    max-width: 98vw;
    padding: 22px 8px 20px 8px;
  }
}

/* ANIMATIONS ============================ */
.mobile-menu,
.cookie-modal-backdrop,
.cookie-banner {
  will-change: transform, opacity;
}
.primary-cta, .secondary-cta, .card, .feature-grid > div {
  transition: box-shadow 0.18s, transform 0.2s, color 0.16s, background 0.15s, border 0.13s;
}

/* MISC ACCESSIBILITY / USABILITY ========= */
:focus-visible {
  outline: 2.5px solid #E1A13D;
  outline-offset: 2px;
}

/* PRINT OPTIMIZATION */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
    display: none !important;
  }
  section, .container, .content-wrapper, body {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* END */
