/* 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #151a1e;
  color: #EFEFEF;
  letter-spacing: 0.01em;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFF8DC;
}

/* BRAND & TYPOGRAPHY */
:root {
  --primary: #28516B;
  --primary-dark: #1A3342;
  --secondary: #FFD700;
  --accent: #EFEFEF;
  --dark-bg: #151a1e;
  --card-bg: #23272b;
  --border-metal: #33505f;
  --metallic-highlight: #6b7077;
  --card-shadow: 0 4px 16px 0 rgba(34,49,63,0.26);
  --radius-main: 12px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--secondary);
}
h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

p,
li,
span,
blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--primary);
}
strong {
  color: var(--secondary);
}
.text-section {
  margin-top: 18px;
  margin-bottom: 12px;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border: 1.5px solid var(--border-metal);
  border-radius: var(--radius-main);
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 24px 0 rgba(34,49,63,0.39);
}

.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: 20px;
  background: #FAFAFA;
  color: #23272b;
  border-left: 5px solid var(--primary);
  box-shadow: 0 2px 10px 0 rgba(20,30,42,0.13);
  border-radius: var(--radius-main);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 680px;
  transition: box-shadow 0.16s;
}
.testimonial-card blockquote {
  color: var(--primary-dark);
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--metallic-highlight);
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(70,80,92,0.16);
}

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

/* HERO */
.hero {
  background: linear-gradient(120deg, var(--primary-dark) 75%, #23272b 100%);
  border-bottom: 3.5px solid var(--secondary);
  padding: 68px 0 60px 0;
}
.hero h1, .hero p {
  color: #EFEFEF;
}

/* UL & LI ICON FEATURE LISTS */
.content-wrapper ul,
.text-section ul,
.text-section ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
  margin-top: 8px;
}
.content-wrapper ul li,
.text-section ul li,
.text-section ol li {
  padding-left: 0;
  position: relative;
  color: #EFEFEF;
  font-size: 1rem;
}
.content-wrapper ul li img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 12px;
  filter: grayscale(60%) contrast(110%);
}

.content-wrapper ul li strong {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1.15rem;
}
.content-wrapper ul li span {
  color: var(--secondary);
  font-weight: 400;
  font-size: 1.04rem;
}

.text-section h3 {
  color: var(--secondary);
  margin-bottom: 9px;
  font-size: 1.12rem;
}

/* BUTTONS */
.cta-button,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.86em 2.1em;
  background-color: var(--secondary);
  color: #262523;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(140,140,140,.13);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  text-align: center;
  margin-top: 10px;
}
.cta-button:hover,
.cta-button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: #FFC700;
  color: #262523;
  box-shadow: 0 4px 22px 0 rgba(255,215,0,0.17);
}

.mobile-menu-toggle {
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2rem;
  padding: 7px 13px;
  border-radius: 7px;
  display: none;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary-dark);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #21272b;
  box-shadow: 0 4px 14px 0 rgba(28,32,36,0.13);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 18px 0 14px 0;
  position: relative;
  z-index: 70;
}
header > a img {
  height: 44px;
  margin-left: 20px;
  filter: grayscale(50%) contrast(90%);
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 24px;
}
header nav a {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 0;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.13s, border 0.16s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
header .cta-button {
  margin-left: 30px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 375px;
  background: #181D21;
  box-shadow: -5px 0 32px 0 rgba(34,49,67,0.31);
  z-index: 1001;
  padding: 36px 24px 24px 30px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.53,.23,0,1.08), opacity 0.18s;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  background: none;
  color: var(--secondary);
  border: none;
  cursor: pointer;
  z-index: 1010;
  transition: background 0.15s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fffbe0;
  background: #282828;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.18rem;
  padding: 11px 0;
  border-bottom: 1.4px solid var(--border-metal);
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary-dark);
  color: #FFF8DC;
  border-radius: 6px;
}

/* OVERLAY EFFECT FOR MOBILE MENU */
.mobile-menu::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,26,30,0.56);
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 650px) {
  header > a img {
    margin-left: 8px;
    height: 33px;
  }
  .container {
    padding: 0 5vw;
  }
}

/* HERO RESPONSIVE */
@media (max-width: 700px) {
  .hero {
    padding: 38px 0 36px 0;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.12rem;
  }
}

/* FLEXBOX DIRECTION FOR RESPONSIVE TEXT-IMAGE AND CARD GRIDS */
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
}

@media (max-width: 530px) {
  section, .section {
    padding: 24px 5vw;
  }
  .testimonial-card {
    padding: 13px 8px;
  }
}

/* LOGO STRIP */
.logo-strip {
  display: flex;
  flex-direction: row;
  gap: 34px;
  align-items: center;
  margin-top: 22px;
}
.logo-strip img {
  height: 40px;
  max-width: 110px;
  mix-blend-mode: luminosity;
  filter: grayscale(60%);
  opacity: 0.82;
}

/* FOOTER */
footer {
  background: #1A2329;
  color: var(--metallic-highlight);
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 2px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #EFEFEF;
  border-bottom: 1.5px solid var(--secondary);
}
footer .text-section {
  text-align: center;
  color: #8b929d;
  font-size: 0.98rem;
}
footer .text-section p {
  color: #8b929d;
  font-size: 0.96rem;
  margin-bottom: 0px;
}

@media (max-width: 650px) {
  footer nav {
    gap: 15px;
    flex-wrap: wrap;
  }
  footer .text-section {
    font-size: 0.9rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #151a1e 82%, #23272b 100%);
  color: #EFEFEF;
  border-top: 3px solid var(--secondary);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 16vw 20px 5vw;
  font-size: 1rem;
  box-shadow: 0 -2px 24px 0 rgba(28,34,40,0.18);
  transition: opacity 0.24s, transform 0.2s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.cookie-banner .cookie-text {
  max-width: 820px;
  flex: 1 1 70%;
  font-size: 0.96rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex: 1 1 auto;
}
.cookie-banner button {
  background: var(--secondary);
  color: #212529;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.17s;
  min-width: 90px;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFC700;
  color: #212529;
}
.cookie-banner .cookie-settings {
  background: #23272b;
  color: var(--secondary);
  border: 1.2px solid var(--border-metal);
  box-shadow: 0 1.5px 8px 0 rgba(40,74,95,0.045);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--secondary);
  color: #23272b;
  border-color: var(--secondary);
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 18px 4vw 15px 4vw;
    font-size: 0.94rem;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    font-size: 0.92rem;
    padding: 13px 2vw 13px 2vw;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #23272b;
  border-radius: 16px;
  box-shadow: 0 8px 39px 0 rgba(36,53,61,0.19);
  padding: 36px 27px 21px 27px;
  width: 95vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal h3 {
  color: var(--secondary);
  margin-bottom: 5px;
  font-size: 1.28rem;
}
.cookie-modal .cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-cat-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 12px;
  background: var(--border-metal);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #EFEFEF;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 17px;
  background: #1A2329;
}
.cookie-modal .toggle-label {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.99rem;
}
.cookie-modal .cookie-desc {
  font-size: 0.96rem;
  color: var(--accent);
  margin-left: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
}
.cookie-modal button {
  padding: 9px 21px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 1.00rem;
  font-weight: 700;
  background: var(--secondary);
  color: #23272b;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal button.secondary {
  background: #23272b;
  color: var(--secondary);
  border: 1.2px solid var(--border-metal);
}
.cookie-modal button.secondary:hover,
.cookie-modal button.secondary:focus {
  background: var(--secondary);
  color: #23272b;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #FFC700;
  color: #1A2329;
}

/* MICRO-ANIMATIONS */
.cta-button, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s cubic-bezier(.3,.7,.4,1.5), color 0.19s;
}

section, .section, .testimonial-card, .card {
  transition: box-shadow 0.19s, background 0.20s, border-color 0.17s;
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(40,81,107,0.24);
  border-color: var(--secondary);
}

/* FOCUS STYLES */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2.5px;
  background: rgba(255,215,0,0.09);
}

/* INDUSTRIAL MODERN METALLIC ACCENTS */
.card, .testimonial-card {
  border: 1.5px solid var(--border-metal);
  box-shadow: var(--card-shadow);
}
.card::after {
  content: '';
  position: absolute;
  right: 20px; top: -10px;
  width: 32px; height: 4px;
  background: linear-gradient(90deg, #8396A0 0%, #EEF2F4 100%);
  border-radius: 2px;
  opacity: 0.13;
  pointer-events: none;
  z-index: 2;
}

/* INDUSTRIAL FONT/STYLE ENHANCEMENT */
@media (max-width: 540px) {
  h1, h2, h3 {
    font-size: 1.014em !important;
    font-weight: 700;
  }
  p, li, blockquote {
    font-size: 0.98em;
  }
}

/* VISUAL HIERARCHY AND SPACING */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper > * + * {
  margin-top: 0px;
}
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

.container + .container {
  margin-top: 24px;
}

/* NO ABSOLUTE POSITIONING FOR CONTENT CARDS */

/* ENSURE NO OVERLAP WITH FLEX SPACING */
.content-grid > *, .card-container > *, .text-image-section > *, .feature-item > * {
  margin: 0;
}

/* DARK MODE EXTRAS */
@media (prefers-color-scheme: dark) {
  body {
    background: #151a1e;
    color: #EFEFEF;
  }
  .testimonial-card {
    background: #FAFAFA;
    color: #1d2733;
  }
}

/* SELECTION COLOR */
::selection {
  background: var(--secondary);
  color: #191e23;
}

/* SCROLLBAR FOR DARK THEME */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 5px;
}
body::-webkit-scrollbar-track {
  background: #23272b;
}

/* ACCESSIBILITY - HIGH CONTRAST ON TESTIMONIALS */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card span {
  color: #121417;
}

/* UTILITIES */
.hidden { display: none !important; }

/* RESPONSIVE FLEX WRAPS */
@media (max-width: 970px) {
  .content-grid, .card-container, .logo-strip {
    flex-wrap: wrap;
    gap: 22px;
  }
  .logo-strip {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  .card, .testimonial-card {
    padding: 16px 7px;
  }
}
/* END CSS */
