/* =============================
   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;
}
html {
  box-sizing: border-box;
  width: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FFFFFF;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #243447;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #243447;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,1,.89,1);
}
a:hover, a:focus {
  color: #F9B950;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
hr {
  border: none;
  border-top: 2px solid #F9B950;
  margin: 32px 0;
}

/* ===============
  FONTS/TYPE SCALE
=============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #243447;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, .subheadline {
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.15rem;
  color: #3f5570;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
strong {
  font-weight: bold;
  color: #243447;
}

/* ===============
    LAYOUT UTILS
=============== */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(36,52,71,0.08);
  padding: 28px 24px;
  flex: 1 1 240px;
  min-width: 260px;
  border: 2px solid #f1f1f3;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s cubic-bezier(.5,1,.89,1), border-color 0.22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(36,52,71,0.11);
  border-color: #F9B950;
  z-index: 2;
}
.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;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(36,52,71,0.07);
  margin-bottom: 24px;
  border: 2px solid #EAEAEA;
  min-width: 220px;
  max-width: 650px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.09rem;
  color: #222;
  line-height: 1.55;
}
.testimonial-card span {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
  color: #243447;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
      HEADER
=============== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(36,52,71,0.06);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 32px;
  transition: filter 0.16s;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #243447;
  letter-spacing: 0.02em;
  padding: 7px 6px 5px 6px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a:focus {
  color: #F9B950;
  background: #141c27;
}
.button.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: #243447;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(36,52,71,.09);
  margin-left: 18px;
  transition: background 0.17s, color 0.15s, box-shadow 0.18s;
  display: inline-block;
}
.button.primary:hover,
.button.primary:focus {
  background: #F9B950;
  color: #243447;
  box-shadow: 0 6px 24px 0 rgba(249,185,80,.13);
}
.button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: transparent;
  color: #243447;
  border: 2px solid #243447;
  padding: 10px 24px;
  border-radius: 16px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, border-color 0.18s;
}
.button:hover, .button:focus {
  background: #243447;
  color: #fff;
  border-color: #F9B950;
}

/* ===============
  MOBILE NAV MENU
=============== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #243447;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 150;
  margin-left: 16px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  background: #f3f3f3;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #243447;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.7,.13,.15,.87);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 20px 32px 12px 0;
  z-index: 2100;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F9B950;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  align-items: flex-start;
  margin: 24px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 12px 0 12px 0;
  margin-bottom: 6px;
  border-radius: 0 12px 12px 0;
  width: 88vw;
  max-width: 90vw;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F9B950;
  color: #243447;
}

/* ===============
      MAIN SECTIONS
=============== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div {
  background: #fff;
  padding: 28px 20px;
  border-radius: 14px;
  border: 2px solid #f1f1f3;
  flex: 1 1 180px;
  min-width: 200px;
  box-shadow: 0 2px 10px 0 rgba(36,52,71,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.18s;
  position: relative;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  border-color: #F9B950;
  box-shadow: 0 8px 22px 0 rgba(249,185,80,0.08);
  z-index: 2;
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 7px;
  box-shadow: 0 1px 4px 0 rgba(36,52,71,0.07);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}

.contact-information, .map-location {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #f1f1f3;
  padding: 18px 16px 12px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(36,52,71,0.05);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-information img,
.map-location img,
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
}

/* ============
    FOOTER
============= */
footer {
  background: #243447;
  color: #fff;
  margin-top: 64px;
  padding: 42px 0 22px 0;
  font-size: 1.02rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 5px;
}
.footer-links a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  transition: color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #F9B950;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  align-items: flex-start;
}
.footer-contact img {
  width: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 7px #F9B95030);
}
.footer-contact p {
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 0;
}
.footer-contact p img {
  filter: brightness(110%) sepia(0.5) hue-rotate(10deg);
  margin-right: 7px;
  width: 18px;
}

/* =============
  COOKIE BANNER
============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #243447;
  color: #fff;
  z-index: 4096;
  padding: 18px 18px 18px 30px;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 20px 0 rgba(36,52,71,.22);
  font-size: 1.03rem;
  transition: transform 0.28s cubic-bezier(.5,1,.89,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 60vw;
  margin-right: 22px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #243447;
  background: #F9B950;
  border: none;
  border-radius: 999px;
  padding: 8px 32px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 6px;
  box-shadow: 0 2px 8px 0 rgba(249,185,80,0.06);
  transition: background 0.16s, color 0.16s;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn.reject {
  background: #fff;
  color: #243447;
  border: 2px solid #243447;
}
.cookie-btn.settings {
  background: #fff;
  color: #243447;
  border: 2px solid #F9B950;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #243447;
  color: #fff;
  border-color: #F9B950;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,52,71,0.5);
  z-index: 6200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.32s;
}
@keyframes fadeInCookieModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #243447;
  border-radius: 18px;
  max-width: 98vw;
  width: 390px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 8px 44px 0 rgba(36,52,71,.23);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.04rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #243447;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F9B950;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight:600;
  min-width: 138px;
}
.cookie-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #e1e3e8;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: #F9B950;
}
.cookie-toggle::before {
  content: "";
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-toggle:checked::before {
  left: 21px;
}
.cookie-category.essential label,
.cookie-category.essential input {
  color: #243447;
  opacity: 0.7;
}
.cookie-category.essential .cookie-toggle {
  background: #e1e3e8;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  padding: 8px 22px;
}

/* ===============
  ANIMATIONS
=============== */
@keyframes fadeInMenu {
  from { opacity: 0; transform:translateX(60px);}
  to { opacity: 1; transform:translateX(0);}
}
.mobile-menu.open { animation: fadeInMenu 0.39s cubic-bezier(.6,0,.36,1); }
@keyframes slideInBanner {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner { animation: slideInBanner 0.48s cubic-bezier(.67,0,.36,1); }

/* ===========================
     GEOMETRIC STRUCTURED THEME
=========================== */
/* Use geometric shapes as accents */
.features-grid > div::before {
  content: '';
  display: block;
  width: 42px;
  height: 8px;
  background: #F9B950;
  border-radius: 4px;
  margin-bottom: 14px;
  opacity: 0.75;
}
.features-grid > div h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  font-size: 1.12rem;
  color: #243447;
  text-transform: uppercase;
  margin-bottom: 6px;
}
section {
  border-bottom: 3px solid #f1f1f1;
  border-radius: 0 0 48px 48px;
  background: #fafcff;
}
section:nth-of-type(even) {
  background: #fef9f0;
  border-radius: 48px 48px 0 0;
}

.card {
  border-radius: 18px 2px 18px 2px;
  box-shadow: 0 2px 12px 0 rgba(36,52,71,0.08);
  border: 2px solid #E6EAF3;
  position: relative;
  background: #fafcff;
}
.card::after {
  content: '';
  position: absolute;
  top:20px; right: -35px;
  width: 48px; height: 48px;
  background: #F9B95011;
  border-radius: 12px 48px 10px 0;
  z-index: 1;
}

/* Text block geom accent */
.text-section strong::before {
  content: '';
  display: inline-block;
  width: 18px; height: 5px;
  background: #F9B950;
  border-radius: 2px;
  margin-bottom: 2px;
  margin-right: 6px;
}

/* =============
   RESPONSIVE
============= */
@media (max-width: 1050px) {
  .container {
    max-width: 92vw;
    padding: 0 8px;
  }
  .footer-contact {
    min-width: 220px;
  }
}
@media (max-width: 900px) {
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 8px 10px;
    gap: 0;
  }
  nav {
    display: none !important;
  }
  .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .features-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    padding: 22px 0 22px 0;
    margin-bottom: 38px;
    border-radius: 33px 33px 24px 24px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 18px 11px;
    min-width: unset;
    max-width: 98vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 599px) {
  h1 {
    font-size: 1.57rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  h3 {
    font-size: 1rem;
  }
  section, .section {
    padding: 14px 0 14px 0;
    margin-bottom: 22px;
  }
  .features-grid > div,
  .card, .contact-information, .map-location {
    padding: 16px 6px;
    min-width: 0;
  }
  .footer-contact img {
    width: 30px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px 14px 10px;
    font-size: 0.97rem;
    gap: 15px;
  }
}

/* ==============
   MICRO-INTERACTIONS
=============== */
.button, .button.primary, .cookie-btn {
  transition: background 0.17s, color 0.13s, box-shadow 0.14s, border-color 0.15s;
}
.features-grid > div,
.card {
  transition: box-shadow 0.22s cubic-bezier(.6,0,.36,1), border-color 0.22s;
}
nav a, .footer-links a {
  transition: color 0.17s, background 0.16s;
}

/* ==============
   UTILITIES
============= */
.hide { display: none !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ==============
   Print
============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
}
