/* ================== 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;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #10181B;
  color: #EFEFEF;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

/* ================== CSS VARIABLES ================== */
:root {
  --color-primary: #18495A;
  --color-secondary: #E0B400;
  --color-accent: #FFFFFF;
  --color-bg: #10181B;
  --color-dark: #182024;
  --color-gray: #4e5a60;
  --color-steel: #BDC6CE;
  --shadow-card: 0 4px 20px rgba(33,33,33,0.09);
  --shadow-metal: 0 2px 8px rgba(24,73,90,0.11);
  --radius: 10px;
  --metal-gradient: linear-gradient(125deg,#23282c 0%,#48586b 100%);
}

/* ================== TYPOGRAPHY ================== */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #EFEFEF;
  background: var(--color-bg);
  letter-spacing: 0.01em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Arial Black', Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  color: var(--color-accent);
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, .text-section, .testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.text-section {
  margin-bottom: 22px;
}
strong, b { color: var(--color-steel); font-weight: bold; }

/* ================== FLEXBOX LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* inner layouts define gaps */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--metal-gradient);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid #232A2F;
  padding: 32px 24px;
  color: var(--color-accent);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(24,73,90,0.16);
  transform: translateY(-4px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(24,73,90,0.14);
  background: #EEE;
  color: #182024;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-primary);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(224,180,0,0.12);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-details {
  font-size: 0.95rem;
  color: var(--color-secondary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================== HEADER & NAVIGATION ================== */
header {
  width: 100%;
  background: #181F23;
  box-shadow: 0 2px 8px rgba(24,73,90,0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 0;
}
.logo img {
  height: 48px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: #EFEFEF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.17s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(224,180,0,0.10);
  margin-left: 20px;
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, transform 0.17s;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 6px 24px rgba(24,73,90,0.22);
  border: 1.5px solid var(--color-secondary);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  background: #191f24;
  color: var(--color-secondary);
  border-radius: 24px;
  padding: 12px 28px;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  border: 1.5px solid var(--color-secondary);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(24,73,90,0.14);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(224,180,0,0.16);
  border: 1.5px solid var(--color-primary);
}
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1.6rem;
  margin-left: 22px;
  cursor: pointer;
  display: none;
  transition: background 0.15s, color 0.1s, box-shadow 0.19s;
  box-shadow: 0 1px 3px rgba(24,73,90,0.10);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFD900;
  color: #10181B;
  box-shadow: 0 2px 10px rgba(224,180,0,0.28);
}
@media (max-width: 990px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary { margin-left: 0; }
}

/* ================== MOBILE MENU ================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24, 25, 30, 0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.68,-0.55,0.27,1.55), opacity 0.24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--color-secondary);
  border: none;
  font-size: 2.3rem;
  margin: 28px 30px 0 0;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 12vh;
  padding: 0 36px 40px 36px;
  width: 100%;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 16px 8px 16px 12px;
  border-radius: 4px;
  transition: background 0.19s, color 0.21s;
  font-weight: 600;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================== HERO SECTION ================== */
.hero-section {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--metal-gradient);
  color: var(--color-secondary);
  box-shadow: var(--shadow-metal);
  position: relative;
}
.hero-section h1 {
  color: var(--color-secondary);
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.subheadline {
  color: var(--color-steel);
  font-size: 1.07rem;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}

/* ================== FEATURES ================== */
.features-section {
  background: #181F23;
  box-shadow: 0 4px 32px rgba(24,73,90, 0.09);
  border-bottom: 1px solid #313c42;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid li {
  flex: 1 1 215px;
  background: #20282d;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 3px solid var(--color-secondary);
  color: #EFEFEF;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  min-width: 190px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 36px rgba(224,180,0,0.16);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  filter: grayscale(0.2) drop-shadow(0 2px 3px #2222);
}
.feature-grid h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ================== HIGHLIGHTS ================== */
.highlights-section {
  background: #161c20;
}
.highlight-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.highlight-card {
  background: #23282c;
  color: #FFD900;
  border: 1.5px solid #E0B40021;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}
.highlight-card h3 {
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.highlight-card:hover {
  box-shadow: 0 10px 36px rgba(224,180,0,0.13);
  background: #222e34;
  transform: scale(1.02);
}

/* ================== CALLOUT ================== */
.callout-section {
  background: #232A2F;
  color: var(--color-accent);
  text-align: center;
}
.callout-section h2 { color: var(--color-secondary); }
.callout-section p { color: #EFEFEF; margin-bottom: 14px; }

/* ================== TESTIMONIALS ================== */
.testimonials-section {
  background: #181F23;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-bottom: 0;
  border-top: 1px solid #313c42;
  border-bottom: 1px solid #232A2F;
}
.testimonials-section h2 {
  color: var(--color-secondary);
  margin-bottom: 24px;
}
/* Try to limit testimonials in a single column on narrow screens */
@media (max-width: 880px) {
  .feature-grid, .highlight-cards {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    padding: 18px 12px;
  }
  .feature-grid li, .highlight-card {
    padding: 22px 12px;
  }
}

/* ================== MAIN CONTENT & BUTTONS ================== */
.text-section ul, .content-wrapper ul {
  list-style: disc inside;
  padding-left: 18px;
  margin-bottom: 18px;
}
.text-section ol {
  list-style: decimal inside;
  padding-left: 20px;
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 9px;
}
.text-section a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.18s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--color-accent);
}
.map-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: #1b2124;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  margin-top: 18px;
}
.map-placeholder img {
  width: 82px;
  height: 82px;
  filter: grayscale(0.3);
}

/* ================== FOOTER ================== */
footer {
  background: #181F23;
  color: #EFEFEF;
  padding: 42px 0 32px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-logo img {
  max-width: 58px;
  filter: drop-shadow(0 2px 8px #131b1b33);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 0;
  border-radius: 3px;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  margin-top: 6px;
}
.contact-footer img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
@media (max-width: 740px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11111;
  background: #292F33;
  color: #EEE;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 22px 20px;
  box-shadow: 0 -2px 14px rgba(24,73,90,0.12);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  transition: transform 0.34s cubic-bezier(0.82,0,0.33,1.13), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner span {
  max-width: 600px;
  font-size: 1.01rem;
}
.cookie-banner .btn-cookie {
  margin-left: 12px;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-secondary);
  transition: background 0.19s, color 0.2s, box-shadow 0.17s;
}
.cookie-banner .btn-cookie.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-right: 8px;
}
.cookie-banner .btn-cookie.reject {
  background: #1b232e;
  color: var(--color-steel);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .btn-cookie.settings {
  background: #232A2F;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  box-shadow: 0 2px 14px rgba(224,180,0,0.17);
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ================== COOKIE PREFERENCES MODAL ================== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,27,33,0.85);
  z-index: 11113;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.17s;
}
.cookie-modal {
  background: #232A2F;
  color: #EFEFEF;
  border-radius: var(--radius);
  padding: 38px 26px 30px 26px;
  min-width: 340px;
  max-width: 96vw;
  box-shadow: 0 0 32px rgba(24,73,90,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideIn 0.33s cubic-bezier(0.82,0,0.33,1.13);
}
@keyframes modalSlideIn {
  from { transform: translateY(120px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #181F23;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: 1.5px solid #444F55;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal .toggle-switch:checked {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-modal .toggle-switch:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EEE;
  box-shadow: 0 1px 3px #0002;
  transition: left 0.18s, background 0.15s;
}
.cookie-modal .toggle-switch:checked:before {
  left: 19px;
  background: var(--color-primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn-cookie {
  min-width: 120px;
}
.cookie-modal .always-on {
  color: var(--color-secondary);
  font-size: 0.95rem;
  margin-left: 10px;
}

/* ================== RESPONSIVE LAYOUTS ================== */
@media (max-width: 950px) {
  .container { max-width: 98vw; }
  .feature-grid,
  .highlight-cards,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.2rem; }
  .section { padding: 28px 6px; margin-bottom: 32px; }
  .content-wrapper { gap: 14px; }
}
@media (max-width:420px) {
  .hero-section h1 { font-size:1.35rem; }
}

/* ================== MISCELLANEOUS ================== */
::-webkit-scrollbar { width: 9px; background: #24282a; }
::-webkit-scrollbar-thumb { background: #232A2F; border-radius: 9px; }

input, textarea, select {
  border-radius: 6px;
  border: 1.5px solid #333;
  background: #191E22;
  color: var(--color-accent);
  font-size: 1rem;
  padding: 8px 14px;
  margin-bottom: 14px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  background: #22282d;
}

/* LINK & BUTTON ACCESSIBILITY */
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ============= Spacing between all main sections/cards ============= */
.section + .section,
.section + section,
.content-wrapper + .content-wrapper,
.card + .card,
.highlight-card + .highlight-card,
.testimonial-card + .testimonial-card,
li + li {
    margin-top: 20px;
}

/* Special for sections without .section class */
main > section { margin-bottom: 60px; }
main > section:last-child { margin-bottom: 0; }

/* ================== ICONS ================== */
.feature-grid img, .contact-footer img {
  filter: grayscale(0.05) brightness(1.1) drop-shadow(0 1px 1px #18202444);
}

/* ================== ANIMATIONS & MICRO-INTERACTIONS ================== */
.btn-primary, .btn-secondary, .btn-cookie {
  transition: background 0.18s, color 0.17s, box-shadow 0.21s, border 0.18s, transform 0.15s;
}
.feature-grid li, .highlight-card, .testimonial-card, .card {
  transition: box-shadow 0.17s, background 0.19s, transform 0.17s;
}

/* ================== END ================== */