/* =======================
   CSS 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #212121;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}

/* =======================
   COLOR VARIABLES AND FALLBACKS
   ======================= */
:root {
  --color-primary: #204368;
  --color-secondary: #f3a837;
  --color-accent: #eff3f7;
  --color-black: #101014;
  --color-white: #fff;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #ededed;
  --color-gray-300: #d1d1d6;
  --color-gray-400: #b0b0b0;
  --color-gray-500: #888;
  --color-gray-600: #44474d;
  --color-gray-800: #1a1a1a;
  --color-shadow: rgba(30,32,39,0.10);
  --shadow-card: 0 3px 18px var(--color-shadow);
  --border-radius: 14px;
  --transition: all 0.19s cubic-bezier(.48,.15,.35,1.12);
}

/* =======================
   TYPOGRAPHY
   ======================= */
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.05;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.12;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  line-height: 1.22;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, li, blockquote, address {
  color: #232323;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
blockquote {
  color: #222;
  font-style: italic;
  border-left: 4px solid #101014;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 1.125rem;
}
strong {
  font-weight: 600;
  color: #101014;
}
a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color .16s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* =======================
   SPACING UTILITY CLASSES & LAYOUT PATTERNS
   ======================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 26px 28px;
  gap: 22px;
}
.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;
  background: #fafcfd;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(30,32,39,0.09);
  min-width: 0;
  max-width: 800px;
  border: 1.5px solid var(--color-gray-200);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.address-block {
  margin-top: 10px;
  padding: 16px 22px;
  background: var(--color-gray-100);
  border-radius: 10px;
  font-size: 0.97rem;
  color: #252525;
  font-style: normal;
}

/* =======================
   BUTTONS & CTA
   ======================= */
.cta-btn {
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 22px;
  display: inline-block;
  letter-spacing: .02em;
  border: none;
  box-shadow: 0 2px 8px rgba(32,43,51,0.13);
  margin-top: 10px;
  transition: var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: #101014;
  box-shadow: 0 4px 12px rgba(32,67,104,0.18);
  transform: translateY(-2px) scale(1.03);
}
button, .button {
  background: var(--color-black);
  color: #fff;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  font-weight: 500;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-secondary);
  color: #101014;
}

/* Table Styling (Pricing page) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(32,67,104,.08);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
thead th {
  background: #101014;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
}
tbody td {
  padding: 13px 10px;
  border-bottom: 1px solid #efefef;
  font-size: 1rem;
  color: #222;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(35,35,45,.08);
  position: relative;
  z-index: 1004;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 16px 0 14px 0;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  color: #101014;
  padding: 7px 18px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav > a.cta-btn {
  margin-left: 14px;
}
.main-nav > a:hover, .main-nav > a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}
.main-nav > a img {
  height: 40px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: block;
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 1101;
  width: 44px;
  height: 44px;
  background: var(--color-black);
  color: #fff;
  border-radius: 6px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(32,67,104,0.12);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #101014;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  background-color: rgba(16,16,20,0.96);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.62,.16,.23,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 32px 0 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-black);
}
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 60px 0 40px 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 500;
  background: transparent;
  border-radius: 8px;
  padding: 13px 32px;
  transition: background 0.17s, color 0.17s, box-shadow 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #101014;
  box-shadow: 0 6px 18px rgba(32,67,104,0.16);
}

/* Hide hamburger menu at desktop, show at mobile */
@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 999px) {
  .main-nav {
    display: none;
  }
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #17171b;
  color: #eee;
  padding: 30px 20px 18px 20px;
  margin-top: 80px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 60px 0 rgba(16, 16, 20, .09);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  opacity: .93;
  transition: color 0.15s;
  border-radius: 7px;
  padding: 6px 17px;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: #17171b;
}
footer .text-section p {
  color: #e0e0e0;
  font-size: 0.92rem;
  letter-spacing: .01em;
}

/* =======================
   SECTIONS, CARDS & FEATURES
   ======================= */
ul > li, ol > li {
  margin-bottom: 14px;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul > li img {
  width: 28px;
  min-width: 22px;
  margin-right: 8px;
  margin-top: -2px;
  filter: grayscale(1) contrast(1.2);
}
.text-section ul {
  padding-left: 0;
  margin-bottom: 0;
  gap: 0;
}
.card {
  border: 1.4px solid var(--color-gray-200);
  box-shadow: var(--shadow-card);
  transition: box-shadow .17s, border .17s, transform .17s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 16px 0 rgba(32,67,104,0.14);
  border: 1.7px solid var(--color-black);
  transform: translateY(-2px);
  z-index: 2;
}
.feature-item h3 {
  color: var(--color-primary);
}

/* =======================
   TESTIMONIAL CARDS
   ======================= */
.testimonial-card {
  background: #fff;
  color: #191919;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(32,67,104,0.08);
  border: 1px solid var(--color-gray-200);
  font-size: 1rem;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #222;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* =======================
   COOKIES BANNER & MODAL
   ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #222;
  box-shadow: 0 -3px 30px rgba(32,67,104,.12);
  padding: 26px 20px 26px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 14px 14px 0 0;
  align-items: flex-start;
  max-width: 560px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInBanner 0.7s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(50px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
.cookie-banner p {
  font-size: 1.02rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-banner button {
  background: var(--color-black);
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.17s, color 0.17s;
  min-width: 110px;
}
.cookie-banner button.settings {
  background: var(--color-secondary);
  color: #101014;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3500;
  background-color: rgba(16,16,20,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  padding: 32px 24px 26px 24px;
  border-radius: 20px;
  min-width: 340px;
  max-width: 94vw;
  box-shadow: 0 14px 44px rgba(32,67,104,.20);
  animation: fadeInModal 0.33s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(80px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #101014;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal .category-desc {
  font-size: 0.99rem;
  color: #545454;
  margin-left: 26px;
  margin-bottom: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal button {
  min-width: 120px;
  border-radius: 8px;
  padding: 10px 17px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 26px;
  background: none;
  color: #222;
  font-size: 1.6rem;
  border-radius: 3px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: #101014;
}

/* =======================
   RESPONSIVE STYLES
   ======================= */
@media (max-width: 999px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .section {
    padding: 28px 4px;
    margin-bottom: 38px;
  }
  .main-nav {
    display: none;
  }
  header {
    border-radius: 0 0 18px 18px;
  }
  .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 22px 2px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer nav {
    flex-direction: column;
    gap: 10px;
  }
  .cta-btn, button, .button {
    width: 100%;
    padding-left: 0; padding-right: 0;
    text-align: center;
  }
  table thead {
    display: none;
  }
  table, tbody, tr, td {
    display: block;
    width: 100%;
  }
  table tr {
    border-bottom: 1px solid #ededed;
    margin-bottom: 22px;
    background: none;
  }
  table td {
    padding: 10px 0;
    border: none;
    background: none;
    text-align: left;
    position: relative;
  }
  table td:before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: #888;
    display: block;
    margin-bottom: 2px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.1rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  /* Cookie banner takes more width on mobile */
  .cookie-banner {
    max-width: 99vw;
    left: 0;
    transform: none;
    border-radius: 0;
  }
  .cookie-modal {
    min-width: 94vw;
    padding: 27px 5vw 19px 5vw;
  }
}

/* =======================
   ANIMATIONS & MICROINTERACTIONS
   ======================= */
.cta-btn, button, .button {
  transition: var(--transition);
  outline: none;
}
.cta-btn:active, button:active, .button:active {
  transform: scale(.98);
}
.card, .testimonial-card {
  transition: box-shadow .17s, border .17s, transform .17s;
}
.card:hover, .card:focus, .testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 5px 22px rgba(32,67,104,0.14);
  transform: translateY(-1.5px) scale(1.01);
}

/* =======================
   UTILITIES
   ======================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =======================
   COOKIE PAGE SETTINGS PANEL
   ======================= */
.cookie-settings-block {
  background: #f6f7f4;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 2px 7px rgba(32,67,104,0.09);
}
.cookie-settings-block h2 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.cookie-settings-block ul > li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-settings-block button {
  background: var(--color-gray-400);
  color: #212121;
  border-radius: 6px;
  padding: 5px 12px;
  transition: background .16s, color .16s;
  border: none;
  margin-left: 8px;
  font-weight: 500;
  font-size: 0.97rem;
}
.cookie-settings-block button:hover {
  background: var(--color-secondary);
  color: #101014;
}

/* =======================
   MISC / ACCESSIBILITY
   ======================= */
:focus {
  outline: 2.5px dashed var(--color-secondary);
  outline-offset: 2.5px;
}
::-webkit-selection { background: var(--color-secondary); color: #fff; }
::selection { background: var(--color-secondary); color: #fff; }

/* =======================
   Z-INDEX RULES
   ======================= */
header { z-index: 1100; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3500; }

/* =======================
   PRINT MINIMAL
   ======================= */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
}
