/* -----------------------------------------------------
   CSS RESET & BASE TYPOGRAPHY
----------------------------------------------------- */
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;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #22334e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #274060;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #19B99A;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}

/* -----------------------------------------------------
   BRAND COLORS AS CSS VARIABLES
----------------------------------------------------- */
:root {
  --primary: #22334e;
  --primary-dark: #1c2943;
  --secondary: #ffffff;
  --background: #f8f9fa;
  --accent: #19B99A;
  --muted: #E4E8EF;
  --text: #22334e;
  --text-light: #63718c;
  --shadow: 0 1px 8px rgba(34,51,78,0.08);
  --radius-lg: 18px;
  --radius: 9px;
}

/* -----------------------------------------------------
   FONTS
----------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; line-height: 1.13; margin-bottom: 20px; }
h2 { font-size: 1.50rem; line-height: 1.25; margin-bottom: 18px; }
h3 { font-size: 1.12rem; line-height: 1.32; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; margin-bottom:10px; }
p, .subheadline, .cta-subtext {
  font-size: 1rem;
  color: var(--text-light);
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 22px;
}
.cta-subtext {
  font-size: 1rem;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}

/* -----------------------------------------------------
   CONTAINER & SPACING
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* -----------------------------------------------------
   LAYOUT: FLEXBOX PATTERNS
----------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(34,51,78, 0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: var(--secondary);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
  border-left: 6px solid var(--accent);
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(34,51,78,0.15);
  transform: translateY(-3px);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.75;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------- */
header {
  width: 100%;
  background: var(--secondary);
  border-bottom: 1px solid var(--muted);
  padding-top: 14px;
  padding-bottom: 14px;
  position: sticky;
  top: 0; z-index: 98; 
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  max-height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: var(--radius);
  transition: background 0.16s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--muted);
  color: var(--accent);
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(25,185,154,0.08);
}
.cta-primary:hover,
.cta-primary:focus {
  background: #17a88a;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(25,185,154,0.12);
}
button.cta-primary {
  border: none;
  outline: none;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  display: none;
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--muted);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,51,78,0.96);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.69,.27,.51,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.29s cubic-bezier(.7,1.2,.4,1);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 22px; right: 28px;
  z-index: 3;
  cursor: pointer;
  transition: color 0.16s;
  padding: 6px 10px;
  border-radius: 50%;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 88px;
  margin-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: var(--radius);
  transition: background 0.16s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(25,185,154,0.18);
  color: var(--accent);
  outline: none;
}

/* -----------------------------------------------------
   HERO SECTION
----------------------------------------------------- */
.hero {
  background: var(--background);
  padding: 60px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

/* -----------------------------------------------------
   FEATURES (INDEX)
----------------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 244px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 20px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.feature img {
  height: 32px;
  width: 32px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.04rem;
  margin-bottom: 4px;
  color: var(--primary);
  font-weight: 600;
}
.feature p {
  color: var(--text-light);
  font-size: 0.98rem;
}
.feature:hover {
  box-shadow: 0 6px 20px rgba(34,51,78,0.12);
  transform: translateY(-2px) scale(1.02);
}
.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  list-style: disc inside;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding-left: 0;
  margin-top: 12px;
}
.feature-benefits li {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
}

/* CTA REQUEST */
.cta-request {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 44px;
  padding: 38px 0 38px 0;
  box-shadow: 0 2px 22px rgba(25,185,154,0.08);
}
.cta-request h2 {
  color: #fff;
}
.cta-request .cta-primary {
  background: #fff;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  box-shadow: none;
  border: 2px solid #fff;
  transition: color 0.16s, background 0.16s;
}
.cta-request .cta-primary:hover,
.cta-request .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}
.cta-request .cta-subtext {
  color: #fff;
}

/* -----------------------------------------------------
   TABLE
----------------------------------------------------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
}
.pricing-table th, .pricing-table td {
  padding: 17px 20px;
  text-align: left;
  font-size: 1rem;
  color: var(--primary);
}
.pricing-table th {
  background: var(--background);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 2px solid var(--muted);
}
.pricing-table tr {
  border-bottom: 1px solid var(--muted);
}
.pricing-table tr:last-child {
  border-bottom: none;
}

/* -----------------------------------------------------
   TESTIMONIALS
----------------------------------------------------- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.stars {
  color: var(--accent);
  font-size: 1.23em;
  letter-spacing: 2.5px;
  font-weight: 700;
}
.reviews-summary {
  background: var(--background);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin-top: 20px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: var(--secondary);
  border-top: 1px solid var(--muted);
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--text-light);
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--primary);
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 0.98rem;
}
.brand-footer img {
  height: 38px;
}

/* -----------------------------------------------------
   TEXT SECTIONS, FAQ, ETC
----------------------------------------------------- */
.text-section {
  margin-bottom: 28px;
}
.text-section ul {
  margin-top: 8px;
}
.text-section li {
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -----------------------------------------------------
   SERVICE BLOCKS
----------------------------------------------------- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 30px;
}
.service-block {
  background: var(--background);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.13s;
}
.service-block:hover {
  box-shadow: 0 4px 20px rgba(34,51,78,0.13);
  transform: translateY(-2px) scale(1.01);
}
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0 32px 0;
}

/* -----------------------------------------------------
   UTILITY/HELPER CLASSES
----------------------------------------------------- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* -----------------------------------------------------
   BUTTONS & INTERACTIONS
----------------------------------------------------- */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
button:active {
  transform: scale(0.98);
}
[disabled], .disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid var(--muted);
  box-shadow: 0 -2px 22px rgba(34,51,78,0.10);
  z-index: 150;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  animation: cookie-slidein 0.64s cubic-bezier(.7,1.2,.4,1);
}
@keyframes cookie-slidein {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1rem;
  text-align: center;
}
.cookie-banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  background: var(--background);
  color: var(--primary);
  border: 1px solid var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #17a88a;
  border-color: #17a88a;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--primary);
  border: 1.3px solid var(--primary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--accent);
  border: 1.3px solid var(--accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  color: #fff;
  background: var(--accent);
}
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(34,51,78,0.75);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 28px 28px 28px;
  min-width:320px; max-width: 90vw;
  box-shadow: 0 6px 32px rgba(34,51,78,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.32rem;
}
.cookie-modal-section {
  margin-bottom: 18px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-modal-category .category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal-category .category-toggle {
  margin-left: auto;
}
.category-toggle input[type="checkbox"] {
  width: 32px; height: 20px;
  accent-color: var(--accent);
  margin-left: 8px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.42rem;
  position: absolute;
  top: 24px;
  right: 38px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal-close:hover {
  background: var(--background);
  color: var(--primary);
}
/* Essential cookies locked */
.cookie-modal-category input[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
----------------------------------------------------- */
@media (max-width: 992px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-nav {
    gap: 13px;
  }
  .features-grid {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 0.95rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 18px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-nav {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .features-grid, .testimonials-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature {
    max-width: 100%;
    min-width: unset;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }
  .brand-footer {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-modal-content {
    min-width: unset;
    max-width: 97vw;
    padding: 24px 10px 18px 10px;
  }
  .mobile-nav {
    margin-left: 16px;
    margin-top: 72px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-nav {
    font-size: 0.89rem;
  }
  .cookie-banner {
    padding: 16px 2vw 12px 2vw;
  }
  .cookie-modal-content {
    padding: 16px 2vw 16px 2vw;
  }
}

/* -----------------------------------------------------
   MICRO-INTERACTIONS & ANIMATIONS
----------------------------------------------------- */
.card, .service-block, .testimonial-card, .feature {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:focus-within, .service-block:focus-within, .testimonial-card:focus-within, .feature:focus-within {
  box-shadow: 0 8px 30px rgba(25,185,154,0.13);
}
input, textarea {
  border: 1px solid var(--muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

/* Utility for visually hidden accessibility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0; white-space: nowrap;
}

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