/* === CSS RESET & BASELINE NORMALIZATION === */
html {box-sizing: border-box;font-size: 16px;scroll-behavior: smooth;}
*, *::before, *::after {box-sizing: inherit;margin: 0;padding: 0;}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F7FB;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {color: #20639B;text-decoration: none;transition: color 0.2s;}
a:hover {color: #1A6041;}
ul, ol {margin-left: 1.25em;}
img {max-width: 100%;display: block;height: auto;border: 0;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20639B;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {font-size: 2.75rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.375rem; margin-bottom: 16px;}
h4 {font-size: 1.125rem;}
p, li, span, label, input, table, th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #222;
}
p {margin-bottom: 16px;}
strong {font-weight: 600;}

/* === Brand Colors & Variables (with fallbacks) === */
:root {
  --color-primary: #20639B;
  --color-secondary: #1A6041;
  --color-accent: #F6F7FB;
  --color-dark: #192227;
  --color-light: #fff;
  --color-text: #20243a;
  --color-muted: #98b2c8;
  --color-shadow: rgba(32, 99, 155, 0.07);
  --color-border: #e3e7ee;
}

.color-primary { color: var(--color-primary); }
.color-secondary { color: var(--color-secondary); }

/* === LAYOUT STRUCTURE & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

main {
  width: 100%;
  flex: 1 1 auto;
  padding-top: 0;
}

.section, section:not(.hero):not(.cta) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
}
section.hero, section.cta {
  background: var(--color-light);
  margin-bottom: 60px;
}

/* === FLEXBOX LAYOUTS === */
.card-container, .content-grid, .feature-grid, .feature-list, .service-list, .benefit-grid, .short-facts, .footer-contact, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px;
  min-width: 260px;
}
.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: center;
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 2px solid var(--color-border);
  min-width: 290px;
}
.testimonial-card .stars {
  font-size: 1.5rem;
  color: #ffd700;
  letter-spacing: 2px;
}
.feature-item, .feature, .service, .benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 24px;
  flex: 1 1 220px;
  margin-bottom: 20px;
}

/* === HERO SECTION === */
.hero .container {
  min-height: 420px;
  justify-content: center;
}
.hero h1 {
  font-size: 2.75rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.hero p {
  max-width: 520px;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* === FEATURES & SERVICES === */
.feature-grid, .service-list, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.feature img, .service img, .benefit img {
  width: 48px; height: 48px;
  margin-bottom: 12px;
}
.feature h3, .service h3, .benefit h3 {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

/* === PRICING TABLE === */
.pricing-table {
  width: 100%;
  margin: 24px 0 32px 0;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 8px var(--color-shadow);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 20px 14px;
  text-align: left;
}
.pricing-table th {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}
.pricing-table tr:last-child { border-bottom: none; }

.price-comparison {
  margin: 32px 0 16px 0;
  padding: 18px 26px;
  background: #fff;
  border-left: 5px solid var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.included-services ul {
  margin-top: 8px;
  list-style: circle inside;
  margin-left: 16px;
}
.included-services li {
  margin-bottom: 8px;
}

/* === CTA (Call To Action) === */
section.cta {
  background: var(--color-primary);
}
section.cta h2, section.cta p {
  color: #fff;
}
.cta.primary, .cta.nav {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 34px;
  border-radius: 32px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.23s, box-shadow 0.22s, transform 0.15s;
  margin-bottom: 8px;
  display: inline-block;
  line-height: 1.25;
}
.cta.primary:focus, .cta.primary:hover, .cta.nav:focus, .cta.nav:hover {
  background: #14472e;
  box-shadow: 0 4px 12px var(--color-shadow);
  color: #fff;
  outline: 2px solid #fff;
  transform: translateY(-2px) scale(1.04) skew(-2deg);
}
.cta.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.23s, color 0.23s, border 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: #fff;
}

/* === ACCORDION FAQ === */
.accordion-faq h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 16px 0 6px 0;
  cursor: pointer;
  position: relative;
}
.accordion-faq h2::after {
  content: '\25BC';
  float: right;
  font-size: 1em;
  transition: transform 0.22s;
}
.accordion-faq h2.active::after {
  transform: rotateX(180deg);
}
.accordion-faq p {display:block;margin-bottom:10px;}

/* === SEARCH FAQ === */
.search-faq {
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.search-faq input[type="text"] {
  border: 1.5px solid var(--color-border);
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 320px;
  font-size: 1rem;
  margin-top: 2px;
  transition: border 0.22s;
}
.search-faq input[type="text"]:focus {
  border: 1.5px solid var(--color-primary);
  outline: none;
}

/* === HEADER + NAVIGATION === */
header {
  background: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 2px 12px var(--color-shadow);
  z-index: 502;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 22px;
  padding: 12px 20px;
  min-height: 68px;
}
header .container img {
  max-height: 38px;
  width: auto;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
nav a.cta.nav {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  margin-left: 10px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 14px;
  z-index: 1059;
  transition: color 0.15s, transform 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-primary);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(32,99,155,0.98);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.72,.28,.3,1.12);
  box-shadow: 12px 0 60px rgba(32, 99, 155, 0.20);
  padding: 32px 24px 40px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  z-index:1075;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { color:#ffd700; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-radius: 0;
  width: 100%;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover { color:#ffd700; }

/* === FOOTER === */
footer {
  background: var(--color-secondary);
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  padding-bottom: 22px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-brand img {
  max-height: 36px;
  width: auto;
  filter: brightness(92%);
}
.footer-menu {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  transition: opacity 0.17s, color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #ffd700;
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.98rem;
  color: #e0f2ec;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  opacity: 0.97;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 56px;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: box-shadow 0.18s, background 0.18s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.social-links a:hover, .social-links a:focus {
  background: #ffd700;
  box-shadow: 0 2px 12px #ffd70055;
}
.social-links img {
  width: 24px;
  height: 24px;
}
.legal {
  font-size: 0.92rem;
  color: #beeddb;
  margin-top: 8px;
}

/* == LIST STYLES == */
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li { margin-bottom: 8px; }

/* == FAQ & SHORT FACTS == */
.faq h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.short-facts p {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 9px 16px;
  margin-right: 12px;
  border: 1.5px solid var(--color-primary);
  border-radius: 15px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.99rem;
  margin-bottom: 0;
  margin-top: 6px;
}
.short-facts img {
  width: 22px; height: 22px; margin-right: 4px;
}

/* == CONTACT PAGE == */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 24px;
}
.contact-details img {
  width: 24px; height: 24px; margin-right: 12px;
}
.contact-details div {
  display: flex; align-items: center; gap:10px
}
.contact-details a {
  word-break:break-all;
}
.map-embed {
  margin-top: 14px;
  padding: 14px;
  border-left: 4px solid var(--color-primary);
  background: #fff;
  color: var(--color-dark);
  border-radius: 12px;
}

/* == INFO SECTIONS == */
section.info {
  background: #fff;
  border-left: 8px solid var(--color-primary);
  margin-bottom: 60px;
  border-radius: 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
section.info h2 {
  color: var(--color-secondary);
}

/* == THIN SEPARATOR == */
hr {
  border:0;
  border-top: 1px solid var(--color-border);
  margin: 18px 0 18px 0;
}

/* == COOKIES BANNER == */
#cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 -2px 15px var(--color-shadow), 0 1px 2px #204;
  padding: 24px 26px;
  z-index: 20000;
  min-height: 70px;
  transition: transform 0.23s, opacity 0.19s;
  opacity: 1;
  gap: 16px;
}
#cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner p {
  color: #222;
  font-size: 0.98rem;
  margin: 0;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: 32px;
}
#cookie-banner button {
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 22px;
  box-shadow: 0 1px 4px #0001;
  transition: background 0.18s, color 0.18s;
}
#cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
#cookie-accept:hover, #cookie-accept:focus {
  background: var(--color-primary);
  color: #fff;
}
#cookie-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
#cookie-reject:hover, #cookie-reject:focus {
  background: #ffd700;
  color: #222;
}
#cookie-settings {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
#cookie-settings:hover, #cookie-settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
/* Cookie Modal */
#cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -53%) scale(1.04);
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 44px #20639b44, 0 2px 8px #20639b22;
  z-index: 30000;
  padding: 36px 28px 30px 28px;
  transition: opacity 0.2s, transform 0.18s;
  opacity: 1;
}
#cookie-modal.open { display: flex; flex-direction: column; gap: 20px; }
#cookie-modal .modal-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
#cookie-modal h3 {
  font-size: 1.28rem;
  color: var(--color-primary); margin:0;
}
#cookie-modal button.modal-close {
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: 16px;
}
#cookie-modal .cookie-category {
  padding: 13px 0;
  border-bottom: 1px solid #e3e7ee;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
}
#cookie-modal .cookie-category:last-child { border-bottom: none; }
#cookie-modal .cookie-toggle {
  margin-left: auto;
  width: 42px; height: 24px;
  border-radius: 12px;
  background: #e5e5e5;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
#cookie-modal .cookie-toggle[data-on='true'] {
  background: var(--color-secondary);
}
#cookie-modal .cookie-toggle span {
  display: inline-block;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  box-shadow: 0 1px 4px #0002;
  transition: left 0.16s;
}
#cookie-modal .cookie-toggle[data-on='true'] span { left: 20px; }
#cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
#cookie-modal .modal-actions button {
  padding: 10px 20px;
  border-radius: 18px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.23s, color 0.17s;
}
#cookie-modal .modal-actions button:hover, #cookie-modal .modal-actions button:focus {
  background: var(--color-primary);
  color: #fff;
}

/* == MICRO-INTERACTIONS == */
.button, .cta, button, input[type='submit'], .accordion-faq h2 {
  transition: box-shadow 0.17s, background 0.17s, color 0.17s, transform 0.14s;
}
.button:active, .cta:active, button:active, .accordion-faq h2:active {
  transform: scale(0.97) skew(-1.5deg);
}

/* == GEOMETRIC & STRUCTURED DECORATIVE STYLES == */
section {
  /* Diagonal geometric shadow accent */
  box-shadow: 2px 6px 44px -14px var(--color-shadow) inset, 0 1px 8px var(--color-shadow);
  border-radius: 18px;
}
.card, .feature, .service, .benefit, .testimonial-card {
  border-radius: 18px 30px 12px 26px / 20px 26px 12px 35px;
  border: 1.5px solid var(--color-border);
}
.cta.primary, .cta.nav {
  border-radius: 32px 16px 36px 20px / 28px 26px 32px 24px;
}

/* == RESPONSIVE DESIGN == */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  nav {gap:10px;}
  section, .section, .info, .pricing-table { padding:32px 8px; }
  .feature, .service, .benefit, .testimonial-card { min-width:180px; }
}
@media (max-width: 900px) {
  .footer-contact, .feature-grid, .service-list, .benefit-grid { flex-wrap: wrap;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }

  header .container { flex-direction: row; gap: 6px;}
  nav { display: none; }
  .mobile-menu-toggle { display: inline-block;}
  .content-wrapper { gap: 15px; }
  .feature-grid, .service-list, .benefit-grid {
    flex-direction: column; align-items: stretch; gap:18px;
  }
  .testimonial-card { min-width: 0; }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-menu {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .section, section:not(.hero):not(.cta) {padding:24px 8px;}
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container,.content-wrapper { padding: 0 6px; }
  section, .section, .info, .pricing-table {padding:16px 4px;}
}
@media (max-width: 420px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 7px; }
  .footer-menu,.footer-contact,.social-links {flex-direction:column; gap:7px;}
  .footer-brand { gap:6px; font-size:1.03rem;}
  nav a { padding: 8px 7px; font-size:0.98rem; }
}

/* ========== END OF CSS ========== */
