/* --- CSS RESET & BASE STYLES --- */
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,
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;
}
main, nav, section, article, aside, footer, header {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #111111;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #243447;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #36A2CC;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --- BRAND & MONOCHROME_SOPHISTICATED --- */
:root {
  --color-dark: #111111;
  --color-black: #000;
  --color-light: #fff;
  --color-gray-050: #F8F9FB;
  --color-gray-100: #eef1f5;
  --color-gray-200: #e3e8ee;
  --color-gray-300: #c8ccd0;
  --color-gray-400: #b2b4b8;
  --color-gray-600: #465161;
  --color-gray-800: #243447;
  --color-primary: #243447;
  --color-secondary: #36A2CC;
  --color-accent: #F8F9FB;
  --shadow-card: 0 4px 32px 0 rgba(36,52,71,0.13), 0 2px 4px 0 rgba(36,52,71,0.09);
  --shadow-hover: 0 7px 40px 0 rgba(36,52,71,0.17), 0 2px 12px 0 rgba(36,52,71,0.11);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-light);
  color: var(--color-dark);
}

/* --- TYPOGRAPHY HIERARCHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-black);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 16px;
  text-shadow: 0 1px 0 rgba(36,52,71,0.02);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  color: var(--color-primary);
}

p, li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
  color: var(--color-black);
}

.text-section {
  margin-bottom: 28px;
}
.cta-section {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

/* --- CONTAINER & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
}

/* --- FLEXBOX PATTERNS (NO GRID) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--color-light);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  min-width: 0;
  flex: 1 1 340px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.card-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 14px;
  justify-content: center;
}

.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 {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(36,52,71,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: var(--color-dark);
  transition: box-shadow 0.2s, border 0.2s;
  min-width: 0;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,52,71,0.17);
  border-color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.feature-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.feature-icons img {
  width: 48px;
  height: 48px;
  filter: grayscale(1) contrast(1.3);
  transition: filter 0.2s;
}
.feature-icons img:hover {
  filter: grayscale(0) contrast(1.3) brightness(0.7);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-black);
  color: var(--color-light);
  box-shadow: 0 2px 12px rgba(36,52,71,0.11);
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 0;
}
header a img {
  max-height: 40px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--color-light);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 4px 0 4px 0;
  transition: color 0.2s;
  border: none;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.main-nav .btn-primary {
  margin-left: 20px;
  font-size: 1rem;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  color: var(--color-light);
  padding: 0.75em 2.3em;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px 0 rgba(36,52,71,0.10);
  cursor: pointer;
  transition: background 0.22s, color 0.15s, box-shadow 0.22s, transform 0.13s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 4px 24px 0 rgba(36,52,71,0.15);
  transform: translateY(-2px) scale(1.035);
  text-decoration: none;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-light);
  border: none;
  font-size: 2.1rem;
  padding: 0.25em 0.5em;
  cursor: pointer;
  transition: color 0.22s, background 0.18s;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(27,28,35,0.96);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.67,.11,.17,.99);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-light);
  border: none;
  font-size: 2rem;
  margin: 22px 22px 0 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.22s;
  z-index: 1201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 36px 0 36px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  padding: 9px 16px;
  margin-left: -8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.05);
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--color-black);
  padding: 55px 0 26px 0;
  color: var(--color-light);
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.84;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.contact-info {
  font-size: 0.99rem;
  color: var(--color-gray-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) brightness(1.1);
}
.contact-info a {
  color: var(--color-secondary);
  font-weight: 500;
}
.footer-note {
  font-size: 0.97rem;
  color: var(--color-gray-400);
}
@media (max-width: 700px) {
  footer .container {
    gap: 22px;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* --- FORMS, INPUTS (if any) --- */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-light);
  color: var(--color-dark);
  margin-bottom: 16px;
  transition: border 0.19s;
  width: 100%;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 46px 0;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-gray-200);
}
th {
  background: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
}
tr:hover {
  background: var(--color-gray-100);
}

/* --- CARD & LIST ELEMENTS --- */
ul li, ol li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 0;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-black);
  margin-right: 14px;
  vertical-align: middle;
}
ol li::before {
  display: none;
}

/* --- COLUMNS AS FLEX --- */
.columns, .columns-2, .columns-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.columns-2 > * {
  flex: 1 1 46%;
  min-width: 260px;
}
.columns-3 > * {
  flex: 1 1 30%;
  min-width: 220px;
}
@media (max-width: 900px) {
  .columns, .columns-2, .columns-3 {
    flex-direction: column;
    gap: 14px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  font-size: 1.13rem;
  font-style: italic;
  background: #fff;
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 3px 16px 0 rgba(36,52,71,0.09);
  color: #111;
}
.testimonial-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-primary);
  margin-top: 8px;
  font-weight: 700;
  font-style: normal;
}

/* --- CTA BUTTONS (reusable) --- */
.cta-section .btn-primary + .btn-primary {
  margin-left: 14px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 550px) {
  h1 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  h2 { font-size: 1.17rem; margin-bottom: 10px;}
  .section {
    padding: 17px 2px;
  }
  .card-content {
    padding: 15px;
  }
  .testimonial-card {
    padding: 13px 7px;
    font-size: 1rem;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #212228;
  color: var(--color-light);
  font-family: var(--font-body);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  padding: 22px 20px 22px 28px;
  z-index: 1500;
  box-shadow: 0 -2px 16px 0 rgba(36,52,71,0.06);
  animation: slideUp 0.55s cubic-bezier(.18,.67,.22,1.0);
}
.cookie-banner__message {
  flex: 1 1 350px;
  font-size: 1.02rem;
  color: #fff;
  margin-right: 22px;
}
.cookie-banner__actions {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-banner .btn-cookie {
  border: none;
  border-radius: 999px;
  padding: 8px 22px;
  margin-right: 6px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s;
}
.cookie-banner .btn-cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .btn-cookie-accept:hover {
  background: #2090b6;
}
.cookie-banner .btn-cookie-reject {
  background: var(--color-gray-300);
  color: var(--color-dark);
}
.cookie-banner .btn-cookie-reject:hover {
  background: #b2b4b8;
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: var(--color-secondary);
  text-decoration: underline;
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--color-dark);
  color: var(--color-light);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 6px 15px 10px;
  }
  .cookie-banner__actions {
    flex-wrap: wrap;
    gap: 9px;
  }
}

@keyframes slideUp {
  from { transform: translateY(130px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,26,28,0.87);
  justify-content: center;
  align-items: center;
  z-index: 1550;
  animation: cookieModalAnim 0.21s cubic-bezier(.42,0,.58,1);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__dialog {
  background: #fff;
  color: #111;
  border-radius: 18px;
  max-width: 416px;
  width: 92vw;
  box-shadow: 0 16px 64px 0 rgba(36,52,71,0.29);
  padding: 29px 26px 20px 26px;
  animation: popIn 0.24s cubic-bezier(.49,.29,.28,1);
}
.cookie-modal__dialog h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
  letter-spacing: 0;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0 7px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category .cat-label {
  font-size: 1.05rem;
}
.cookie-category .cat-switch {
  margin-left: 15px;
}
.cookie-modal__actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal .btn-cookie {
  min-width: 110px;
}
.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  color: #111;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  transition: color 0.17s, opacity 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--color-secondary);
  opacity: 1;
}
@media (max-width: 420px) {
  .cookie-modal__dialog {
    padding: 12px 6px 12px 6px;
    font-size: 0.99rem;
  }
}
@keyframes popIn {
  from { transform: scale(0.91); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes cookieModalAnim {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- COOKIE MODAL TOGGLES --- */
.cat-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cat-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cat-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #d2d4d7;
  border-radius: 22px;
  transition: background 0.17s;
}
.cat-switch input:checked + .cat-slider {
  background: var(--color-secondary);
}
.cat-slider:before {
  content: '';
  position: absolute;
  height: 17px; width: 17px;
  left: 2px; bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.67,.11,.17,.99);
}
.cat-switch input:checked + .cat-slider:before {
  transform: translateX(16px);
}
.cat-slider {
  box-shadow: 0 2px 6px rgba(37,44,60,0.13);
}

/* --- UTILITIES --- */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* --- MICRO-INTERACTIONS --- */
.btn-primary, .btn-cookie {
  will-change: transform, box-shadow, color, background;
}
.card, .testimonial-card {
  will-change: box-shadow, transform;
}

/* --- ARIA & ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- SCROLLBAR CUSTOMIZATION (optional, monochrome-chic) --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 99px;
  border: 2px solid var(--color-accent);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
