/* -----------------------------------------------------------
   CSS RESET & NORMALIZE
------------------------------------------------------------*/
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, caption, table, 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;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18405A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A7B829;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/*------------------------------------------------------------
   BRAND VARIABLES
------------------------------------------------------------*/
:root {
  --color-primary: #18405A;
  --color-secondary: #E5EDF4;
  --color-accent: #A7B829;
  --color-bg: #fff;
  --color-bg-light: #F4F7FB;
  --color-dark: #111C25;
  --color-muted: #92A3B1;
  --color-border: #CED5DE;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(24,64,90,0.07);
  --shadow-md: 0 4px 18px rgba(24,64,90,0.11);
  --transition: 0.18s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/*------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, table, .subheadline {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1em;
  color: var(--color-dark);
}
.subheadline {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1.2em;
}
strong {
  font-weight: 700;
}

/*------------------------------------------------------------
   LAYOUT UTILITIES
------------------------------------------------------------*/
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .section { padding: 32px 12px; margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section { padding: 24px 6px; margin-bottom: 24px; }
}

/*------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------*/
header {
  background: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 2px;
  color: var(--color-primary);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  box-shadow: var(--shadow-sm);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: .03em;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: #7c8b19;
  color: #fff;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/*------------------
   MOBILE NAVIGATION
-------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 102;
  transition: background var(--transition);
  margin-left: 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #143046;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,64,90,0.97);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  width: 100vw;
  overflow-y: auto;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 16px 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  align-self: flex-start;
  cursor: pointer;
  z-index: 201;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2px;
  text-align: left;
  width: 100%;
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
    padding: 10px 10px;
  }
  .cta-btn { padding: 10px 20px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
  }
  header .container {
    justify-content: flex-start;
  }
}

/*------------------
   HERO SECTIONS
-------------------*/
.hero {
  background: var(--color-primary);
  padding: 60px 0 54px 0;
  color: #fff;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 580px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero p, .hero .subheadline {
  color: #E5EDF4;
}
.hero .cta-btn {
  background: var(--color-accent);
  color: #fff;
  margin-top: 24px;
  font-size: 1.19rem;
  box-shadow: var(--shadow-md);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #7c8b19;
}
@media (max-width: 600px) {
  .hero { padding: 32px 0 30px 0; }
  .hero .content-wrapper {
    gap: 8px;
    max-width: 100%;
  }
}


/*------------------
   FLEXBOX LAYOUTS
-------------------*/
.feature-grid, .features .feature-grid, .services .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 200px;
  max-width: 320px;
}
.feature-item img { width: 38px; margin-bottom: 4px; }
.feature-item h3 { margin: 0 0 4px 0; font-size: 1.09rem; }
.feature-item p { font-size: 0.97rem; color: var(--color-dark); }
@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
  .feature-item { min-width: 180px; padding: 22px 12px; }
}
@media (max-width: 600px) {
  .feature-grid, .features .feature-grid, .services .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item { max-width: 100%; min-width: 0; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { background: var(--color-bg-light); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; margin-bottom: 20px; position: relative; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}


/*------------------
   TESTIMONIALS
-------------------*/
.testimonials {
  background: var(--color-bg-light);
  padding: 48px 0 42px 0;
}
.testimonials .content-wrapper { gap: 30px; }
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  color: var(--color-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 260px;
  max-width: 350px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-primary);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(24,64,90,0.17);
}
.testimonial-meta {
  font-size: 0.97rem;
  font-family: var(--font-display);
  color: var(--color-muted);
  margin-top: 0.7em;
}
@media (max-width: 900px) {
  .testimonial-list { gap: 16px; }
  .testimonial-card { padding: 14px 14px; }
}
@media (max-width: 600px) {
  .testimonial-list { flex-direction: column; gap: 12px; }
  .testimonial-card { width: 100%; min-width: 0; max-width: 100%; }
}


/*------------------
   FINAL CTA SECTIONS
-------------------*/
.final-cta {
  background: var(--color-secondary);
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
  border-radius: var(--radius);
}
.final-cta .content-wrapper {
  align-items: center;
  gap: 12px;
}
.final-cta h2 { color: var(--color-primary); }
.final-cta p { color: var(--color-dark); }
.final-cta .cta-btn {
  margin-top: 16px;
  font-size: 1.07rem;
}

@media (max-width: 600px) {
  .final-cta { padding: 24px 0; }
}

/*------------------
   FOOTER
-------------------*/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 22px 0;
  border-top: 1px solid #16405544;
  font-size: 1rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: .92;
  font-family: var(--font-display); font-size: .99rem;
  letter-spacing: .01em;
  transition: color var(--transition), opacity var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
  opacity: .93;
}
.footer-contact img {
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
@media (max-width:900px) {
  footer .container { gap: 16px; }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-contact { font-size: .98rem; }
  footer { padding: 28px 0 13px 0; }
}

/*------------------------------------------------------------
   TABLES & PRICING
------------------------------------------------------------*/
.pricing-table {
  width: 100%;
  margin: 24px 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table th {
  background: var(--color-secondary);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.04rem;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table tr {
  border-bottom: 1px solid var(--color-border);
}
.pricing-table td {
  color: var(--color-dark);
  background: #fff;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/*------------------------------------------------------------
   GENERAL SECTIONS / STANDARD LISTS / LEGAL
------------------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.3em;
  color: var(--color-dark);
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: .5em;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: var(--color-accent);
  position: absolute;
  left: -1.2em;
  font-size: 1em;
  top: 0.1em;
}
.legal-section ol {
  list-style-type: decimal;
  padding-left: 1.7em;
}
.legal-section ol li::before { content: ''; }

/*------------------------------------------------------------
   SECONDARY & INFO SECTIONS
------------------------------------------------------------*/
.info, .form-section, .map-section, .contact-details, .social-section {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.social-links li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display); font-size: 1rem;
}
.social-links img { width: 20px; }

/*------------------------------------------------------------
   FAQ TEASER
------------------------------------------------------------*/
.faq-teaser {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 18px 0 0 0;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
}

/*------------------------------------------------------------
   THANK YOU PAGE
------------------------------------------------------------*/
.thank-you-section {
  background: var(--color-secondary);
  padding: 60px 0 48px 0;
  border-radius: var(--radius);
  min-height: 300px;
  text-align: center;
}
.thank-you-section .content-wrapper { align-items: center; gap: 16px; }
.thank-you-section h1, .thank-you-section h2 { color: var(--color-primary); }
.thank-you-section p, .thank-you-section ul { color: var(--color-dark); }
.thank-you-section ul { margin: 18px 0 0 0; }
@media (max-width: 600px) {
  .thank-you-section { padding: 28px 0 22px 0; }
}

/*------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  z-index: 9999;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -3px 16px rgba(24,64,90,0.11);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform var(--transition), opacity var(--transition);
  font-size: 1rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.cookie-banner.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(150%);
}
.cookie-banner__text {
  flex: 1 1 auto;
  max-width: 650px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #fff;
  color: var(--color-primary);
  margin: 0 2px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cookie-btn.cookie-accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: #7c8b19;
}
.cookie-btn.cookie-reject {
  background: #e4e7ea;
  color: var(--color-primary);
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #dde2e7;
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #fff;
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 15px 12px;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(24,64,90,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), visibility var(--transition);
  opacity: 1;
  visibility: visible;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  min-width: 310px;
  max-width: 95vw;
  width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in .34s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-in { from { opacity: 0; transform: translateY(40px); } to {opacity:1; transform:none;} }
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-size: 1rem; color: var(--color-dark);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category--essential label { font-weight: 700; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--color-accent); }
@media (max-width: 480px) {
  .cookie-modal { width: 96vw; min-width: 0; padding: 18px 6px 22px 6px; }
}

/*------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------*/
@media (max-width: 1150px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .feature-item { max-width: 260px; padding: 16px 10px; }
}
@media (max-width: 900px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .container { padding: 0 8px; }
  .section { padding: 28px 4px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .section { padding: 12px 2px; margin-bottom: 17px; }
  .content-wrapper { gap: 10px; }
}

/*------------------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
------------------------------------------------------------*/
button, .cta-btn, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition), filter 0.2s;
}
.cta-btn:active, .cookie-btn:active {
  filter: brightness(0.98);
}
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/*------------------------------------------------------------
   ACCESSIBILITY IMPROVEMENTS
------------------------------------------------------------*/
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/*--------- END OF STYLE ---------*/
