/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #24282b;
  color: #F4F6F8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

*, *:before, *:after {
    box-sizing: inherit;
}
a {
  color: #A9D9C0;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #F4F6F8;
  text-decoration: underline;
}
ul {
  list-style: disc inside;
  margin-left: 1.2em;
}
img {
  max-width: 100%;
  display: block;
}

/* BRAND FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* VARIABLES (fallbacks included) */
:root {
  --primary: #254949;
  --secondary: #A9D9C0;
  --accent: #F4F6F8;
  --metal: #6e7e85;
  --metal-dark: #23272b;
  --shadow-dark: 0 4px 36px rgba(30,35,38,.28);
  --radius: 12px;
  --transition: all .25s cubic-bezier(.72,0,.31,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* CONTAINERS & LAYOUT -------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section-cta {
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #262d31;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  padding: 32px 24px;
  flex: 1 1 300px;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f7f9fb;
  color: #23282d;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(43,54,55,.10);
  border-left: 6px solid var(--secondary);
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 18px;
  border: none;
  color: #1d2426;
  margin-right: 24px;
}
.testimonial-card p {
  margin: 0;
  font-weight: 600;
  color: #354248;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 340px;
  background: #262d31;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(30,34,38,0.15);
  padding: 28px 20px 24px 20px;
  margin-bottom: 20px;
  position: relative;
  border-top: 3px solid var(--metal);
  transition: box-shadow .23s, border-color .22s;
}
.feature-item img {
  width: 40px; height: 40px;
  filter: brightness(94%) contrast(110%) grayscale(40%);
}
.feature-item h3 {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 20px;
  margin-bottom: 0;
}
.feature-item p {
  color: var(--accent);
  font-size: 15px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(34,45,52,0.13);
  border-top-color: var(--secondary);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.team-list li {
  background: #262d31;
  border-radius: var(--radius);
  padding: 26px 22px;
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(43,53,59,.12);
  margin-bottom: 20px;
  flex: 1 1 260px;
}

.map-placeholder {
  padding: 20px;
  background: #23272b;
  color: var(--accent);
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: 0 2px 12px rgba(42,52,57,.07);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* TYPOGRAPHY ---------------------------*/
h1, .hero-section h1 { font-family: var(--font-display); font-size: 38px; font-weight: 800; line-height: 1.14; color: var(--accent); margin-bottom: 10px; }
h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.16; color: var(--secondary); margin-bottom: 8px; }
h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 5px; color: var(--accent); }
p, ul, li, blockquote, .subheadline {
  font-family: var(--font-body);
  font-size: 16px;
}
p {
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.6;
}
.subheadline {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
strong { color: var(--secondary); }

.text-section {
  max-width: 750px;
}

/* HERO SECTION --------------------------*/
.hero-section {
  background: linear-gradient(120deg,#23282b 72%, #254949 100%);
  padding: 64px 20px 50px 20px;
  border-radius: var(--radius) var(--radius) 54px 54px;
  margin-bottom: 48px;
  box-shadow: 0 18px 60px rgba(21,27,29,.12);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 25px;
}
.hero-section h1, .hero-section .subheadline { color: var(--accent); }

/* BUTTONS ------------------------------*/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 13px 34px;
  border-radius: 6px;
  border: none;
  outline: 0;
  cursor: pointer;
  background: linear-gradient(90deg,#3e6160 0%,#254949 100%);
  color: #F4F6F8;
  letter-spacing: 1px;
  box-shadow: 0 5px 18px rgba(30,45,55,.15);
  transition: background .25s, box-shadow .19s, transform .19s;
  margin-top: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#254949 0%, #6e7e85 100%);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(30,45,55,.17);
}
.btn-secondary {
  background: linear-gradient(90deg,#6e7e85 0%, #23282b 100%);
  color: #F4F6F8;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A9D9C0;
  color: #262d31;
}

/* LINKS IN ARTICLES --------------------*/
.content-wrapper article a {
  color: var(--secondary);
  font-weight: 600;
  border-bottom: 1px solid #6e7e85;
  transition: border-color .18s;
}
.content-wrapper article a:hover {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* HEADER & NAV -------------------------*/
header {
  width: 100%;
  background: #1c2324;
  box-shadow: 0 1px 6px rgba(60,70,79,0.09);
  z-index: 29;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  filter: grayscale(15%) brightness(102%) contrast(105%);
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-left: 26px;
}
nav.main-nav a {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding: 8px 4px;
  letter-spacing: .5px;
  border-radius: 2px;
  transition: color .2s, background .15s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--secondary);
  background: #23282b;
  text-decoration: none;
}

/* MOBILE MENU BUTTON -------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 28px;
  right: 30px;
  z-index: 135;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  border: none;
  color: var(--accent);
  font-size: 28px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(30,40,51,.12);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #23282b;
}

/* MOBILE MENU --------------------------*/
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #23282b;
  z-index: 130;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,0,.31,1);
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 8px 60px 0 rgba(32,39,46,0.38);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: auto;
  background: var(--metal-dark);
  color: var(--accent);
  border: none;
  font-size: 32px;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 36px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #23282b;
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
nav.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  padding: 10px 0;
  color: var(--accent);
  border-radius: 4px;
  background: none;
  transition: background .13s, color .15s;
}
nav.mobile-nav a:active, nav.mobile-nav a:focus, nav.mobile-nav a:hover {
  background: var(--secondary);
  color: #20262a;
}

/* MAIN & FOOTER --------------------------*/
main {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 500px;
}
footer {
  background: #1c2324;
  padding: 40px 0 24px 0;
  color: var(--accent);
  font-size: 15px;
  border-top: 2px solid #23282b;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 80px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 150px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 7px;
  filter: grayscale(30%) contrast(110%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 15px;
  transition: color .16s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  width: 16px; height: 16px;
  margin-right: 7px;
  vertical-align: -3px;
  filter: grayscale(35%) brightness(120%);
}

/* CARD GRID/ARTICLE STYLES --------------*/
.content-wrapper article {
  background: #262d31;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(30,38,45,.09);
  padding: 24px 18px;
  margin-bottom: 22px;
  max-width: 550px;
  color: var(--accent);
}
.content-wrapper article h3 {
  margin-bottom: 7px;
}

/* MAP PLACEHOLDER ---------------------*/
.map-placeholder img {
  width: 26px; height: 26px;
  filter: grayscale(50%) brightness(95%);
}


/* COOKIES BANNER & MODAL ---------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #23272b;
  color: #F4F6F8;
  z-index: 9999;
  padding: 23px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  box-shadow: 0 -7px 32px rgba(20,24,30,0.13);
  justify-content: center;
  font-size: 15px;
}
.cookie-banner .cookie-text {
  max-width: 350px;
}
.cookie-banner .btn-group {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner .btn-cookies {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  padding: 9px 22px;
  margin: 0;
  margin-right: 0;
  background: var(--metal);
  color: #f4f6f8;
  cursor: pointer;
  transition: background .16s;
}
.cookie-banner .btn-cookies.accept {
  background: var(--secondary);
  color: #23272b;
}
.cookie-banner .btn-cookies.accept:hover,
.cookie-banner .btn-cookies.accept:focus { background: #87bbab; }
.cookie-banner .btn-cookies.reject {
  background: var(--primary);
  color: #f4f6f8;
}
.cookie-banner .btn-cookies.reject:hover,
.cookie-banner .btn-cookies.reject:focus { background: #3d6161; }
.cookie-banner .btn-cookies.settings {
  background: none;
  color: #A9D9C0;
  border: 1.5px solid var(--secondary);
}
.cookie-banner .btn-cookies.settings:hover,
.cookie-banner .btn-cookies.settings:focus {
  background: #232d31;
  color: #F4F6F8;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(36,40,43,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #232d31;
  border-radius: var(--radius);
  padding: 36px 32px 30px 38px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 42px rgba(23,31,36,0.23);
  color: #F4F6F8;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal .40s cubic-bezier(.47,.36,.38,.96);
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: translateY(35px) scale(.98); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 22px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #22272b;
  border-radius: 7px;
  padding: 11px 16px;
  font-size: 16px;
  color: #A9D9C0;
  box-shadow: 0 1px 4px rgba(30,38,45,.07);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.cookie-category.essential {
  font-weight: 700;
  color: #F4F6F8;
  border-left: 3px solid var(--secondary);
}
.cookie-modal .btn-group {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 18px;
  background: transparent;
  color: #A9D9C0;
  border: none;
  font-size: 27px;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F4F6F8;
}

/* --- SPACING ENFORCE (MANDATORY FLEX GAPS) --- */
.section, section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- RESPONSIVE (MOBILE-FIRST) ----------------- */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 90vw; }
  .feature-item, .team-list li { min-width: 180px; }
  footer .container { gap: 30px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100%;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 22px;
  }
  .section, section, .section-cta {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .team-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .hero-section {
    padding: 38px 8px 26px 8px;
    margin-bottom: 26px;
    border-radius: var(--radius) var(--radius) 28px 28px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 8px;
    font-size: 14px;
  }
  .cookie-modal {
    padding: 23px 8px 18px 10px;
    min-width: 220px;
  }
}
@media (max-width: 520px) {
  h1, .hero-section h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }
  .btn-primary, .btn-secondary { font-size: 15px; padding: 10px 16px; }
}

/* MICRO INTERACTIONS AND EFFECTS ---------*/
.card, .feature-item, .testimonial-card, .team-list li {
  transition: box-shadow .19s, transform .16s, border-color .12s;
}
.card:hover, .feature-item:hover, .team-list li:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px rgba(34,45,52,0.13);
}

/* CUSTOM SCROLLBAR FOR METALLIC/URBAN FEEL */
::-webkit-scrollbar {
  width: 10px; background: #23282b;
}
::-webkit-scrollbar-thumb {
  background: #6e7e85;
  border-radius: 8px;
  border: 2px solid #23282b;
}
::-webkit-scrollbar-thumb:hover {
  background: #A9D9C0;
}

/* MISCELLANEOUS --------------------*/
blockquote {
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-style: italic;
  position: relative;
  color: #23282d;
}
blockquote:before {
  content: open-quote;
  color: var(--secondary);
  font-size: 30px;
  position: absolute;
  left: -23px; top: -8px;
  line-height: 1;
  font-family: var(--font-display);
}

/* HIDE OUTLINES ON MOUSE, show on keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 1px;
}

/* INDUSTRIAL MODERN ACCENTS ---------*/
.feature-item, .card, .section-cta, .testimonial-card, .map-placeholder {
  border: 1px solid #343c3f;
  /* light metallic edge */
}

/* SELECTION */
::selection {
  background: #87bbab;
  color: #23282b;
}

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