/* RESET & BASELINE -------------------------------------------------- */
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: #20242a;
  color: #F2F2F2; font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh; position: relative;
}
*, *::before, *::after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: #FFD600; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #FFF4A3; text-decoration: underline; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }


/* TYPOGRAPHY -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  color: #F2F2F2;
  font-weight: 600;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
p, li, td, th {
  font-size: 1.125rem;
  color: #e4e6eb;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
strong { font-weight: 700; color: #FFD600; }

/* HEADERS & HERO -------------------------------------------------- */
header {
  background: #23272f;
  box-shadow: 0 2px 8px rgba(30,36,42,.15);
  position: sticky;
  top: 0;
  z-index: 16;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 80px;
}
header img { height: 48px; margin-right: 18px; filter: grayscale(20%) contrast(1.2); }

.main-nav {
  display: flex; align-items: center; gap: 28px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e4e6eb;
  padding: 8px 4px; border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-nav {
  background: #FFD600;
  color: #23272f;
  padding: 8px 18px;
  border-radius: 26px;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 rgba(40,30,10,.08);
  letter-spacing: 0.11em;
  text-transform: none;
  margin-left: 8px;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.main-nav a.cta-nav:hover { background: #ffe44c; color: #111; box-shadow: 0 2px 12px 0 rgba(97,94,0,0.16); }
.main-nav a:hover:not(.cta-nav), .main-nav a:focus:not(.cta-nav) { background: #2d333b; color: #FFD600; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFD600;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 30;
  margin-left: 18px;
  line-height: 1;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #fff4a3;
}

/* HERO SECTION -------------------------------------------------- */
.hero-section {
  background: linear-gradient(90deg, #23272f 84%, #3b4756 100%);
  min-height: 350px;
  display: flex; align-items: center;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}
.hero-section .content-wrapper {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-section p {
  font-size: 1.2rem; color: #c4c5c6; margin-bottom: 20px;
}

/* SECTION LAYOUTS -------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #21252b;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(22,22,18,.16);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: none;
  box-shadow: none;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FLEX & CARD PATTERNS (MANDATORY) ------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232831;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(28,36,48,.13);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  border: 1.5px solid #333b44;
  color: #e4e6eb;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(48,56,66,.18);
  border-color: #24507A;
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* FEATURES --------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 8px;
}
.features-grid li {
  flex: 1 1 230px;
  min-width: 220px;
  background: #232831;
  border: 1px solid #363b49;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(22,28,40,.14);
  padding: 32px 24px 28px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.features-grid li img {
  width: 48px;
  height: 48px;
  filter: grayscale(35%) contrast(1.08);
  margin-bottom: 8px;
}
.features-grid li:hover, .features-grid li:focus-within {
  border-color: #24507A;
  box-shadow: 0 6px 26px 0 rgba(44,60,90,0.18);
  z-index: 1;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS -------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px 22px 28px;
  background: #F2F2F2;
  border-left: 6px solid #24507A;
  border-radius: 10px;
  margin-bottom: 24px;
  color: #232831;
  box-shadow: 0 2px 12px 0 rgba(30,34,60,0.11);
  min-width: 200px;
  max-width: 600px;
  font-size: 1.09rem;
  transition: box-shadow 0.14s;
}
.testimonial-card p {
  color: #232831;
}
.testimonial-card span,
.testimonial-card strong {
  color: #24507A;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(46,48,60,.19);
}

/* CTA Button -------------------------------------------------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: 32px;
  background: #FFD600;
  color: #23272f;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(60,52,8,.09);
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, box-shadow 0.15s, transform 0.1s;
}
.cta-button:hover, .cta-button:focus {
  background: #ffe44c;
  color: #111;
  box-shadow: 0 6px 19px 0 rgba(70,66,20,.16);
  transform: translateY(-1px) scale(1.04);
}

.cta-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232831;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px 0 rgba(18,24,49,.09);
}

/* CONTACT DETAILS -------------------------------------------------- */
.contact-details {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  filter: grayscale(50%) brightness(0.85) contrast(1.15);
}

/* TABLES -------------------------------------------------- */
table {
  background: #232831;
  border-radius: 10px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px 0 rgba(30,34,60,0.08);
  border: 1.5px solid #333b44;
  overflow: hidden;
  font-size: 1rem;
}
thead tr { background: #293242; color: #FFD600; }
thead th { padding: 14px 12px; letter-spacing: 0.06em; text-align: left; }
tbody td { padding: 12px 12px; color: #e4e6eb; border-top: 1px solid #353c49; }

/* LISTS -------------------------------------------------- */
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
ul li, ol li {
  padding-left: 2px;
  margin-bottom: 8px;
  font-size: 1.09rem;
  color: #dedede;
  position: relative;
}
ul li::before {
  content: '\2022'; color: #FFD600;
  font-size: 1.4em; display: inline-block; width: 1.1em; margin-left: -1.1em;
}
ol li::before { content: ''; }

/* FOOTER -------------------------------------------------- */
footer {
  background: #23272f;
  box-shadow: 0 -2px 16px 0 rgba(16,18,22,.12);
  padding: 38px 0 12px 0;
  color: #e4e6eb;
  font-size: 1rem;
  margin-top: 60px;
}
.footer-links {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #e4e6eb;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 0;
  transition: color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #FFD600;
  text-decoration: underline;
}
.contact-summary {
  margin-top: 18px;
  margin-bottom: 4px;
  color: #b4b7bc;
  font-size: 0.98rem;
}

/* MAP SNIPPET -------------------------------------------------- */
.map-snippet {
  background: #232831;
  padding: 14px 22px;
  margin: 20px 0 10px 0;
  border-left: 4px solid #24507A;
  color: #FFD600;
  border-radius: 8px 25px 25px 8px;
  font-size: 1.07rem;
  box-shadow: 0 1px 4px 0 rgba(30,34,60,0.09);
}

/* MOBILE MENU (BURGER NAV) -------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #232831ee;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.82,0,.36,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFD600;
  font-size: 2.1rem;
  padding: 28px 18px 10px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1011;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #ffe44c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 14px 38px;
  gap: 20px;
}
.mobile-nav a {
  color: #FFD600;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  padding: 12px 0;
  margin-left: 0;
  margin-bottom: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #363b49;
  width: 100%;
  transition: background 0.17s, color 0.13s;
  border-radius: 6px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2c3139; color: #FFF4A3;
}


/* COOKIE CONSENT BANNER ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232831;
  color: #f2f2f2;
  box-shadow: 0 -1.5px 10px 0 rgba(0,0,0,0.17);
  padding: 23px 18px 20px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 2000;
  gap: 24px;
  width: 100vw;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.22s cubic-bezier(.8,0,.19,1);
}
.cookie-banner.closed {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner__text {
  max-width: 650px; color: #ffd600; margin-bottom: 6px;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 8px 20px;
  border: none;
  border-radius: 24px;
  margin-right: 2px;
  margin-left: 0;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.cookie-banner .cookie-accept {
  background: #29b66c; color: #fff; box-shadow: 0 2px 10px 0 rgba(70,130,90,0.07);
  font-weight: bold;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: #1f9451;
}
.cookie-banner .cookie-reject {
  background: #fff; color: #232831; font-weight: bold; border: 2px solid #232831;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #df2530; color: #fff;
}
.cookie-banner .cookie-settings {
  background: #FFD600; color: #232831; font-weight: bold; margin-left: 3px;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #fff4a3; color: #232831;
}

/* COOKIE SETTINGS MODAL --------------- */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,40,46,0.91);
  z-index: 2003;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #232831;
  color: #FFD600;
  padding: 32px 26px 26px 26px;
  border-radius: 14px;
  width: 96vw; max-width: 410px;
  box-shadow: 0 6px 32px 0 rgba(28,30,40,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2004;
}
.cookie-modal h2 {
  color: #FFD600; font-size: 1.18rem; margin-bottom: 9px;
}
.cookie-modal label,
.cookie-modal .cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  color: #F2F2F2;
  font-size: 1.04rem;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  appearance: none; width: 42px; height: 22px;
  border-radius: 14px; background: #333;
  position: relative;
  outline: none; transition: background 0.2s;
  margin-left: 9px;
}
.cookie-modal .cookie-toggle:checked {
  background: #24507A;
}
.cookie-modal .cookie-toggle:after {
  content: "";
  display: block; width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFD600;
  position: absolute; left: 2px; top: 2px;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle:checked:after {
  left: 22px;
}
.cookie-modal .cookie-actions {
  display: flex; gap: 10px; margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 12px; right: 14px; background: none;
  border: none; color: #FFD600; font-size: 1.5rem; cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #fff4a3;
}

/* SCROLLBAR -------------------------------------------------- */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { background: #232831; border-radius: 4px; }
body::-webkit-scrollbar-track { background: #20242a; }


/* RESPONSIVE LAYOUTS ----------------------------------------------- */
@media (max-width: 1200px) {
  .hero-section .container, .container { max-width: 100vw; }
  .footer-links { flex-direction: column; gap: 12px; }
}
@media (max-width: 1024px) {
  .features-grid { gap: 18px; }
  .features-grid li { padding: 24px 14px; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 5px; height: 70px; }
  .main-nav { gap: 18px; }
  .features-grid li, .card { min-width: 170px; }
}
@media (max-width: 768px) {
  /* Layout stacks to column, burger shows */
  header .container { height: 60px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .features-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features-grid li { width: 100%; min-width: unset; }
  .testimonial-card { max-width: 100%; }
  .content-wrapper, .text-section, .section, .container { padding-right: 8px; padding-left: 8px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.22rem; }
  .hero-section { min-height: 150px; }
  .section, .cta-section { padding: 18px 2px; }
  .content-wrapper, .text-section { padding: 0 2px; }
  .container { padding: 0 2px; }
  footer { padding: 18px 2px 7px 2px; }
  .map-snippet { padding: 10px 8px; font-size: 0.99rem; }
  .card, .features-grid li { padding: 16px 7px 14px 10px; }
  .cookie-banner { flex-direction: column; gap: 13px; padding: 18px 6px 11px 6px; font-size: 0.92rem; }
}

/* TRANSITIONS & EFFECTS ------------------------------------------ */
.card, .features-grid li, .cta-button, .testimonial-card, .main-nav a, .footer-links a, .mobile-menu, .cookie-banner, .cookie-banner button, .mobile-nav a {
  transition: box-shadow 0.14s, border-color 0.17s, background 0.16s, color 0.13s, transform 0.13s;
}

/* DARK/METALLIC ACCENTS ------------------------------------------ */
.section, .cta-section, .features-grid li, .card, .map-snippet, .testimonial-card { border-left: 5px solid #24507A; }
.features-grid li, .card { border-image: linear-gradient(to bottom, #24507A, #232831) 1 100%; }

/* VISUAL HIERARCHY ----------------------------------------------- */
.content-wrapper > h2, .content-wrapper > h1 {
  border-bottom: 2px solid #FFD600;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 15px;
}

/* Z-INDEX SAFETY ------------------------------------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 1000; }
.mobile-menu.open { z-index: 2001; }

/* NO ABSOLUTE for cards or text blocks, absolute/relative only for deco-ue, modals/buttons */

/* MISC -------------------------------------------------- */
::-webkit-input-placeholder {color: #8b95a6;}
::-moz-placeholder {color: #8b95a6;}
:-ms-input-placeholder {color: #8b95a6;}
::placeholder {color: #8b95a6;}

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