/* =============================================================
   CSS Reset & Normalize - Modernize Browsers & Consistency
   ============================================================= */
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #f6f4ef 0%, #f0f4f8 100%);
  color: #2a3853;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
a {
  color: #2A3853;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #7d885b;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 600;
  color: #2A3853;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* =============================================================
   Typography
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2A3853;
  line-height: 1.22;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.37rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #7D885B;
  margin-bottom: 24px;
  font-weight: 400;
}
p {
  margin-bottom: 18px;
  color: #2A3853;
}
address {
  font-style: normal;
  color: #2a3853;
  font-size: 1rem;
  margin: 28px 0 0 0;
  text-align: center;
}
/* =============================================================
   Header & Main Nav
   ============================================================= */
header {
  width: 100%;
  background: linear-gradient(90deg, #F6F4EF 60%, #e3e6e8 100%);
  box-shadow: 0 4px 16px rgba(42, 56, 83, 0.03);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 100;
  padding: 0 0 0 0;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  height: 64px;
  margin-left: 24px;
}
.logo img {
  height: 44px;
  margin-top: 8px;
  margin-bottom: 8px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin-left: 28px;
  gap: 22px;
}
nav.main-nav a {
  padding: 8px 0 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2A3853;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, color 0.2s;
}
nav.main-nav a.cta.primary {
  background: linear-gradient(90deg, #2A3853 70%, #7D885B 120%);
  color: #fff !important;
  padding: 9px 24px;
  border-radius: 24px;
  font-size: 1.09rem;
  margin-left: 12px;
  font-weight: 700;
  box-shadow: 0 5px 24px rgba(90,100,133,0.08);
  border: none;
  border-bottom: none;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  transition: background 0.28s, box-shadow 0.24s, transform 0.19s;
  will-change: transform;
  cursor: pointer;
}
nav.main-nav a.cta.primary:hover,
nav.main-nav a.cta.primary:focus {
  background: linear-gradient(90deg, #7D885B, #2A3853 120%);
  color: #fff;
  transform: translateY(-2px) scale(1.048);
  box-shadow: 0 8px 24px rgba(90,100,133,0.17);
}
nav.main-nav a:hover:not(.cta), nav.main-nav a:focus:not(.cta) {
  border-bottom: 2px solid #7D885B;
}
/* =============================================================
   Mobile Navigation Hamburger
   ============================================================= */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #2a3853;
  cursor: pointer;
  margin-left: 28px;
  margin-right: 20px;
  z-index: 108;
  transition: color 0.24s;
}
.mobile-menu-toggle:focus {
  color: #7D885B;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(109deg, #F6F4EF 77%, #e3e6e8 100%);
  box-shadow: 0 0 40px rgba(42,56,83,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.5,1,0.89,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  padding: 0 0 0 0;
  overflow-y: auto;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: fadeInMenu 0.3s;
}
@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 0.98; }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #2A3853;
  font-size: 2rem;
  cursor: pointer;
  padding: 24px 22px 6px 22px;
  align-self: flex-end;
  transition: color 0.19s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #7D885B;
  outline: none;
}
.mobile-nav {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 36px 46px 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  align-items: flex-start;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: #2A3853;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.21s, background 0.17s;
  border-radius: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 40px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f0f4f8;
  color: #7D885B;
}
@media (max-width: 1023px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
/* =============================================================
   Section & Section Spacing (Spacing and Alignment Rules)
   ============================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* For container sections */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.features, .about, .services, .contact, .cta, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(42,56,83,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(95deg, #F6F4EF 80%, #7D885B1A 100%);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero {
  padding: 56px 0 50px 0;
  background: linear-gradient(120deg, #F6F4EF 82%, #7D885B22 100%);
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  box-shadow: 0 5px 40px 0 rgba(42,56,83,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 480px) {
  .section,
  .features, .about, .services, .contact, .cta, .testimonials, .legal {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 17px;
  }
}
/* =============================================================
   Flex Layout Classes (spacing & alignment patterns)
   ============================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(42,56,83,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.27s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 24px rgba(42,56,83,0.13);
  transform: translateY(-2px) scale(1.02);
  z-index: 3;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 rgba(42, 56, 83, 0.07);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 680px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: #2A3853;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-card span {
  color: #7D885B;
  font-size: 0.99rem;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(42, 56, 83, 0.18);
  transform: translateY(-2px) scale(1.015);
  background: #F6F4EF;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* For features with icons */
.features ul,
.feature-grid,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features ul li,
.feature-grid li,
.services ul li {
  background: #F6F4EF;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(42,56,83,0.06);
  padding: 18px 22px 18px 18px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  color: #2A3853;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 230px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.19s, background 0.21s;
}
.features ul li img,
.services ul li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  display: block;
}
.features ul li:hover,
.feature-grid li:hover,
.services ul li:hover {
  background: #e3e6e8;
  box-shadow: 0 4px 16px 0 rgba(125,136,91,0.085);
}
@media (max-width: 900px) {
  .features ul,
  .feature-grid,
  .services ul {
    flex-direction: column;
    gap: 0;
  }
}
/* =============================================================
   Buttons, CTA, Links
   ============================================================= */
.cta.primary, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
   background: linear-gradient(97deg, #7D885B 65%, #2A3853 120%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  margin-top: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.22s, color 0.16s, transform 0.12s;
  box-shadow: 0 3px 18px 0 rgba(42,56,83,0.10);
  outline: none;
  text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus, .cta:hover, .cta:focus {
 
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(42,56,83,0.18);
}
/* Text-links */
p a {
  color: #7D885B;
  text-decoration: underline;
  transition: color 0.17s;
  padding: 0 2px;
}
p a:hover, p a:focus {
  color: #2A3853;
  text-decoration: underline;
}
/* =============================================================
   Footer
   ============================================================= */
footer {
  width: 100%;
  padding: 44px 10px 20px 10px;
  background: linear-gradient(90deg, #F6F4EF 75%, #e3e6e8 100%);
  color: #2A3853;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  box-shadow: 0 -2px 18px rgba(42,56,83,0.06);
  position: relative;
}
.footer-nav {
  width: 100%;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #2A3853;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 5px;
  transition: background 0.19s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e3e6e8;
  color: #7D885B;
}
@media (max-width: 600px) {
  .footer-nav { gap: 13px; font-size: 0.98rem; }
  footer { padding: 34px 6px 20px 6px; border-radius: 20px 20px 0 0; }
}
/* =============================================================
   Custom Utility Classes
   ============================================================= */
.text-section {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section h3 {
  margin-top: 20px;
}
.text-section p, .text-section ul, .text-section li {
  color: #2A3853;
}
.text-section ul {
  padding-left: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul li {
  font-size: 1.01rem;
}
.legal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1px 12px rgba(42,56,83,0.06);
}
@media (max-width: 800px) {
  .container { padding: 0 4px; }
  .hero { padding: 34px 0 28px 0; border-radius: 24px; }
}
/* =============================================================
   Cookie Consent Banner (fixed, responsive, modal)
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #2A3853;
  z-index: 9800;
  padding: 26px 12px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 34px rgba(42,56,83,0.075);
  border-top: 2px solid #e3e6e8;
  animation: slideUpBanner 0.4s;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes slideUpBanner {
  from { transform: translateY(40px); opacity: 0.5; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.06rem;
  margin-bottom: 12px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 7px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  background: linear-gradient(95deg, #2A3853 80%, #7D885B 120%);
  color: #fff;
  border: none;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(42,56,83,0.09);
  transition: background 0.22s, color 0.16s, transform 0.13s;
  margin: 0 2px;
}
.cookie-btn.settings {
  background: #F6F4EF;
  color: #2a3853;
  border: 1px solid #7d885b;
  transition: background 0.18s, color 0.12s, border 0.16s;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #e3e6e8;
  color: #2A3853;
  border: 1px solid #2A3853;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: linear-gradient(95deg, #7D885B 90%, #2A3853 100%);
  color: #fff;
  transform: scale(1.045);
  outline: none;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 2px 10px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner-buttons {
    gap: 9px;
  }
}
/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,56,83,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeOverlay 0.25s;
}
@keyframes fadeOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 40px 4px rgba(42,56,83,0.15);
  padding: 32px 38px 28px 38px;
  max-width: 490px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeModal 0.22s;
  position: relative;
}
@keyframes fadeModal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 23px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #2A3853;
  cursor: pointer;
  z-index: 11111;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #7D885B;
  outline: none;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  color: #2A3853;
  margin-bottom: 18px;
}
.cookie-categories {
  width: 100%;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f4ef;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2A3853;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #7D885B;
}
.cookie-category.essential {
  font-weight: 600;
  color: #2A3853;
  opacity: 0.82;
}
.cookie-category.essential input[type=checkbox] {
  display: none;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
  justify-content: center;
}
.cookie-modal .cookie-btn {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 16px;
}
@media (max-width: 530px) {
  .cookie-modal { padding: 16px 8px 14px 8px; min-width: 0; max-width: 98vw; border-radius: 16px; }
}
/* ==============================================================
   Microinteractions, Transitions, Shadows, Modern Details
   ============================================================== */
*:focus {
  outline: 2px solid #7D885B;
  outline-offset: 2px;
  box-shadow: 0 0 2px #7D885B;
}
.card, .testimonial-card, .cta.primary, .cookie-btn, .features ul li, .services ul li {
  transition: box-shadow 0.23s, transform 0.14s, background 0.19s, color 0.16s;
}
/* =================== RESPONSIVE LAYOUT ADJUSTMENTS ===================== */
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .hero { padding: 22px 0 12px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }
  .testimonials, .features, .about, .cta, .services, .legal { border-radius: 13px; padding: 21px 7px; }
  .card { padding: 18px 12px; }
}
@media (max-width: 600px) {
  .testimonial-card, .card { padding: 12px 5px; border-radius: 12px; }
  .testimonials, .features, .about, .cta, .services, .contact, .hero, .legal {
    margin-bottom: 28px !important; padding: 18px 2px !important;
  }
  .footer-nav { gap: 7px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.12rem; }
}

/* =================== PRINT STYLING ===================== */
@media print {
  body, html { background: #fff !important; color: #2A3853; }
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
