/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #11151f;
  color: #f4f4f6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #F1C93A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fffde0;
}
ul, ol {
  margin-left: 1.2em;
  padding-left: 1em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181f2e;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(20,24,32,0.08);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F1C93A;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; }
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #b6b9bf;
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 650px;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.92em;
}

/* CONTAINER & SPACING -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

/* FLEXBOX LAYOUTS ------------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #1A233A;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(40, 45, 55, 0.14);
  margin-bottom: 20px;
  position: relative;
  padding: 28px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 22px 0 rgba(241,201,58,0.14), 0 2px 24px 0 rgba(25,25,30,0.15);
  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: 12px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fffde6;
  color: #232a38;
  border-left: 4px solid #F1C93A;
  border-radius: 10px;
  box-shadow: 0 4px 18px 0 rgba(30,22,12,0.08);
}
.testimonial-card p {
  color: #232a38;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #76777b;
  font-size: 0.93rem;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #232a38;
  border-radius: 12px;
  padding: 24px 22px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 230px;
  max-width: 325px;
  box-shadow: 0 2px 14px 0 rgba(30,36,52,0.13);
  border: 1.5px solid #232a38;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border-color 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 30px 0 rgba(241,201,58,0.13), 0 4px 16px 0 rgba(15,15,22,0.15);
  border-color: #F1C93A;
}
.feature-grid img, .feature-grid svg {
  height: 40px;
  width: 40px;
  filter: grayscale(0.1) contrast(1.2);
}

/* HEADER + NAVIGATION -------------------------------------------------- */
header {
  width: 100%;
  background: #161b25;
  border-bottom: 2px solid #262c40;
  position: sticky;
  top: 0;
  z-index: 2222;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 18px 0 14px 0;
  flex-wrap: wrap;
}
header nav a {
  color: #e8e9ec;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 7px 15px;
  border-radius: 6px;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s;
}
header nav a.cta-primary,
.cta-primary {
  background: #F1C93A;
  color: #23292f;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px 0 rgba(241,201,58,0.12);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.13s;
}
header nav a.cta-primary:hover,
.cta-primary:hover {
  background: #fffde6;
  color: #1A233A;
  box-shadow: 0 6px 18px 0 rgba(241,201,58,0.16);
  transform: translateY(-1.5px) scale(1.035);
}
header nav a img {
  margin-right: 12px;
  height: 38px;
  width: auto;
}
header nav a:nth-child(1) {
  padding-left: 0;
  margin-left: 0;
}
/* HIDE BURGER ON DESKTOP, SHOW ON MOBILE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F1C93A;
  font-size: 2.2rem;
  margin-left: auto;
  cursor: pointer;
  z-index: 9999;
  border-radius: 10px;
  padding: 4px 16px 4px 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 3px solid #F1C93A;
  outline-offset: 2px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 84vw;
  max-width: 360px;
  background: #161b25;
  transition: transform 0.36s cubic-bezier(.6,.09,.29,1.18), box-shadow 0.25s, opacity 0.25s;
  transform: translateX(-120%);
  z-index: 4444;
  box-shadow: 2px 0 40px 0 rgba(20,20,24,0.23);
  opacity: 1;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #F1C93A;
  font-size: 2.2rem;
  margin-top: 16px;
  margin-right: 12px;
  cursor: pointer;
  border-radius: 12px;
  padding: 6px 12px;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 30px 36px 24px 26px;
  width: 100%;
  gap: 6px;
}
.mobile-nav a {
  color: #fffde6;
  background: none;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  padding: 13px 0 13px 2px;
  margin-left: 0;
  border-bottom: 1px solid #232a38;
  margin-bottom: 10px;
  transition: background 0.19s, color 0.16s, font-size 0.16s;
}
.mobile-nav a:last-child {
  background: #F1C93A;
  color: #232a38;
  border-radius: 8px;
  padding: 13px 12px 13px 14px;
  margin: 14px 0 0 0;
  font-size: 1.14rem;
  font-weight: 800;
  border: none;
}
.mobile-nav a:hover {
  background: #242b41;
  color: #F1C93A;
}
.mobile-menu.open {
  box-shadow: 2px 0 44px 0 rgba(241,201,58,0.15);
}

/* MAIN, SECTION, GENERAL LAYOUTS --------------------------------------- */
main {
  min-height: 64vh;
  width: 100%;
  background: #11151f;
  padding-top: 10px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FILTERS & FORMS ------------------------------------------------------ */
label, input, select, button, textarea {
  font-family: inherit;
}
input[type="search"], input[type="text"], select {
  border: 1.5px solid #232a38;
  padding: 12px 16px;
  margin: 10px 0 18px 0;
  border-radius: 8px;
  background: #191e2C;
  color: #F1C93A;
  width: 100%;
  outline: none;
  font-size: 1.1rem;
  transition: border 0.19s, background 0.14s, color 0.18s;
}
input[type="search"]:focus, input[type="text"]:focus, select:focus {
  border: 1.7px solid #F1C93A;
  background: #151b26;
  color: #fffde6;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.filter-options button {
  background: #191e2c;
  color: #F1C93A;
  border: 1.2px solid #232a38;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 5px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s;
}
.filter-options button:hover, .filter-options button:focus {
  background: #F1C93A;
  color: #1A233A;
  box-shadow: 0 2px 8px 0 rgba(241,201,58,0.13);
}

/* BUTTONS, INTERACTIONS ------------------------------------------------ */
button, .btn {
  background: #232a38;
  color: #F1C93A;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 8px 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.11s;
  box-shadow: 0 2px 8px 0 rgba(30,36,52,0.16);
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: #F1C93A;
  color: #1A233A;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 6px 14px 0 rgba(241,201,58,0.22);
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: #11151f;
  padding: 44px 0 32px 0;
  border-top: 2px solid #232a38;
  margin-top: 44px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #b6b9bf;
  font-weight: 500;
  padding: 2px 8px;
  font-size: 1.02rem;
  transition: color 0.13s;
}
footer nav a:hover {
  color: #F1C93A;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: #76798b;
  font-size: 0.97rem;
}
footer .text-section img {
  height: 30px;
  margin-right: 10px;
}

footer address {
  font-style: normal;
  color: #6f7380;
  font-size: 0.93em;
  margin-top: 7px;
}

/* COOKIE CONSENT BANNER ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #181f2e;
  color: #fffde6;
  box-shadow: 0 -4px 32px 0 rgba(20,24,32,0.21);
  border-top: 3px solid #F1C93A;
  z-index: 5999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 24px 22px 22px;
  gap: 18px;
  animation: cookieBannerIn 0.5s cubic-bezier(.7,.12,.33,1.28);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong { color: #F1C93A; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-banner button {
  background: #232a38;
  color: #F1C93A;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 6px;
  margin-right: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.16s, box-shadow 0.11s;
}
.cookie-banner button.accept {
  background: #F1C93A;
  color: #232a38;
}
.cookie-banner button.accept:hover {
  background: #fffde6;
  color: #1A233A;
}
.cookie-banner button.reject {
  background: #2a253a;
  color: #e3e2be;
}
.cookie-banner button.reject:hover {
  background: #1A233A;
  color: #F1C93A;
}
.cookie-banner button.settings {
  background: #232a38;
  color: #F1C93A;
}
.cookie-banner button.settings:hover {
  background: #181f2e;
  color: #F1C93A;
}

/* COOKIE SETTINGS MODAL ------------------------------------------------ */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #232a38;
  color: #fffde6;
  border-radius: 15px;
  box-shadow: 0 12px 40px 0 rgba(20,20,25,0.44);
  padding: 48px 30px 32px 30px;
  transform: translate(-50%, -55%) scale(1);
  min-width: 320px;
  max-width: 94vw;
  z-index: 8888;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s, transform 0.3s, visibility 0s 0.27s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -55%) scale(1.03);
  transition: opacity 0.27s, transform 0.3s;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #F1C93A;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1.07rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F1C93A;
  height: 22px;
  width: 22px;
  margin-right: 8px;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 18px;
}
.cookie-modal button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 7px;
}
.cookie-modal .close-modal {
  background: #2a253a;
  color: #e3e2be;
  border: none;
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.38rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s;
}
.cookie-modal .close-modal:hover {
  background: #F1C93A;
  color: #232a38;
}

/* DETAILS FOR CARDS, ADDRESS, ETC. ------------------------------------- */
address {
  font-style: normal;
  color: #b6b9bf;
  margin-bottom: 12px;
  font-size: 1.03em;
}

/* ICON & SOCIALS ------------------------------------------------------ */
.text-section > div, .text-section .socials {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin: 15px 0 0 0;
}
.text-section img[alt*="Instagram"],
.text-section img[alt*="Facebook"] {
  height: 28px;
  width: 28px;
  border-radius: 4px;
  background: #232a38;
  padding: 3px;
  filter: grayscale(0.36) contrast(1.33);
  opacity: 0.82;
  transition: background 0.17s, filter 0.16s, opacity 0.16s;
  margin-right: 2px;
}
.text-section a:hover img[alt*="Instagram"],
.text-section a:hover img[alt*="Facebook"] {
  opacity: 1;
  filter: grayscale(0) contrast(1);
  background: #F1C93A;
}

/* RESPONSIVE DESIGN --------------------------------------------------- */
@media (max-width: 1120px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 730px; }
  .feature-grid > div {
    min-width: 180px;
    padding: 17px 8px;
    font-size: 0.98em;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section, .card, .feature-grid > div {
    border-radius: 11px;
    box-shadow: 0 1px 8px 0 rgba(35,36,47,0.11);
  }
  .container {
    padding: 0 6px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .card {
    min-width: 0;
    padding: 18px 10px;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    padding: 14px 8px;
    margin-bottom: 13px;
  }
  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 0;
  }
  .mobile-menu-toggle {
    display: block;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 9999;
  }
  header nav {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  section {
    padding: 20px 4px;
    margin-bottom: 35px;
  }
  .feature-grid > div {
    padding: 11px 5px;
    font-size: 0.95em;
  }
}

/* SCROLLBAR & SELECTION ----------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: #1A233A;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #11151f;
}
::selection {
  background: #F1C93A;
  color: #232a38;
}

/* HIDE MOBILE MENU ON DESKTOP ------------------------------------------ */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* ANIMATIONS & TRANSITIONS --------------------------------------------- */
.card, .feature-grid > div, .cta-primary, button {
  transition: box-shadow 0.19s, background 0.16s, color 0.16s, transform 0.13s, border 0.14s;
}

/* TYPOGRAPHY SCALE ----------------------------------------------------- */
@media (min-width: 1280px) {
  html { font-size: 17.2px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.18rem; }
}

/* ACCENT ELEMENTS ------------------------------------------------------ */
hr {
  height: 3px;
  border: none;
  background: #F1C93A;
  border-radius: 2px;
  margin: 18px 0;
}

/* MODAL OVERLAY -------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(24,25,40,0.66);
  z-index: 8887;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* TABLES -------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #232a38;
  color: #eaf3ff;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 13px;
  border-bottom: 1px solid #232a38;
}
th {
  background: #1A233A;
  color: #F1C93A;
}

/* ACCESSIBILITY -------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #F1C93A;
  outline-offset: 1.5px;
}

/* PRINT OPTIMIZATION --------------------------------------------------- */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
}
