/* =============================================================================
   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 {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: #151A1E;
}
body {
    color: #F5F5F5;
    background: #181c1e;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }

/* =============================================================================
   BRAND FONTS
============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 900;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.7rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.19; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.15rem; }

/* Text regular */
p, ul, ol, li, span, strong, label, input, textarea, table, th, td {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
strong { font-weight: 700; }

/* =============================================================================
   INDUSTRIAL MODERN BRAND COLORS & ACCENTS
============================================================================= */
:root {
    --color-primary: #205375;
    --color-secondary: #BDD9BF;
    --color-accent: #F5F5F5;
    --color-dark: #181c1e;
    --color-deeper: #151A1E;
    --color-surface: #24282b;
    --color-iron: #2c3640;
    --color-concrete: #515a63;
    --color-metal: #ADB6BD;
    --color-highlight: #4685A0;
    --color-warning: #E8AF45;
    --color-link: #BDD9BF;
    --color-hover: #4685A0;
    --color-shadow: rgba(30,34,38,0.15);
    --radius-card: 13px;
    --radius-btn: 7px;
    --shadow-card: 0 1.6px 12px rgba(24, 28, 30, 0.20); 
    --shadow-btn: 0 2px 12px 0 rgba(32,83,117,.13);
    --border-underline: 2px solid var(--color-metal);
}

/* =============================================================================
   LAYOUT UTILITY CLASSES
============================================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-iron);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  flex: 1 1 240px;
  min-width: 230px;
  transition: box-shadow .26s cubic-bezier(.44,.09,.78,.56), transform .19s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(32,83,117,0.20);
  transform: translateY(-3px) scale(1.03);
}
.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 {
  background: var(--color-accent);
  color: #232929;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 2.5px 15px rgba(32, 83, 117, 0.08);
  border: 1.5px solid var(--color-metal);
  transition: box-shadow .19s, border-color .22s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 23px rgba(32,83,117,0.18);
  border-color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* =============================================================================
   HEADER, NAVIGATION & HERO
============================================================================= */
header {
  background: var(--color-deeper);
  border-bottom: 2px solid var(--color-iron);
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  z-index: 12;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav > a img {
  height: 40px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 30px;
}
nav ul li {
  display: flex;
}
nav ul li a {
  color: var(--color-secondary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 6px 9px 5px 9px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.19s, border-bottom 0.19s;
}
nav ul li a:hover, nav ul li a:focus {
  color: var(--color-highlight);
  border-bottom: 2.5px solid var(--color-primary);
}
.cta-btn {
  background: linear-gradient(90deg,var(--color-primary) 70%,var(--color-metal));
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.18rem;
  border-radius: var(--radius-btn);
  border: none;
  padding: 11px 30px;
  margin-left: auto;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(32,83,117,0.10);
  transition: background 0.23s, transform 0.16s, box-shadow .15s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  box-shadow: 0 2.5px 21px rgba(32,83,117,0.14);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
}

.hero {
  background: linear-gradient(100deg, var(--color-deeper) 71%, var(--color-primary) 105%);
  padding: 70px 0 60px 0;
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--color-secondary);
  font-size: 2.7rem;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(32,83,117,0.12);
}
.hero p {
  color: var(--color-accent);
  font-size: 1.18rem;
  margin-bottom: 32px;
  max-width: 700px;
}

/* =============================================================================
   MOBILE NAVIGATION (BURGER MENU)
============================================================================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 23px;
  background: var(--color-iron);
  color: var(--color-secondary);
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 20;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 34, 38, .99);
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.43,.41,.37,1.18);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-surface);
  color: var(--color-secondary);
  border: none;
  font-size: 2.2rem;
  border-radius: 7px;
  padding: 5px 18px 4px 12px;
  margin: 11px 0 18px 17px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(32,83,117,0.06);
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 30px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  color: var(--color-secondary);
  font-size: 1.32rem;
  letter-spacing: .04em;
  padding: 13px 2px 7px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-bottom 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-highlight);
  border-bottom: 2px solid var(--color-primary);
}

@media (max-width: 1100px) {
  nav ul { gap: 13px; margin-left: 8px; }
  .cta-btn { padding: 9px 18px; font-size: 1rem; }
}
@media (max-width: 990px) {
  header nav { gap: 7px; }
  nav ul { gap: 6px; }
}
@media (max-width: 870px) {
  nav ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 700px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 47px 0 32px 0; }
}

/* =============================================================================
   PAGE LAYOUTS & FLEX
============================================================================= */
main {
  min-height: 410px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
section.hero {
  background: linear-gradient(100deg, var(--color-deeper) 71%, var(--color-primary) 105%);
  box-shadow: var(--shadow-card);
}
section.cta {
  background: var(--color-primary);
  color: #f5f5f5;
  text-align: center;
  box-shadow: 0 7px 30px rgba(32,83,117,0.13);
}
section.cta .cta-btn {
  margin-top: 10px;
}
.content-grid,
.card-container,
.text-image-section,
.feature-item {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
  }
  section, .section {
    padding: 24px 10px;
    margin-bottom: 34px;
  }
}

/* =============================================================================
   CARDS, LISTS, FEATURES
============================================================================= */
ul, ol {
  margin-left: 18px;
  margin-bottom: 9px;
  display: flex;
  gap: 11px;
}
li {
  position: relative;
  color: #f2f6f9;
  font-size: 1.01rem;
  padding-left: 0;
}
ul li::before {
  content: '\2022';
  color: var(--color-highlight);
  font-weight: bold;
  font-size: 1.13rem;
  margin-right: 7px;
  vertical-align:middle;
}

/* =============================================================================
   TESTIMONIAL/REVIEW CARDS
============================================================================= */
.testimonial-card {
  background: var(--color-accent);
  color: #232929;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 2.5px 15px rgba(32, 83, 117, 0.08);
  border: 1.5px solid var(--color-metal);
  flex: 1 1 320px;
  font-size: 1.1rem;
  min-width: 240px;
  transition: box-shadow .19s, border-color .22s;
}
.testimonial-card p {
  font-size: 1.04rem;
  font-style: italic;
  flex: 1 1 90%;
}
.testimonial-card strong { font-size: 1.1rem; }
.testimonial-card span[aria-label] {
  color: #faa530;
  font-family: 'Merriweather', serif;
  font-size: 1.11rem;
  margin-left: 10px;
  letter-spacing: .09em;
}

@media (max-width: 570px) {
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px 11px;
    font-size: .97rem;
  }
}

/* =============================================================================
   BUTTONS, FORMS, INTERACTIVES
============================================================================= */
button, .cta-btn {
  font-family: 'Merriweather', serif;
  font-size: 1.03rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: var(--radius-btn);
  transition: background .19s, color .15s, transform .15s, box-shadow .12s;
}
button:active, .cta-btn:active { transform: scale(.98); }

/* Inline links */
a {
  color: var(--color-link);
  border-bottom: 1.6px solid var(--color-metal);
  transition: border-color 0.17s, color 0.13s;
}
a:hover, a:focus {
  color: var(--color-highlight);
  border-color: var(--color-primary);
}

/* Forms & Inputs */
input, textarea, select {
  background: var(--color-concrete);
  color: var(--color-accent);
  border: 1.5px solid var(--color-metal);
  border-radius: 7px;
  padding: 10px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-highlight);
  outline: none;
}
label { font-weight: 700; margin-bottom: 6px; display: inline-block; }

/* =============================================================================
   FOOTER
============================================================================= */
footer {
  background: var(--color-iron);
  color: #E5E8E8;
  padding: 60px 0 35px 0;
  border-top: 2px solid var(--color-metal);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
}
footer nav a {
  color: var(--color-secondary);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  padding: 3px 5px;
  border-bottom: 1.4px dotted var(--color-metal);
  transition: color .14s, border-bottom .13s;
}
footer nav a:hover { color: var(--color-highlight); border-bottom: 1.4px solid var(--color-primary); }
footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 22px;
  font-family: 'Open Sans',sans-serif;
  font-size: 0.96rem;
  color: #F5F5F5;
}
footer img {
  height: 30px;
  margin-bottom: 7px;
}
@media (max-width: 870px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}

/* =============================================================================
   COOKIES CONSENT BANNER + MODAL
============================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #23292F;
  color: #EAEFEF;
  box-shadow: 0 -6px 38px rgba(32,83,117,0.23);
  border-top: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px;
  z-index: 150;
  gap: 25px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-banner-slide-up .45s cubic-bezier(.7,1.02,.52,1.11) 1;
}
@keyframes cookie-banner-slide-up {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 21px;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: #ececec;
  border: none;
  margin-left: 0;
  font-weight: 700;
  transition: background .18s, color .10s;
  box-shadow: 0 1.2px 7px rgba(32,83,117,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-highlight);
  color: #121414;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings-btn:hover {
  background: #E8AF45;
  color: #23292f;
}

/* Modal Popup for Cookie Preferences */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(28, 28, 34, 0.77);
  z-index: 199;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade-in .27s;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #23292F;
  color: #F5F5F5;
  border-radius: var(--radius-card);
  box-shadow: 0 3.5px 32px rgba(32,83,117,0.18);
  padding: 38px 34px 26px 34px;
  width: 95%;
  max-width: 435px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: cookie-modal-fade-in .27s;
}
.cookie-modal h2 {
  font-family: 'Merriweather', serif;
  color: var(--color-secondary);
  font-size: 1.16rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.cookie-toggle {
  width: 42px; height: 22px;
  appearance: none;
  background: #476372;
  border-radius: 20px;
  outline: none;
  position: relative;
  transition: background .17s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .20s;
}
.cookie-toggle:checked::before {
  transform: translateX(19px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px; right: 17px;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 1.9rem;
  cursor: pointer;
}

@media (max-width: 610px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px 10px; font-size: .93rem; }
  .cookie-modal { padding: 19px 9px 13px 9px; max-width: 97vw; }
}

/* =============================================================================
   RESPONSIVE & FLEXBOX
============================================================================= */
@media (max-width: 650px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .content-wrapper { gap: 13px; }
  .section, section { padding: 15px 5px; }
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.15rem; }
  .card { padding: 13px 8px; min-width: 100px; }
}

/* CRITICAL FLEXBOX ENFORCED */
/* All .content-wrapper, .section, .card-container, .card, etc. are display: flex; flex-direction: column (or row on large) */

/* Style adjust: No absolute positioning of cards/text, only possible for accent/decorative elements. No CSS Grid. */

/* =============================================================================
   SCROLLBAR (Industrial touch)
============================================================================= */
body::-webkit-scrollbar {
  width: 12px;
  background: var(--color-iron);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-concrete);
  border-radius: 8px;
}

/* =============================================================================
   MICRO-INTERACTIONS & TRANSITIONS
============================================================================= */
.card, .cta-btn, .testimonial-card, a, .cookie-banner button, .feature-item {
  transition: box-shadow .18s, border .13s, background .18s, color .15s, transform .13s;
}

.card:active, .testimonial-card:active {
  transform: scale(.98);
}

/* Slight shadow on hover for cards & cta */
.card:hover, .feature-item:hover {
  box-shadow: 0 7px 30px rgba(32,83,117,0.16);
  border-color: var(--color-primary);
}

/* =============================================================================
   INDUSTRIAL/URBAN EFFECTS
============================================================================= */
h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.035em;
  border-bottom: var(--border-underline);
  padding-bottom: 5px;
}
h1 { border-width: 2.2px; }

.section, section {
  border-left: 6px solid var(--color-metal);
}

.card, .testimonial-card, .feature-item {
  border-left: 5px solid var(--color-primary);
}

.card, .testimonial-card {
  box-shadow: 0 1.6px 12px var(--color-shadow), 0 0.5px 2.6px #28353c; 
}

/* Encourage metallic accent via borders and subdued shadow. */

/* =============================================================================
   MISC
============================================================================= */
::-moz-selection { background: var(--color-secondary); color: var(--color-primary); }
::selection { background: var(--color-secondary); color: var(--color-primary); }

[tabindex]:focus-visible, a:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--color-highlight);
  outline-offset: 3px;
}

/* Hide mobile menu overlay unless open */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* Provide .open class JS hook on menu, JS will toggle this. */

/* Utility for visually hidden (for accessibility) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
