/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #E4F1FB;
  color: #16344B;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a {
  color: #16344B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFA036;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  margin-left: 1.5em;
  margin-top: 16px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  margin-bottom: 16px;
  color: #16344B;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.5rem;
  font-weight: 500;
}
h4 {
  font-size: 1.25rem;
  font-weight: 500;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* CONTAINER STRUCTURE */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(22,52,75,0.04);
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  padding: 0 0 0 0;
  min-height: 68px;
}
header > a img {
  height: 40px;
  width: auto;
  margin: 16px 32px 16px 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
}
.main-nav a {
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: #FFA036;
}
.btn-primary {
  background: linear-gradient(90deg, #FFA036 0%, #16344B 90%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 32px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: auto;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(22, 52, 75, 0.08);
  transition: background 0.22s, box-shadow 0.22s;
  letter-spacing: 0.01em;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #16344B 0%, #FFA036 100%);
  box-shadow: 0 4px 24px rgba(255,160,54,0.13);
  color: #fff;
}
.btn-link {
  color: #FFA036;
  font-weight: 500;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s;
}
.btn-link:hover, .btn-link:focus {
  color: #16344B;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #16344B;
  margin-left: 24px;
  z-index: 1100;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFA036;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 32px rgba(22,52,75,0.15);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.95,.05,.58,.99);
  z-index: 1200;
  padding: 26px 24px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #16344B;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFA036;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 500;
  padding: 12px 0;
  color: #16344B;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E4F1FB;
  color: #FFA036;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(98deg, #E4F1FB 25%, #FFA036 100%);
  padding: 50px 0 32px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 300px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
}
.hero h1 {
  color: #16344B;
  margin-bottom: 16px;
}
.hero p {
  color: #2a5171;
  font-size: 1.15rem;
  max-width: 500px;
}

/* SECTION, FLEX & SPACING RULES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(22,52,75,0.05);
}
.features {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.features .content-wrapper {
  gap: 24px;
}
.features ul, .features-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features li {
  min-width: 180px;
  background: #fff;
  padding: 18px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,52,75,0.085);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 180px;
  font-size: 1rem;
  font-weight: 500;
  min-height: 80px;
  margin-bottom: 0;
  transition: box-shadow 0.20s, transform 0.18s;
}
.features li img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  flex-shrink: 0;
}
.features li span {
  font-size: 0.93rem;
  color: #78899b;
  font-weight: 400;
  margin-top: 3px;
  display: block;
}
.features li:hover, .features li:focus {
  box-shadow: 0 6px 32px rgba(22,52,75,0.13);
  transform: translateY(-3px) scale(1.01);
}

.about-short, .about-big, .about {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(22,52,75,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about-short ul, .about-big ul, .about ul {
  margin-top: 12px;
}
.cta {
  margin-bottom: 60px;
  background: linear-gradient(92deg, #FFA036 12%, #E4F1FB 80%);
  padding: 40px 0;
  border-radius: 22px;
  box-shadow: 0 2px 28px rgba(22,52,75,0.07);
}
.cta .cta-box {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 3px 16px rgba(255,160,54,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  background: #FCFCFD;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(22,52,75,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #16344B;
  font-size: 1.1rem;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  color: #16344B;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.testimonial-card span, .testimonial-card strong {
  color: #16344B;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 28px rgba(255,160,54,0.09), 0 2px 18px rgba(22,52,75,0.10);
}

/* CARD & SERVICE CARD */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(22,52,75,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px 24px 22px;
  transition: box-shadow 0.21s, transform 0.18s;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 390px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 28px rgba(255,160,54,0.11);
  transform: translateY(-3px) scale(1.01);
}
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(22,52,75,0.042);
  padding: 26px 24px 22px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.18s;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 6px 24px rgba(255,160,54,0.11);
  transform: translateY(-2px) scale(1.02);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #16344B;
}
.service-card strong {
  color: #FFA036;
}

/* CARD/GRID FLEX WRAPPERS */
.content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.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;
}

/* CONTACT & INFO BOX */
.contact ul {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #16344B;
}
.contact li img {
  width: 26px;
  height: 26px;
}
.info-box {
  background: #E4F1FB;
  border-radius: 14px;
  padding: 22px 18px 18px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(22,52,75,0.04);
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 8px;
  box-shadow: 0 1px 8px rgba(22,52,75,0.06);
}

/* FOOTER */
footer {
  background: #16344B;
  color: #fff;
  padding: 40px 0 24px 0;
  margin-top: 88px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFA036;
  opacity: 1;
}
.company-info {
  font-size: 0.96rem;
  color: #fff;
  opacity: 0.93;
}
.company-info a {
  color: #FFA036;
}
.newsletter-optin p, .newsletter-optin a {
  color: #fff;
  font-size: 0.98rem;
}
.newsletter-optin a {
  text-decoration: underline;
  font-weight: 500;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(22,52,75,0.11);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1500;
  padding: 22px 14px 16px;
  gap: 32px;
  transition: transform 0.27s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 2 1 360px;
  color: #16344B;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  flex: 1 1 160px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  padding: 10px 22px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: #FFA036;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #16344B;
}
.cookie-btn.reject {
  background: #E4F1FB;
  color: #16344B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e0e0e0;
  color: #16344B;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid #16344B;
  color: #16344B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFA036;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(22,52,75, 0.27);
  z-index: 1550;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 46px rgba(22,52,75,0.19);
  padding: 32px 24px 24px 24px;
  width: 95vw;
  max-width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInModal 0.34s cubic-bezier(.99,.05,.6,.97);
}
@keyframes fadeInModal {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #16344B;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  background: #E4F1FB;
  border-radius: 12px;
  padding: 12px 14px 12px 12px;
  gap: 15px;
}
.cookie-category .toggle {
  margin-left: auto;
}
.cookie-category.essential .toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #16344B;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #FFA036;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

/* TOGGLE SWITCH */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #ddd;
  border-radius: 14px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.18s;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 20px; width: 20px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 6px rgba(22,52,75,0.09);
}
.toggle input:checked + .toggle-slider {
  background: #FFA036;
}
.toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px;
  background: #fff;
  border: 1.5px solid #c2d4e5;
  border-radius: 7px;
  margin-bottom: 14px;
  box-sizing: border-box;
  transition: border-color 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #FFA036;
  box-shadow: 0 1px 7px rgba(255,160,54,.07);
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* RESPONSIVE DESIGN & MOBILE NAV */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 900px) {
  .footer-nav {
    gap: 14px;
  }
  .features ul {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 30px 0 18px 0;
  }
}
@media (max-width: 768px) {
  header, .footer .container, .footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 12px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features ul {
    flex-direction: column;
    gap: 15px;
  }
  .features li {
    min-width: 120px;
    padding: 14px 12px;
  }
  .hero .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cta .cta-box {
    padding: 20px 10px;
  }
  .section,
  .about-short, .about-big, .about {
    padding: 18px 7px;
  }
  .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .service-card {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 18px 8px 18px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 8px 17px 10px;
  }
  .footer-nav {
    gap: 8px;
    margin-top: 10px;
    font-size: 0.93rem;
  }
  .company-info, .newsletter-optin p {
    font-size: 0.95rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 6px 10px 6px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    width: 100%;
  }
  .cookie-modal {
    padding: 28px 10px 18px 10px;
    max-width: 98vw;
  }
}

/* ACCESSIBILITY FOCUS STATES */
a:focus-visible, .btn-primary:focus-visible, .btn-link:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #FFA036;
  outline-offset: 2px;
  z-index: 2;
}

/* MISC */
::-webkit-scrollbar {
  width: 9px;
  background: #E4F1FB;
}
::-webkit-scrollbar-thumb {
  background: #D4E4F4;
  border-radius: 10px;
}

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END OF CSS */
