/* ===============================
   CSS RESET & BASE STYLES
   =============================== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #213142;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #245A7A;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #38A169;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
strong {
  font-weight: bold;
}

/* ===============================
   BRAND & TYPOGRAPHY
   =============================== */
:root {
  --primary: #245A7A;
  --primary-dark: #193E56;
  --secondary: #38A169;
  --secondary-dark: #227243;
  --accent: #FFFFFF;
  --bg-light: #f8fafc;
  --text-main: #213142;
  --text-dark: #18324A;
  --shadow: 0 2px 16px rgba(35, 54, 73, 0.09);
  --border-radius: 14px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #daebf5 100%);
  color: var(--text-main);
}
h1, h2, h3, h4, h5 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.16rem;
}
p, ul, ol, li, .footer-contact, .footer-copy {
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
}
section p, section ul, section ol {
  margin-bottom: 16px;
}

/* ===============================
   LAYOUT & SPACING
   =============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  padding: 0 0 0 0;
}

/* MANDATORY FLEXBOX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background: var(--accent);
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s, background 0.22s;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  flex: 1 0 320px;
  min-width: 280px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f5faff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s, background 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(36,90,122,0.10);
  background: #e1f1f7;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-left: 8px;
  font-size: 0.98rem;
  color: #18324A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GRADIENT MODERN BACKGROUNDS */
header {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  box-shadow: 0 4px 24px rgba(36,90,122,0.05);
  position: relative;
  z-index: 100;
  color: #fff;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 76px;
  position: relative;
}
header img {
  height: 40px;
  margin-right: 32px;
  transition: transform 0.18s;
}
header a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-right: 14px;
  transition: color 0.18s;
}
header a:last-child {
  margin-right: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header a.cta-btn {
  margin-left: 20px;
}

footer {
  background: var(--primary-dark);
  color: #e5f6fc;
  padding: 46px 0 24px 0;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
footer nav a {
  color: #e5f6fc;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-right: 2px;
  transition: color 0.16s;
}
footer nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  color: #c4e3f8;
  font-size: 0.96rem;
}
.footer-copy {
  color: #a5cbe3;
  font-size: 0.92rem;
}

/* ===============================
   BUTTONS & LINKS
   =============================== */
.cta-btn,
button.cta-btn, a.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--secondary) 60%, #62c88a 100%);
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(56,161,105,0.11);
  padding: 12px 34px;
  min-width: 120px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 8px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #279e5b 0%, #24a3c6 100%);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 24px rgba(56,161,105,0.16);
  color: #fff;
}
button, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 28px;
  border-radius: 22px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
}
button:hover, .button:hover { background: var(--secondary-dark); }

/* ===============================
   COMPONENTS
   =============================== */
/* === Feature Grid === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f4fafe;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 248px;
  min-width: 220px;
  transition: box-shadow 0.19s, transform 0.15s, background 0.15s;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px #e4f7ff);
}
.feature:hover {
  background: #e9f6fa;
  box-shadow: 0 6px 22px rgba(36,90,122,0.09);
  transform: translateY(-3px) scale(1.025);
}
.feature h3 {
  font-size: 1.18rem;
  color: var(--primary);
}
.feature p {
  font-size: 1rem;
  color: #283d52;
}

/* === Service List === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.service {
  background: #fafdff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px;
  flex: 1 1 228px;
  min-width: 200px;
  transition: box-shadow 0.14s, background 0.12s;
}
.service:hover {
  background: #e3f2fa;
  box-shadow: 0 6px 18px rgba(56,161,105,0.09);
}

.solution-teasers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #e4f7ff 60%, #f7fbf9 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(36,90,122,0.08);
  padding: 18px 22px;
}
.solution-teasers h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 7px;
}

/* === News List === */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 280px;
}
.news-list article {
  background: #fafdff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  transition: box-shadow 0.13s;
}
.news-list article h3 {
  font-size: 1.09rem;
  color: var(--primary);
}
.news-list article span {
  font-size: 0.98rem;
  color: #788697;
}
.featured-story {
  background: #e6f7ec;
  border-left: 4px solid var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(56,161,105,0.07);
  padding: 18px 28px;
  flex: 1 1 340px;
  margin-left: 20px;
  margin-top: 8px;
}

/* === FAQ, Maintenance, Remote Assistance === */
.faq, .remote-assistance, .maintenance {
  background: #f7faff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 18px;
  flex: 1 1 270px;
  min-width: 210px;
  transition: background 0.13s;
}
.faq:hover, .remote-assistance:hover, .maintenance:hover {
  background: #e4f7f1;
}

.implementation-steps ol {
  margin-left: 22px;
  padding-left: 0;
  color: #1a2335;
  font-size: 1rem;
}
.implementation-steps li {
  margin-bottom: 8px;
}

/* ===============================
   MOBILE MENU
   =============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 8px 15px;
  border-radius: 9px;
  cursor: pointer;
  margin-left: 18px;
  border: 2px solid rgba(255,255,255,0.10);
  transition: background 0.13s, color 0.13s;
  z-index: 110;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #193E56;
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36,90,122, 0.88);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.44,1.5,.45,1), opacity 0.18s;
  opacity: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  padding: 18px 18px 12px 16px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: none;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  margin: 70px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2b6b97;
  color: var(--secondary);
}

/* ===============================
   RESPONSIVENESS
   =============================== */
@media (max-width: 1150px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .content-grid {
    flex-wrap: wrap;
    gap: 14px;
  }
  .feature, .service {
    flex: 1 1 220px;
    min-width: 170px;
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service {
    padding: 15px 7px;
    min-width: 0;
    width: 100%;
  }
  .solution-teasers {
    padding: 12px 8px;
    margin-left: 0;
  }
  .featured-story {
    margin-left: 0;
    padding: 13px 8px;
    min-width: 0;
  }
  footer {
    padding: 32px 0 14px 0;
  }
}
@media (max-width: 650px) {
  .header .container {
    flex-direction: row;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin: 0 0 0 12px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header nav {
    display: none !important;
  }
  .content-wrapper, .text-section, .card-container, .content-grid, .feature-grid, .service-list {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    gap: 10px;
  }
  .news-list, .faq, .remote-assistance, .maintenance {
    padding: 12px 7px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.09rem; }
}
@media (max-width: 480px) {
  html { font-size: 91%; }
  h1 { font-size: 1.12rem; }
  .container { padding-left: 2px; padding-right: 2px; }
  .cta-btn, button.cta-btn { padding: 9px 18px; font-size: 0.97rem; }
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 99998;
  background: linear-gradient(90deg, #2672ad 60%, #38a169 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 18px rgba(36,90,122,0.20);
  padding: 18px 30px;
  border-radius: 24px 24px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.26s, transform 0.34s cubic-bezier(.3,1.3,.45,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  font-size: 1rem;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 9px 23px;
  box-shadow: 0 2px 10px rgba(255,255,255,0.04);
  transition: background 0.17s, color 0.15s, transform 0.14s;
  margin-right: 2px;
}
.cookie-banner button.cookie-accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner button.cookie-accept:hover {
  background: #227243;
  color: #e5ffef;
  transform: translateY(-2px);
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner button.cookie-reject:hover {
  background: #f2f8fa;
  color: #227243;
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  font-size: 0.97rem;
}
.cookie-banner button.cookie-settings:hover {
  color: #cfeddf;
  text-decoration: none;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 12px 7px;
    gap: 8px;
    border-radius: 16px 16px 0 0;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 7px;
    font-size: 0.98rem;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,90,122,0.81);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--text-main);
  padding: 38px 26px 22px 26px;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(36,90,122,0.13);
  width: 95vw;
  max-width: 380px;
  animation: cookie-modal-in 0.5s cubic-bezier(.3,1.3,.45,1);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(80px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 1.27rem;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  padding-bottom: 8px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal .category-label {
  color: var(--primary-dark);
  font-size: 1.04rem;
  font-weight: 600;
  flex: 1;
}
.cookie-modal .category-switch {
  display: flex;
  align-items: center;
}
.cookie-switch {
  width: 36px;
  height: 24px;
  background: #e8f4fa;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch input[type=checkbox] {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  height: 20px;
  width: 20px;
  top: 2px; left: 2px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.16s, background 0.18s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.cookie-switch input:checked + .slider {
  left: 14px;
  background: #245A7A;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  border: none;
  padding: 8px 19px;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(36,90,122,0.06);
  transition: background 0.15s;
}
.cookie-modal-actions .cta-btn {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
}
.cookie-modal-actions .cta-btn:focus, .cookie-modal-actions .cta-btn:hover {
  background: #227243;
}
.cookie-modal-actions .button {
  background: #e4f8e7;
  color: #18324A;
}
.cookie-modal-actions .button:focus, .cookie-modal-actions .button:hover {
  background: #d6e7df;
}

/* ===============================
   SPECIALS & ACCESSIBILITY
   =============================== */
:focus {
  outline: 2px dashed var(--secondary-dark);
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #e8f7fa;
}
::-webkit-scrollbar-thumb {
  background: #cbe7f2;
  border-radius: 4px;
}

/* ===============================
   OVERRIDES & UTILITIES
   =============================== */
.hide { display: none !important; }
.visible { display: block !important; }
.w-100 { width: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }

/* END */
