/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #111820;
  color: #F6EFD9;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #F6EFD9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB400;
  text-decoration: underline;
  outline: none;
}
button, .cta-btn, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s, border-color 0.15s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #F6EFD9;
  outline-offset: 2px;
}

/* ==== BRAND FONTS ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F6EFD9;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.1; }
h2 { font-size: 1.75rem; line-height: 1.17; }
h3 { font-size: 1.25rem; line-height: 1.2; }
h4, h5, h6 { font-size: 1.1rem; line-height: 1.2; }
p { margin-bottom: 18px; }
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}

/* ==== BRAND COLORS & PALETTE ==== */
:root {
  --clr-primary: #285171;
  --clr-secondary: #0F2D3C;
  --clr-accent: #F6EFD9;
  --clr-bg: #111820;
  --clr-bg-light: #20303F;
  --clr-metal: #63707C;
  --clr-link: #F6EFD9;
  --clr-link-hover: #FFB400;
  --clr-card-bg: #182430;
  --clr-shadow: rgba(20, 24, 37, 0.10);
  --clr-shadow-dark: rgba(22, 28, 35, 0.28);
  --clr-border: #192531;
  --clr-success: #83C07B;
  --clr-error: #DE5959;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ==== MAIN LAYOUT & CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}

main {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.card {
  margin-bottom: 20px;
  background: var(--clr-card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 14px var(--clr-shadow-dark);
  position: relative;
  padding: 24px;
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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: 24px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .container {
    padding: 0 9px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F6EFD9;
  color: #192531;
  border-radius: 8px;
  box-shadow: 0 6px 18px var(--clr-shadow-dark);
  border-left: 4px solid var(--clr-metal);
  position: relative;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #222;
  font-size: 1.125rem;
  margin: 0 0 4px 0;
}
.testimonial-card cite {
  font-size: 0.98rem;
  font-weight: 600;
  color: #3C4E5C;
  letter-spacing: 0.04em;
}

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

.features ul, .services ul, .about ul, .about ol {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features li, .services li, .about li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  color: #F6EFD9;
  font-size: 1rem;
  padding: 0;
}
.features li img, .about li img {
  width: 32px;
  height: 32px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(105deg, #0F2D3C 50%, #285171 100%);
  box-shadow: 0 10px 24px var(--clr-shadow);
  margin-bottom: 60px;
  padding: 48px 0 36px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #F6EFD9;
  font-size: 2.3rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.hero p {
  color: #C6CEDB;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0;
    margin-bottom: 40px;
  }
  .hero h1 { font-size: 1.5rem; }
}

/* ===== HEADER & MAIN NAVIGATION ===== */
header {
  width: 100%;
  background: #0F2D3C;
  border-bottom: 1px solid #222D36;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px var(--clr-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header a img { max-height: 48px; }
nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #F6EFD9;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 0.15s;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: #FFB400;
  border-bottom: 2px solid #FFB400;
}

.cta-btn {
  margin-left: 18px;
  background: linear-gradient(90deg,#285171 80%,#384F60 100%);
  color: #F6EFD9;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  box-shadow: 0 4px 16px var(--clr-shadow-dark);
  border: 1px solid #444C54;
  text-transform: uppercase;
  transition: background 0.13s, color 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #192531;
  color: #FFB400;
  box-shadow: 0 2px 18px #444C54;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #F6EFD9;
  margin-left: auto;
  padding: 8px 15px;
  border-radius: 6px;
  z-index: 110;
  border: none;
  transition: background 0.17s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #384F60;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #111820ee;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.74,.05,.67,.98);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #F6EFD9;
  background: none;
  margin: 18px 22px 0 0;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.13s;
}
.mobile-menu-close:hover{
  background: #384F60;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 36px;
  gap: 12px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #F6EFD9;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  display: block;
  border-bottom: 1px solid #243040;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #20303F;
  color: #FFB400;
}

@media (max-width: 1000px) {
  nav.main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ===== SECTIONS & CARDS ===== */
.features, .services, .about, .contact, .testimonials {
  padding-top: 16px;
  padding-bottom: 16px;
  margin-bottom: 54px;
}
.services {
  background: #182430;
  border-radius: 10px;
  box-shadow: 0 2px 14px var(--clr-shadow-dark);
}

/* --- Cards & Content --- */
.card-container .card {
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 340px;
}

/* === MAP PLACEHOLDER FOR CONTACT === */
.map-placeholder {
  width: 100%;
  background: #20303F;
  color: #F6EFD9;
  border-radius: 5px;
  box-shadow: 0 2px 12px var(--clr-shadow);
  padding: 16px;
  margin: 8px 0 24px 0;
  text-align: center;
  font-size: 0.97rem;
}

/* ===== FOOTER ===== */
footer {
  background: #0F2D3C;
  color: #F6EFD9;
  padding: 26px 0 18px 0;
  position: relative;
  border-top: 1px solid #242E34;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav, .footer-menu {
  font-size: 1rem;
}
.footer-nav a, .footer-menu a {
  color: #c6cedb;
  font-family: var(--font-display);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-menu a:hover {
  color: #FFB400;
  border-bottom: 1px solid #FFB400;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0 0 0;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(50%) sepia(.1) opacity(.87);
  transition: filter 0.18s;
}
.footer-social img:hover {
  filter: grayscale(0%) sepia(.2) opacity(1);
}
.footer-legal {
  text-align: left;
  color: #adb7bc;
  font-size: 0.97rem;
  margin-top: 10px;
}

@media (max-width: 700px) {
  footer .container { padding: 0 10px; }
  .footer-legal, .footer-nav, .footer-menu { font-size: 0.93rem; }
  .footer-social img { width: 26px; height: 26px; }
}

/* === BUTTONS & FORMS === */
button, .cta-btn {
  outline: none;
}

/* Nice micro-interaction for all actionable elements */
button:active, .cta-btn:active {
  transform: translateY(2px) scale(.97);
}

input, textarea {
  font-family: var(--font-body);
  border: 1px solid #243040;
  background: #222d36;
  padding: 10px 15px;
  color: #F6EFD9;
  margin-bottom: 18px;
  border-radius: 5px;
  transition: border-color 0.16s;
  font-size: 1rem;
}
input:focus, textarea:focus {
  border-color: #FFB400;
  outline: none;
  background: #20303F;
}
label { margin-bottom: 7px; display: block; font-weight: 500; }


/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #192531ed;
  color: #F6EFD9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2500;
  box-shadow: 0 -2px 16px #222e36aa;
  padding: 22px 16px 22px 16px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.77,.04,.73,.93), opacity 0.2s;
  transform: translateY(108%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  background: #20303F;
  color: #F6EFD9;
  border: 1px solid #63707C;
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background 0.13s, color 0.16s, border 0.16s;
}
.cookie-banner button.accept {
  background: #285171;
  border-color: #285171;
}
.cookie-banner button.accept:hover {
  background: #0F2D3C;
  color: #FFB400;
}
.cookie-banner button.reject {
  background: #383B3E;
  color: #DE5959;
  border-color: #DE5959;
}
.cookie-banner button.reject:hover {
  background: #222426;
}
.cookie-banner button.settings {
  background: none;
  color: #F6EFD9;
  border: 1px dotted #F6EFD9;
}
.cookie-banner button.settings:hover {
  background: #182430;
}

/* Cookie Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(22,32,45,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.65,0,.46,1);
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #222D36;
  color: #F6EFD9;
  padding: 34px 24px 24px 24px;
  border-radius: 16px;
  min-width: 290px;
  max-width: 98vw;
  box-shadow: 0 6px 48px 6px #20303Fcc;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookiepop-in 0.44s cubic-bezier(.75, .04, .60, .89);
}
@keyframes cookiepop-in {
  0% {transform:scale(.93) translateY(80px); opacity:0;}
  100% {transform:scale(1) translateY(0); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.44rem;
  color: #F6EFD9;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #285171;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  color: #FFB400;
  font-size: 1.59rem;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-modal:hover { color: #DE5959; }

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ==== RESPONSIVE ADJUSTMENTS ==== */
@media (max-width: 700px) {
  h1, h2 { font-size: 1.12rem; }
  nav.main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
  .section, .features, .services, .about, .testimonials, .contact {
    padding: 22px 8px;
    margin-bottom: 38px;
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    padding: 15px;
    gap: 10px;
  }
  .about ul, .features ul, .services ul {
    gap: 9px;
  }
}
@media (max-width: 480px) {
  .footer-nav, .footer-menu { flex-direction: column; gap: 3px; }
  .footer-social { gap: 8px; }
}

/* === MICRO-ANIMATIONS === */
a, button, .cta-btn, .mobile-menu-toggle,
.mobile-menu-close, .cookie-banner button {
  transition: background 0.13s, color 0.16s, border 0.13s, box-shadow 0.19s, transform 0.13s;
}

/* ======= VISUAL ACCENTS (INDUSTRIAL FEEL) ======= */
.section, .features, .services, .about, .testimonials, .contact, .card {
  border-bottom: 2px solid #28517155;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 10px var(--clr-shadow);
}
h1, h2, h3 {
  text-shadow: 0 0px 8px #20303F85;
  letter-spacing: 0.01em;
}

/* Metallic accent bars */
.section::before, .features::before, .services::before, .about::before, .testimonials::before, .contact::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg,#b7bec5 0%, #63707C 100%);
  border-radius: 1.5px;
  margin-bottom: 18px;
}

@media (max-width: 500px) {
  .section::before, .features::before, .services::before, .about::before, .testimonials::before, .contact::before {
    width: 44px;
    margin-bottom: 10px;
  }
}

/* === SCROLLBARS FOR INDUSTRIAL LOOK ===*/
::-webkit-scrollbar {
  width: 10px;
  background: #192531;
}
::-webkit-scrollbar-thumb {
  background: #36414c;
  border-radius: 8px;
  border: 2px solid #243040;
}
::-webkit-scrollbar-thumb:hover { background: #285171; }

/* === INDUSTRIAL FONTS (FALLBACKS INCLUDED) === */
body, .cookie-banner, .cookie-modal, input, textarea {
  font-family: var(--font-body), 'Segoe UI', Arial, sans-serif;
}
h1, h2, h3, nav, .cta-btn, .cookie-banner button {
  font-family: var(--font-display), 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

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