/* -------------------
   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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
html { font-size: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #fff;
  color: #23374D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
*:focus { outline: 2px solid #1BBF90; outline-offset: 2px; }

/* Font face as fallback */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* -------------------
   BRAND COLORS
-------------------- */
:root {
  --primary: #23374D;
  --secondary: #1BBF90;
  --accent: #F4F8FB;
  --text-main: #23374D;
  --text-muted: #6a7b90;
  --bg-main: #fff;
  --bg-accent: #F4F8FB;
  --border-light: #EBF0F5;
  --shadow-card: 0 2px 12px rgba(36,55,77,0.07);
}

/* -------------------
   TYPOGRAPHY
-------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li, table, ul, ol {
  font-size: 1rem;
  color: var(--text-main);
}
p {
  margin-bottom: 20px;
}
ul, ol {
  margin-bottom: 18px;
  margin-left: 1.5rem;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
em {
  color: var(--text-muted);
}

/* -------------------
   CONTAINER & LAYOUT
-------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}
.text-section {
  align-items: flex-start;
  gap: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 210px;
  background: var(--bg-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px rgba(36,55,77,0.15);
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-accent);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border-radius: 12px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(36,55,77,0.13);
  transform: translateY(-4px) scale(1.016);
}

.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-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  color: var(--text-main);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(36,55,77,0.13);
  transform: translateY(-3px) scale(1.012);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card .stars {
  display: flex;
  gap: 4px;
  align-items: center;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--text-muted);
}

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

/* CTA BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(27,191,144,0.11);
  transition: background 0.18s, box-shadow 0.2s, transform 0.16s;
  margin-top: 12px;
  text-shadow: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #159e70;
  box-shadow: 0 6px 24px rgba(27,191,144,0.18);
  color: #fff !important;
  transform: translateY(-2px) scale(1.02);
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  background: var(--bg-accent);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
thead {
  background: var(--primary);
  color: #fff;
}
thead th {
  padding: 14px 10px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
tbody td {
  padding: 12px 10px;
  color: var(--text-main);
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* -------------
   HEADER & NAV
-------------- */
header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--accent);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}
header img {
  width: 160px;
  height: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 20px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary) !important;
}
.main-nav .cta-btn {
  margin: 0 0 0 18px;
  font-size: 1rem;
  padding: 0.7em 1.6em;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.13s, color 0.13s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* -------------
   MOBILE NAV
-------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35, 55, 77, 0.96);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  padding: 18px 30px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.15s;
  z-index: 1102;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  padding: 0 32px 32px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}

/* -------------
   FOOTER
-------------- */
footer {
  background: var(--bg-accent);
  border-top: 1px solid var(--border-light);
  color: var(--primary);
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 38px 20px 18px 20px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 42px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 6px;
}
.footer-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a {
  color: var(--primary);
  font-size: 1rem;
  padding: 0 0 2px 0;
  transition: color 0.16s;
  border-radius: 4px;
}
.footer-navigation a:focus, .footer-navigation a:hover {
  color: var(--secondary);
  background: none;
}
.company-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
}
.company-details ul {
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
.company-details li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.company-details img { width: 18px; height: 18px; }

/* ---------------
   COOKIE BANNER
---------------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--bg-main);
  border-top: 1.5px solid var(--border-light);
  box-shadow: 0 -2px 24px rgba(35,55,77,0.07);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 28px 16px;
  gap: 30px;
  z-index: 1200;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s, transform 0.22s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-banner p {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 560px;
  white-space: pre-line;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-left: 12px;
}
#cookie-banner button {
  padding: 10px 22px;
  background: var(--accent);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.13s, color 0.13s, border 0.13s;
  cursor: pointer;
}
#cookie-banner .cookie-accept {
  background: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
}
#cookie-banner .cookie-accept:hover, #cookie-banner .cookie-accept:focus {
  background: #10946b;
  border-color: #10946b;
}
#cookie-banner .cookie-reject {
  background: #fff;
  color: var(--primary);
  border-color: var(--border-light);
}
#cookie-banner .cookie-reject:hover, #cookie-banner .cookie-reject:focus {
  background: var(--accent);
  color: var(--secondary);
}
#cookie-banner .cookie-settings {
  background: var(--accent);
  color: var(--primary);
}
#cookie-banner .cookie-settings:hover, #cookie-banner .cookie-settings:focus {
  background: var(--bg-accent);
  color: var(--secondary);
}

/* Cookie Modal */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,55,77,0.33);
  z-index: 2200;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(35,55,77,0.15);
  padding: 35px 28px 28px 28px;
  max-width: 400px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie-modal-in 0.28s cubic-bezier(0.6, -0.41, 0.75, 1.42);
}
@keyframes cookie-modal-in {
  from { transform: translateY(54px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 10px;
  cursor: pointer;
}
#cookie-modal .cookie-switch {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(35,55,77,0.09);
  position: relative;
  margin-right: 8px;
  border: 1px solid var(--border-light);
  transition: background 0.13s, border 0.13s;
}
#cookie-modal input[type="checkbox"] {
  display: none;
}
#cookie-modal input[type="checkbox"]:checked + .cookie-switch {
  background: var(--secondary);
  border-color: var(--secondary);
}
#cookie-modal .cookie-switch:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2px rgba(0,0,0,0.09);
  position: absolute;
  top: 1px;
  left: 2px;
  transition: left 0.15s;
}
#cookie-modal input[type="checkbox"]:checked + .cookie-switch:after {
  left: 17px;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 12px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.13s;
}
#cookie-modal .cookie-modal-close:hover,
#cookie-modal .cookie-modal-close:focus {
  color: var(--primary);
}
#cookie-modal .essential-label {
  opacity: 0.8;
  font-style: italic;
  font-size: 0.97rem;
}

/* -------------
   MEDIA QUERIES
-------------- */
@media (max-width: 1100px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 24px;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 18px;
  }
  .company-details ul {
    flex-direction: column;
    gap: 10px;
  }
  header .container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-grid > div,
  .card {
    min-width: 0;
    width: 100%;
    padding: 22px 10px;
  }
  footer .container {
    padding: 28px 8px 15px 8px;
    gap: 18px;
  }
  header .container {
    min-height: 58px;
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  body { font-size: 15px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .section {
    margin-bottom: 22px;
    padding: 14px 2px;
  }
  #cookie-modal { padding: 19px 8px 18px 8px; }
  #cookie-banner { padding: 18px 1px 18px 1px; gap: 10px; }
}

/* -----------
   UTILITIES
------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.bg-accent { background: var(--bg-accent); }
.rounded { border-radius: 12px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }

/* Micro-interactions */
button, .cta-btn, a {
  transition: color 0.13s, background 0.13s, box-shadow 0.17s, transform 0.15s;
}
/* Hide focus outlines if not keyboard */
.js-focus-visible :focus:not(.focus-visible) { outline: none; }

/* -------------
   ACCESSIBILITY
-------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
