/* --- 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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #2a2d33;
  background: #FAFAFA;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #A76B0F; }
ul, ol { padding-left: 1.8em; }
b, strong { font-weight: 600; }
button { font-family: inherit; outline: none; border: none; background: none; cursor: pointer; }
img { max-width: 100%; display: block; border: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 8px; text-align: left; }

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700|Open+Sans:400,600&display=swap');

body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #FAFAFA;
  color: #2a2d33;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: #22516C;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #22516C;
  line-height: 1.3;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #704C19;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #4d5860;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Georgia, serif;
  color: #2a2d33;
  margin-bottom: 16px;
  font-size: 1rem;
}
blockquote, cite {
  font-style: italic;
  color: #22516C;
  opacity: .9;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E0E3E7;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #A76B0F;
  text-decoration: none;
  letter-spacing: .015em;
}
.logo img {
  height: 46px;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  color: #22516C;
  font-weight: 500;
  opacity: .93;
  padding: 7px 2px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A76B0F;
  background: #f0ece2;
}
.btn.btn-primary {
  background: #769eb5;
  color: #fff;
  border-radius: 8px;
  padding: 11px 30px;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(34,81,108,0.07);
  letter-spacing: .01em;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background .19s, box-shadow .19s;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #17405a;
  box-shadow: 0 4px 20px rgba(34,81,108,0.13);
}
.btn.btn-secondary {
  background: #fff;
  color: #A76B0F;
  border: 2px solid #A76B0F;
  border-radius: 8px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', serif;
  letter-spacing: .01em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #F7EEE1;
  color: #704C19;
  border-color: #704C19;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: transparent;
  color: #22516C;
  margin-left: auto;
  margin-right: 9px;
  padding: 3px 10px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(34,81,108, 0.98);
  transform: translateX(100%);
  transition: transform .41s cubic-bezier(.83,0,.17,1);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 38px;
  padding-right: 32px;
  overflow-y: auto;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  margin-bottom: 18px;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A76B0F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', serif;
  color: #fff;
  opacity: .93;
  padding: 8px 3px;
  border-radius: 3px;
  transition: background .18s, color .18s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A76B0F;
  background: #DEF2FF40;
}
/* Responsive nav */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 992px) {
  header .btn.btn-primary { display: none; }
}

/* --- HERO & CONTENT FLEX --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid, .service-grid, .service-detail-cards, .resulting-features, .value-list, .team-list, .service-list { 
  display: flex; 
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0; 
}
.feature-grid > div, .service-grid > div, .service-detail-cards > div, .resulting-features > li, .value-list > li, .team-list > li, .service-list > li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(34,81,108,0.06);
  padding: 26px 18px;
  flex: 1 1 240px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.3px solid #e7e6e4;
  transition: box-shadow .25s, border-color .2s;
}
.feature-grid > div:hover, .service-grid > div:hover, .service-detail-cards > div:hover, .resulting-features > li:hover, .value-list > li:hover, .team-list > li:hover, .service-list > li:hover {
  box-shadow: 0 8px 32px rgba(34,81,108,0.14);
  border-color: #C28929;
}
.feature-grid img, .service-grid img, .resulting-features img, .value-list img {
  width: 42px; height: 42px; margin-bottom: 6px;
  flex-shrink: 0;
}
.value-list span { font-weight: 600; letter-spacing: .02em; font-size: 1.07em; }

@media (max-width: 850px){
  .feature-grid, .service-grid, .service-detail-cards, .resulting-features, .value-list, .team-list, .service-list {
    gap: 18px;
  }
  .feature-grid > div, .service-grid > div, .service-detail-cards > div, .resulting-features > li, .value-list > li, .team-list > li, .service-list > li {
    flex: 1 1 300px;
    min-width: 180px;
    padding: 21px 12px;
  }
}
@media (max-width: 640px) {
  .feature-grid, .service-grid, .service-detail-cards, .value-list, .resulting-features, .team-list, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-grid > div, .service-detail-cards > div, .value-list > li, .team-list > li, .service-list > li, .resulting-features > li {
    min-width: 0;
    padding: 16px 8px;
  }
}

/* --- PRICING TABLE --- */
.pricing-table {
  background: #fff;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(160,170,180,0.07);
  margin: 24px 0 16px 0;
  overflow: hidden;
  border: 1px solid #ECECEC;
}
.pricing-table th {
  background: #22516C;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  padding: 14px 10px;
}
.pricing-table td {
  font-size: 1rem;
  font-family: 'Open Sans', serif;
  color: #2a2d33;
  padding: 12px 10px;
  background: #F5F6F8;
  border-bottom: 1px solid #f1ede4;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0 0 0;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34,81,108,0.07);
  padding: 20px 18px;
  border: 1px solid #ECECEC;
}
.faq-item h3 {
  color: #22516C;
  margin-bottom: 10px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1.3px solid #e7e6e4;
  box-shadow: 0 1px 10px rgba(34,81,108,0.08);
  transition: box-shadow .2s;
  max-width: 600px;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #22516C;
  margin: 0 0 6px 0;
  line-height: 1.47;
}
.testimonial-card cite {
  align-self: flex-end;
  font-size: 0.98em;
  color: #6c6a68;
}
.star-rating {
  font-size: 1.18rem;
  color: #C28929;
  letter-spacing: .08em;
  margin-top: -6px;
}

/* --- CONTACT BLOCK --- */
.contact-block {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.contact-details, .cta-text {
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-placeholder {
  background: #F5F6F8;
  border-radius: 10px;
  padding: 18px 14px;
  border: 1px solid #e7e6e4;
  color: #444;
  font-size: 1rem;
  margin-top: 18px;
}

@media (max-width: 700px){
  .contact-block {
    flex-direction: column;
    gap: 13px;
  }
  .contact-details, .cta-text {
    min-width: unset;
  }
}

/* --- THANK YOU MESSAGE --- */
.thank-you-message {
  background: #fff4da;
  border-left: 4px solid #C28929;
  border-radius: 10px;
  padding: 18px 18px 14px 20px;
  margin: 18px 0 18px 0;
  font-size: 1rem;
}
.thank-you-message ul { margin: 12px 0 0 0; padding-left: 22px; }

/* --- FOOTER --- */
footer {
  background: #8ebad3;
  color: #fff;
  padding: 0;
  border-top: 2px solid #A76B0F11;
  font-size: 1rem;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.17rem;
  color: #fff;
}
.footer-brand img { height: 44px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: #fff;
  opacity: .92;
  font-size: 1rem;
  font-family: 'Open Sans', serif;
  transition: color .18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #A76B0F;
}
.footer-contact {
  min-width: 200px;
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  color: #f8f8f8;
}
.footer-contact a { color: #F3CE89; text-decoration: underline; }
.footer-social {
  display: flex; gap: 17px; align-items: center;
}
.footer-social img { height: 28px; opacity: 0.95; }
.footer-social img:hover {
  filter: drop-shadow(0 2px 4px rgba(160,160,0,0.07)); opacity: 1;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img { height: 34px; }
}

/* --- GENERAL CARDS, FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(34,81,108,0.09);
  margin-bottom: 20px;
  position: relative;
  border: 1.3px solid #e7e6e4;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 20px 18px;
  transition: box-shadow .22s, border-color .15s;
}
.card:hover {
  box-shadow: 0 7px 28px rgba(34,81,108,0.15);
  border-color: #C28929;
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NOTES --- */
.notes ul {
  background: #fff9ea;
  border-radius: 9px;
  border-left: 3px solid #A76B0F;
  padding: 16px 28px 16px 22px;
  margin: 14px 0 0 0;
  font-size: 1rem;
  color: #6b5848;
}
.notes ul li { margin-bottom: 7px; }

/* --- CTA --- */
.cta-faq, .content-wrapper > .cta-faq, .content-wrapper > .cta {
  margin-top: 26px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #22516C;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px 20px 20px;
  box-shadow: 0 -3px 28px rgba(34,81,108,0.16);
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  animation: bannerSlideUp .85s cubic-bezier(.65,0,.15,1);
}
@keyframes bannerSlideUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.cookie-banner p { margin: 0 14px 0 0; color: #fff; font-size: 1rem; }
.cookie-banner .cookie-btn {
  margin: 1px 9px;
  min-width: 120px;
  min-height: 38px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', serif;
  font-weight: bold;
  letter-spacing: .01em;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cookie-banner .accept { background: #A76B0F; color: #fff; }
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: #704C19; }
.cookie-banner .reject { background: #fff; color: #22516C; border: 2px solid #A76B0F; }
.cookie-banner .reject:hover, .cookie-banner .reject:focus { background: #f2ece7; border-color: #704C19; color: #704C19; }
.cookie-banner .settings { background: #eee6d7; color: #704C19; border: 2px solid #A76B0F; }
.cookie-banner .settings:hover, .cookie-banner .settings:focus { background: #f1e4cd; color: #22516C; border-color: #22516C; }

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed; z-index: 10001; inset: 0;
  background: rgba(34,81,108, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalBackdropFade .48s cubic-bezier(.65,0,.15,1);
}
@keyframes modalBackdropFade { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #2a2d33;
  padding: 38px 26px 24px 26px;
  max-width: 418px;
  width: 92%;
  border-radius: 16px;
  box-shadow: 0 6px 48px rgba(34,81,108,0.19);
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  animation: modalPopOpen .44s cubic-bezier(.65,0,.15,1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
@keyframes modalPopOpen { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h3 {
  color: #22516C;
  margin-bottom: 7px;
  font-family: 'Montserrat', serif;
  font-size: 1.27rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0 0;
}
.category-toggle {
  width: 44px;
  height: 24px;
  background: #f6f5f2;
  border-radius: 15px;
  position: relative;
  transition: background .2s;
  box-shadow: 0 1px 3px rgba(34,81,108,0.05);
}
.category-toggle input {
  display: none;
}
.category-toggle span {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #A76B0F;
  border-radius: 50%;
  transition: left .2s, background .2s;
}
.category-toggle input:checked + span {
  left: 22px;
  background: #22516C;
}
.cookie-modal .category-label {
  font-weight: 600;
  font-size: 1em;
  min-width: 110px;
  color: #22516C;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 15px; top: 15px;
  background: none;
  color: #22516C;
  font-size: 1.17rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #A76B0F;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 100px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: bold;
}

/* --- UTILITY --- */
.mb-0{margin-bottom:0!important;}
.mt-0{margin-top:0!important;}

/* --- TYPOGRAPHY SCALE --- */
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-48 { font-size: 48px; }

/* --- RESPONSIVE RULES --- */
@media (max-width: 600px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1rem; }
  .footer-brand img { height: 25px; }
}

/* --- ANIMATIONS/MICRO-INTERACTIONS --- */
.btn, .feature-grid > div, .service-grid > div, .service-detail-cards > div, .testimonial-card,
.card, .faq-item, .footer-links a, .main-nav a {
  transition: box-shadow .17s, background .22s, border-color .17s, color .17s;
}

/* --- VISUAL HIERARCHY --- */
h1, h2, .btn.btn-primary {
  color: #22516C;
}
.btn.btn-secondary, .footer-links a, .footer-contact, .feature-grid h3, .service-grid h3 {
  color: #704C19;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid #A76B0F;
  outline-offset: 2px;
}

/* --- REMOVE ABSOLUTE for content, only used for modals/close btns --- */

/* --- END CSS --- */
