/* === CSS RESET & NORMALIZE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--accent);
}
body {
  min-height: 100vh;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary);
}
ul, ol {
  list-style: none;
}

:root {
  --primary: #232937;
  --secondary: #2E8BC0;
  --accent: #F4F7FA;
  --card-bg: #fff;
  --border-radius: 16px;
  --shadow: 0 4px 16px rgba(34, 41, 55, 0.04);
  --shadow-hover: 0 8px 32px rgba(34, 41, 55, 0.07);
  --footer-bg: #e9eef3;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

strong { font-weight: 700; }

/* === CONTAINER AND GENERAL LAYOUT === */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-grid,
.card-container,
.content-grid,
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .feature-grid,
  .card-container,
  .content-grid,
  .testimonials {
    gap: 20px;
  }
}

.card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.text-section {
  margin-bottom: 20px;
}

/* === FEATURES & SERVIES === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  gap: 15px;
  padding: 24px 20px;
  width: 100%;
  max-width: 280px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-list li {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  line-height: 1.55;
  gap: 10px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 12px 12px;
  box-shadow: 0 1px 4px rgba(34,41,55,0.02);
  margin-bottom: 4px;
}
.services-list span {
  color: var(--secondary);
  font-size: 1.32rem;
  font-weight: bold;
}

.pricing-table ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-table li {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.06rem;
  box-shadow: 0 0.5px 5px rgba(34,41,55,0.03);
}

.service-highlight {
  background: var(--footer-bg);
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
}
@media (max-width: 768px) {
  .feature-item,
  .service-highlight {
    max-width: 100%;
    width: 100%;
    padding: 16px 12px;
  }
}

/* === BUTTONS === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 13px 32px;
  color: #fff;
  background: var(--secondary);
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(46, 139, 192, 0.04);
  transition: background 0.2s, transform 0.18s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 4px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  transform: translateY(-1px) scale(1.03);
  color: #fff;
  outline: none;
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1.5px 10px rgba(34,41,55,0.04);
  position: sticky;
  top: 0;
  z-index: 998;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 65px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
    font-size: 0.99rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 4px;
    font-size: 0.95rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 2rem;
    border: none;
    box-shadow: 0 2px 8px rgba(46,139,192,.08);
    margin-left: 5px;
    transition: background 0.19s;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: var(--primary);
    outline: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.86,0,.07,1);
  box-shadow: -4px 0 24px rgba(34,41,55,0.05);
  display: flex;
  flex-direction: column;
  padding: 32px 22px 16px 22px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: background 0.15s;
  border: none;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 80px;
  margin-bottom: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  padding: 13px 8px 13px 0px;
  border-radius: 12px;
  transition: background 0.18s, color 0.15s;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}

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


/* === HERO & MAIN SECTIONS === */
main section {
  background: transparent;
}
main section:first-of-type {
  padding-top: 32px;
  min-height: 245px;
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(34,41,55,0.08);
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.19s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card .author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(34,41,55,0.13);
  transform: scale(1.015);
}
@media (max-width: 768px) {
  .testimonials, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* === FOOTER === */
footer {
  background: var(--footer-bg);
  border-top: 1.2px solid #e4eaf1;
  padding: 38px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  margin-top: 4px;
  font-size: 0.99rem;
  line-height: 1.7;
  color: var(--primary);
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
  font-size: 1rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    margin-top: 10px;
  }
}

/* === CARDS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === CTA SECTIONS === */
.section > .container > .content-wrapper > .cta-btn,
.section .content-wrapper > .cta-btn {
  margin: 12px 0 0 0;
}

/* === LISTS === */
ul li, ol li {
  padding-left: 0;
  margin-bottom: 2px;
}
ul.services-list li img {
  width: 20px;
  height: 20px;
  margin-right: 9px;
}

/* === MODALS & COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(34,41,55,0.09);
  padding: 22px 30px 18px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-radius: 24px 24px 0 0;
  max-width: 720px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.22s cubic-bezier(.46,.27,.2,1);
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: var(--primary);
  flex: 1 1 300px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 22px;
  padding: 7px 22px;
  cursor: pointer;
  transition: background 0.16s, color 0.17s;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--primary); }
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner .reject:hover { background: #f1f5fa; color: var(--secondary);}
.cookie-banner .settings {
  background: transparent;
  color: var(--secondary);
  padding: 7px 8px;
  font-weight: 400;
  text-decoration: underline;
}
.cookie-banner .settings:hover {
  color: var(--primary);
  background: #f0f0f2;
}
@media (max-width:480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 8px 10px 8px;
    max-width: 95vw;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
    gap: 10px;
  }
}

.cookie-modal {
  position: fixed;
  z-index: 2200;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,41,55,0.18);
  transition: opacity 0.22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 34px 30px 24px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(34,41,55,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.25s cubic-bezier(.49,1.7,.76,.88);
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(20px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  border-radius: 20px;
  border: none;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.12s;
}
.cookie-modal-actions .save {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal-actions .save:hover {
  background: var(--primary);
}
.cookie-modal-actions .cancel {
  background: none;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-modal-actions .cancel:hover {
  background: #f4f7fa;
  color: var(--primary);
}

/* === MISC / UTILITIES === */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.gap-1 { gap: 12px; }
.gap-2 { gap: 18px; }
.gap-3 { gap: 24px; }
.rounded { border-radius: var(--border-radius); }

/* === FORMS (future-proof) === */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #d2dbe7;
  background: #fff;
  color: var(--primary);
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* === ACCESSIBILITY FOCUS === */
a:focus, .cta-btn:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* === SPACING BETWEEN MAJOR SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 20px 6px;
    margin-bottom: 36px;
  }
}

/* === FLEX WRAP AND GAPS (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}

/* === REMOVE OVERLAPS, ENFORCE SPACING === */
.card, .feature-item, .testimonial-card, .service-highlight {
  margin-bottom: 20px;
}
.content-wrapper, .container > *:not(:last-child) {
  margin-bottom: 24px;
}

/* === RESPONSIVE FLEX DIRECTION === */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* === TABLES (if any) === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(34,41,55,0.05);
}
th, td {
  font-size: 1rem;
  padding: 10px 12px;
  text-align: left;
}
th {
  background: var(--accent);
}

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

/* === END === */
