/* ================= RESET & BASE ================ */
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.5;
  background: #fff;
  color: #222;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
}

/* ================= THEME (Monochrome Sophisticated) ================ */
:root {
  --black: #111;
  --gray-dark: #323232;
  --gray: #757575;
  --gray-light: #ececec;
  --white: #fff;
  --brand-primary: #111; /* Deep black for monochrome base */
  --brand-secondary: #323232; /* Charcoal gray, subtle accents */
  --brand-accent: #fff; /* White for dramatic contrasts */
  --border-radius: 12px;
  --shadow-main: 0 6px 20px rgba(20, 20, 20, 0.09);
  --shadow-elevated: 0 3px 12px rgba(0,0,0,0.13);
  --transition: all 0.17s cubic-bezier(.44,.13,.48,1);
}

/* ================= TYPOGRAPHY ================ */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }
p, ul, ol, dl, address {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 12px;
}
strong {
  color: var(--brand-primary);
  font-weight: bold;
}
/* link style */
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
a:hover, a:focus {
  color: var(--gray);
}

/* ================= LAYOUT CONTAINERS ================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  padding: 28px 32px;
  position: relative;
  min-width: 250px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px) scale(1.01);
}

.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 28px;
  margin-bottom: 20px;
  background: var(--gray-light);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px rgba(42,42,42,0.09);
  max-width: 600px;
  color: var(--black);
  font-style: italic;
  transition: box-shadow var(--transition), border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(60,60,60,0.13);
}
.testimonial-card p {
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  color: var(--gray);
  font-style: normal;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-main);
  border: 1px solid var(--gray-light);
}


/* ================= HEADER & NAVIGATION ================ */
header {
  width: 100%;
  background: var(--brand-accent);
  border-bottom: 1px solid #19191910;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 80px;
  position: relative;
  z-index: 30;
}
.logo {
  margin-right: 40px;
  padding: 16px 0;
}
.logo img {
  height: 43px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray-dark);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  padding: 6px 3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
}
.cta-btn {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 30px;
  padding: 12px 32px;
  margin-left: 30px;
  box-shadow: 0 2px 12px rgba(34,34,34,0.07);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gray-dark);
  color: var(--brand-accent);
  box-shadow: 0 4px 20px rgba(34,34,34,0.18);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 16px;
  transition: color var(--transition);
  z-index: 103;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-primary);
}

/* ================= MOBILE MENU ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(28,28,28,0.97);
  z-index: 102;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.86,-0.11,.48,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-accent);
  font-size: 2.3rem;
  margin: 28px 0 14px 22px;
  align-self: flex-start;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 105;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--gray-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 22px 0 38px;
  width: 100%;
}
.mobile-nav a{
  color: var(--brand-accent);
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 11px 0 11px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border-bottom 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
}

/* ================= HERO ================ */
.hero {
  background: linear-gradient(120deg, #fff 59%, #ececec 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(38,38,38,0.04);
  padding: 0;
  margin-bottom: 46px;
}
.hero .container {
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 640px;
  padding: 50px 0;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.4rem;
}
.hero p {
  color: var(--gray-dark);
  margin-bottom: 32px;
  font-size: 1.14rem;
}

/* =============== SECTIONS, LISTS, CONTENT =============== */
section ul,
section ol {
  list-style: disc inside;
  margin-left: 1.2em;
  margin-bottom: 16px;
}
section ul li, section ol li {
  margin-bottom: 10px;
  color: var(--gray-dark);
  font-size: 1.03rem;
}

.text-section {
  background: var(--white);
  box-shadow: var(--shadow-main);
  padding: 28px 32px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  width: 100%;
}
address {
  font-style: normal;
  color: var(--gray-dark);
  font-size: 1.06rem;
  margin-bottom: 0;
}

/* ============== TABLES =============== */
table {
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(50,50,50,0.07);
  margin-bottom: 22px;
  overflow: hidden;
}
table th, table td {
  padding: 16px 12px;
  text-align: left;
}
table th {
  background: #f6f6f6;
  color: var(--brand-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  border-bottom: 1px solid var(--gray-light);
}
table td {
  color: var(--gray-dark);
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}

/* FAQ (dl/accordion look) */
dt {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
dd {
  margin: 0 0 12px 20px;
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* =============== FOOTER =============== */
footer {
  background: #fafafa;
  border-top: 1px solid #dadada36;
  padding: 36px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: var(--gray-dark);
  font-size: 1rem;
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-primary);
  border-bottom: 1px solid var(--brand-primary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 32px;
  width: auto;
  margin-right: 4px;
}
.footer-brand span {
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  color: var(--gray);
}

/* ================= COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 -2px 24px rgba(20,20,20,0.13);
  padding: 28px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 100vw;
  transition: transform 0.45s cubic-bezier(.86,-0.11,.48,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-bottom: 2px;
}
.cookie-btn-group {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  background: var(--gray-light);
  color: var(--brand-primary);
  margin: 0;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, border 0.18s;
  box-shadow: 0 2px 8px rgba(28,28,28,0.045);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--gray-dark);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--gray-light);
  color: var(--brand-primary);
  border: 1px solid var(--gray-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dedede;
  color: var(--brand-primary);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #bbbbbb;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gray-light);
  color: var(--brand-primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 32, 32, 0.51);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-inner {
  background: var(--white);
  padding: 40px 32px 32px 32px;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(30,30,30,0.21);
  min-width: 340px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal-header h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
  color: var(--brand-primary);
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 10px;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-secondary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--brand-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* === Cookie category toggle switch === */
.cookie-switch {
  width: 44px;
  height: 22px;
  position: relative;
  display: inline-block;
  margin-top: 2px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e0e0e0;
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--brand-primary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 1.5px rgba(44,44,44,0.08);
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-category small {
  display: block;
  color: #868686;
  margin-top: 3px;
  font-size: 0.93rem;
}

/* ================== BUTTONS (global) ================ */
button {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========== MICRO-INTERACTIONS ========== */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.17s, color 0.14s, box-shadow 0.13s, transform 0.12s;
}
.cta-btn:active,
.cookie-btn:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active,
.cookie-modal-close:active {
  transform: scale(0.97);
}

/* =============== RESPONSIVE DESIGN & FLEX DIRECTION =============== */
@media (max-width: 1060px) {
  .container { max-width: 980px; }
  .hero .content-wrapper { max-width: 90%; }
}
@media (max-width: 900px) {
  .container { max-width: 768px; }
  .main-nav { gap: 13px; }
  .card { padding: 20px 16px; }
}
@media (max-width: 768px) {
  html { font-size: 96%; }
  
  header {
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    min-height: 60px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 20px;
    margin-left: 8px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 220px;
    margin-bottom: 33px;
    padding: 8px 0;
  }
  .hero .content-wrapper {
    padding: 30px 0;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container {
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .section {
    padding: 22px 5px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  table th,
  table td {
    padding: 10px 6px;
    font-size: 0.99rem;
  }
  .text-section,
  .card {
    padding: 13px 10px;
  }
  .cookie-modal-inner { min-width: 96vw; padding: 20px 6vw; }
}
@media (max-width: 600px) {
  .container { max-width: 100%; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .footer-brand img { height: 24px; }
  table { font-size: 0.97rem; }
}

/* =================== PRINT ================ */
@media print {
  header, .footer-nav, .footer-brand, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ============ UTILITY CLASSES (spacing, flex etc.) =========== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }

/* ============== FOCUS (ACCESSIBILITY) ============ */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

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