/* === 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%; scroll-behavior: smooth;}
body {background: #fff; color: #222; min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; font-size: 16px;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {list-style: none;}
a {text-decoration: none; color: inherit;}
img {border-style: none; max-width: 100%; display: block;}
table {border-collapse: collapse; border-spacing: 0;}
button, input, textarea, select {font-family: inherit; font-size: 100%;}
[hidden] {display: none !important;}
/* ==== CSS CUSTOM PROPERTIES ==== */
:root {
  --color-primary: #1B325F;
  --color-secondary: #EDEDED;
  --color-accent: #FFA400;
  --color-bg: #fff;
  --color-text: #222;
  --color-muted: #888;
  --color-border: #d9d9d9;
  --color-shadow-1: rgba(27,50,95,.06);
  --color-shadow-2: rgba(27,50,95,.09);
  --radius-base: 14px;
  --radius-card: 24px;
  --shadow-card: 0 2px 12px var(--color-shadow-1), 0 6px 32px var(--color-shadow-2);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}
/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
h1 {font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px;}
h2 {font-size: 2rem; line-height: 1.15; margin-bottom: 20px;}
h3 {font-size: 1.25rem; line-height: 1.2; margin-bottom: 14px;}
h4, h5, h6 {font-size: 1.125rem; line-height: 1.25;}

p, li, a, span, td, th {font-family: var(--font-body); font-size: 1rem; line-height: 1.7;}
.content-wrapper p, .content-wrapper li {color: var(--color-text);}
strong {font-weight: bold;}
em {font-style: italic;}
ul, ol {margin-left: 0; padding-left: 18px;}
li {margin-bottom: 12px;}

/* === GLOBAL UTILITY CLASSES === */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.22s;
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 22px rgba(27,50,95,.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  margin-bottom: 20px;
  background: var(--color-secondary);
  border-radius: var(--radius-base);
  box-shadow: 0 2px 10px var(--color-shadow-1);
  border-left: 4px solid var(--color-accent);
  max-width: 740px;
  width: 100%;
}
.testimonial-card blockquote {
  color: #141515;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 8px 0;
}
.testimonial-card div {
  color: var(--color-primary);
  font-size: 0.97rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.98rem;
  color: var(--color-muted);
}
.brand-info img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 8px;
  background: var(--color-secondary);
  box-shadow: 0 1px 3px var(--color-shadow-1);
}
/* === HEADER & NAVIGATION === */
header {
  background: var(--color-bg);
  box-shadow: 0 1px 10px var(--color-shadow-2);
  z-index: 30;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  height: 75px;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 9px;
  transition: background 0.16s, color 0.17s;
  position: relative;
}
header nav a:not(.cta-btn):hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
header nav img {
  height: 42px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-accent);
  color: #212121;
  border: none;
  border-radius: 10px;
  font-size: 1.08rem;
  padding: 8px 26px;
  margin-left: 8px;
  box-shadow: 0 1px 12px 0 rgba(255,164,0,0.08);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.18s, box-shadow .21s;
}
.cta-btn:hover, .cta-btn:focus {
  color: var(--color-primary);
  background: #ffe1a6;
  box-shadow: 0 4px 18px 0 rgba(255,164,0,0.17);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 7px 20px 7px 13px;
  border-radius: 7px;
  box-shadow: 0 1px 8px 0 rgba(255,164,0,0.12);
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  z-index: 110;
  transition: background 0.17s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffd87d;
  color: #10101a;
}
.mobile-menu {
  display: none;
  position: fixed;
  overflow-y: auto;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,50,95,.97);
  z-index: 1400;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(.9,.02,.1,.92);
  box-shadow: 0 2px 40px rgba(0,0,0,.19);
  padding: 0;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 26px;
  top: 16px;
  border: none;
  background: none;
  color: var(--color-accent);
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 1500;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.17s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #50350015;
  color: #fff369;
}
.mobile-menu nav.mobile-nav {
  margin-top: 75px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 24px;
}
.mobile-menu nav.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  background: none;
  border-radius: 7px;
  letter-spacing: .01em;
  padding: 10px 0 10px 4px;
  transition: color 0.18s, background 0.14s;
  min-width: 200px;
}
.mobile-menu nav.mobile-nav a:hover,
.mobile-menu nav.mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}
@media (max-width: 1080px) {
  header nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  header nav a {
    font-size: 0.97rem;
    padding: 7px 10px;
  }
}
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* === SECTION & FLEX LAYOUTS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {display: flex; flex-wrap: wrap; gap: 24px;}
.card {margin-bottom: 20px; position: relative;}
.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;}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px 0;
  background: var(--color-secondary);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 1px 8px var(--color-shadow-1);
}
thead {
  background: var(--color-primary);
  color: #fff;
}
thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 12px;
  border: none;
}
tbody td {
  font-family: var(--font-body);
  padding: 14px 12px;
  border-top: 1.5px solid var(--color-border);
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
  border: none;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === LINKS === */
a {
  color: var(--color-primary);
  transition: color 0.15s, background 0.15s;
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background: var(--color-secondary);
  border-top: 2.5px solid var(--color-border);
  margin-top: 70px;
  padding: 35px 0 8px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.99rem;
  color: var(--color-muted);
}
footer nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.99rem;
  margin-right: 2px;
}
footer nav a:hover {
  color: var(--color-accent);
}
footer .brand-info {
  margin-top: 24px;
}

/* === COOKIES BANNER & MODAL === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  z-index: 4000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 18px 12px 16px 12px;
  font-size: 1rem;
  box-shadow: 0 -2px 24px rgba(27,50,95,.18);
  animation: slideUp 0.55s cubic-bezier(.5,0,.2,1);
}
@keyframes slideUp {
  from {transform: translateY(110%);}
  to {transform: translateY(0);}
}
.cookie-btn {
  margin-left: 7px;
  margin-right: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 7px;
  background: #fff;
  color: var(--color-primary);
  transition: background .18s, color .18s, box-shadow .26s;
  margin-top: 5px;
  box-shadow: 0 1px 3px var(--color-shadow-2);
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.accept:hover {background: #ffe1a6;}
.cookie-btn.reject {
  background: #fff0f0;
  color: #B30000;
}
.cookie-btn.reject:hover {background: #ffe3e3; color: #7A0000;}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings:hover {background: #f5f5fb;}

/* COOKIE MODAL */
.cookie-settings-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-60%) scale(0.95);
  min-width: 330px;
  max-width: 99vw;
  width: 410px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 16px;
  box-shadow: 0 4px 48px rgba(27,50,95,.19);
  z-index: 4200;
  padding: 34px 28px 20px 28px;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalAppear .44s cubic-bezier(.5,0,.18,1);
}
.cookie-settings-modal.open {
  display: flex;
  animation: cookieModalAppear .45s;
}
@keyframes cookieModalAppear {
  from {opacity: 0; transform: translate(-50%, -120%) scale(0.93);}
  to {opacity: 1; transform: translate(-50%, -60%) scale(1);}
}
.cookie-settings-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 5px;
  color: var(--color-primary);
}
.cookie-category {
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #e4e4e4;
  border-radius: 10px;
  outline: none;
  border: none;
  position: relative;
  transition: background 0.18s;
  margin-right: 9px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 2px;
  box-shadow: 0 1px 4px #ccc9;
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  position: absolute;
  right: 18px; top: 14px;
  z-index: 5000;
  cursor: pointer;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.14s, color 0.17s;
}
.cookie-modal-close:hover {
  background: #fff3df;
  color: #d17600;
}
/* === GEOMETRIC STRUCTURED VISUAL ELEMENTS === */
.section {
  background: var(--color-bg);
  border-radius: 28px 14px 24px 18px; /* geometric flair */
  box-shadow: 0 2px 16px var(--color-shadow-1);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  border-radius: 15px;
  padding: 26px 18px 24px 18px;
}
/* BUTTONS: geometric visual
   Buttons are already styled above (rounded, shadow, crisp color blocks)
*/

/* === FORMS (if any) === */
input, textarea, select {
  border: 2px solid var(--color-border);
  border-radius: 9px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-text);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .section { padding: 28px 7px; }
  .content-wrapper { padding: 16px 7px 16px 7px; }
}
@media (max-width: 900px) {
  .section { padding: 18px 2vw; }
  .testimonial-card {padding: 16px;gap:12px;}
}
@media (max-width: 768px) {
  body {font-size: 15px;}
  .content-wrapper {gap: 16px; padding: 8px 2px 12px 2px;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  .card-container, .content-grid, .text-image-section, .feature-item {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonial-card {flex-direction: column; gap: 7px; align-items: flex-start; padding: 12px; max-width: 99vw;}
  header nav {display: none !important;}
  .mobile-menu-toggle {display: inline-block;}
  .section {padding: 16px 2vw;}
  table thead, table tbody, table th, table td {font-size: 0.98rem;}
}
@media (max-width: 512px) {
  .container {padding: 0 4px;}
  .section {padding: 12px 0; margin-bottom: 40px;}
  h1 {font-size: 1.28rem;}
  h2 {font-size: 1.13rem;}
  header {padding: 0;}
  .testimonial-card {padding: 10px; font-size: .98rem;}
  .cookie-settings-modal {width: 98vw; min-width: unset; padding: 20px 7px;}
}

/* === MICRO-ANIMATIONS === */
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.18s, box-shadow .21s, transform 0.17s;
}
.cta-btn:active, .cookie-btn:active {transform: scale(.99);}

/* === Z-INDEX LAYERING === */
header {z-index: 30;}
.mobile-menu {z-index: 1400;}
.mobile-menu-close {z-index: 1500;}
.cookie-consent-banner {z-index: 4000;}
.cookie-settings-modal {z-index: 4200;}

/* === SHADOWS & BORDERS === */
.card, .testimonial-card, .section, .cookie-settings-modal {
  box-shadow: 0 2px 12px var(--color-shadow-1);
}

/* === MISC DELIMITERS (for vertical rules/structure) === */
footer nav a:not(:last-child):after {
  content: '';
  display: inline-block;
  margin: 0 7px 2px 7px;
  width: 2px; height: 15px;
  background: var(--color-border);
  border-radius: 1px;
  vertical-align: bottom;
}
footer nav a:last-child:after {display: none;}

/* === GEOMETRIC SHAPES DECOR (minimal, shown only on larger screens) === */
@media (min-width:900px) {
  .section::after {
    content: '';
    position: absolute;
    right: 1.3vw; top: -14px;
    width: 60px; height: 60px;
    background: rgba(255,164,0,0.08);
    border-radius: 16px 26px 44px 6px;
    z-index: 0;
    pointer-events: none;
    display: block;
  }
}
@media (max-width:899px) {
  .section::after {display: none;}
}

/* === PRINT SUPPORT === */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-settings-modal {display: none !important;}
  section, .content-wrapper, .container {box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: #fff !important;}
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* === OVERRIDES & DETAILED UTILITIES === */
.content-wrapper > ul,
.content-wrapper > ol {
  margin-top: 0px;
  padding-left: 22px;
}
div.text-section > ul, div.text-section > ol {
  margin-top: 0;
  margin-bottom: 0;
}
div.text-section > ul li, div.text-section > ol li {
  margin-bottom: 8px;
}
.content-wrapper > a.cta-btn, .content-wrapper > div > a.cta-btn {
  margin-top: 16px;
}
p:last-child, .text-section:last-child {margin-bottom: 0;}

/* === END === */
