/* 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, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #18232d;
  color: #f3f7fa;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
  color: #f3f7fa;
}
h1, h2, h3, h4 {
  line-height: 1.2;
  color: #f3f7fa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(19,38,61,0.18);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #c8d3e0;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: #f3f7fa;
}
h4 {
  font-size: 1rem;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
a {
  color: #298873;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38baa1;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* BRAND PALETTE */
:root {
  --primary: #13263D;
  --secondary: #298873;
  --accent: #F3F7FA;
  --industrial-bg: #18232d;
  --industrial-card: #222e3a;
  --metallic: #7c8b9d;
  --card-border: #263346;
  --box-shadow: 0 8px 28px 0 rgba(19, 38, 61, 0.13), 0 1.5px 4px 0 rgba(41,136,115,0.09);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --danger: #ff353a;
  --positive: #29be9d;
}

/* LAYOUT STRUCTURE */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  background: none;
  padding: 0;
  margin: 0 auto;
}
main {
  margin-bottom: 60px;
}

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

/* FLEXBOX & GRID UTILER */
.features-grid, .team-grid, .values-grid, .card-container,
.card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

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

.card-container {
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--industrial-card);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 24px 20px 24px 24px;
  color: #f3f7fa;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 10px 36px 0 rgba(41,136,115, 0.16), 0 2px 10px 0 rgba(19,38,61,0.18);
  transform: translateY(-2px) scale(1.012);
}

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

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f3f7fa;
  border-radius: 10px;
  border-left: 5px solid var(--secondary);
  color: #1d2533;
  box-shadow: 0 3px 18px 0 rgba(41,136,115,0.09);
  margin-bottom: 24px;
  min-width: 230px;
  max-width: 480px;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(19,38,61,0.20);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.case-study {
  background: var(--industrial-card);
  border: 1.5px solid var(--card-border);
  border-radius: 9px;
  box-shadow: var(--box-shadow);
  padding: 20px 18px 22px 22px;
  margin-bottom: 20px;
  color: #f3f7fa;
  min-width: 220px;
  max-width: 500px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.case-study:hover {
  box-shadow: 0 5px 28px 0 rgba(41,136,115, 0.13);
  transform: translateY(-2px) scale(1.007);
}

.workflow-diagram img { max-width: 420px; margin-top: 10px; }

.service-list {
  list-style-type: disc;
  margin-bottom: 20px;
  padding-left: 22px;
}

/* Header/Footer */
header {
  background: var(--primary);
  box-shadow: 0 1.5px 8px 0 rgba(19,38,61, 0.14);
  padding: 0;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

header a {
  color: #f3f7fa;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  font-size: 16px;
  transition: color .18s, border-bottom 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 3px;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(92deg, var(--secondary) 70%, #29be9d 130%);
  color: #18232d;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  box-shadow: 0 1.5px 8px 0 rgba(41,136,115,0.06);
  letter-spacing: .04em;
  transition: background 0.18s, color 0.17s, transform 0.19s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #38baa1;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}

footer {
  background: var(--primary);
  color: #b5c1ce;
  padding: 38px 0 30px 0;
  border-top: 1.2px solid #253550;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.footer-brand img {
  max-width: 68px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #c8d3e0;
  font-size: 15px;
  font-family: var(--font-body);
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact span {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

/* Hamburger Menu Mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #f3f7fa;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1002;
  transition: color 0.16s;
  min-width: 48px;
  min-height: 48px;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,38,61,0.99);
  transition: transform 0.28s cubic-bezier(.5,.05,.48,.98);
  transform: translateX(100%);
  z-index: 1500;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 24px;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1600;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 90px;
  margin-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 4px;
  letter-spacing: .04em;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
  min-width: 240px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: #13263d;
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222e3a;
  color: #fff;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px 20px 25px 25px;
  z-index: 2000;
  box-shadow: 0 -4px 18px rgba(19,38,61,0.17);
  transition: transform .32s cubic-bezier(.8,.03,.44,1.12);
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 220px;
  font-size: 1.06rem;
  margin-bottom: 5px;
  min-width: 180px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  padding: 11px 18px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--secondary);
  color: #13263d;
  transition: background 0.19s, color 0.13s, transform 0.17s;
  margin: 0;
}
.cookie-banner button:focus {
  outline: 2px solid var(--accent);
}
.cookie-banner .cookie-settings-btn {
  background: #29394c;
  color: #fff;
  border: 1px solid #4a627a;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #13263d;
}
.cookie-banner .reject-btn {
  background: #29394c;
  color: #fff;
  border: 1px solid #4a627a;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: var(--danger);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19,38,61,0.92);
  z-index: 3000;
  justify-content: center;
  align-items: flex-end;
  transition: background 0.24s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInBg .4s;
}
@keyframes fadeInBg {
  from { background: rgba(19,38,61, 0.01); }
  to   { background: rgba(19,38,61, 0.92); }
}
.cookie-modal {
  background: #f3f7fa;
  color: #1d2533;
  border-radius: 14px 14px 0 0;
  width: 100vw;
  max-width: 430px;
  padding: 30px 22px 22px 26px;
  box-shadow: 0 5px 28px 0 rgba(41,136,115, 0.13);
  margin-bottom: 0;
  z-index: 3200;
  animation: slideUp .44s cubic-bezier(.44,.53,.55,.99);
}
@keyframes slideUp {
  from { transform: translateY(90px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: #13263d;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 11px 0;
  border-bottom: 1.2px solid #e1e7ee;
  font-size: 1rem;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category .cookie-switch {
  margin-left: auto;
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-modal-footer button {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius:6px;
  border:none;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--secondary);
  color: #13263d;
  cursor: pointer;
  transition: background 0.15s, color 0.1s;
}
.cookie-modal-footer .close-btn {
  background: #efefef;
  color: #13263d;
  border:1.2px solid #c8dfe6;
}
.cookie-modal-footer .close-btn:hover, .cookie-modal-footer .close-btn:focus {
  background: #d4e0e9;
  color: #13263d;
}

/* Switch toggle for modal */
.cookie-switch {
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type=checkbox] {
  display: none;
}
.cookie-slider {
  width: 38px; height: 22px;
  background: #d3dee7;
  border-radius: 14px;
  position: relative;
  transition: background 0.17s;
  margin-right: 4px;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  top: 2.5px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s, background 0.17s;
  box-shadow: 0 2px 6px 0 rgba(19,38,61, 0.14);
}
.cookie-switch input:checked + .cookie-slider:before {
  left: 19px;
  background: #232e3b;
}
.cookie-modal-category .switch-label {
  font-size: 14px;
}

/* Section and Block Styles */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.features-grid > div, .values-grid > div {
  background: var(--industrial-card);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 28px 20px 22px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 10px;
  transition: box-shadow 0.14s, transform 0.15s;
}
.features-grid > div:hover, .values-grid > div:hover {
  box-shadow: 0 9px 26px 0 rgba(41,136,115, 0.12);
  transform: translateY(-4px) scale(1.023);
}
.features-grid img, .values-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(41,136,115,0.10));
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.team-grid > div {
  background: var(--industrial-card);
  border: 1.5px solid var(--card-border);
  border-radius: 9px;
  padding: 18px 16px 18px 20px;
  flex: 1 1 180px;
  min-width: 180px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  color: #f3f7fa;
}

.values-grid {
  gap: 22px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.faq-accordion > div {
  background: var(--industrial-card);
  border: 1.2px solid var(--card-border);
  border-radius: 7px;
  box-shadow: 0 2px 8px 0 rgba(19,38,61,0.07);
  padding: 19px 15px 16px 21px;
  font-size: 1.06rem;
  color: #f3f7fa;
  transition: box-shadow 0.11s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 16px 0 rgba(41,136,115,0.11);
}
.faq-accordion > div > b {
  display: block;
  margin-bottom: 7px;
  font-size: 1.11rem;
  color: #7c8b9d;
  font-family: var(--font-display);
}

.contact-info-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 20px 0 6px 0;
}
.contact-info-summary span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #f3f7fa;
}
.contact-info-summary img {
  width: 24px; height: 24px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.opening-hours {
  background: #152a37;
  padding: 10px 16px;
  border-radius: 6px;
  color: #c8d3e0;
  margin-top: 6px;
  border: 1.1px solid #29394c;
  font-size: 0.97rem;
}

.map-embed img {
  width: 100%;
  min-width: 170px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(41,136,115,0.11);
}
.address-directions {
  margin-top: 12px;
  color: #d2e2dd;
}

/* Misc spacing */
ul {
  margin-bottom: 14px;
}
ul li {
  margin-bottom: 8px;
}

ol {
  margin-bottom: 14px;
}
ol li {
  margin-bottom: 6px;
}

/* Typography hierarchy */
.text-section h3 {
  margin-top: 8px;
  font-size: 1.17rem;
  color: #29ba9c;
}
.text-section ul {
  margin-left: 20px;
  color: #fff;
}

/* Animations for smooth micro-interactions */
a, button, .card, .testimonial-card, .features-grid > div, .values-grid > div {
  transition-property: color, background, box-shadow, transform;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(.53,.08,.43,1.03);
}

/* Buttons and Links States */
button:active, .btn-primary:active {
  transform: scale(.97);
}

/* UTILITY CLASSES (for spacing & alignment) */
.mt-16 { margin-top:16px; }
.mb-16 { margin-bottom:16px; }
.mt-32 { margin-top:32px; }
.mb-32 { margin-bottom:32px; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 24px;
  }
  .features-grid, .values-grid, .team-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98%;
  }
  .features-grid, .team-grid, .values-grid {
    flex-direction: column;
  }
  .footer-brand, .footer-contact, footer nav {
    flex-basis: 100%;
  }
  footer .container {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 14px 13px 16px;
  }
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  /* Open/close mobile menu handled via .open/JS */

  .features-grid, .values-grid, .team-grid, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 7px 28px 7px;
  }
  .testimonial-card {
    max-width: 97vw;
    font-size: 0.97rem;
  }
  .case-study {
    max-width: 99vw;
    min-width: 0;
  }
  .contact-info-summary {
    flex-direction: column;
    gap: 13px;
  }
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img {
    margin-bottom: 0;
  }
  .cookie-modal {
    border-radius: 12px 12px 0 0;
    width: 99vw;
    max-width: 99vw;
    padding: 20px 7vw 14px 7vw;
  }
}

@media (max-width: 530px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: 0.98rem; }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .btn-primary {
    padding: 10px 18px;
    font-size: 0.97rem;
    margin-left:0;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 8px 20px 8px;
    gap: 9px;
    font-size: 0.93rem;
    align-items: stretch;
  }
  .cookie-banner .cookie-banner-text { font-size: 0.94rem; }
}

/* ==== INDUSTRIAL MODERN METALLIC EFFECTS === */
.card, .testimonial-card, .features-grid > div, .values-grid > div, .case-study, .faq-accordion > div, .team-grid > div {
  border-radius: 9px;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--box-shadow);
  background: linear-gradient(96deg, #212f3e 80%, #313e51 170%);
  position: relative;
}

.card:after, .features-grid > div:after, .team-grid > div:after, .values-grid > div:after, .case-study:after {
  content: '';
  position: absolute;
  left: 0; top: 0; height: 100%; width: 100%;
  pointer-events: none;
  border-radius: inherit;
  border: 0.5px solid rgba(124,139,157,0.13);
  opacity: 1;
  z-index: 0;
}

/* Metallic accent bar */
.card:before, .features-grid > div:before, .values-grid > div:before, .case-study:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 32px; width: 100%;
  background: linear-gradient(90deg, #298873 30%, #7c8b9d 90%, #13263d 100%);
  border-radius: 8px 8px 0 0;
  opacity: 0.10;
  z-index: 1;
}

/* ------------------------ */

::-webkit-scrollbar {
  width: 10px; background: #1a242d;
}
::-webkit-scrollbar-thumb {
  background: #29394c; border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #298873;
}

/* Accessibility: Focus state */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2.5px;
  border-radius: 3px;
}

/* Hide visually (for accessibility helpers only) */
.sr-only { position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden; }

/* Utility - border, accent etc. */
.accent {
  color: var(--secondary);
  font-weight: 600;
}

/* Success/Error message, as needed */
.alert-success {
  background: #2cb16e;
  color: #fff;
  padding: 13px 17px;
  border-radius: 6px;
  font-size: 1.05rem;
}
.alert-error {
  background: #ff353a;
  color: #fff;
  padding: 13px 17px;
  border-radius: 6px;
  font-size: 1.05rem;
}

/* =========== PRINT =========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container { max-width: 100% !important; padding:0 5px !important; }
  body { background: #fff; color: #111; }
}
