/* ======================
   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 {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F3F4F7;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #16253A;
  background: #F3F4F7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.68;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #16253A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A38F6B;
}
ul, ol {
  margin-left: 1.3em;
}
hr { border: 0; border-top: 1px solid #e0e4ea; margin: 24px 0; }
section {
  width: 100%;
  margin: 0 auto;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Spacing and Sections */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,37,58,0.05);
}

/* Feature & Card Grids */
.feature-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22,37,58,0.07);
  padding: 28px 26px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 100%;
  transition: box-shadow 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(22,37,58,0.10);
}

.feature-grid > div,
.service-grid > div {
  background: #F3F4F7;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(22,37,58,0.04);
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.feature-grid > div:hover,
.service-grid > div:hover {
  box-shadow: 0 4px 16px rgba(22,37,58,0.13);
  border: 1px solid #A38F6B;
}


/* Headings & Typography */
h1, .h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #16253A;
  margin-bottom: 12px;
}
h2, .h2 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #16253A;
  margin-bottom: 8px;
}
h3, .h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #16253A;
}
h4, .h4 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
p, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  color: #263347;
  margin-bottom: 9px;
}
.hero-subheadline {
  font-size: 1.25rem;
  color: #A38F6B;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.price {
  font-size: 1.35rem;
  color: #A38F6B;
  font-weight: 700;
  margin-top: 16px;
}
blockquote {
  background: #F3F4F7;
  border-left: 3px solid #A38F6B;
  margin: 20px 0;
  padding: 18px 19px;
  color: #405470;
  font-style: italic;
  border-radius: 6px;
}
strong, b { font-weight: 700; }

/* ===================
   HEADER & NAVIGATION
==================== */
header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(22,37,58,0.06);
  position: sticky;
  top: 0;
  z-index: 110;
  width: 100%;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 74px;
}
header img {
  height: 44px;
  margin-right: 22px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
nav a {
  color: #16253A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 3px;
  border-radius: 4px;
  position: relative;
  transition: background 0.16s, color 0.14s;
}
nav a.cta-primary {
  background: #16253A;
  color: #fff;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22,37,58,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: #A38F6B;
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,37,58,0.16);
}
nav a.cta-secondary {
  background: #A38F6B;
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 1px 7px rgba(22,37,58,0.09);
  transition: background 0.19s, color 0.19s, box-shadow 0.17s;
}
nav a.cta-secondary:hover, nav a.cta-secondary:focus {
  background: #16253A;
  color: #fff;
}
/* Burger Menu Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #16253A;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  border-radius: 5px;
  padding: 3px 10px 2px 10px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A38F6B;
  background: #F3F4F7;
}

/* =====================
   MOBILE NAV OVERLAY
====================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  padding-left: 0;
  box-shadow: 0 2px 16px rgba(22,37,58,0.13);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.32,.51,0,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #16253A;
  align-self: flex-end;
  margin: 22px 28px 10px 0px;
  cursor: pointer;
  transition: color 0.21s;
  line-height: 1;
}
.mobile-menu-close:focus {
  color: #A38F6B;
  outline: 2px solid #A38F6B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 26px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #16253A;
  font-size: 1.22rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F4F7;
  color: #A38F6B;
}
.mobile-nav a.cta-primary {
  background: #16253A;
  color: #fff;
  margin-top: 8px;
  font-weight: bold;
}

/* ================
   MAIN LAYOUT
================= */
main {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,37,58,0.05);
}

/* Custom patterns for content blocks */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* == Feature/Service Items == */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Testimonials Slider & Card */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: #F3F4F7;
  padding: 20px 24px;
  border-radius: 11px;
  min-width: 220px;
  max-width: 360px;
  box-shadow: 0 2px 11px rgba(22,37,58,0.10);
  color: #1C2539;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, background 0.17s;
}
.testimonial-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(22,37,58,0.14);
}
.testimonial-card p {
  color: #223257;
  font-style: italic;
}
.testimonial-card span {
  color: #A38F6B;
  font-weight: bold;
  font-size: 0.98rem;
}

/* === BUTTONS / CTA === */
.cta-primary, .cta-secondary {
  display: inline-block;
  border: none;
  cursor: pointer;
  padding: 13px 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border-radius: 7px;
  transition: background 0.20s, color 0.16s, box-shadow 0.19s, transform 0.11s;
  font-size: 1.1rem;
}
.cta-primary {
  background: #16253A;
  color: #fff;
  box-shadow: 0 1px 8px rgba(22,37,58,0.09);
}
.cta-primary:hover, .cta-primary:focus {
  background: #A38F6B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(22,37,58,0.14);
}
.cta-secondary {
  background: #A38F6B;
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #16253A;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
}

/* =========================
   CARD & FLEX CONTAINERS
========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   FOOTER
======================= */
footer {
  background: #16253A;
  color: #fff;
  margin-top: 60px;
  width: 100%;
  font-size: 1rem;
}
footer .container {
  padding: 0 20px;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #2d3951;
  padding: 32px 0 16px 0;
}
.footer-top img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
footer nav a {
  color: #fff;
  opacity: 0.85;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.18s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #A38F6B;
  opacity: 1;
}
.footer-bottom {
  padding: 16px 0 14px 0;
  font-size: 0.96rem;
  color: #A7B5C6;
  text-align: left;
}

/* =============
COOKIE CONSENT
============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #223044;
  color: #fff;
  padding: 27px 20px 22px 20px;
  box-shadow: 0 -3px 22px rgba(22,37,58,0.19);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.32,.51,0,1), opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-message {
  font-size: 1.06rem;
  color: #fff;
  margin-bottom: 6px;
  max-width: 760px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-settings {
  padding: 10px 23px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.10s;
}
.cookie-banner .accept {
  background: #16253A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #A38F6B;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-banner .reject {
  background: #fff;
  color: #16253A;
  border: 1.5px solid #A38F6B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #A38F6B;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #A38F6B;
  border: 1.5px solid #A38F6B;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #16253A;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,37,58,0.24);
  z-index: 3600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #16253A;
  border-radius: 14px;
  box-shadow: 0 6px 44px rgba(22,37,58,0.22);
  padding: 38px 35px 26px 35px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
  animation: fadeinmodal 0.32s cubic-bezier(.32,.51,0,1);
}
@keyframes fadeinmodal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  font-family: 'Playfair Display', serif;
  color: #16253A;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #16253A;
}
.cookie-category input[type='checkbox'] {
  accent-color: #A38F6B;
  width: 20px; height: 20px;
  margin-right: 7px;
}
.cookie-category input[type='checkbox']:disabled {
  accent-color: #16253A;
}
.cookie-modal .essential {
  color: #8A8F98;
  font-size: 0.98rem;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  background: none;
  color: #A38F6B;
  border: none;
  font-size: 1.4rem;
  padding: 2px 10px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .close-modal:hover {
  color: #16253A;
}

/* ========================
   RESPONSIVE - MOBILE FIRST
=========================== */
@media (max-width: 1280px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 1000px){
  header .container, .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-top nav {
    margin-top: 10px;
    gap: 17px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px){
  .feature-grid, .service-grid, .testimonial-slider, .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.10rem; }
  .section {
    padding: 32px 7px;
    margin-bottom: 36px;
    border-radius: 9px;
  }
  .container {
    padding-left: 3vw; padding-right: 3vw;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .service-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div, .service-grid > div {
    min-width: 0;
    border-radius: 8px;
    padding: 15px 11px;
  }
  .testimonial-card {
    min-width: 0; max-width: 100%;
    padding: 14px 10px;
    border-radius: 8px;
  }
  .footer-top { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: 0;
  }
  .footer-top img {
    height: 30px;
  }
  .footer-bottom {
    padding: 11px 0 9px 0;
    font-size: 0.95rem;
  }
}

/* =======
CUSTOM SCROLLBAR (Webkit)
======= */
::-webkit-scrollbar {
  width: 10px;
  background: #F3F4F7;
}
::-webkit-scrollbar-thumb {
  background: #e6e8ed;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A38F6B33;
}

/* ===============
UTILITY CLASSES
================ */
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-16 { margin-top: 16px !important; }
.pb-0 { padding-bottom: 0 !important; }

/* -------
For accessibility
-------- */
:focus { outline: 2px solid #A38F6B; outline-offset: 2px; }

/* ==========================
MISC: FORM, TABLE STANDARD
========================== */
input[type=text],
input[type=email],
input[type=tel],
input[type=datetime-local],
textarea, select {
  width: 100%;
  padding: 12px 14px;
  margin: 6px 0 20px 0;
  display: inline-block;
  border: 1.6px solid #e1e5ef;
  border-radius: 7px;
  box-sizing: border-box;
  background: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #16253A;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #A38F6B;
  border-color: #A38F6B;
}
button, .btn {
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ===============
PRINT BRAND FONT
================ */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');


/* ==========================
Z-INDEX MANAGEMENT
========================== */
header { z-index: 110; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3600; }


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