/* ==================== CSS RESET & NORMALIZATION ==================== */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #f8fafc;
  color: #153556;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  color: #153556;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; color: #153556; }
h4 { font-size: 1.1rem; margin-bottom: 10px; color: #153556; }
p {
  margin-bottom: 16px; 
  color: #223a4a;
}
strong { color: #153556; }

ul, ol {
  margin: 0 0 20px 24px;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 12px;
  color: #27435e;
  line-height: 1.7;
}
a {
  color: #F5A45D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153556;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

/* ==================== VARIABLES (WITH FALLBACKS) ==================== */
:root {
  --color-primary: #153556;
  --color-secondary: #E7F2FA;
  --color-accent: #F5A45D;
  --color-bg: #f8fafc;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(21,53,86,0.06);
  --color-border: #e6ecf3;
  --color-disabled: #a9b8c8;
  --border-radius: 14px;
  --box-shadow: 0 2px 14px 0 rgba(21,53,86,0.08);
  --transition: 0.18s cubic-bezier(.42,.01,.31,1);
}

/* ==================== LAYOUT CONTAINERS & FLEXBOX ==================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--box-shadow);
  padding: 25px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(21,53,86,0.18);
  transform: translateY(-4px);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-accent);
  color: #183042;
  transition: box-shadow var(--transition);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  color: #223a4a;
}
.testimonial-card span {
  font-size: 1rem;
  color: #5c6d7a;
  margin-top: -10px;
}
.testimonial-card strong {
  color: #153556;
}
.testimonial-card div {
  color: #F5A45D;
  font-size: 1.3rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==================== HEADER, NAVIGATION, BURGER MENU ==================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px 0 rgba(21,53,86,0.03);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
}
.main-nav > a img {
  height: 36px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
}
.main-nav ul li a {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  color: #153556;
  text-decoration: none;
  padding: 6px 2px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #F5A45D;
  background: var(--color-secondary);
}
.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
  border-radius: 24px;
  padding: 13px 30px;
  font-size: 16px;
  margin-left: 14px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  box-shadow: 0 3px 12px 0 rgba(21,53,86,0.06);
}
.cta-btn:hover, .cta-btn:focus {
  background: #F5A45D;
  color: #153556;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 28px 0 rgba(21,53,86,0.14);
}

/* MOBILE NAVIGATION BURGER */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 10px;
  top: 22px;
  z-index: 104;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #153556;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(21,53,86,0.92);
  box-shadow: 0 8px 32px rgba(21,53,86,0.25);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.55,.06,.42,.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px; right: 32px;
  z-index: 1250;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 90px;
  padding: 24px 36px;
  gap: 26px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0 10px 4px;
  border-radius: 6px;
  transition: background var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: #153556;
}
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 880px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==================== HERO & SECTION LAYOUTS ==================== */
.hero {
  background: var(--color-secondary);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 36px rgba(21,53,86,0.07);
  padding: 50px 0 40px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper, .about .content-wrapper, .contact .content-wrapper {
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 { color: #153556; font-size: 2.3rem; }
.hero p {
  font-size: 1.2rem;
  color: #30527b;
  margin-bottom: 24px;
}
.hero .cta-btn {
  margin-top: 10px;
}

.features {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(21,53,86,0.05);
}

.features .content-wrapper, .services .content-wrapper {
  gap: 32px;
}

.features h2, .services h2 {
  color: #153556;
}

/* USP/Benefits cards/grids */
.usp-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.usp-grid > div, .benefits-grid > div {
  background: #f6fafd;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(21,53,86,0.05);
  flex: 1 1 230px;
  min-width: 220px;
  padding: 18px 20px 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.usp-grid > div:hover, .benefits-grid > div:hover {
  box-shadow: 0 4px 22px 0 rgba(21,53,86,0.13);
  transform: translateY(-2px) scale(1.02);
}
.usp-grid img, .benefits-grid img {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

/* =================== SERVICES LISTS =================== */
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.services ul li {
  flex: 1 1 320px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 26px 22px 18px 26px;
  margin-bottom: 0;
  min-width: 270px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow var(--transition), transform var(--transition);
}
.services ul li:hover {
  box-shadow: 0 10px 30px 0 rgba(21,53,86,0.11);
  transform: translateY(-2px) scale(1.019);
}
.services ul li strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.13rem;
  color: #153556;
}
.services ul li span {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #F5A45D;
}
.services .cta-btn {
  margin-top: 6px;
  align-self: flex-start;
}

/* =================== TEXT SECTIONS, ABOUT, ETC. =================== */
.about .content-wrapper, .contact .content-wrapper {
  gap: 26px;
}
.text-section {
  background: #fafcff;
  border-radius: var(--border-radius);
  padding: 24px 18px;
  box-shadow: 0 2px 10px 0 rgba(21,53,86,0.04);
  margin-bottom: 20px;
}
.text-section h3 {
  font-size: 1.1rem;
  color: #153556;
  margin-bottom: 7px;
  margin-top: 12px;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 12px;
}

/* =================== FOOTER =================== */
footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 36px 0 22px 0;
  margin-top: 60px;
}
.footer-menu {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #687c91;
  font-size: 1rem;
  transition: color var(--transition);
  padding: 2px 6px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F5A45D;
}
.address-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.address-block p, .address-block a {
  font-size: 0.98rem;
  color: #334b63;
}
.address-block a {
  color: #F5A45D;
  text-decoration: underline;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.social-links a:hover img {
  opacity: 1;
  transform: scale(1.1) translateY(-3px);
}

/* ============== COOKIE CONSENT BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #F5A45D;
  box-shadow: 0 -6px 40px rgba(21,53,86,0.10);
  padding: 18px 16px 18px 16px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.28s var(--transition), opacity 0.19s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  color: #223a4a;
  max-width: 700px;
  text-align: center;
  margin-bottom: 6px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn, .cookie-settings-btn {
  min-width: 135px;
  padding: 12px 22px;
  border-radius: 22px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #153556;
  border: 1.5px solid #e6ecf3;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #162d43;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-accent);
  color: #153556;
}
.cookie-settings-btn {
  background: transparent;
  color: #153556;
  border: 1.5px solid #e6ecf3;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-secondary);
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(21,53,86,0.45);
  z-index: 4500;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s linear;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 rgba(21,53,86,0.18);
  max-width: 460px;
  padding: 34px 32px 22px 32px;
  margin: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--color-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px 0 0 0;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
}
.cookie-category .cookie-category-title {
  font-weight: bold;
  font-size: 1.03rem;
}
.cookie-category .cookie-category-desc {
  font-size: 0.97rem;
  color: #537ca0;
}
.cookie-modal .cookie-buttons {
  margin-top: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 21px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #153556;
  cursor: pointer;
}

/* ============== GENERAL ANIMATIONS/MICRO-INTERACTIONS ============== */
button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* ============== RESPONSIVE: MOBILE FIRST ============== */
@media (max-width: 1050px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .services ul {
    gap: 12px;
  }
  .card-container, .usp-grid, .benefits-grid, .content-grid {
    gap: 12px;
  }
  .card, .services ul li {
    padding: 19px 13px 14px 13px;
    min-width: 200px;
  }
}
@media (max-width: 800px) {
  .usp-grid, .benefits-grid, .content-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 28px 0;
    margin-bottom: 24px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section {
    padding: 26px 8px;
  }
  .main-nav {
    padding: 10px 0;
  }
  .services ul,
  .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .features .content-wrapper, .services .content-wrapper {
    gap: 18px;
  }
  .card, .services ul li {
    padding: 15px 7px 10px 7px;
    min-width: 0;
    width: 100%;
  }
  .usp-grid > div, .benefits-grid > div {
    min-width: 0;
    width: 100%;
  }
  .content-wrapper {
    gap: 15px;
  }
  .testimonial-card {
    gap: 10px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 15px;
  }
  .hero {
    border-radius: 0 0 8px 8px;
    padding: 20px 0;
  }
}
@media (max-width: 420px) {
  .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
  .container, .section {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ============== UTILITY ================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* Focus states accessibility */
a:active, a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .cookie-settings-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  z-index: 10;
}

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

/* ============ REMOVE GRID/COLUMN CSS (enforcement) ========== */
/* NO grid, columns, clamp() or break-inside anywhere */
