/* =====================================================
   CSS RESET & BASE
   ===================================================== */
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;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAFAFA;
}
body {
  background-color: #FAFAFA;
  color: #233741;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #29536C;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus, a:hover { color: #78A87E; outline: none; }
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
  outline: none;
}
od, ul { list-style: none; }

/* =====================================================
   FONT FAMILY & TYPOGRAPHY
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  color: #233741;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: #466079;
  background: #F4E9DC;
  border-left: 4px solid #29536C;
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 8px 16px 16px 8px;
}
cite {
  display: inline-block;
  font-size: .95rem;
  color: #607080;
  margin-left: 6px;
  font-style: normal;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* =====================================================
   BRAND PALETTE
   ===================================================== */
:root {
  --primary: #29536C;
  --secondary: #78A87E;
  --accent: #F4E9DC;
  --white: #FFF;
  --light: #FAFAFA;
  --grey: #E8E9EB;
  --gray: #E8E9EB;
  --dark: #233741;
  --shadow: 0 2px 16px 0 rgba(41, 83, 108, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.18s cubic-bezier(.5,.6,.4,1);
}

/* =====================================================
   CONTAINER, SECTIONS & LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Layouts - Flex only! */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 230px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(41, 83, 108, 0.15);
  transform: translateY(-6px);
}
.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: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 200px;
}
.features-grid,
.services-list,
.services-grid,
.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features-grid li,
.services-list li,
.services-grid li {
  background: #FFF;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .16s;
}
.features-grid li:hover,
.services-grid li:hover,
.services-list li:hover {
  box-shadow: 0 4px 32px 0 rgba(41,83,108,0.13);
  transform: translateY(-4px);
}

/* Badge List / Trustmarks */
.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.badge {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 1px 5px 0 rgba(41,83,108,0.07);
}

/* Mini Testimonial */
.mini-testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.assurance {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 1.06rem;
  color: var(--dark);
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 10px;
}

/* Testimonials Section */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card blockquote {
  color: #233741;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 8px 0;
  font-size: 1.12rem;
}
.testimonial-info {
  font-size: 1rem;
  color: #5d6c79;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author {
  font-weight: 600;
  color: #29536C;
}
.testimonial-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFC300;
  font-size: 1.15em;
  letter-spacing: 1px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px 0 rgba(206,210,214,0.07);
  z-index: 10;
  min-height: 66px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.logo-link img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
nav a:hover,
nav a.active {
  background: var(--accent);
  color: var(--secondary);
}
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 26px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 1px 4px 0 rgba(41,83,108,0.08);
  margin-left: 5px;
  transition: background .18s, color .18s, border-color .17s, transform .14s;
}
.cta.primary {
  background: var(--primary);
  color: #FFF;
  border: 2px solid var(--primary);
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--secondary);
  color: #FFF;
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
}
.cta:hover,
.cta:focus {
  background: var(--secondary);
  color: #FFF;
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 6px 12px;
  color: var(--primary);
  background: none;
  border: none;
  border-radius: 8px;
  z-index: 16;
  transition: background .12s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--gray);
  color: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(41,83,108, 0.45);
  z-index: 98;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.75,0,.26,1), opacity 0.15s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 260px;
  height: 100vh;
  box-shadow: 2px 0 18px 0 rgba(41,83,108,.13);
  padding: 44px 0 24px 0;
}
.mobile-nav a {
  padding: 18px 24px;
  width: 100%;
  font-size: 1.09rem;
  color: var(--primary);
  border-radius: 0 24px 24px 0;
  transition: background .17s, color .16s;
}
.mobile-nav a:hover { background: var(--accent); color: var(--secondary); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  left: 207px;
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 19px;
  padding: 0 10px;
  z-index: 99;
  transition: background .15s, color .16s;
}
.mobile-menu-close:hover { background: var(--secondary); color: #FFF; }
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  nav { gap: 10px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; padding-top: 5px; padding-bottom: 5px; }
  nav, .cta.primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-nav { flex-wrap: wrap; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(120deg,#F4E9DC 60%,#FAFAFA 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  padding: 70px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.hero p {
  max-width: 440px;
  color: #466079;
  margin-bottom: 13px;
}
.hero .cta {
  margin-top: 10px;
}

/* ========== SERVICES & PRICING ========== */
.services-tree,
.services-grid,
.services-list {
  gap: 24px;
}
.services-grid li,
.services-list li {
  transition: box-shadow .21s, transform .14s;
}
.services-grid img,
.services-list img {
  margin-bottom: 14px;
  height: 38px;
  width: 38px;
  filter: grayscale(10%) contrast(112%);
}
.service-price {
  margin-top: 6px;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 15px 20px;
  text-align: left;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.06rem;
}
.pricing-table tbody tr {
  border-bottom: 1px solid var(--gray);
}
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table td { font-size: 1rem; color: #233741; }

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  margin-bottom: 0px;
  color: var(--primary);
}
.faq-list dd {
  margin: 0 0 12px 0;
  color: #466079;
  font-size: 1rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--light);
  border-top: 1px solid var(--gray);
  padding: 0;
  font-size: 1rem;
  box-shadow: 0px -2px 10px 0 rgba(230,230,235,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 42px 16px 12px 16px;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  width: 100%;
  justify-content: flex-start;
}
.footer-top img {
  height: 42px;
  width: auto;
  border-radius: 12px;
}
.tagline {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-bottom: 5px;
}
.footer-nav a {
  color: #5c7686;
  font-size: .98rem;
  padding: 4px 8px;
  border-radius: 7px;
}
.footer-nav a:hover { color: var(--primary); background: var(--accent); }
.contact-summary {
  font-size: 1rem;
  color: #466079;
  margin-bottom: 4px;
  line-height: 1.65;
  max-width: 530px;
  text-align: center;
}
.footer-bottom {
  font-size: .97rem;
  color: #738095;
  margin-top: 4px;
  opacity: 0.7;
}

/* ========== LEGAL PAGE SECTIONS ========== */
.legal-section {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  font-size: 1.01rem;
  color: #294159;
  margin-bottom: 12px;
}
.legal-section ul {
  margin: 10px 0 18px 22px;
  list-style: disc inside;
  color: #466079;
}

/* ========== CONTACT PAGE ========== */
.contact-details {
  margin-bottom: 12px;
  padding-left: 0;
}
.contact-details li {
  margin-bottom: 10px;
  color: #466079;
  font-size: .99rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ========== MISCELLANEOUS ========== */
table { border-collapse: collapse; }
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  margin: 7px 0 9px 20px;
  list-style: disc inside;
  color: #466079;
}
.text-section h2 {
  margin-top: 22px;
  font-size: 1.12rem;
}
.text-section h3 {
  margin-top: 14px;
  font-size: 1.02rem;
}

.service-inclusions ul, .notes-list {
  margin: 10px 0 16px 24px;
  list-style: disc inside;
  color: #466079;
}

/* ========== ANIMATIONS & TRANSITIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .card, .content-wrapper, .features-grid li, .services-list li, .testimonial-card, .legal-section {
  animation: fadeInUp 0.66s cubic-bezier(.18,.67,.51,1.14) both;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -2px 16px 0 rgba(41,83,108, .08);
  border-top: 1px solid var(--gray);
  padding: 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  z-index: 120;
  animation: fadeInUp .3s ease;
}
.cookie-banner p {
  color: #233741;
  font-size: 1rem;
  margin: 0;
  max-width: 570px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(41,83,108,0.10);
  transition: background .16s, color .16s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-banner .accept:hover { background: var(--secondary); border-color: var(--secondary); }
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .reject:hover {
  background: #FBE2DD;
  color: #BB5D4B;
  border-color: #BB5D4B;
}
.cookie-banner .settings-btn {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner .settings-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 200;
  background: rgba(41, 83, 108, .33);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 32px 0 rgba(41,83,108, .15);
  padding: 36px 28px;
  width: 90vw;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 201;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  min-width: 106px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal .essential {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  background: var(--accent);
  border: none;
  border-radius: 16px;
  font-size: 1.3rem;
  padding: 3px 9px;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s, color .16s;
}
.cookie-modal-close:hover {
  background: var(--secondary);
  color: #fff;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 968px) {
  .content-grid, .badges-list, .features-grid, .services-list, .services-grid, .case-studies {
    flex-direction: column;
    gap: 20px;
  }
  .service-inclusions ul, .notes-list {
    margin-left: 14px;
  }
  .footer-top, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .section, .hero {
    padding: 25px 8px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .content-wrapper { gap: 18px; }
  .features-grid, .services-grid, .services-list, .badges-list, .testimonials, .card-container {
    gap: 16px;
  }
  .card, .feature-item, .services-list li, .services-grid li {
    padding: 19px 12px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: left;
  }
  .hero h1 { font-size: 2rem; }
  .pricing-table th, .pricing-table td {
    padding: 9px 7px;
    font-size: .99rem;
  }
  .badge {
    padding: 6px 13px;
    font-size: .96rem;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 14px 8px;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-top img { height: 36px; }
  .cookie-modal {
    padding: 18px 6px;
  }
}
@media (max-width: 500px) {
  .hero, .section, .legal-section {
    padding: 7vw 0vw;
  }
  .cookie-modal {
    max-width: 99vw;
    width: 99vw;
    padding: 8vw 5vw 6vw 5vw;
  }
  .footer-top img { height: 28px; }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

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