/* --- 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,
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;
}
html {
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fcfcfc;
  color: #181a1b;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #243447;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #111;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
:focus-visible {
  outline: 2px solid #243447;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #181a1b;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #111;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #181a1b;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #232323;
}
strong {
  font-weight: 600;color:#111;
}
.text-section h2, .text-section h3 {
  color: #19202b;
}

/* --- CONTAINER & WRAPPER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEXBOX PATTERNS --- */
.features-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(24,26,27,0.07);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow 0.25s;
  min-width: 260px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(24,26,27,0.12);
}
.content-grid {
  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: #f4f5f7;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(36,52,71,0.05);
  flex: 1 1 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(100deg, #fff 70%, #f4f4f6 100%);
  border-bottom: 1.5px solid #e6e7e9;
  margin-bottom: 48px;
  padding: 64px 0 40px 0;
}
.hero h1 {
  color: #181a1b;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 70vw;
  color: #45484b;
  margin-bottom: 32px;
}
.hero .cta-button, .content-wrapper .cta-button {
  margin-top: 10px;
}

/* --- CTA BUTTON --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 30px;
  padding: 14px 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(36,52,71,0.08);
  transition: background 0.18s, box-shadow 0.22s, color 0.2s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #243447;
  color: #fff;
  box-shadow: 0 4px 24px rgba(40,49,75,0.16);
  text-decoration: none;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9;
  box-shadow: 0 2px 8px rgba(24,26,27,.06);
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 28px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  font-size: 1rem;
  color: #19202b;
  letter-spacing: 0.03em;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e6e7e980;
  color: #111;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: #111;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 34;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  color: #243447;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(255,255,255,0.97);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  padding: 26px 32px 32px 32px;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(0.77,0,0.18,1);
  box-shadow: 0 6px 32px rgba(24,26,27,0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #181a1b;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 4px 16px;
  border-radius: 20px;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f1f2f380;
  color: #243447;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #1d2326;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6e7e9;
  color: #111;
}

/* --- SECTIONS & PAGES --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}

.features-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(24,26,27,0.08);
  padding: 28px 20px;
  flex: 1 1 250px;
  min-width: 240px;
  transition: box-shadow 0.22s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  gap: 10px;
}
.features-grid > div:hover {
  box-shadow: 0 5px 32px rgba(24,26,27,0.16);
  transform: translateY(-4px);
}
.features-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 8px;
}

/* Blog post list */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  justify-content: flex-start;
}
.blog-post-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(24,26,27,.09);
  padding: 22px 20px;
  min-width: 250px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.blog-post-list article:hover {
  box-shadow: 0 6px 22px rgba(24,26,27,.19);
  transform: translateY(-4px);
}
.blog-post-list h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.blog-post-list p {
  color: #333;
  font-size: 1rem;
}
.blog-post-list a {
  color: #243447;
  font-weight: 600;
  font-size: 1rem;
  margin-top: auto;
  transition: color 0.17s;
  border-bottom: 1px solid #24344744;
}
.blog-post-list a:hover {
  color: #111;
  border-bottom: 1px solid #111;
}

.categories-sidebar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(24,26,27,0.07);
  padding: 18px;
  margin-top: 0;
  min-width: 180px;
  max-width: 250px;
}
.categories-sidebar h4 {
  margin-bottom: 10px;
  color: #243447;
  font-size: 1.1rem;
}
.categories-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.categories-sidebar li {
  color: #232323;
  font-size: 0.98rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- TESTIMONIALS --- */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #f8f9fa;
  color: #222;
  min-width: 220px;
  flex: 1 1 320px;
  border-left: 5px solid #181a1b;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 7px rgba(23,30,39,0.06);
  margin-bottom: 0;
  position: relative;
  transition: border-color 0.13s, box-shadow 0.19s;
  gap: 16px;
  word-break: break-word;
}
.testimonial-card:hover {
  border-color: #243447;
  box-shadow: 0 4px 18px rgba(36,52,71,0.12);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #222;
  margin: 0 0 4px 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #243447;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background: #181a1b;
  color: #fff;
  padding: 48px 0 32px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer p {
  color: white;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-navigation a {
  color: #f8f9fa;
  font-size: 1rem;
  opacity: 0.86;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.18s, color 0.17s;
}
.footer-navigation a:hover {
  color: #fff;
  opacity: 1;
}
.company-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #e0e0e0;
  font-size: 0.98rem;
}
.company-info img {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 6px;
}
.social-links {
  display: flex;
  gap: 20px;
}
.social-links a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  padding: 6px;
  background: transparent;
  transition: background 0.13s, filter 0.12s;
}
.social-links a:hover {
  background: #242a31;
  filter: brightness(1.18);
}
.social-links img {
  width: 28px;
  height: 28px;
}
.legal-links {
  margin-top: 18px;
  color: #9ea3af;
  font-size: 0.99rem;
  opacity: 0.80;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #181a1b;
  color: #fff;
  padding: 22px 24px 22px 24px;
  box-shadow: 0 -2px 22px rgba(24,26,27,0.14);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  animation: bannerIn .7s cubic-bezier(.3,1.15,.49,1) 1;
}
@keyframes bannerIn {
  from { transform: translateY(120%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  flex: 1 1 180px;
  margin-right: 26px;
  margin-bottom: 0;
  color: #fff;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 24px;
  border-radius: 25px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
}
.cookie-banner .accept {
  background: #243447;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #181a1b;
}
.cookie-banner .reject {
  background: #f2f2f2;
  color: #181a1b;
}
.cookie-banner .reject:hover {
  background: #ececec;
  color: #232323;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #232528;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(24,26,27,0.85);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn .4s cubic-bezier(.7,1.1,.52,1);
}
@keyframes modalIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #23282e;
  border-radius: 14px;
  padding: 32px 28px 26px 28px;
  max-width: 400px;
  min-width: 240px;
  box-shadow: 0 5px 40px rgba(24,26,27,.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideIn .21s cubic-bezier(.6,1.19,.38,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(80px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #243447;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #111;
  font-size: 2.1rem;
  position: absolute;
  top: 16px;
  right: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .14s;
  padding: 3px 7px;
  border-radius: 80px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #f4f5f840;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #243447;
  width: 17px;
  height: 17px;
}
.cookie-category label {
  font-size: 0.97rem;
  font-weight: 500;
}
.cookie-category .essential {
  opacity: 0.68;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal button {
  min-width: 108px;
  margin-top: 0;
}
.cookie-modal .accept {
  background: #243447;
  color: #fff;
}
.cookie-modal .accept:hover {
  background: #181a1b;
}
.cookie-modal .cancel {
  background: #f2f2f2;
  color: #181a1b;
}
.cookie-modal .cancel:hover {
  background: #ececec;
  color: #232323;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .features-grid, .card-grid, .card-container, .testimonials-list, .content-grid,
  .blog-post-list {
    gap: 16px;
  }
}
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
  .features-grid > div, .card, .blog-post-list article, .testimonial-card {
    min-width: 220px;
  }
  .social-links img {
    width: 24px; height:24px;
  }
  .footer-navigation {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px; padding-right:12px;
  }
  .features-grid,
  .card-grid,
  .content-grid,
  .testimonials-list,
  .blog-post-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    min-height: 64px;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    padding: 13px 28px;
    font-size: 1.05rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 42px 0 28px 0;
    margin-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.68rem;
    margin-bottom: 14px;
  }
  .hero p {
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 18px;
  }
  section {
    margin-bottom: 36px;
    padding: 34px 0;
  }
  .features-grid {
    flex-direction: column;
    gap: 15px;
  }
  .blog-post-list {
    flex-direction: column;
    gap: 17px;
  }
  .card, .features-grid > div, .testimonial-card {
    flex: 1 1 100%;
    min-width: 0;
  }
  .content-wrapper {
    gap: 12px;
  }
  .testimonials-list {
    flex-direction: column;
    gap: 15px;
  }
  .categories-sidebar {
    max-width: 100%;
    margin-top: 20px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 4vw; padding-right: 4vw;
  }
  header .container {
    flex-direction: row;
    min-height: 54px;
    gap: 4px;
  }
  .hero {
    padding: 24px 0 18px 0;
  }
  h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  .cta-button {
    padding: 10px 18px;
    font-size: .98rem;
  }
  section {
    padding: 16px 0;
    margin-bottom: 20px;
  }
  .card, .features-grid > div, .blog-post-list article, .testimonial-card {
    padding: 13px 8px;
    border-radius: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px 14px 8px;
    font-size: .97rem;
  }
  .cookie-banner p {
    margin-bottom: 10px;
  }
  .cookie-modal {
    padding: 19px 5vw 14px 5vw;
    max-width: 98vw;
  }
}
@media (max-width: 440px) {
  .footer-navigation, .social-links { flex-direction: column; gap:10px; }
  .legal-links { font-size: 0.86rem; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .features-grid > div, .blog-post-list article, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.13s, transform 0.14s;
}
.card:hover, .features-grid > div:hover, .blog-post-list article:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 8px 32px rgba(24,26,27,0.13);
}

/* --- Z-INDEX MANAGEMENT --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 999 !important;
}

/* --- UTILITY CLASSES (SPACING, ALIGNMENT) --- */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.block { display: block !important; }
.w-100 { width: 100% !important; }

/* --- HIDE/SHOW FOR JS --- */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* --- END OF STYLES --- */
