/* CSS RESET & BASE TYPOGRAPHY --------------------------------------------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #202946;
  background-color: #F6FAFF;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg { max-width: 100%; display: block; height: auto; border: none; }
a { color: #202946; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #6EB350; outline: none; }

:root {
  --primary: #202946;
  --secondary: #6EB350;
  --accent: #F6FAFF;
  --gradient: linear-gradient(90deg, #202946 0%, #6EB350 100%);
  --shadow: 0 4px 16px 0 rgba(32,41,70, 0.05);
  --border-radius: 18px;
}

/* CONTAINER & LAYOUT ------------------------------------------------------------ */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

/* FLEXBOX SPACING AND ALIGNMENT ------------------------------------------------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; margin-bottom: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* HEADER & NAV ---------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(32,41,70,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--secondary);
  border-radius: 2px;
  transition: width 0.2s;
  margin-top: 3px;
}
nav a:hover:after, nav a:focus:after {
  width: 80%;
}
nav a.active, nav a[aria-current='page'] {
  color: var(--secondary);
}

.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #6EB350 0%, #202946 100%);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(32,41,70,0.11);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  padding: 8px 14px;
  color: var(--primary);
  border-radius: 7px;
  transition: background 0.15s;
  margin-left: 8px;
  margin-right: -6px;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
  outline: 2px solid var(--secondary);
}

/* MOBILE NAV ---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -6px 0 18px 0 rgba(32,41,70,0.20);
  transform: translateX(102%);
  transition: transform 0.31s cubic-bezier(.46,.03,.52,.96);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 26px 24px 24px 24px;
  will-change: transform;
}

.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--accent);
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}

/* MOBILE NAV OVERLAY / dim background */
.mobile-menu.active + .mobile-menu-overlay,
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}
.mobile-menu-overlay {
  display: none;
  content: '';
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,41,70,0.32);
  z-index: 100;
  transition: opacity 0.25s;
}

/* HERO HEADER ---------------------------------------------------------- */
.hero {
  padding: 64px 0 48px 0;
  background: linear-gradient(90deg, #F6FAFF 45%, #e7f2df 100%);
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.13;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.hero .subtitle {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 20px;
  color: #425176;
  margin-bottom: 14px;
}

/* FEATURES / LISTS ----------------------------------------------------- */
.features {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 2px 12px 0 rgba(32,41,70,0.03);
}
.features .content-wrapper {
  gap: 26px;
}
.features h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.features ul, .features ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 12px;
}
.features ul li, .features ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  padding: 14px 20px;
  background: #f1f7e7;
  border-radius: 13px;
  color: #202946;
  min-width: 230px;
  box-shadow: 0 2px 10px 0 rgba(32,41,70,0.03);
}
.features ul li img,
.features li img {
  width: 32px;
  height: 32px;
}

.features ol {
  counter-reset: feature-ol;
  flex-direction: column;
  gap: 18px;
}
.features ol li {
  background: #f6faff;
  font-size: 17px;
  position: relative;
  padding-left: 55px;
}
.features ol li:before {
  counter-increment: feature-ol;
  content: counter(feature-ol)'. ';
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* TEXT SECTIONS ---------------------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  line-height: 1.65;
}
.text-section ul {
  margin-top: 5px;
  list-style: disc inside none;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section li {
  font-size: 16px;
  margin-bottom: 2px;
}
.text-section a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.18s;
}
.text-section a:hover, .text-section a:focus { color: #64a146; }

/* SERVICES - LISTS & PRICING TABLE -------------------------------------- */
.services {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 3px 12px 0 rgba(32,41,70,0.05);
}
.services .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}
.services .services-list > div {
  flex: 1 1 280px;
  background: #F6FAFF;
  box-shadow: 0 2px 12px 0 rgba(32,41,70,0.05);
  border-radius: 15px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 230px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.services .services-list > div img {
  width: 36px;
  margin-bottom: 6px;
  filter: grayscale(0%);
}
.services .services-list > div h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.services .services-list > div p,
.card p { font-size: 15px; color: #2e3961; min-height: 46px; }
.services .services-list > div strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  background: #edf6e7;
  padding: 3px 12px 2px 12px;
  border-radius: 8px;
  font-size: 16px;
  align-self: flex-start;
  font-weight: 700;
  margin-top: 2px;
}
.services .services-list > div:hover, .services .services-list > div:focus {
  box-shadow: 0 7px 20px 0 rgba(32,41,70,0.13);
  transform: translateY(-4px) scale(1.025);
}

/* PRICING TABLE ---------------------------------------------------------- */
.pricing-table {
  width: 100%;
  margin-bottom: 16px;
  border-spacing: 0;
  border-collapse: collapse;
  background: #f8fbf3;
  box-shadow: var(--shadow);
  border-radius: 9px;
  overflow: hidden;
  font-size: 16px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 15px;
  border-bottom: 1px solid #e6ebf0;
  text-align: left;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #202946;
  font-size: 17px;
  font-weight: 600;
  background: #e7f2df;
}
.pricing-table tr:last-child td {
  border-bottom: 0;
}
.pricing-table td strong, .pricing-table td b {
  color: var(--secondary);
}

.service-inclusions {
  font-size: 15px;
  color: #486154;
  margin-bottom: 14px;
  padding-left: 3px;
}

/* CTA SECTION ---------------------------------------------------------- */
.cta {
  margin: 64px 0 0 0;
  padding: 40px 0 32px 0;
  background: linear-gradient(90deg, #e6f9dc 0%, #F6FAFF 100%);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(110,179,80,0.06);
}
.cta .cta-btn {
  margin-bottom: 10px;
}
.cta .subtitle {
  color: #425176;
  font-size: 18px;
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonials {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 38px 0 52px 0;
  box-shadow: 0 3px 12px 0 rgba(32,41,70,0.05);
}
.testimonials h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.testimonial-card {
  background: #F6FAFF;
  border-radius: var(--border-radius);
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(32,41,70,0.07);
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 530px;
  color: #202946;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  font-size: 16px;
}
.testimonial-card .stars {
  font-size: 19px;
  color: #FFD600;
  letter-spacing: 1.5px;
}
.testimonial-card p {
  font-size: 17px;
  color: #202946;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 18px 0 rgba(110,179,80,0.10), 0 2px 10px 0 rgba(32,41,70,0.10);
  transform: translateY(-2px) scale(1.01);
}

/* PROJECT CASES for REFERENCES -------------------------------------------------- */
.project-case {
  background: #f6faff;
  border-left: 6px solid var(--secondary);
  border-radius: 14px;
  padding: 20px 22px 16px 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px 0 rgba(32,41,70,0.03);
}
.project-case h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

/* LEGAL & INFORMATION PAGES ------------------------------------------------------ */
.legal {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 0 36px 0;
  box-shadow: 0 3px 12px 0 rgba(32,41,70,0.04);
}
.legal h1, .legal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.legal h1 { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.legal h2 { font-size: 24px; color: #223159; margin-bottom: 10px; margin-top: 22px; }
.legal h3 { font-size: 19px; color: #254372; margin-bottom: 7px; margin-top: 18px; font-family: 'Montserrat'; font-weight: 600; }
.text-section ul, .text-section ol {
  font-size: 16px;
  padding-left: 20px;
  margin-bottom: 8px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 3px;
}

/* FAQ ------------------------------------------------------------- */
.faq {
  background: #f6faff;
  border-left: 5px solid var(--secondary);
  padding: 16px 18px;
  border-radius: 11px;
  color: #202946;
  font-size: 16px;
  margin-top: 8px;
}
.faq strong { color: #202946; font-weight: 700; font-family: 'Montserrat'; }

/* CONTACT SECTION ---------------------------------------------------------- */
.contact {
  background: #f6faff;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
  box-shadow: 0 1px 8px 0 rgba(32,41,70,.06);
}
.contact .content-wrapper {
  gap: 28px;
}
.contact h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact ul {
  list-style: none;
}
.contact ul li {
  margin-bottom: 6px;
  font-size: 17px;
  color: #202946;
}
.contact a {
  color: var(--secondary);
  word-break: break-all;
  text-decoration: underline;
  transition: color 0.18s;
}
.contact a:hover, .contact a:focus { color: #64a146; }

/* FOOTER ---------------------------------------------------------- */
footer {
  background: #202946;
  color: #fff;
  padding: 36px 0 16px 0;
  margin-top: 60px;
  box-shadow: 0 -1px 8px 0 rgba(110,179,80,0.04);
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 15px;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.18s, color 0.17s;
  font-weight: 400;
}
.footer-menu a:hover,
.footer-menu a:focus {
  opacity: 1;
  color: #6EB350;
}
.legal-info {
  font-size: 15px;
  opacity: 0.80;
}

/* COOKIE CONSENT BANNER ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff;
  color: #202946;
  box-shadow: 0 -2px 14px 0 rgba(32,41,70,0.13);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  padding: 22px 24px;
  font-size: 15px;
  transition: transform 0.29s cubic-bezier(.44,.11,.25,.97), opacity 0.14s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-message {
  flex: 1 1 340px;
  max-width: 760px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  background: #f1f7e7;
  color: #202946;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.15s;
}
.cookie-btn.accept {
  background: var(--gradient);
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #6EB350 0%, #202946 100%);
}
.cookie-btn.reject {
  background: #f8e7e7;
  color: #202946;
  border: 1.5px solid #c14d4d;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffeceb;
  color: #c14d4d;
  border-color: #c14d4d;
}
.cookie-btn.settings {
  background: #ededed;
  color: #202946;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #d7eae4;
  color: #484848;
}

/* COOKIE PREFERENCES MODAL --------------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  z-index: 210;
  background: rgba(32,41,70,0.38);
}
.cookie-modal-overlay.active {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  z-index: 220;
  width: 96vw;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 6px 32px 0 rgba(32,41,70,0.18);
  padding: 32px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.18s, transform 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -35%) scale(0.96);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 16px;
  line-height: 1.5;
  color: #202946;
}
.cookie-modal .category-toggle {
  margin-right: 8px;
}
.cookie-modal .category-toggle[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 12px;
}
.category-essential {
  color: #5baa34;
  font-weight: 600;
  font-size: 15px;
}

/* GENERAL HEADINGS & TYPOGRAPHY----------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-bottom: 4px;
}
h1 { font-size: 36px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 600; }
h5 { font-size: 15px; font-weight: 500; }
p { margin-bottom: 10px; }
strong { font-weight: 600; }

/* BUTTONS ------------------------------------------------------------- */
button, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.14s, transform 0.12s;
}

/* TRANSITIONS & MICRO-INTERACTIONS ------------------------------------ */
a, .cta-btn, .services .services-list > div, .testimonial-card, .card, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-btn.accept {
  transition-timing-function: cubic-bezier(.54,.03,.49,1.01);
  transition-duration: 0.17s;
}

/* RESPONSIVE DESIGN --------------------------------------------------- */
@media (max-width: 1024px) {
  .container { padding: 0 9px; }
  .features ul, .features ol { flex-direction: column; gap: 14px; }
  nav { gap: 14px; }
}
@media (max-width: 900px) {
  .container { padding: 0 6px; }
  .footer-menu { gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  header .container { flex-wrap: wrap; gap: 7px; }
  nav { flex-wrap: wrap; gap: 12px; }
  .services .services-list, .features ul, .features ol, .card-container, .content-grid { gap: 17px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .section, .features, .services, .contact, .legal, .testimonials, .cta {
    padding-left: 7px;
    padding-right: 7px;
  }
  .container { padding: 0 2vw; }
  .mobile-menu-toggle { display: block; }
  nav { display: none !important; }
  .cta-btn { font-size: 15px; padding: 10px 18px; }
  .hero h1 { font-size: 30px; }
  .features h2, .testimonials h2, .services h2, .contact h2, .legal h1 { font-size: 22px; }
  .footer-menu { flex-direction: column; gap: 5px; align-items: flex-start; }
  .testimonials .testimonial-card, .card { max-width: 100%; }
  .text-image-section, .content-grid, .card-container, .services .services-list {
    flex-direction: column;
    gap: 16px;
  }
  .section { margin-bottom: 40px; padding: 22px 7px; }
}
@media (max-width: 575px) {
  .hero { padding: 32px 0 24px 0; }
  .cta, .features, .services, .testimonials, .contact, .legal {
    padding-left: 2px;
    padding-right: 2px;
  }
  .cookie-banner { flex-direction: column; gap: 13px; padding: 16px 8px; font-size: 14px; }
  .cookie-banner .cookie-btns { gap: 7px; }
  .footer-menu { font-size: 14px; }
  .container { padding: 0 1vw; }
}

/* END OF STYLE.CS ---------------------------------------------------- */
