/* -------------------------------
   CSS RESET & BASELINE 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer p {
  color: white;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #234168;
  background: #f7f9fb;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #247B4B;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #234168;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
button, .btn {
  font-family: inherit;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto+Slab:wght@700&display=swap');

/* -------------------------
   COLOR VARIABLES
------------------------- */
:root {
  --primary: #234168;
  --primary-dark: #1b2f45;
  --secondary: #D9E0E7;
  --secondary-light: #F6F8FA;
  --accent: #247B4B;
  --accent-dark: #17743a;
  --bg-main: #f7f9fb;
  --text-main: #234168;
  --gradient-primary: linear-gradient(90deg, #234168 18%, #247B4B 90%);
  --gradient-section: linear-gradient(104deg, #d9e0e7 0%, #f6f8fa 100%);
  --white: #fff;
  --shadow: 0 8px 24px rgba(35, 65, 104, 0.10);
}

/* -------------------------
   TYPOGRAPHY
------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 23px; }
h2 { font-size: 1.8rem; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.13rem; }

p, li, ul, ol, blockquote {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 1.25em;
}
blockquote {
  font-style: italic;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
  color: var(--primary);
  background: #eef3f7;
  margin: 0 0 12px 0;
}
cite {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
  margin-top: 3px;
  font-style: normal;
}
strong, b {
  font-weight: 600;
}

.subheadline {
  font-size: 1.3rem !important;
  color: var(--accent-dark);
  margin-bottom: 23px;
  line-height: 1.45;
}

/* -----------------------
   BUTTONS
---------------------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .2s;
  text-align: center;
  box-shadow: 0 3px 12px rgba(35,65,104,0.09);
}
.btn-primary {
  color: #fff;
  background: var(--gradient-primary);
  background-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 18px rgba(35,123,75,0.14);
}
.btn-secondary {
  color: var(--primary);
  background: var(--secondary);
  border: 2px solid var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
}

/* -----------------------
   LAYOUT CONTAINERS
----------------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* -----------------
   HEADER/NAV
----------------- */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(35,65,104,0.04);
  position: relative;
  z-index: 20;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 25px;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .17s, color .17s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.header-flex .btn {
  margin-left: 8px;
}

/* Hamburger (mobile) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 26px;
  right: 24px;
  background: var(--primary);
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 35;
  transition: background .22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.67,0,.22,1);
  z-index: 40;
  padding: 0;
  box-shadow: 0 0 0 999vw rgba(30,46,75,0.30);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 26px 30px 5px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
  padding: 44px 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 0;
  transition: color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* Hide nav/deskop on mobile */
@media (max-width: 1000px) {
  .main-nav, .header-flex .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none!important;
  }
}

/* --------------
   HERO SECTION
-------------- */
.hero {
  background: var(--gradient-primary);
  color: #fff;
  padding: 70px 0 60px 0;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero .subheadline {
  color: #fff;
}
.hero .btn-primary {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: var(--accent);
  color: #fff;
  border: 2px solid #fff;
}

/* --------------
   FLEX PATTERNS
-------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature {
  background: var(--secondary-light);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 260px;
  padding: 30px 18px 23px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .15s;
}
.feature img {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}
.feature h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
}
.feature:hover {
  box-shadow: 0 8px 24px rgba(52,123,75,0.09);
  transform: translateY(-2px) scale(1.03);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow .16s;
  position: relative;
}
.card-container .card {
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 360px;
  padding: 28px 22px 22px 22px;
}
.card:hover {
  box-shadow: 0 14px 30px rgba(35,65,104,0.14);
}
.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;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(35,65,104,0.07);
  max-width: 750px;
}
.testimonial-card blockquote {
  color: var(--text-main);
  font-size: 1.15rem;
  background: transparent;
  border-left: 4px solid var(--accent);
  margin-bottom: 0!important;
}
.testimonial-card cite {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-left: 12px;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PRICING TABLE */
.pricing table {
  width: 100%;
  border-spacing: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 17px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pricing th, .pricing td {
  padding: 18px 20px;
  text-align: left;
  font-size: 1.08rem;
}
.pricing th {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}
.pricing td {
  border-top: 1px solid #e8edf2;
}
.pricing tr:last-child td {
  border-bottom: none;
}

/* SERVICE-LIST & BLOCKS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-block {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(35,65,104,0.05);
  padding: 28px 23px 18px 23px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .14s;
}
.service-block:hover {
  box-shadow: 0 8px 24px rgba(35,65,104,0.12);
  transform: scale(1.02);
}

/* FAQ */
.faq-section {
  background: var(--secondary-light);
  border-radius: 18px;
  margin: 38px 0 48px;
  padding: 36px 22px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(35,65,104,0.09);
  padding: 22px 18px;
  margin-bottom: 8px;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--accent-dark);
}

/* CONTACT PREVIEW/INFO */
.contact-info {
  background: var(--secondary);
  color: var(--primary);
  padding: 18px 23px;
  border-radius: 13px;
  margin-top: 18px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-section {
  background: var(--gradient-section);
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 48px;
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cta-section .btn {
  margin-top: 22px;
}

.thank-you-section {
  margin: 64px 0 90px;
  padding: 44px 0;
  text-align: center;
}
.thank-you-section h1 {
  color: var(--accent-dark);
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.thank-you-section p {
  font-size: 1.22rem;
}

/* --------------
   FOOTER
-------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
}
.footer-brand span {
  font-size: 1.08rem;
  font-family: 'Roboto Slab', serif;
  letter-spacing: 0.5px;
  color: #fff;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.90;
  border-bottom: 1px solid transparent;
  transition: opacity .16s, border-color .12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  border-bottom: 1px solid var(--accent);
}
.footer-contact {
  font-size: 0.98rem;
  color: #e6e6e6;
  margin-bottom: 24px;
}

/* --------------
   COOKIE CONSENT
-------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -12px 32px 0 rgba(35, 65, 104, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 32px 24px 30px;
  z-index: 99;
  font-size: 1.01rem;
  transition: transform .32s cubic-bezier(.67,0,.22,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner .btn {
  font-size: 0.99rem;
  padding: 9px 22px;
  min-width: 110px;
}
.cookie-banner .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: var(--primary);
  border-color: var(--primary);
}
.cookie-banner .btn-secondary {
  background: var(--secondary);
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cookie-banner .btn-settings {
  background: transparent;
  border: none;
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
  padding: 0 8px;
  cursor: pointer;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50px;
  transform: translate(-50%, 100vh);
  min-width: 336px;
  max-width: 94vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(35, 65, 104, 0.17);
  z-index: 1000;
  padding: 35px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s cubic-bezier(.67,0,.22,1), transform .32s cubic-bezier(.67,0,.22,1);
}
.cookie-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--primary);
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 17px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  width: 38px; height: 22px;
  background: var(--secondary);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .18s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(35, 65, 104, 0.07);
  position: absolute;
  left: 2px; top: 2px;
  transition: left .18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]::before {
  left: 18px;
}
.cookie-modal .toggle-label {
  font-size: 1.01rem;
  color: var(--primary);
}
.cookie-modal .cookie-modal-actions {
  margin-top: 7px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  font-size: 0.97rem;
  padding: 7px 20px;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
}

/* --------------
   STRUCTURAL & UTILITIES
-------------- */
.text-section {
  margin-bottom: 18px;
}
.section {
  background: var(--secondary-light);
  border-radius: 15px;
}

/* -------------------
   RESPONSIVE DESIGN
------------------- */
@media (max-width: 900px) {
  .features-grid, .card-container, .service-list, .content-grid {
    flex-direction: column;
  }
  .feature, .service-block, .card-container .card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .header-flex {
    gap: 16px;
    padding: 13px 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section, .cta-section, .faq-section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 46px 0 39px 0;
  }
  .features-grid, .service-list, .content-grid {
    gap: 18px;
  }
  .faq-section {
    margin: 18px 0 22px;
    padding: 17px 5px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav {
    display: none !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-brand {
    gap: 9px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 10px 16px 12px;
    gap: 12px;
  }
  .cookie-modal {
    padding: 18px 10px 14px 13px;
    min-width: 218px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 7px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.14rem; }
  .btn, .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 0.98rem; }
  .thank-you-section { padding: 17px 0; margin: 33px 0 44px; }
}

/* Subtle fade-in effect for main page load */
main, .container {
  animation: fadein 0.8s cubic-bezier(.93,0,.18,1) 0.02s both;
}
@keyframes fadein { from {opacity: 0;} to {opacity: 1;} }

/* Disabled cookie toggles */
.cookie-modal .cookie-toggle[disabled] {
  opacity: 0.54;
  cursor: not-allowed;
}
.cookie-modal .cookie-toggle[disabled]::before {
  background: #eaeaea;
}

/* Utility spacing for headings & elements */
h1 + p, h2 + p, h2 + ul, h3 + p {
  margin-top: -11px;
}

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

/* ------ OVERRIDES FOR TABLES IN PRICING ------- */
@media (max-width: 600px) {
  .pricing table, .pricing th, .pricing td {
    font-size: 0.96rem;
    padding-left: 8px; padding-right: 8px;
  }
}

/* Focus & Accessible States */
a:focus, button:focus, .btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Visual micro-interactions */
.btn, .feature, .service-block, .faq-item, .card {
  transition: box-shadow .18s, background .13s, color .13s, transform .13s;
}

/* Accessibility for testimonials */
.testimonial-card {
  color: var(--primary-dark);
  background: #fff;
}

/* End of CSS file */
