/* ===============================
   CSS RESET & NORMALIZATION
   =============================== */
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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  background-color: #181D23;
  color: #ECECEC;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.58;
  transition: background 0.2s;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #8BC034;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #F7F3E2;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F7F3E2;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}
strong {
  color: #8BC034;
}
p, li, address, span {
  font-size: 1rem;
  color: #ECECEC;
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.18rem; }
  p, li, address, span { font-size: 0.96rem; }
}
/* ===============================
   BRAND COLOR VARIABLES
   =============================== */
:root {
  --clr-primary: #27517C;
  --clr-secondary: #8BC034;
  --clr-accent: #F7F3E2;
  --clr-bg: #181D23;
  --clr-bg-dark: #121519;
  --clr-text: #ECECEC;
  --clr-card: #23282F;
  --clr-card-light: #22293a;
  --clr-metal: #7E8892;
  --clr-shadow: rgba(33,38,43,0.18);
  --border-radius: 12px;
  --shadow-md: 0 6px 28px 0 var(--clr-shadow);
  --shadow-sm: 0 1.5px 8px 0 var(--clr-shadow);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}
/* ===============================
   CONTAINER UTILITIES
   =============================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 1280px) {
  .container { max-width: 96vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
}
/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: #181D23;
  border-bottom: 2px solid var(--clr-metal);
  box-shadow: 0 1px 12px 0 #22282f55;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 12px;
  filter: grayscale(0.1) contrast(1.1);
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--clr-accent);
  border-radius: 4px;
  transition: background 0.18s, box-shadow 0.12s;
  position: relative;
}
nav a:after {
  content: "";
  display: block;
  width: 0;
  margin: auto;
  height: 2px;
  background: var(--clr-secondary);
  transition: width .23s cubic-bezier(.4,1.7,.59,.03);
}
nav a:hover:after, nav a:focus:after {
  width: 100%;
}
nav a.cta {
  background: var(--clr-secondary);
  color: #181D23 !important;
  border-radius: 8px;
  font-weight: bold;
  text-shadow: 0 1.5px 4px #1c2a3e42;
  box-shadow: 0 1.5px 4px 0 var(--clr-shadow);
  letter-spacing: 1px;
  margin-left: 14px;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
}
nav a.cta:hover, nav a.cta:focus {
  background: #ABC74B;
  color: #181D23 !important;
  box-shadow: 0 5px 18px 0 #21262b48;
}
@media (max-width: 960px) {
  header nav {
    display: none;
  }
}
/* ===============================
   MOBILE MENU
   =============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F7F3E2;
  font-size: 2.1rem;
  border: none;
  margin-left: auto;
  cursor: pointer;
  z-index: 51;
  padding: 7px 10px 7px 7px;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--clr-secondary);
}
@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 95vw;
  max-width: 410px;
  background: #23282F;
  color: #ECECEC;
  z-index: 1002;
  box-shadow: 4px 0 24px 0 #21262b55;
  display: flex;
  flex-direction: column;
  transform: translateX(-120%);
  transition: transform 0.36s cubic-bezier(.77,.08,.37,.98);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #8BC034;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 16px 20px 0 0;
  cursor: pointer;
  z-index: 1003;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 38px 0 0 36px;
}
.mobile-nav a {
  color: var(--clr-accent);
  font-family: var(--font-display);
  font-size: 1.14rem;
  padding: 7px 4px 7px 0;
  border-radius: 2px;
  min-width: 250px;
  transition: color 0.13s, background 0.13s;
  position: relative;
}
.mobile-nav a:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 2px;
  background: var(--clr-secondary);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width .17s linear;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--clr-secondary);
  background: #1a2028;
}
.mobile-menu.open {
  box-shadow: 2px 0 32px var(--clr-shadow);
}
@media (max-width: 600px) {
  .mobile-menu { width: 100vw; max-width: 100vw; }
  .mobile-nav a { min-width: 120px; font-size: 1rem; }
}
/* Overly to gray out site when menu open (optional, not required)
.mobile-menu.open::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(13,16,21,0.3);
  z-index: -1;
}
*/
/* ===============================
   MAIN LAYOUT & SPACING
   =============================== */
main {
  margin-top: 24px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  margin-bottom: 0;
  padding: 32px 28px;
  background: var(--clr-card-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.text-section {
  background: #23272F;
  border-left: 5px solid var(--clr-secondary);
  padding-left: 44px;
}
@media (max-width: 900px) {
  .content-wrapper, .text-section { padding: 20px 11px 22px 11px; }
  .text-section { padding-left: 20px; border-left-width: 2.5px; }
}
@media (max-width: 660px) {
  .section { padding: 24px 3px; margin-bottom: 38px; }
}
.subheadline {
  font-size: 1.26rem;
  color: var(--clr-metal);
  margin-bottom: 19px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.2px;
}
/* ===============================
   FLEXBOX CARDS, GRIDS, FEATURES
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--clr-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container { flex-direction: column; gap: 20px; }
}
@media (max-width: 1024px) {
  .content-grid { gap: 13px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.feature-icons, .commitment-icons, .benefits-icons, .trust-signs {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.feature-icons img, .commitment-icons img, .benefits-icons img, .trust-signs img {
  height: 38px;
  width: 38px;
  margin-right: 0;
  filter: grayscale(0.2) contrast(1.3) brightness(1.1);
  transition: filter .17s;
}
.feature-icons img:hover, .commitment-icons img:hover, .benefits-icons img:hover {
  filter: grayscale(0) contrast(1.7) brightness(1.3) drop-shadow(0 3px 8px #8bc03444);
}
/* ===============================
   BUTTONS & CTAs
   =============================== */
.cta, .cta-button, button, input[type="submit"] {
  background: var(--clr-secondary);
  color: #181D23;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 2.5px 10px var(--clr-shadow);
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.13s;
}
.cta:hover, .cta:focus, .cta-button:hover, .cta-button:focus,
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #ABC74B;
  color: #23272F;
  box-shadow: 0 4px 18px var(--clr-secondary);
  transform: translateY(-2px) scale(1.025);
}
input:focus, textarea:focus, select:focus {
  outline: 2.5px solid var(--clr-secondary);
}
/* ===============================
   TESTIMONIALS, RATINGS, BADGES
   =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F3E2;
  color: #23282F;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 16px #21262b40;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.testimonial-card p {
  color: #23282F;
  font-size: 1.05rem;
  flex: 1;
  line-height: 1.55;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #27517C;
  font-weight: bold;
  font-size: 0.96rem;
  margin-left: 12px;
  opacity: 0.9;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 7px;
  }
  .testimonial-card span { margin-left: 0; }
}
.ratings-summary, .rating-summary, .client-satisfaction {
  margin-top: 19px;
  color: var(--clr-secondary);
  background: #181D23;
  border: 1.5px solid #8BC03434;
  padding: 12px 22px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 1.5px 8px #21262b30;
}
@media (max-width: 499px) {
  .ratings-summary, .rating-summary, .client-satisfaction {
    padding: 8px 5px;
    font-size: 0.99rem;
  }
}
/* ===============================
   FOOTER
   =============================== */
footer {
  background: #181D23;
  border-top: 2px solid var(--clr-metal);
  margin-top: 36px;
  padding: 28px 0 8px 0;
  font-size: 15px;
  box-shadow: 0 -2px 14px #23282F22;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  flex-direction: row;
  gap: 20px;
  margin-bottom: 14px;
}
footer nav a {
  color: var(--clr-accent);
  font-size: 0.98rem;
  margin-right: 9px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--clr-secondary);
}
footer address {
  display: flex;
  flex-direction: row;
  gap: 34px;
  margin-bottom: 10px;
  font-style: normal;
  color: var(--clr-metal);
  font-family: var(--font-body);
  opacity: .9;
  font-size: 0.98rem;
}
@media (max-width: 700px) {
  footer address { flex-direction: column; gap: 4px; }
}
footer p {
  margin-top: 5px;
  font-size: 0.90rem;
  color: #878f95;
}
/* ===============================
   COOKIE BANNER & PREFERENCES MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22282F;
  color: var(--clr-accent);
  border-top: 2px solid var(--clr-metal);
  box-shadow: 0 -3px 18px #11151e44;
  z-index: 1004;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 21px 10px 20px 24px;
  font-size: 1.01rem;
  transition: transform 0.27s cubic-bezier(.75,.21,.29,.95), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__msg {
  flex: 1;
  max-width: 480px;
  color: var(--clr-accent);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-banner__actions .cta, .cookie-banner__actions button {
  margin: 0;
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 7px;
  background: var(--clr-secondary);
  color: #23272F;
  font-weight: bold;
  border: none;
}
.cookie-banner__actions .cta:hover, .cookie-banner__actions button:hover, .cookie-banner__actions .cta:focus, .cookie-banner__actions button:focus {
  background: #ABC74B;
  color: #181D23;
}
.cookie-banner__actions .settings-btn {
  background: #9EA8B3;
  color: #23282F;
}
.cookie-banner__actions .settings-btn:hover{
  background: var(--clr-secondary);
  color: #23272F;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 0.94rem;
    padding: 13px 3px 14px 7px;
    align-items: flex-start;
  }
  .cookie-banner__actions { gap: 7px; }
}
/* ---- Cookie Preferences Modal ---- */
.cookie-modal-overlay {
  content: "";
  background: rgba(13, 16, 21, 0.75);
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #22282f;
  color: var(--clr-accent);
  border-radius: 15px;
  box-shadow: 0 7px 32px var(--clr-shadow);
  min-width: 320px;
  max-width: 98vw;
  padding: 30px 32px 22px 32px;
  z-index: 2002;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookie-modal-in 0.31s cubic-bezier(.8,.17,.16,1.08);
}
@keyframes cookie-modal-in {
  from { transform: translateY(60px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--clr-secondary);
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-category label {
  cursor: pointer;
  font-weight: 600;
  color: var(--clr-accent);
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  background: #23282F;
  border: 2px solid var(--clr-metal);
  border-radius: 11px;
  width: 34px; height: 18px;
  position: relative;
  transition: border-color 0.12s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
}
.cookie-toggle::after {
  content: "";
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #EEE;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left 0.14s cubic-bezier(.57,.23,.75,.76), background 0.14s;
}
.cookie-toggle:checked::after {
  left: 18px;
  background: #fff;
}
.cookie-desc {
  font-size: 1rem;
  color: #b1c2d2;
  margin-bottom: 14px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #ddd;
  font-size: 2.1rem;
  position: absolute;
  top: 13px;
  right: 17px;
  cursor: pointer;
}
.cookie-modal__close:hover {
  color: var(--clr-secondary);
}
@media (max-width: 499px) {
  .cookie-modal { min-width: 0; padding: 15px 3px 7px 9px; }
  .cookie-modal__actions { gap: 8px; flex-direction: column; align-items: flex-end; }
}
/* ===============================
   LISTS
   =============================== */
ul {
  margin-left: 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
  color: #E5E7EB;
  font-size: 1.04rem;
  line-height: 1.58;
}
ul li strong {
  color: var(--clr-secondary);
}
@media (max-width: 600px) {
  ul { margin-left: 8px; font-size: 0.98rem; }
}
/* ===============================
   MISC/UTILITY
   =============================== */
hr {
  border: 0;
  border-top: 1px solid var(--clr-metal);
  opacity: .12;
  margin: 21px 0;
}
::-webkit-scrollbar { width: 11px; background: #21282B; }
::-webkit-scrollbar-thumb { background: #323E4B; border-radius: 9px; }

/* ================
   MICRO-ANIMATIONS
   ================ */
.card, .content-wrapper, .testimonial-card, .cta, .feature-item, .cookie-modal {
  transition: box-shadow 0.15s, background 0.13s, transform 0.15s;
}
.card:hover, .content-wrapper:hover {
  box-shadow: 0 7px 32px #8bc03424, var(--shadow-md);
  background: #263045;
  transform: translateY(-2px) scale(1.01);
}
.content-wrapper:active { transform: scale(.98); }

/* ===============================
   RESPONSIVE DESIGN & FLEX-ONLY LAYOUTS
   =============================== */
@media (max-width: 1100px) {
  .content-wrapper, .text-section {
    padding-left: 15px; padding-right: 15px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  .content-wrapper, .text-section {
    padding-left: 5px; padding-right: 5px;
  }
  h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
  h1, h2 { text-align: left; }
  .section { padding: 14px 2px; }
}
/* ===============================
   OTHER SIMPLE ELEMENTS
   =============================== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222a34;
  border: 2px solid #8BC03466;
  border-radius: 8px;
  padding: 10px 15px;
  background: #F7F3E2;
  margin-bottom: 16px;
  margin-top: 3px;
  outline: none;
  transition: border-color 0.13s, box-shadow 0.14s;
  width: 100%;
  max-width: 410px;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 2px 8px #abc74b71;
  border-color: var(--clr-secondary);
}
label {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  color: var(--clr-accent);
  font-family: var(--font-display);
}
/* ===============================
   DECORATIVE / INDUSTRIAL TOUCHES
   =============================== */
.content-wrapper, .testimonial-card, .card {
  border: 1.5px solid rgba(120,138,153,0.08);
}
.text-section {
  box-shadow: 2px 0 18px 0 #7e88923b inset;
}
.card {
  background: linear-gradient(111deg, #232a39 69%, #181D23 100%);
  border-left: 4px solid var(--clr-secondary);
}
.card:hover {
  background: #242f38;
  border-color: #ABC74B;
}
.testimonial-card {
  border-left: 4px solid var(--clr-primary);
}
@media (max-width: 670px) {
  .testimonial-card, .card, .content-wrapper { border-left-width: 2px; }
}
/* ===============================
   OVERRIDES FOR DARK/LIGHT TEXT
   =============================== */
.testimonial-card p, .testimonial-card span {
  color: #23282F;
}
.testimonial-card strong { color: var(--clr-primary); }

/* ===============================
   PRINT FRIENDLY (not essential, but modern)
   =============================== */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cta, .mobile-menu-toggle { display: none !important; }
}
