/* ==== 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #181f24;
  color: #e5ebef;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
  outline: none;
  border: none;
  background: none;
}

button, .cta {
  cursor: pointer;
}

::-webkit-input-placeholder { color: #adb5b8; }
::-moz-placeholder { color: #adb5b8; }
:-ms-input-placeholder { color: #adb5b8; }
::placeholder { color: #adb5b8; }

/* ==== BRAND COLORS, FONTS & VARIABLES ==== */
:root {
  --primary: #1A4966;
  --primary-dark: #15304a;
  --secondary: #89C899;
  --secondary-dark: #4c7057;
  --accent: #F8FAFC;
  --steel: #6a7a8c;
  --mid-grey: #202831;
  --dark: #181f24;
  --light: #f8fafc;
  --card-dark: #232a30;
  --border-steel: #353e43;
  --warn: #f15c40;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');
  font-weight: 700 800;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
  font-weight: 400 500 700;
}

/* Typography scale */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--accent);
}
p, li, span, address, dd, dt {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #e5ebef;
}
strong {
  color: var(--secondary);
  font-weight: 500;
}

.small {
  font-size: 0.92rem;
  color: #c3c8cc;
}

/* ==== LAYOUT CONTAINERS (Flexbox only) ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-dark);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(27,34,39,0.13);
  border: 1px solid var(--border-steel);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mid-grey);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.25);
  border: 1px solid var(--border-steel);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  transition: box-shadow 0.21s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(62,70,80,0.24);
  transform: translateY(-2px) scale(1.02);
}
.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;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #24283a;
  box-shadow: 0 4px 20px 0 rgba(40,46,50,0.13);
  border-left: 6px solid var(--primary);
  transition: box-shadow 0.21s, border-color 0.18s;
  min-width: 0;
}
.testimonial-card p {
  color: #232a30;
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: var(--primary-dark);
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(62,70,80,0.26);
  border-color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-dark);
  border-radius: 12px;
  border: 1px solid var(--border-steel);
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
}
.feature-item strong {
  color: var(--secondary);
  font-weight: 700;
}
.feature-item img {
  width: 32px;
  height: 32px;
}
@media (max-width: 768px) {
  .section {
    padding: 25px 6px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ==== HEADER, NAVIGATION ==== */
header {
  background: var(--dark);
  border-bottom: 1px solid var(--border-steel);
  width: 100%;
  z-index: 1200;
  position: sticky;
  top: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
nav > a img {
  height: 38px;
  margin-right: 10px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
nav ul li {
  margin-bottom: 0;
}
nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.015em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--primary);
  color: var(--secondary);
}
nav .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 10px 22px;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.07rem;
  margin-left: 22px;
  box-shadow: 0 2px 8px 0 rgba(122,169,120,0.20);
  border: 1.5px solid var(--secondary-dark);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  text-shadow: 0 1px 1px #fff2;
  letter-spacing: 0.018em;
}
nav .cta:hover,
nav .cta:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--secondary);
  box-shadow: 0 6px 24px 0 rgba(122,169,120,0.37);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.2rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--secondary);
  margin-left: 8px;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s;
  z-index: 1401;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 6px 20px 0 rgba(60,182,133,0.23);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,38,48,0.99);
  display: none;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1800;
  transition: transform 0.34s cubic-bezier(.49,1.34,.43,1.01);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: var(--accent);
  font-size: 2.1rem;
  margin: 24px 24px 4px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2001;
  padding: 5px 8px;
  border-radius: 7px;
  transition: background 0.19s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--warn);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  gap: 0;
  margin-top: 35px;
  padding-left: 32px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.29rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border-steel);
  transition: background 0.17s, color 0.17s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}

@media (max-width: 1024px) {
  nav ul {
    display: none;
  }
  nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Hide desktop nav on mobile */
@media (max-width: 1024px) {
  nav ul, nav .cta {
    display: none !important;
  }
  nav {
    gap: 0;
  }
}

/* ==== MAIN CONTENT STYLES ==== */
main {
  margin-bottom: 60px;
  margin-top: 25px;
}
section {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== SPECIAL LAYOUTS, FLEX ONLY ==== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
dt { font-weight: bold; margin-bottom: 4px; color: var(--secondary); }
dd { margin-bottom: 20px; }

table {
  width: 100%;
  background: var(--mid-grey);
  border-collapse: collapse;
  border-radius: 12px;
  margin-bottom: 32px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 rgba(31,37,43,0.13);
  border: 1px solid var(--border-steel);
}
thead tr {
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  text-align: left;
}
td, th {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-steel);
}
tbody tr {
  background: var(--card-dark);
  color: var(--accent);
  transition: background 0.14s;
}
tbody tr:hover {
  background: var(--secondary-dark);
}

ol li, ul li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

ol {
  counter-reset: indstep;
  margin-left: 0;
  padding-left: 0;
}
ol li::before {
  counter-increment: indstep;
  content: counter(indstep) '.';
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: bold;
  margin-right: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
ul li img, ol li img {
  margin-right: 12px;
  width: 28px;
  height: 28px;
  filter: grayscale(36%) contrast(1.1);
}
.menu-icon { width: 32px; height: 32px; }

/* ==== BUTTONS ==== */
.cta, button[type="submit"] {
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 33px;
  padding: 12px 32px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border: 1.5px solid var(--secondary-dark);
  letter-spacing: 0.018em;
  transition: background 0.15s, color 0.15s, transform 0.14s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(122,169,120,0.12);
  text-shadow: 0 1px 1px #c3ccff15;
  margin-top: 10px;
}
.cta:hover, .cta:focus,
button[type="submit"]:hover, button[type="submit"]:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px 0 rgba(122,169,120,0.24);
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: var(--mid-grey);
  color: var(--accent);
  border-top: 1.5px solid var(--border-steel);
  padding: 0 0 18px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding-top: 36px;
  padding-bottom: 18px;
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav ul li a {
  font-size: 1rem;
  color: var(--secondary);
  letter-spacing: 0.02em;
  transition: color 0.12s;
}
footer nav ul li a:hover,footer nav ul li a:focus {
  color: var(--accent);
}
footer address {
  font-size: 0.99rem;
  color: #d2d6dd;
  margin-top: 7px;
}
footer address strong {
  color: var(--accent);
  font-size: 1.12rem;
}
footer address img {
  width: 19px;
  height: 19px;
  margin-right: 6px;
  vertical-align: middle;
}
footer address a {
  color: var(--secondary);
  transition: color 0.1s;
}
footer address a:hover,footer address a:focus { color: var(--accent); }

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 8px;
   }
}

/* ==== COOKIE CONSENT BANNER ==== */
#cookie-consent {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--mid-grey);
  color: var(--accent);
  padding: 24px 18px 16px 18px;
  border-top: 2.5px solid var(--primary);
  box-shadow: 0 -2px 16px 0 rgba(38,54,80,0.19);
  z-index: 3000;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  font-size: 1rem;
  transition: transform 0.34s, opacity 0.37s;
}
#cookie-consent.hide {
  transform: translateY(70px);
  opacity: 0;
  pointer-events: none;
}
#cookie-consent .cookie-text {
  max-width: 480px;
  color: var(--accent);
}
#cookie-consent .cookie-actions {
  display: flex;
  gap: 14px;
}
#cookie-consent button, #cookie-consent .cta {
  padding: 8px 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: var(--accent);
  margin-right: 0;
  transition: background 0.18s, color 0.13s;
}
#cookie-consent button.accept {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
}
#cookie-consent button.accept:hover,#cookie-consent button.accept:focus {
  background: var(--primary);
  color: var(--accent);
}
#cookie-consent button.reject {
  background: var(--warn);
  color: #fff;
  font-weight: 700;
}
#cookie-consent button.reject:hover,#cookie-consent button.reject:focus {
  background: #b32d15;
}
#cookie-consent button.settings {
  background: transparent;
  color: var(--secondary);
  border: 1.2px solid var(--secondary);
}
#cookie-consent button.settings:hover,#cookie-consent button.settings:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}
@media (max-width: 620px) {
  #cookie-consent {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 9px 10px 9px;
    gap: 18px;
    font-size: 0.98rem;
  }
}

/* === COOKIE MODAL === */
#cookie-modal {
  position: fixed;
  z-index: 3400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,32,40,0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal .modal-content {
  background: var(--mid-grey);
  color: var(--accent);
  border-radius: 15px;
  max-width: 420px;
  width: 92vw;
  padding: 34px 22px 28px 22px;
  box-shadow: 0 6px 36px 0 rgba(26,49,59,0.31);
  border: 1.5px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.38s cubic-bezier(.36,1.34,.23,1.01);
}
@keyframes modalIn {
  from { transform: scale(0.89) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.28rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 5px;
}
#cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
#cookie-modal li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 2px;
}
#cookie-modal label {
  font-size: 1rem;
}
#cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 14px;
  align-items: center;
}
#cookie-modal button, #cookie-modal .cta {
  padding: 9px 22px;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, color 0.13s;
}
#cookie-modal button.close {
  background: transparent;
  color: var(--accent);
  border: 1.2px solid var(--accent);
}
#cookie-modal button.close:hover,#cookie-modal button.close:focus {
  background: var(--warn);
  border-color: var(--warn);
  color: #fff;
}

/* === RESPONSIVE FLEX ALIGNMENTS === */
@media (max-width: 900px) {
  .card-container, .content-grid, .testimonial-card, .feature-item, .container, .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .container, .content-wrapper {
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card, .section {
    margin-bottom: 18px;
    padding: 15px 7px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }
  nav > a img { height: 30px; }
}
@media (max-width: 400px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.07rem; }
}

/* === FORM ELEMENTS === */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: var(--dark);
  color: var(--accent);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.16s;
  outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.7px solid var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(82,198,185,0.13);
}

label {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 1rem;
  display: block;
}

/* === MICRO INTERACTIONS & EFFECTS === */
a, button, .cta {
  transition: color 0.15s, background 0.16s, box-shadow 0.18s, border 0.15s, transform 0.14s;
}
input, textarea {
  transition: border 0.16s, box-shadow 0.14s;
}
.card, .testimonial-card, .feature-item {
  will-change: box-shadow, border, transform;
}

/* ==== INDUSTRIAL MODERN METALLIC DECOR ==== */
body, .section, .card, .testimonial-card, .feature-item {
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 6px 0 rgba(33,36,39,0.12) !important;
  /* Subtle metallic-style borders and shadows */
}
.card, .testimonial-card, .feature-item {
  border: 1px solid var(--border-steel);
}

/* ======= FOCUSED OUTLINES ======= */
button:focus, .cta:focus, input:focus, textarea:focus, a:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* ==== UTILITY CLASSES ==== */
.flex {
  display: flex;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-col {
  flex-direction: column;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.rounded { border-radius: 10px; }
.w-100 { width: 100%; }
.shadow {
  box-shadow: 0px 3px 12px rgba(11, 11, 32, 0.13);
}
.bg-accent { background: var(--accent); color: var(--primary-dark); }

/* ==== HIDE FOR SCREEN READERS ONLY ==== */
.sr-only { position: absolute!important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0; margin: 0; }

/* ==== PRINT STYLES ==== */
@media print {
  header, footer, #cookie-consent, #cookie-modal, .mobile-menu { display: none !important; }
  main { margin: 0; padding: 0; }
  .container, .section, .card, .content-wrapper { box-shadow: none !important; border: none !important; background: #fff !important; color: #111; }
}
