/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #161616;
  background: #fafbfc;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #0c2336;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 12px; }
p, address {
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1rem;
  color: #222;
}
a {
  color: #0c2336;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #222;
  text-decoration: underline;
}
strong { font-weight: 600; }

/* TYPOGRAPHY SCALE */
.text-section {
  font-size: 1.06rem;
  color: #222;
  margin-bottom: 24px;
}
.text-section h2,
.text-section h3 {
  color: #181818;
}
.text-section ul, .text-section ol {
  margin-left: 2em;
  margin-bottom: 1.25em;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 28px 0 rgba(0,0,0,0.06);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #0c2336;
  box-shadow: 0 2px 8px 0 rgba(12,35,54,0.07);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}
header a img {
  height: 42px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 2px;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: color 0.17s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #34a853;
  background: #1c2936;
  text-decoration: none;
}
.btn-primary {
  background: #fff;
  color: #0c2336;
  padding: 12px 32px;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  box-shadow: 0 1px 18px 0 rgba(12,35,54,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  margin-left: 14px;
  outline: none;
  letter-spacing: 0.03em;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0c2336;
  color: #fff;
  box-shadow: 0 7px 32px 0 rgba(20, 35,54,0.19);
  text-decoration: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.14s;
  display: none; /* Shown in mobile */
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #222;
  color: #34a853;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6,14,22,0.96);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.8,.1,.15,1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 18px 18px 10px 18px;
  text-align: right;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 16px 0 0 30px;
}
.mobile-nav a {
  color: #fafbfc;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  padding: 10px 3px 10px 0;
  border-radius: 2px;
  outline: none;
  transition: color 0.16s, background 0.12s;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #34a853;
  background: #181818;
  text-decoration: none;
}

/* HERO SECTION */
.hero-section {
  min-height: 400px;
  background: #0c2336;
  color: #fff;
  padding: 0;
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero-section .container {
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero-section .content-wrapper {
  gap: 30px;
}
.hero-section h1 {
  font-size: 2.7rem;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero-section p {
  color: #f8fafc;
  font-size: 1.23rem;
  margin-bottom: 30px;
}
.hero-section .btn-primary {
  background: #34a853;
  color: #fff;
  margin-top: 18px;
}
.hero-section .btn-primary:hover,
.hero-section .btn-primary:focus {
  background: #fff;
  color: #0c2336;
}

/* CARDS & FLEX WRAPPERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 312px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  transition: box-shadow 0.19s, border 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(12,35,54,0.12);
  border: 1px solid #34a853;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafbfc;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(12,35,54,0.07);
  position: relative;
  border-left: 5px solid #0c2336;
}
.testimonial-card blockquote,
.testimonial-card p {
  color: #151718;
  font-style: italic;
  font-size: 1.11rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.testimonial-card span {
  color: #222;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* UL/OL LISTS */
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  color: #222;
  font-size: 1.08rem;
}
ul li img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.88;
}
ol {
  list-style: decimal;
  color: #222;
  margin-left: 1.5em!important;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
}
thead th {
  background: #f1f6fb;
  color: #0c2336;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 15px 18px;
  text-align: left;
  border-bottom: 2px solid #e3e7eb;
  letter-spacing: 0.04em;
}
tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid #e6e8ec;
  font-size: 1rem;
  color: #21272a;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER STYLES */
footer {
  background: #0c2336;
  color: #fff;
  padding: 50px 0 20px 0;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 180px;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 36px;
}
.footer-brand span {
  color: #e2e7ec;
  font-weight: 600;
}
.footer-contact ul {
  list-style: none;
  padding-left: 0;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f2f6fa;
  margin-bottom: 9px;
}
.footer-contact li img {
  height: 18px;
  width: 18px;
  opacity: 0.76;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #d7e0e9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #34a853;
  text-decoration: none;
}

/* COMPANY INFO ON CONTACT PAGE */
.company-info ul {
  list-style: none;
  padding-left: 0;
}
.company-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #23272e;
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.company-info li img {
  width: 20px; height: 20px;
  opacity: 0.81;
}
.hint {
  padding: 12px 18px;
  background: #f1f6fb;
  border-radius: 7px;
  font-size: 1rem;
  color: #111;
  margin-top: 12px;
  line-height: 1.6;
}

/* ACCESSIBILITY FOCUS STATES */
a:focus, .btn-primary:focus, .mobile-menu-close:focus, .mobile-nav a:focus {
  outline: 2px solid #34a853;
  outline-offset: 2px;
}

/* ANIMATIONS & TRANSITIONS */
.section, .card, .btn-primary, .testimonial-card {
  transition: box-shadow 0.19s, border-color 0.16s, background 0.20s, color 0.16s;
}

/* SPACING FOR TIGHT MOBILE LAYOUTS */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container { height: auto; flex-wrap: wrap; gap: 12px; }
  .container { max-width: 99vw; padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 9px; padding-right: 9px; }
  .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .section {
    padding: 30px 4px;
    margin-bottom: 38px;
    border-radius: 16px;
  }
  .hero-section {
    padding: 0; min-height: unset;
    border-radius: 0 0 20px 20px;
  }
  .hero-section .container {
    padding-top: 38px; padding-bottom: 38px;
  }
  .hero-section h1 { font-size: 2rem; }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 13px 9px;
    border-radius: 11px;
  }
  .main-nav { display: none; }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .mobile-menu-toggle { display: inline-block; }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav, .footer-contact, .footer-brand {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.1rem; }
  .hero-section h1 { font-size: 1.14rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2147483644;
  background: #161616;
  color: #e6e8ec;
  padding: 24px 20px 24px 20px;
  box-shadow: 0 -3px 24px 0 rgba(12,35,54,0.09);
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1.07rem;
  border-radius: 19px 19px 0 0;
  opacity: 1;
  transition: opacity 0.18s, transform 0.33s cubic-bezier(.66,.04,0,1);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-consent-text {
  flex: 1 1 260px;
  margin-right: 2em;
  color: #e6e8ec;
  font-size: 1.07rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #fff;
  color: #0c2336;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  border: none;
  border-radius: 32px;
  box-shadow: 0 1px 9px 0 rgba(12,35,54,0.13);
  cursor: pointer;
  padding: 8px 26px;
  transition: background 0.15s, color 0.13s, box-shadow 0.18s;
  outline: none;
}
.cookie-btn.accept {
  background: #34a853; color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #287b3e;
}
.cookie-btn.reject {
  background: #fff; color: #161616;
  border: 1.5px solid #0c2336;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e2e7ec; color: #0c2336;
}
.cookie-btn.settings {
  background: #0c2336; color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #222; color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 6px 12px 6px;
    border-radius: 13px 13px 0 0;
  }
  .cookie-consent-text {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2147483646;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24, 27, 33, 0.87);
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  animation: fadeInModal .29s cubic-bezier(.75,.13,.16,.99);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #1e2228;
  color: #e7e7e7;
  border-radius: 18px;
  padding: 32px 26px 28px 26px;
  max-width: 390px;
  box-shadow: 0 2px 31px 0 rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h3 {
  color: #fff;
  font-size: 1.29rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-category label {
  color: #e6e8ec;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 44px; height: 22px;
  border-radius: 14px;
  background: #283546;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
  border: none;
}
.cookie-toggle[data-active="true"] {
  background: #34a853;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left 0.17s;
}
.cookie-toggle[data-active="true"]::before {
  left: 23px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 7px 22px;
}

/* VISUAL HIERARCHY & MICROINTERACTIONS */
.card, .section, .testimonial-card, .btn-primary, .cookie-consent-banner, .cookie-btn {
  will-change: box-shadow, background, color, border, transform;
}
.card:active, .btn-primary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* --- Hide (for JS) --- */
.hide { display: none !important; }

/* MISC QUERY FOR PRINT */
@media print {
  * {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}
