/* ==================================================   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, main, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #23282e;
  color: #F6F1EC;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #E3E7EB;
}
a {
  color: #64B3A4;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F6F1EC;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1em;
  color: #d0d6db;
}
li {
  margin-bottom: .5em;
}

/* ================================ CUSTOM PROPERTIES (WITH FALLBACKS) ================================ */
:root {
  --primary: #2B4057;
  --secondary: #64B3A4;
  --accent: #F6F1EC;
  --bg-dark: #23282e;
  --bg-light: #3b4550;
  --font-display: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px 0 rgba(44,54,66,.10), 0 1px 2px 0 rgba(44,54,66,.16);
  --shadow-card: 0 2px 20px rgba(30, 37, 43, 0.18);
  --border-metal: 1.5px solid #7a858e;
  --accent-metal: linear-gradient(90deg,#7a858e 0%,#adb2b7 100%);
}

/* ================================ LAYOUT CONTAINERS ================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================================ TYPOGRAPHY ================================ */
h1 {
  font-size: 2.6rem;
  letter-spacing: -1.2px;
  color: #F6F1EC;
  margin-bottom: 18px;
  text-shadow: 0 1px 1px #22292F44;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  color: #F6F1EC;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #d0d6db;
  letter-spacing: .4px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #d0d6db;
}
p {
  color: #d0d6db;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #fff;
}

/* ================================ BUTTONS & CTA ================================ */
.cta-btn, .cta-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #23282e;
  border-radius: var(--radius);
  border: none;
  padding: 13px 32px;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 2px 9px 1.5px #1a222733;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .16s, transform .12s;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5BA594;
  color: #F6F1EC;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 4px 14px 2px #10141733;
  text-decoration: none;
}
button {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ================================ HEADER ================================ */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 2px 12px #222A3344;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 0;
}
header img {
  max-height: 44px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: #d0d6db;
  position: relative;
  transition: color .2s;
  padding: 5px 6px;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
}

/* Hide mobile menu on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6F1EC;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .15s, color .12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #222c37;
  color: var(--secondary);
}

/* ================================ MOBILE MENU ================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #22282F;
  box-shadow: 0 6px 40px #000b 0 0 0 #0000;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  opacity: .99;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.89,.16,.35,1.08);
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 20px;
  font-size: 2.2rem;
  background: none;
  color: #F6F1EC;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 7px;
  transition: background .18s, color .16s;
  padding: 8px 15px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2B4057;
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 20px 30px;
  gap: 24px;
  width: 280px;
}
.mobile-nav a {
  color: #F6F1EC;
  font-size: 1.11rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 11px 0 11px 4px;
  border-radius: 4px;
  background: none;
  transition: background .14s, color .19s;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #293A46;
  color: #64B3A4;
}
@media (max-width: 1040px) {
  header .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ================================ MAIN SECTIONS ================================ */
main section {
  border-radius: var(--radius);
  background: #28303d;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main .container {
  gap: 0;
}
main h1, main h2 {
  margin-bottom: 16px;
}
main h3 {
  margin-bottom: 9px;
}

/* ================================ FLEX UTILITY CLASSES ================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23282e;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: var(--border-metal);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .18s, border .18s, transform .16s;
}
.card:hover {
  box-shadow: 0 8px 32px 2px #64b3a444, 0 2px 10px #23282e55;
  border: 1.5px solid #64B3A4;
  transform: translateY(-6px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 28px 18px 24px;
  background: #F6F1EC;
  color: #222931;
  border-radius: 13px;
  box-shadow: 0 2px 14px 2px #15181c13;
  min-width: 260px;
  max-width: 440px;
  margin: 0 22px 20px 0;
  border-left: 5px solid var(--secondary);
  font-size: 1.05rem;
  font-family: var(--font-body);
}
.testimonial-card p {
  color: #222931;
  font-style: italic;
  margin-bottom: 0;
  font-size: 1.11rem;
  line-height: 1.6;
}
.testimonial-card span {
  color: #4d555c;
  font-size: .97rem;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================ INDEX - HOME ================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  justify-content: flex-start;
  background: #23282e;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  border: var(--border-metal);
  padding: 22px 18px 20px 17px;
  width: 260px;
  min-width: 180px;
  max-width: 100%;
  margin-bottom: 18px;
  transition: box-shadow .18s, border .18s, transform .15s;
}
.feature-grid li img {
  filter: grayscale(40%) contrast(1.1);
  width: 40px; height: 40px;
  margin-bottom: 2px;
}
.feature-grid li strong {
  font-size: 1.07rem;
}
.feature-grid li:hover {
  border-color: var(--secondary);
  box-shadow: 0 7px 24px 2px #64B3A455;
  transform: translateY(-3px) scale(1.018);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li, .service-list .text-section {
  background: #23282e;
  border: var(--border-metal);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list strong, .service-list h3 {
  color: #E3E7EB;
}
.service-list span {
  color: var(--secondary);
  font-weight: 600;
  margin-left: 0.4em;
  font-size: 1.01rem;
}

/* ================================ ABOUT TEAM ================================ */

/* About: Verdier icons */
.text-section ul li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  filter: grayscale(40%) contrast(1.18);
}

.text-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.text-section ul li {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: flex-start;
  background: #262d38;
  border-radius: 8px;
  padding: 14px 14px 14px 10px;
  box-shadow: 0 2px 7px #151A2033;
  font-size: 1.07rem;
}

.text-section ol {
  color: #E3E7EB;
  margin-left: 1.5em;
}
.text-section ol li {
  margin-bottom: 9px;
}

/* ================================ FOOTER ================================ */
footer {
  background: #1c232a;
  color: #aebac4;
  padding: 34px 0 34px 0;
  margin-top: 44px;
  border-top: 2px solid #23282e;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-logo img {
  max-height: 50px;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-nav a {
  color: #aebac4;
  font-size: .97rem;
  margin-bottom: 2px;
  transition: color .17s;
  padding: 3px 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-info {
  font-size: .95rem;
  color: #b4bac1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-info a {
  color: var(--secondary);
  word-break: break-all;
  transition: color .2s;
}
.footer-info a:hover {
  color: #b6ffef;
}

/* ================================ COOKIE CONSENT BANNER ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #29323e;
  color: #fff;
  border-top: 3.5px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 20px;
  z-index: 250;
  box-shadow: 0 -5px 38px 6px #10181B77;
  opacity: 0.98;
  font-size: 1rem;
  transition: transform .35s cubic-bezier(.86,.18,.38,1.07), opacity .22s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  flex: 3 1 480px;
  max-width: 550px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  outline: none;
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  background: var(--secondary);
  color: #23282e;
  font-weight: 700;
  margin-right: 4px;
  font-family: var(--font-body);
  box-shadow: 0 2px 9px 1.5px #18312619;
  font-size: .97rem;
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .16s;
}
.cookie-banner button:last-child {
  background: transparent;
  color: #E3E7EB;
  border: 2px solid var(--secondary);
  margin-right: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #49bca9;
  color: #23282e;
}
.cookie-banner button:last-child:hover {
  background: #293a3c;
  color: #f6f1ec;
  border-color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 251;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #23282ee6;
  opacity: 1;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-content {
  background: #29323e;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 32px 7px #10181d85;
  max-width: 410px;
  min-width: 265px;
  width: 90vw;
  padding: 32px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieFadeIn .33s cubic-bezier(.72,1.02,.33,1.1);
}
@keyframes cookieFadeIn {
  from { transform: translateY(42px) scale(.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 6px;
  color: var(--secondary);
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
}
.cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 19px;
  align-self: flex-end;
}
.cookie-modal-btns button {
  padding: 9px 19px;
  font-size: .98rem;
}

/* ================================ MEDIA QUERIES (RESPONSIVE) ================================ */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 28px 0;
    align-items: stretch;
  }
  .feature-grid li {
    width: 100%;
    min-width: unset;
  }
  .service-list {
    gap: 20px;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section, main section {
    padding: 23px 8px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.43rem;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 19px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .content-wrapper, .text-section, .feature-item, .content-grid {
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-content {
    padding: 16px 10px;
  }
  .card {
    margin-bottom: 16px;
  }
}
@media (max-width: 540px) {
  header .container {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cta-btn {
    font-size: .95rem;
    padding: 10px 18px;
  }
  .testimonial-card {
    padding: 13px 11px 12px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    font-size: .98rem;
  }
  .cookie-banner-content {
    max-width: 99vw;
    font-size: .97rem;
  }
}

/* ================================ MISC: FORM ELEMENTS & TABLES ================================ */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: var(--border-metal);
  border-radius: 8px;
  background: #21272e;
  color: #F6F1EC;
  padding: 8px 11px;
  margin-bottom: 10px;
  outline: none;
  transition: border .17s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 10px 1.5px #64b3a455;
}
label {
  font-size: 1rem;
  font-weight: 600;
  color: #e0e4ea;
  margin-bottom: 5px;
  display: inline-block;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  color: #F6F1EC;
}
th, td {
  padding: 8px 12px;
  border: 1px solid #293846;
}
th {
  background: #293846;
  color: #64B3A4;
  font-weight: bold;
}
td {
  background: #23313e;
}

/* ================================ MICRO-INTERACTIONS / TRANSITIONS ================================ */
.card, .feature-grid li, .cta-btn, .cookie-banner button, .service-list li, .service-list .text-section, .testimonial-card {
  transition: box-shadow .20s cubic-bezier(.45,1,.34,1.47), border-color .17s, transform .18s, background .18s, color .18s;
}

/* ================================ INDUSTRIAL MODERN ACCENTS ================================ */
.card, .feature-grid li, .service-list li, .service-list .text-section, .testimonial-card, .footer-info {
  /* Subtle metallic accent surrounds */
  border-left: 4px solid #7a858e;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .service-list .text-section:hover {
  border-left: 4px solid #64B3A4;
}

/* Metallic accent for section backgrounds (use subtle horizontal accent bar at top) */
main section::before {
  content: "";
  display: block;
  height: 4px;
  width: 72px;
  background: #7a858e;
  border-radius: 3px;
  margin-bottom: 21px;
}
main section:first-child::before {
  background: #64B3A4;
  width: 53px;
}

@media (max-width: 600px) {
  main section::before, main section:first-child::before {
    width: 36px;
    margin-bottom: 11px;
  }
}

/* ================================ FOCUS STYLES & ACCESSIBILITY ================================ */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.mobile-menu a:focus, .footer-nav a:focus {
  background: #222c37;
  color: var(--secondary);
}

/* ================================ SCROLLBAR (MODERN) ================================ */
::-webkit-scrollbar {
  width: 9px;
  background: #2B4057;
}
::-webkit-scrollbar-thumb {
  background: #454f5a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64B3A4;
}

/* ================================ PRINT MINIMAL ================================ */
@media print {
  *, *:before, *:after { color: #222 !important; background: #fff !important; box-shadow: none !important; }
  .cookie-banner, .mobile-menu, .mobile-menu-toggle, .cta-btn, nav, header, footer { display: none !important; }
  section, main, body, html { background: #fff !important; color: #222 !important; }
}
