/* CSS RESET & FONT SETUP */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #181d21;
  color: #ECE9E6;
  font-family: 'Arial', 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
a {
  color: #A8C262;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffffff;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ECE9E6;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {font-size: 2.5rem; line-height: 1.1;}
h2 {font-size: 2rem; line-height: 1.2;}
h3 {font-size: 1.3rem;}
h4, h5, h6 {font-size: 1rem;}
p {
  font-size: 1rem;
  color: #C7CED6;
  margin-bottom: 18px;
}
strong, b {
  color: #ECE9E6;
}

/****************************************/
/* BRAND & INDUSTRIAL MODERN VARIABLES  */
/****************************************/
:root {
  --primary: #295474;
  --secondary: #ECE9E6;
  --secondary-dark: #23272b;
  --accent: #A8C262;
  --accent-alt: #95b036;
  --neutral-dark: #181d21;
  --neutral-mid: #23272b;
  --neutral-light: #44484d;
  --card-bg: #202429;
  --border-metal: #6d7176;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: Arial, sans-serif;
}

/****************************************/
/* GENERAL STRUCTURE & CONTAINERS       */
/****************************************/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: transparent;
  padding: 0;
  border-radius: 12px;
}

/****************************************/
/* FLEX SPACING & LAYOUT PATTERNS       */
/****************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-metal);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(30,36,40,0.10), 0 0.5px 1.5px 0 rgba(44, 51, 56, 0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, border 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 18px 2px rgba(80,96,100,0.16);
  border-color: var(--accent-alt);
}
.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: center;
  gap: 20px;
  background: #F2F2F2;
  color: #23272b;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(41, 84, 116, 0.04);
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(41,84,116,.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****************************************/
/* HEADER & NAVIGATION                  */
/****************************************/
header {
  width: 100%;
  background: var(--neutral-dark);
  border-bottom: 1.5px solid var(--border-metal);
  position: relative;
  z-index: 20;
}
.nav-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 12px 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.4px;
  font-size: 1rem;
  padding: 6px 2px 6px 2px;
  transition: color 0.19s, border-bottom 0.2s;
  border-bottom: 2.5px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}
.cta-btn {
  font-family: var(--font-display);
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  color: #23272b;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(41, 84, 116, .08);
  margin-left: 14px;
  transition: background 0.22s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent-alt), var(--accent));
  color: #181d21;
  box-shadow: 0 6px 24px 0 rgba(168, 194, 98, 0.21);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  z-index: 60;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  right: -380px;
  width: 320px;
  height: 100vh;
  background: #22282c;
  box-shadow: -4px 0 28px 1px rgba(30,44,50,0.26);
  transition: transform 0.35s cubic-bezier(0.62,0.03,0.43,0.98);
  transform: translateX(0);
  z-index: 90;
  padding: 32px 20px 16px 20px;
}
.mobile-menu.open {
  right: 0;
  transform: translateX(-380px);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent-alt);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--secondary);
  padding: 10px 2px;
  border-radius: 2px;
  transition: color 0.18s;
  min-width: 180px;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent-alt);
  background: rgba(255,255,255,0.06);
}

/****************************************/
/* HERO SECTION & HEADINGS              */
/****************************************/
.hero {
  background: linear-gradient(95deg, #23272b 70%, #181d21 100%);
  border-bottom: 2px solid var(--border-metal);
  box-shadow: 0 10px 36px 0 rgba(30,44,54,0.09);
  padding: 68px 0 52px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 720px;
}
.hero h1 {
  color: var(--secondary);
  font-size: 2.8rem;
  margin-bottom: 14px;
  text-shadow: 1px 3px 8px #0d1215, 0 1px 0 rgba(41,84,116,.08);
}
.hero p {
  color: #A8C262;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.hero .cta-btn {
  margin-left: 0;
}

/****************************************/
/* FEATURE GRID                         */
/****************************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 18px 0;
}
.feature {
  flex: 1 1 min(210px, 43vw);
  min-width: 180px;
  max-width: 270px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-metal);
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(54,72,86,0.08);
  padding: 24px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s, border .22s;
}
.feature img {
  width: 44px;
  height: 44px;
  filter: grayscale(0.6) contrast(1.04);
  opacity: 0.92;
}
.feature h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--secondary);
  margin-bottom: 0;
}
.feature p {
  color: #C7CED6;
  font-size: 1rem;
}
.feature:hover, .feature:focus {
  border-color: var(--accent-alt);
  box-shadow: 0px 5px 16px 0 rgba(168,194,98,0.10);
}

/****************************************/
/* TESTIMONIALS & CARDS                  */
/****************************************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}
.testimonial-card p {
  color: #23272b;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/****************************************/
/* FAQ LISTs & EXPERT QUOTES            */
/****************************************/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: var(--neutral-light);
  border-left: 4px solid var(--accent-alt);
  border-radius: 7px;
  padding: 18px 26px;
  margin-bottom: 14px;
  color: #ECE9E6;
  box-shadow: 0 1px 5px 0 rgba(45, 68, 83, 0.05);
}
.faq-item h3 {
  color: var(--accent);
  margin-bottom: 4px;
}
.expert-quotes {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.expert-quotes blockquote {
  background: #ECE9E6;
  color: #23272b;
  border-left: 4px solid var(--accent-alt);
  border-radius: 8px;
  padding: 18px 22px 12px 24px;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
  box-shadow: 0 0.5px 2.5px rgba(41,84,116,.067);
  position: relative;
}
.expert-quotes blockquote span {
  font-size: 0.9rem;
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/****************************************/
/* FOOTER                               */
/****************************************/
footer {
  background: var(--neutral-mid);
  border-top: 1.5px solid var(--border-metal);
  color: var(--secondary);
  padding: 38px 0 0 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ececec;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 46px;
  font-size: 1rem;
}
.footer-contact address {
  font-style: normal;
  color: #ECE9E6;
}
.footer-contact img {
  width: 18px;
  display: inline-block;
  margin-right: 4px;
  vertical-align: text-bottom;
  filter: grayscale(0.8) contrast(1.1);
  opacity: 0.7;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin-left: 2px;
  transition: color .18s;
}
.footer-contact a:hover {
  color: var(--secondary);
}

/****************************************/
/* UTILS & DETAILS                      */
/****************************************/
::-webkit-scrollbar {
  width: 11px;
  background: var(--neutral-mid);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-alt);
}
/* Hide input/checkbox base styles in cookie modal (later override as needed) */
input[type="checkbox"] {
  accent-color: var(--accent-alt);
}

/****************************************/
/* COOKIE CONSENT BANNER & MODAL        */
/****************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #23272b;
  color: #ECE9E6;
  border-top: 2.5px solid var(--primary);
  box-shadow: 0 -3px 16px 0 rgba(41,84,116,0.09);
  padding: 24px 14px 14px 14px;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: cookie-slideup 0.47s;
}
@keyframes cookie-slideup {
  from { transform: translateY(100%); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
.cookie-banner p {
  color: #ECE9E6;
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 2px;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: #23272b;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 9px 20px;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(130,139,109,.08);
  margin: 0 2px;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .2s;
}
.cookie-btn.settings {
  background: var(--neutral-mid);
  color: var(--accent);
  border: 1.5px solid var(--accent-alt);
}
.cookie-btn.reject {
  background: #b45757;
  color: #fff9f2;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-alt);
}
.cookie-btn.reject:hover {
  background: #872a2a;
}
.cookie-btn.settings:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal-overlay {
  position: fixed;
  background: rgba(20,28,33,0.64);
  z-index: 1100;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-cookie-overlay .29s;
}
@keyframes fadein-cookie-overlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #F7F7F7;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(52,61,74,.26);
  width: 96%;
  max-width: 430px;
  padding: 30px 22px 18px 26px;
  color: #23272b;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: modal-popin .20s;
}
@keyframes modal-popin {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-category label {
  color: #23272b;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal .modal-close:hover {
  color: var(--accent-alt);
}

/****************************************/
/* RESPONSIVE DESIGN - MOBILE FIRST      */
/****************************************/
@media (max-width: 1110px) {
  .container { max-width: 96vw; }
  .footer-contact { flex-direction: column; gap:8px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 24px; }
  .feature { max-width: 47vw; }
  .footer-nav { flex-wrap: wrap; gap: 10px; }
  .footer-contact { flex-direction: column; gap:12px; }
}
@media (max-width: 768px) {
  .nav-container, header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 2px;
    font-size: 1rem;
    padding: 9px 18px;
  }
  .hero {
    padding: 36px 0 26px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .feature-grid {
    gap: 14px;
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature {
    max-width: 100%;
    min-width: 130px;
    font-size: 1rem;
    padding: 20px 10px 16px 12px;
    gap: 12px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .testimonial-slider {
    gap: 16px;
    flex-direction: column;
  }
  .footer-contact { flex-direction: column; gap:7px; }
  .section {
    margin-bottom: 34px;
    padding: 22px 12px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 650px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  p, a, li, .cta-btn { font-size: 0.98rem; }
  .feature, .feature-grid, .testimonial-slider, .card, .section {
    gap: 10px;
    padding: 10px 4px;
    margin-bottom: 16px;
  }
  .hero { padding: 16px 0 10px 0; }
  .mobile-menu {
    width: 94vw;
    right: -100vw;
    padding: 24px 6vw 10px 4vw;
  }
  .mobile-menu.open {
    transform: translateX(-99vw);
  }
  .cookie-modal { padding: 20px 6px 12px 14px; }
}

/****************************************/
/* ANIMATIONS & MICRO-INTERACTIONS      */
/****************************************/
.card, .feature, .testimonial-card, .faq-item {
  transition: box-shadow 0.22s, border 0.20s, background 0.18s, transform 0.22s;
}
.card:focus-within, .card:hover,
.feature:hover, .feature:focus-within,
.testimonial-card:focus-within, .testimonial-card:hover,
.faq-item:focus-within, .faq-item:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 6px 20px 0 rgba(41,84,116,.13);
}
.cta-btn:active, .feature:active, .card:active {
  transform: scale(0.98);
}

/****************************************/
/* HELPER CLASSES & MODERN INDUSTRIAL    */
/****************************************/
.metallic-text {
  color: #ECE9E6;
  letter-spacing: 1.1px;
  font-family: var(--font-display);
  text-shadow: 0 1px 10px #44484d, 1px 1px 0 #6d7176;
}
.urban-bg {
  background: repeating-linear-gradient(115deg, #262b2f 0 12px, #23272b 12px 24px);
}
::-webkit-input-placeholder { color: #8a939b; }
::-moz-placeholder {color: #8a939b; }
:-ms-input-placeholder { color: #8a939b; }
::placeholder { color: #8a939b; opacity: 1; }

/****************************************/
/* PRINT TWEAKS (for accessibility)      */
/****************************************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body { background: #fff; color: #191c21; }
}
