/* ==== CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f8f9fb;
  color: #23272A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==== BRAND COLOR & FONT VARIABLES ==== */
:root {
  --color-primary: #125B8C;
  --color-secondary: #23272A;
  --color-accent: #F3C905;
  --color-background: #f8f9fb;
  --color-surface: #fff;
  --color-text: #23272A;
  --color-heading: #15171a;
  --color-gold: #F3C905;
  --color-shadow: rgba(18,91,140,0.08);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

.text-section,
.text-image-section {
  font-size: 1rem;
  color: var(--color-text);
}

.text-section a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
.text-section a:hover {
  color: var(--color-gold);
}

/* ==== BUTTONS ==== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  min-width: 160px;
  cursor: pointer;
  box-shadow: 0 2px 24px 0 var(--color-shadow);
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.3s, border 0.2s;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  position: relative;
  z-index: 1;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-primary) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  color: var(--color-primary);
  background: #fff;
  border-color: var(--color-gold);
}
.btn-primary:hover::after, .btn-primary:focus::after {
  opacity: 0.18;
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  position: relative;
  z-index: 1;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary,
.btn-secondary {
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}

/* ==== HEADER, NAV, LOGO ==== */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 24px 0 var(--color-shadow);
  z-index: 1001;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  padding: 20px 24px;
  margin: 0 auto;
}
header img {
  height: 38px;
  display: block;
  margin-right: 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 400;
  position: relative;
  padding: 3px 0px;
  transition: color 0.2s;
}
header nav a:hover, header nav a.active {
  color: var(--color-primary);
}
header nav a::after {
  content: '';
  display: block;
  margin: 0 auto;
  height: 2px;
  width: 0%;
  background: var(--color-gold);
  border-radius: 2px;
  transition: width 0.25s;
}
header nav a:hover::after {
  width: 85%;
}
header .btn-primary {
  margin-left: 16px;
  box-shadow: none;
}

/* ==== MAIN CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

main {
  margin-top: 0;
}

/* ==== SECTION & SPACING ==== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: none;
}

.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.features-grid {
  gap: 32px;
  flex-wrap: wrap;
}
.feature {
  background: var(--color-surface);
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  padding: 32px 24px 28px 24px;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border 0.23s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 8px 28px 1px rgba(19,27,54,0.11);
  border-color: var(--color-gold);
  transform: translateY(-3px) scale(1.025);
}
.feature img {
  height: 44px;
  margin-bottom: 16px;
}
.feature h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.feature p {
  font-size: 1rem;
  color: var(--color-text);
}

.card-container {
  margin-bottom: 46px;
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  box-shadow: 0 4px 26px 1px rgba(19,27,54,0.15);
  border-color: var(--color-gold);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  margin-bottom: 32px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbe7;
  border: 1.5px solid var(--color-gold);
  border-radius: 20px;
  padding: 24px 32px 22px 32px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 340px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #23272A;
  box-shadow: 0 4px 26px 0 rgba(243, 201, 5, 0.08);
  position: relative;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}
.testimonial-card p {
  color: #23272A;
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-family: var(--font-display);
}
.testimonial-card img {
  height: 18px;
  margin:0 2px;
}
.testimonial-card:hover {
  background: #fffdd7;
  box-shadow: 0 6px 24px 0 rgba(243, 201, 5, 0.14);
}

.services-list li {
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
}
.services-list li strong {
  color: var(--color-gold);
  font-family: var(--font-display);
}

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

/* ==== FOOTER ==== */
footer {
  background: #23272A;
  color: #dbdad7;
  padding: 50px 0 30px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer img {
  height: 36px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #f0e9ce;
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: 0.78;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover {
  color: var(--color-gold);
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  opacity: 0.80;
  margin-top: 12px;
}
.footer-copy {
  font-size: 0.98rem;
  margin-top: 16px;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 1101;
  top: 22px;
  right: 22px;
  font-size: 2.5rem;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active { background: #f5f5f5; }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #13171D;
  z-index: 2100;
  box-shadow: 0 12px 36px 0 rgba(24,18,45,0.22);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  margin-top: 26px;
  margin-right: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover { color: var(--color-gold); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 48px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-display);
  padding: 8px 0;
  border-radius: 12px;
  width: 100%;
  transition: background 0.16s, color 0.15s;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: rgba(243,201,5,0.07);
  color: var(--color-gold);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px;
  }
}
@media (max-width: 900px) {
  .feature {
    flex: 1 1 160px;
    max-width: 48%;
    padding: 26px 10px 20px 10px;
  }
  .testimonial-card {
    padding: 20px 12px;
  }
  .card-container, .features-grid, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 14px 8px;
    gap: 12px;
  }
  nav {
    display: none;
  }
  .btn-primary {
    margin: 0 0 0 auto;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature,
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .section, section {
    padding: 32px 5px;
    margin-bottom: 40px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-info {
    font-size: 0.89rem;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .btn-primary, .btn-secondary {
    min-width: 100px;
    font-size: 0.98rem;
    padding: 10px 20px;
  }
  .section, section {
    padding: 22px 0px;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  border-top: 1.5px solid var(--color-gold);
  box-shadow: 0 -2px 22px 0 rgba(243, 201, 5, 0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 18px;
  z-index: 9999;
  font-family: var(--font-body);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: #23272A;
  font-size: 1.09rem;
  margin-right: 18px;
  max-width: 450px;
  line-height: 1.6;
}
.cookie-banner__actions {
  display: flex;
  gap: 20px;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
  margin: 0 2px;
  transition: background 0.19s, color 0.19s, border 0.15s;
  box-shadow: 0 2px 8px 0 rgba(243, 201, 5, 0.10);
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: var(--color-gold);
  color: var(--color-secondary);
}
.cookie-banner__btn.accept {
  background: var(--color-gold);
  color: var(--color-secondary);
  border-color: var(--color-gold);
}
.cookie-banner__btn.accept:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__btn.settings {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-gold);
}
.cookie-banner__btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border-color: #ddd;
}
.cookie-banner__btn.reject:hover {
  background: #f8f8f8;
  border-color: #bbb;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 12px;
    padding: 14px 6px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18, 91, 140, 0.17);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
.cookie-modal.show {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal__window {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(18,91,140,0.18);
  padding: 32px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.22s;
}
.cookie-modal__close:hover {
  color: var(--color-gold);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal__category:last-child { border-bottom: none; }
.cookie-modal__category-label {
  font-size: 1rem;
  color: #23272A;
  font-family: var(--font-body);
}
.cookie-modal__toggle {
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}
.cookie-modal__toggle input[type="checkbox"] {
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #e2e2e2;
  outline: none;
  transition: background 0.19s;
  margin: 0;
  box-shadow: none;
  border: none;
}
.cookie-modal__toggle input[type="checkbox"]:checked {
  background: var(--color-gold);
}
.cookie-modal__toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  transition: transform 0.22s;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 #e0c90529;
}
.cookie-modal__toggle input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

/* ==== ANIMATIONS / MICRO-INTERACTIONS ==== */
.btn-primary, .btn-secondary,
.feature, .testimonial-card,
.mobile-menu, .cookie-banner, .cookie-modal__window {
  transition: box-shadow 0.18s, border 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}
.feature:active, .testimonial-card:active { transform: scale(0.99); }

/* ==== FLEXBOX CONSISTENCY ==== */
.content-wrapper, .features-grid, .card-container,
.content-grid, .testimonial-slider, .footer-info {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: row;
  }
}

/* ==== MINIMUM GAP & SPACING ==== */
.features-grid,
.card-container,
.content-grid,
.section,
section {
  gap: 20px;
}
.card, .feature, .testimonial-card { margin-bottom: 20px; }

/* ==== MISC HELPERS ==== */
::-webkit-scrollbar { width:8px; height:8px; background: #ececeb; }
::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 8px; }

/* ==== PRINT FIXES ==== */
@media print {
  header,footer,.mobile-menu,.cookie-banner,.cookie-modal {display:none!important;}
  body {background:#fff;}
}