/* ===================================
   CSS RESET & BASELINE NORMALIZATION
   =================================== */
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, main, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #223B57;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #223B57;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #D0A125;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #223B57;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.17;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.subheadline {
  font-size: 1.1rem;
  color: #223B57;
  opacity: 0.7;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 18px;
  color: #223B57;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1080px;
}
.content-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
}

/* =====================
   HEADER & MAIN NAV
   ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #f0f1f3;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
header img {
  max-height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #223B57;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D0A125;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  min-height: 42px;
  box-shadow: 0 1px 4px 0 rgba(34,59,87,0.06);
}
.btn-primary {
  background: #223B57;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A2B41;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(34,59,87,0.07);
}
.btn-secondary {
  background: #F4F7FA;
  color: #223B57;
  border: 1px solid #d6dae0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D0A125;
  color: #fff;
  border: 1px solid #D0A125;
  box-shadow: 0 2px 10px 0 rgba(208,161,37,0.12);
}

/* =====================
   HERO SECTIONS
   ===================== */
.hero {
  background: #F4F7FA;
  padding: 60px 0 36px 0;
  margin-bottom: 36px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0;
}
.hero .btn-primary {
  margin-top: 12px;
}

/* =====================
   FLEXBOX LAYOUT STRUCTURES
   ===================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 26px 0 rgba(34,59,87,0.03);
}
.card-container,
.services-list,
.benefits-list,
.signup-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,59,87,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(34,59,87,0.09);
  transform: translateY(-3px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   FEATURE & BENEFITS LISTS
   =============== */
.feature-list, .benefits-list, .signup-steps, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.feature-list li, .benefits-list li, .signup-steps li, .services-list li {
  background: #F4F7FA;
  border-radius: 14px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 2px 8px 0 rgba(34,59,87,0.03);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #223B57;
  min-width: 185px;
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  transition: box-shadow 0.16s, background 0.16s;
}
.feature-list li img, .benefits-list li img, .signup-steps li img, .services-list li img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}
.feature-list li:hover, .services-list li:hover {
  box-shadow: 0 6px 18px rgba(34,59,87,0.08);
  background: #eaf0f7;
}
.price {
  color: #D0A125;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-top: 8px;
  display: block;
}

/* =================
   SERVICE CARDS
   ================= */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,59,87,0.07);
  margin-bottom: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 26px 0 rgba(34,59,87,0.13);
  transform: translateY(-4px) scale(1.025);
}
.service-card h3 {
  color: #223B57;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

/* ===================
   TESTIMONIALS
   =================== */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,59,87,0.07);
  min-width: 240px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
  color: #223B57;
}
.testimonial-card p {
  color: #223B57;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #223B57;
  opacity: 0.7;
}
.testimonial-card span:last-child {
  color: #D0A125;
  font-size: 1.04rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 1;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(34,59,87,0.14);
  transform: translateY(-4px) scale(1.025);
}

/* =============================
   TEXT BLOCKS & LISTS / OL, UL
   ============================= */
.text-section {
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  padding-left: 22px;
  margin-bottom: 10px;
  color: #223B57;
}
.text-section ul li, .text-section ol li {
  font-size: 1rem;
  margin-bottom: 6px;
  list-style-type: disc;
}
.text-section a {
  color: #223B57;
  border-bottom: 1px solid #D0A125;
  transition: border-color 0.17s;
}
.text-section a:hover, .text-section a:focus {
  color: #D0A125;
  border-bottom: 1px solid #223B57;
}

/* ===== FOOTER ===== */
footer {
  background: #fafbfc;
  border-top: 1px solid #f0f1f3;
  padding: 32px 0 20px 0;
  font-size: 0.97rem;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-nav, .footer-legal, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
  margin-bottom: 14px;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
footer a {
  color: #223B57;
  opacity: 0.86;
  font-weight: 400;
  transition: color 0.17s, opacity 0.18s;
}
footer a:hover, footer a:focus {
  color: #D0A125;
  opacity: 1;
}

.footer-legal a {
  font-size: 0.96em;
}

/* == Mobile Burger Menu == */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #223B57;
  margin-left: 12px;
  cursor: pointer;
  z-index: 106;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D0A125;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,59,87,0.98);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.85,0,.15,1);
  padding-top: 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  align-self: flex-end;
  margin-right: 22px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 10010;
}
.mobile-menu-close:focus {
  outline: 2px solid #D0A125;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: rgba(208,161,37,0.12);
  color: #D0A125;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #F4F7FA;
  color: #223B57;
  box-shadow: 0 -2px 24px 0 rgba(34,59,87,0.08);
  border-top: 1px solid #e3e7ed;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 8999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s ease;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-consent-banner-text {
  font-size: 0.99rem;
  line-height: 1.55;
  margin-bottom: 0;
  color: #223B57;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 20px;
  border: 1px solid #d6dae0;
  background: #fff;
  color: #223B57;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.15s,color 0.14s,border 0.15s,box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #223B57;
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1A2B41;
}
.cookie-btn.settings {
  background: #F4F7FA;
  color: #223B57;
  border: 1px solid #d6dae0;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #D0A125;
  color: #fff;
  border: 1px solid #D0A125;
}
.cookie-btn.reject {
  background: #fff;
  color: #223B57;
  border: 1px solid #d6dae0;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E34B4B;
  color: #fff;
  border: 1px solid #E34B4B;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,59,87,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s ease;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  padding: 34px 24px 28px 24px;
  border-radius: 18px;
  width: 95vw;
  max-width: 418px;
  box-shadow: 0 12px 36px 0 rgba(34,59,87,0.17);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #223B57;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:focus {
  outline: 2px solid #D0A125;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #D0A125;
}
.cookie-category label {
  font-size: 1rem;
  color: #223B57;
}
.cookie-category.essential label {
  opacity: 0.72;
  font-style: italic;
}

/* ==============
   RESPONSIVE DESIGN
   ============== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .container, .section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 4px;
    margin-bottom: 42px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
  .feature-list, .benefits-list, .services-list, .testimonial-cards, .signup-steps {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .service-card {
    min-width: 0;
    width: 100%;
  }
  .feature-list li, .benefits-list li, .services-list li {
    min-width: 0;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav, .footer-legal, .footer-contact, .footer-social {
    min-width: 0;
  }
}
@media (max-width: 540px) {
  .hero {
    padding: 40px 0 18px 0;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .section {
    padding: 18px 3px;
  }
}

/* ===============
   UTILITY CLASSES
   =============== */
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.text-center { text-align: center !important; }
.align-center { align-items: center !important; }

/* =============
   TRANSITIONS
   ============= */
.btn-primary, .btn-secondary, .feature-list li, .service-card, .testimonial-card, .card, .footer-nav a, .footer-legal a, .footer-contact a, .cookie-btn {
  transition: box-shadow 0.16s, background 0.18s, color 0.13s, transform 0.12s, border 0.14s;
}

/* ===============
   CUSTOM SCROLLBAR
   =============== */
::-webkit-scrollbar { width: 8px; background: #F4F7FA; }
::-webkit-scrollbar-thumb { background: #d6dae0; border-radius: 5px; }

/* ==============
   FOCUS STATES
   ============= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2px solid #D0A125;
  outline-offset: -2px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
