/* ========================== */
/* 1. CSS RESET & NORMALIZE   */
/* ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
thead, tbody, th, td { margin:0; padding:0; }

/* =================================== */
/* 2. VARIABLES: Monochrome Sophisticated Palette */
/* =================================== */
:root {
  --color-bg: #fff;
  --color-bg-dark: #191919;
  --color-main: #181818;
  --color-main-inverse: #fff;
  --color-muted: #888;
  --color-gray1: #f5f5f5;
  --color-gray2: #ebebeb;
  --color-gray3: #d1d3d4;
  --color-shadow: rgba(24,16,6,0.12);
  --color-border: #e3e3e3;
  --contrast-accent: #191919;
  --brand-primary: #181818;
  --brand-secondary: #fff;
  --brand-accent: #232323;
  --shadow-elev1: 0 2px 16px 0 rgba(20,20,20,0.07);
  --shadow-card: 0 4px 24px 0 rgba(0,0,0,0.05);
}

/* ============================ */
/* 3. TYPOGRAPHY                */
/* ============================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  background: var(--brand-secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }
p, ul, ol {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 18px;
}
.subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}
strong, b { color: var(--brand-primary); font-weight: 700; }
em, i { font-style: italic; }

/* Typography hierarchy */
.content-wrapper > h1, .content-wrapper > h2, .content-wrapper > h3 {
  margin-top: 0;
}

/* Links */
a {
  color: var(--brand-primary);
  transition: color 0.18s cubic-bezier(.5,.2,.2,1);
}
a:hover, a:focus {
  color: #244D5A;
  text-decoration: underline;
}

/* ==================== */
/* 4. CONTAINER         */
/* ==================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-bottom: 0;
}

/* ========================= */
/* 5. HEADER & NAVBAR        */
/* ========================= */
header {
  background: var(--brand-secondary);
  box-shadow: var(--shadow-elev1);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  height: 49px;
}
.logo img {
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 4px 0px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: #244D5A;
}

.cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  margin-left: 18px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #244D5A;
  color: #fff;
  box-shadow: 0 2px 20px 0 rgba(24,24,24,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 22px;
}

/* =================== */
/* 6. MOBILE MENU      */
/* =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,28,28,0.98);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 34px;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: opacity 0.32s, transform 0.4s cubic-bezier(.22,.65,.21,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 24px 36px 18px 24px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ABB857;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 16px 36px 24px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232323;
  color: #ABB857;
}

/* Only show hamburger on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ================= */
/* 7. SECTIONS & LAYOUTS */
/* ================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-main-inverse);
  border-radius: 16px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================ */
/* 8. CARDS/GRID    */
/* ================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-main-inverse);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 26px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  min-height: 180px;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 rgba(0,0,0,0.13);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}

/* ============= */
/* 9. FEATURE GRID */
/* ============= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 12px 0;
  width: 100%;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-gray1);
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(24,24,24,0.06);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 295px;
  padding: 26px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--color-gray2);
  transition: box-shadow 0.20s, background 0.22s;
}
.feature-grid > div:hover {
  background: #fff;
  box-shadow: 0 8px 42px 0 rgba(10,10,10,0.12);
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: var(--brand-primary);
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.feature-grid p {
  color: #222;
  font-size: 1rem;
  margin-bottom: 0px;
}

/* Feature Item pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== */
/* 10. TEXT-SECTION*/
/* =============== */
.text-section {
  margin-bottom: 0;
  color: var(--color-main);
}
.text-section ul, .text-section ol {
  margin: 10px 0 20px 18px;
  padding-left: 10px;
  list-style: disc;
  color: var(--color-main);
}
.text-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section h3 {
  margin-top: 16px;
  margin-bottom: 7px;
}

/* Lists outside .text-section as well */
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
  font-size: 1rem;
  color: var(--color-main);
}
ul li, ol li {
  margin-bottom: 10px;
}

/* ==================== */
/* 11. TESTIMONIAL CARD */
/* ==================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 13px;
  background: #fafafa;
  box-shadow: 0 2px 18px 0 rgba(24,24,24,0.06);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eaeaea;
  flex-wrap: wrap;
  max-width: 750px;
  min-width: 225px;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(44,44,44,0.13);
}
.testimonial-card strong {
  color: #181818;
  font-size: 1.13rem;
  font-weight: 700;
}
.testimonial-card .stars {
  color: #ABB857;
  display: inline-block;
  margin: 12px 0 0 0;
  font-size: 1.2rem;
}
.testimonial-card span {
  color: #888;
  display: block;
  margin-top: 10px;
  font-size: 0.97rem;
}
.testimonial-card em {
  font-style: italic;
  color: #666;
  margin-right: 4px;
}

/* =================== */
/* 12. BUTTONS         */
/* =================== */
.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--color-main);
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 25px;
  margin-top: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.18s, transform 0.13s;
  display: inline-block;
  position: relative;
}
.cta:hover, .cta:focus {
  background: #244D5A;
  color: #fff;
  transform: translateY(-2px) scale(1.038);
  box-shadow: 0 4px 20px 0 rgba(50,50,50,0.13);
  text-decoration: none;
}

/* =================== */
/* 13. TABLE STYLING   */
/* =================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px 0;
}
th, td {
  padding: 12px 18px;
  text-align: left;
}
th {
  background: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #232323;
  border-bottom: 2px solid #e5e5e5;
}
td {
  border-bottom: 1px solid #ededed;
  color: #232323;
  font-size: 1rem;
}

/* =================== */
/* 14. FOOTER          */
/* =================== */
footer {
  background: #191919;
  color: #f5f5f5;
  padding: 48px 0 24px 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  opacity: 0.84;
  transition: color 0.14s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ABB857;
  opacity: 1;
  text-decoration: underline;
}
footer address {
  color: #888;
  font-size: 0.98rem;
  font-style: normal;
}
.footer-bottom {
  width: 100%;
  color: #888;
  margin-top: 18px;
  font-size: 0.98rem;
  opacity: 0.86;
}

/* ======================= */
/* 15. COOKIE CONSENT      */
/* ======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5001;
  background: #232323;
  color: #fff;
  border-top: 1.5px solid #444;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 21px 8vw 21px 8vw;
  gap: 32px;
  box-shadow: 0 -2px 32px 0 rgba(24,24,24,0.11);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner__btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #fff;
  color: #232323;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: background 0.14s, color 0.16s, transform 0.08s;
}
.cookie-btn.reject {
  background: #232323;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #244D5A;
  border: 1.5px solid #244D5A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #181818;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #191919;
  border: 1.5px solid #191919;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #244D5A;
  color: #fff;
  border-color: #244D5A;
}

/* COOKIES MODAL DIALOG */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.92);
  z-index: 5002;
  background: #fff;
  color: #191919;
  border-radius: 15px;
  box-shadow: 0 10px 50px 0 rgba(20,20,20,0.28);
  min-width: 320px;
  max-width: 98vw;
  width: 430px;
  padding: 34px 32px 14px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(.66,0,.88,1), transform 0.3s cubic-bezier(.66,0,.88,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-56%) scale(1.03);
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.cookie-modal__header h2 {
  font-size: 1.28rem;
  color: #232323;
  margin-bottom: 0px;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #232323;
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
  margin: -10px -12px 0 0;
  transition: color 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #244D5A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-label {
  font-weight: 600;
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #e5e5e5;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  margin-left: 12px;
  flex-shrink: 0;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #aaa;
  border-radius: 50%;
  transition: left 0.16s, background 0.14s;
}
.cookie-toggle input:checked+.cookie-toggle-slider {
  left: 19px;
  background: #244D5A;
}
/* Always enabled toggle style */
.cookie-category.essential .cookie-toggle {
  background: #d1d3d4;
  opacity: 0.65;
}
.cookie-category.essential .cookie-toggle-slider {
  background: #888;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
}
.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 11px 0 2px 0;
}

/* ======================= */
/* 16. FORMS (If any)      */
/* ======================= */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  background: #f7f7f7;
  border: 1.2px solid #e3e3e3;
  padding: 10px 13px;
  margin-bottom: 18px;
  color: #232323;
  outline: none;
  transition: border 0.17s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #244D5A;
  box-shadow: 0 2px 8px 0 rgba(36,77,90,0.05);
}

/* ======================= */
/* 17. RESPONSIVE DESIGN   */
/* ======================= */
@media (max-width: 1160px) {
  .container {
    max-width: 100vw;
    padding: 0 14px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 991px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  .feature-grid > div, .card {
    min-width: 45vw;
    max-width: 100%;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 3vw;
  }
  section, .section {
    padding: 28px 2vw;
    border-radius: 11px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 13px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 18px 11px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
  }
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.1rem; }
  .card, .card-content {
    min-width: unset;
    padding: 16px 10px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.25rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 15px 6vw 13px 6vw;
  }
  .cookie-banner__text {
    font-size: 0.98rem;
  }
}

/* ======================= */
/* 18. ANIMATIONS & MICRO-INTERACTIONS */
/* ======================= */
.cta, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, transform 0.11s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* Micro-interaction for feature icon */
.feature-grid img {
  transition: transform 0.18s cubic-bezier(.5,.2,.2,1);
}
.feature-grid > div:hover img {
  transform: scale(1.13);
}

/* =============== */
/* 19. UTILITIES   */
/* =============== */
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.bold { font-weight: 700 !important; }

/* Hide outline for mouse users unless focused */
*:focus:not(:focus-visible) {
  outline: none;
}
*:focus-visible {
  outline: 2px solid #244D5A;
  outline-offset: 2px;
}

/* =============== */
/* 20. OVERRIDE DEFAULTS FOR CONSISTENCY (HTML structure matched) */
/* =============== */
header, main, footer, section, .content-wrapper, .text-section {
  box-sizing: border-box;
}

/* Only flex - NEVER grid */
/* No grid properties present. Only flex layouts for all container elements. */