/* =====================
   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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F5F1;
  color: #1E3A54;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F5F5F1;
  color: #1E3A54;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: 0.2px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #C29752;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #ad7c2e;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

/* =========================
   Typography & Headings
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #1E3A54;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.9em;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7em;
}
p, li, blockquote {
  font-size: 1rem;
  color: #253858;
  margin-bottom: 0.9em;
}
blockquote {
  border-left: 4px solid #C29752;
  padding-left: 16px;
  color: #756553;
  font-style: italic;
  margin-top: 20px;
  background: #fff8ec;
  border-radius: 1em;
  box-shadow: 0 4px 16px -7px #c297521a;
  margin-bottom: 1em;
}

.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #896e36;
  margin-bottom: 1.25em;
  font-weight: 400;
}

strong {
  color: #C29752;
  font-weight: 600;
}

/* =============================
   Layout Containers & Structure
   ============================= */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 24px -5px #85624321;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 34px -10px #85624333;
  transform: translateY(-2px) scale(1.015);
}

.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;
}

/* Features & Services Grids */
.features-grid, .service-list, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
  justify-content: center;
}
.features-grid {
  gap: 32px;
  justify-content: flex-start;
}
.service-list {
  gap: 36px;
}
.services-grid {
  gap: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px -8px #c297522a;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 2px;
}
.feature-item h3 {
  color: #B49060;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 7px 36px -8px #c2975236;
  transform: translateY(-3px) scale(1.025);
}

.service-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 20px -8px #c2975221;
  padding: 32px 20px 24px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.service-card:hover {
  box-shadow: 0 8px 34px -11px #c2975230;
  transform: translateY(-2px);
}
.service-card span {
  color: #C29752;
  font-weight: 700;
  font-size: 1.11rem;
  margin-bottom: 2px;
  margin-top: 2px;
}

.service-detail {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px -8px #c2975220;
  padding: 30px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px -12px #af88401f;
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Testimonial cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff8ec;
  border-radius: 18px;
  box-shadow: 0 3px 18px -7px #c297521a;
  margin-bottom: 20px;
  position: relative;
  flex-direction: column;
  text-align: left;
  max-width: 600px;
}
.testimonial-card p {
  color: #1E3A54;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-author {
  font-size: 1rem;
  color: #B49060;
  font-weight: 500;
}

/* CTA section */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 40px 0 0 0;
  background: #1E3A54;
  border-radius: 20px;
  padding: 36px 18px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta.primary {
  margin-top: 12px;
}

/* CTA & Buttons */
.cta,
.cta.primary,
button,
input[type="submit"],
.button {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
}
.cta.primary,
.cta:not(.primary),
.button,
button,
input[type="submit"] {
  cursor: pointer;
  display: inline-block;
  border: none;
  border-radius: 18px;
  padding: 13px 34px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #C29752;
  color: #fff;
  box-shadow: 0 2px 10px -2px #ad7d2e1f;
  margin-top: 12px;
  transition: background 0.16s, color 0.15s, transform 0.12s, box-shadow 0.16s;
  outline: none;
  text-align: center;
}
.cta.primary:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.cta:not(.primary):hover {
  background: #ad7c2e;
  color: #fff8ec;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 7px 30px -8px #b085422a;
}
.cta:not(.primary) {
  background: #fff;
  color: #C29752;
  border: 2px solid #C29752;
  margin-top: 6px;
  box-shadow: 0 1px 6px -2px #b085422a;
}
.cta:not(.primary):hover {
  background: #fff8ec;
  border-color: #ad7c2e;
  color: #ad7c2e;
}

/* ============================
   Header, Navigation & Footer
   ============================ */
header {
  background: #fff;
  box-shadow: 0 5px 24px -12px #b0854221;
  width: 100%;
  z-index: 120;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: 22px 18px;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  background: #fff;
  z-index: 121;
}
.main-nav a {
  color: #1E3A54;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: background 0.12s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7e6cf;
  color: #C29752;
}
.main-nav img {
  height: 36px;
  margin-right: 12px;
}

/* Mobile Nav Burger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 21px;
  background: #fff8ec;
  color: #1E3A54;
  border: none;
  padding: 11px 18px;
  border-radius: 50%;
  font-size: 1.55rem;
  cursor: pointer;
  box-shadow: 0 1px 8px -2px #c2975211;
  z-index: 301;
  transition: background 0.14s, color 0.11s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFEAC6;
  color: #B49060;
  outline: 2px solid #C29752;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(250,243,231,0.98);
  z-index: 5000;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.22,1.1,.36,1.15);
  box-shadow: 0 18px 60px -4px #ad7d2e44;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFEAC6;
  color: #1E3A54;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 13px;
  position: absolute;
  right: 18px;
  top: 17px;
  z-index: 6001;
  cursor: pointer;
  box-shadow: 0 1px 12px -1px #b0854236;
  transition: background 0.15s, color 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #eed3a3;
  color: #C29752;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 75px;
  width: 100%;
  padding-left: 24px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.28rem;
  padding: 18px 7px 14px 7px;
  border-radius: 12px;
  color: #1E3A54;
  font-weight: 600;
  width: 94vw;
  max-width: 94vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFEAC6;
  color: #C29752;
}

/* Hide menu links on mobile */
@media (max-width: 940px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 941px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===============
   Hero Section
   =============== */
.hero {
  background: linear-gradient(90deg, #fff8ec 80%, #FFEAC6 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 40px -13px #c2975230;
  padding: 40px 0 56px 0;
  margin-bottom: 55px;
  position: relative;
}
.hero .container {
  padding-top: 8px;
  padding-bottom: 8px;
}
.hero .content-wrapper h1 {
  color: #C29752;
  text-shadow: 0 2px 14px #fff3d61a;
}
.hero .cta.primary {
  margin-top: 12px;
  align-self: flex-start;
}

/* =======================
   Footer Styles
   ======================= */
footer {
  background: #1E3A54;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 75px;
  border-radius: 32px 32px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFF8EC;
  font-weight: 500;
  font-size: 1.04rem;
  opacity: 0.95;
  letter-spacing: .05em;
  border-radius: 9px;
  padding: 8px 12px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #C29752;
  color: #fff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.footer-info img {
  height: 38px;
}
.footer-info p {
  font-size: 0.99rem;
  color: #f7e6cf;
  opacity: 0.8;
}

/* =======================
   Utility & Miscellaneous
   ======================= */
hr {
  margin: 36px 0 28px 0;
  border: none;
  border-top: 1px solid #E7DBCB;
}

/* ===========================
   Responsive Media Queries
   =========================== */
@media (max-width: 1180px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 940px) {
  .content-grid, .features-grid, .services-grid, .service-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero {
    padding: 24px 0 34px 0;
  }
  .section, section {
    padding: 24px 7px;
    margin-bottom: 30px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .features-grid, .service-list, .services-grid {
    gap: 10px;
  }
  .footer-nav {
    gap: 13px;
    flex-wrap: wrap;
  }
  .footer-info img {
    height: 30px;
  }
  .cta, .cta.primary {
    padding: 28px 8px;
  }
}
@media (max-width: 500px) {
  .hero {
    border-radius: 0 0 15px 15px;
  }
  footer {
    border-radius: 18px 18px 0 0;
    padding: 24px 0 8px 0;
  }
  .testimonial-card {
    padding: 12px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .service-card, .feature-item, .card, .service-detail, .text-section {
    padding: 14px 8px 14px 9px;
    min-width: 140px;
    font-size: 0.99rem;
  }
}

/* ================================
   Cookie Consent Banner & Modal
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ec;
  color: #684f29;
  border-top: 2px solid #C29752;
  box-shadow: 0 -4px 40px -4px #ad7d2e20;
  padding: 28px 28px 18px 28px;
  z-index: 55000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  font-size: 1.05rem;
  animation: cookieBannerSlideIn 0.72s cubic-bezier(.58,.03,.32,1.27);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  padding: 11px 24px;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.12s, box-shadow 0.12s;
  box-shadow: 0 1px 8px -1px #b0854220;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #C29752;
  color: #fff;
}
.cookie-btn.reject {
  background: #f5cbaf;
  color: #684f29;
}
.cookie-btn.settings {
  background: #fff;
  color: #C29752;
  border: 2px solid #C29752;
}
.cookie-btn.accept:hover { background: #ad7c2e; }
.cookie-btn.reject:hover { background: #efba97; }
.cookie-btn.settings:hover { background: #fff8ec; color: #ad7c2e; border-color: #ad7c2e; }

/* Cookie preferences modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 55500;
  background: rgba(30,58,84,0.18);
  justify-content: center;
  align-items: center;
  animation: fadeInCookieModal 0.45s cubic-bezier(.58,.03,.32,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff8ec;
  border-radius: 23px;
  box-shadow: 0 20px 90px -25px #b0854246;
  padding: 44px 36px 28px 36px;
  min-width: 90vw;
  max-width: 396px;
  z-index: 55501;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInCookieModal 0.51s cubic-bezier(.66,.03,.32,1);
}
.cookie-modal h2 {
  color: #C29752;
  margin-bottom: 7px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  color: #513714;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #C29752;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 7px;
  outline: none;
  border: 2px solid #C29752;
}
.cookie-modal-close {
  background: #FFEAC6;
  color: #1E3A54;
  border: none;
  border-radius: 50%;
  font-size: 1.45rem;
  position: absolute;
  right: 23px; top: 19px;
  cursor: pointer;
  box-shadow: 0 1px 8px -1px #b0854229;
  transition: background 0.11s, color .12s;
  width: 35px; height: 35px;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #eed3a3;
  color: #C29752;
}
.cookie-modal .save-btn {
  margin-top: 12px;
  align-self: flex-end;
  background: #C29752;
  color: #fff;
  padding: 10px 20px;
  border-radius: 13px;
  border: none;
  font-size: 1.09rem;
  cursor: pointer;
  box-shadow: 0 1px 10px -2px #ad7d2e1a;
  transition: background 0.17s;
}
.cookie-modal .save-btn:hover {
  background: #ad7c2e;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 18px 7px;
    font-size: 0.96rem;
  }
  .cookie-modal {
    padding: 26px 9px 21px 13px;
    min-width: 80vw;
    max-width: 96vw;
  }
  .cookie-modal-close { right: 13px; top: 13px; }
}

/* =============================
   VISUAL ACCESSIBILITY
   ============================= */
*:focus {
  outline: 2px solid #C29752;
  outline-offset: 1.5px;
}

@media (hover: hover) {
  a, button, .cta, .feature-item, .service-card, .card {
    /* Only transitions if device supports hover */
    transition: background 0.12s, color 0.11s, transform 0.11s, box-shadow 0.13s;
  }
}

/* =============================
   CUSTOM CLASSES & OVERRIDES 
   ============================= */
::-webkit-scrollbar {
  width: 11px;
  background: #FFEAC6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #C29752;
  border-radius: 8px;
}

/* =============================
   END OF STYLE.CSS
   ============================= */
