/* === 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F5F5F5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #1B2644;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #13243D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B2955B;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #13243D;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; }
p { margin-bottom: 16px; color: #23324e; }
strong, b { font-weight: 700; }

/* === BASE LAYOUT containers === */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(19,36,61, 0.09);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 760px;
}

.card-container, .card-grid, .features-grid, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(19,36,61,0.09);
  padding: 28px 22px;
  transition: box-shadow 0.3s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 8px 40px 0 rgba(19,36,61,0.17);
}
.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;
}

/* Feature items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* Testimonial cards */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  background: #FAF9F6;
  border-radius: 18px;
  min-width: 280px;
  max-width: 380px;
  flex: 1 1 280px;
  box-shadow: 0 2px 12px 0 rgba(19,36,61,0.06);
  color: #1B2644;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px 0 rgba(19,36,61,0.11);
}
.testimonial-card strong {
  color: #B2955B;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}
.brand-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: #B2955B;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}
.brand-rating img {
  height: 22px;
  width: 22px;
  display: inline-block;
}

/* === NAVIGATION & HEADER === */
header {
  width: 100%;
  background: linear-gradient(90deg,#F5F5F5 65%, #EFE8DB 100%);
  box-shadow: 0 1px 10px 0 rgba(19,36,61,0.06);
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px 0;
  gap: 24px;
}
.logo img {
  height: 48px; width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: #13243D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 3px 8px;
  position: relative;
  transition: color 0.2s;
}
.site-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: #B2955B;
  transition: width 0.2s;
  border-radius: 1px;
  margin-top: 3px;
}
.site-nav a:hover, .site-nav a:focus {
  color: #B2955B;
}
.site-nav a:hover:after, .site-nav a:focus:after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  transition: background 0.23s, color 0.23s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(19,36,61, 0.07);
  margin: 8px 0 8px 10px;
}
.btn-primary {
  background: linear-gradient(90deg, #13243D 55%, #B2955B 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B2955B;
  color: #13243D;
  box-shadow: 0 4px 18px 0 rgba(178,149,91,0.13);
}
.btn-secondary {
  background: #fff;
  color: #B2955B;
  border: 2px solid #B2955B;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B2955B;
  color: #fff;
}

/* Hide main nav on mobile, show burger */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  color: #13243D;
  z-index: 121;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #B2955B;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, #fff 80%, #EFE8DB 100%);
  z-index: 150;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.71,.03,.22,.93);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 36px 0 0 0;
  box-shadow: 0 0 36px rgba(19,36,61,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #13243D;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 151;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B2955B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 54px 36px 24px 32px;
}
.mobile-nav a {
  color: #13243D;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 0 12px 8px;
  width: 100%;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B2955B;
  color: #fff;
}

/* Overlay to block body scroll under mobile menu */
body.menu-open {
  overflow: hidden;
}

/* === HERO SECTIONS === */
.hero {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(110deg, #fff 80%, #EFE8DB 100%);
  display: flex;
  align-items: center;
  border-radius: 0 0 36px 36px;
  margin-bottom: 36px;
  box-shadow: 0 2px 28px 0 rgba(19,36,61, 0.07);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  color: #13243D;
  font-size: 2.6rem;
}
.hero p {
  color: #3D4970;
  font-size: 1.22rem;
  margin-bottom: 18px;
}

/* === FEATURES & SERVICES === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features-grid > div {
  background: #FAF9F6;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(19,36,61,0.07);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 322px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.features-grid > div img {
  height: 38px; width: 38px;
  margin-bottom: 8px;
}
.features-grid > div:hover {
  box-shadow: 0 4px 18px 0 rgba(178,149,91,0.12);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(19,36,61,0.09);
  flex: 1 1 285px;
  min-width: 260px;
  max-width: 352px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 22px;
  margin-bottom: 20px;
  gap: 10px;
  transition: box-shadow 0.21s;
}
.service-card h3 {
  color: #13243D;
  font-size: 1.28rem;
}
.service-card .btn {
  margin-top: 6px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg,#EFE8DB 72%, #B2955B 100%);
  padding: 0 0 0 0;
  font-size: 0.96rem;
}
.footer-container {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 88px;
  padding: 30px 0 30px 0;
}
.footer-logo img {
  height: 38px; width: auto;
  opacity: 0.93;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-nav a {
  color: #13243D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  margin-right: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B2955B;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: #23324e;
}
.footer-contact a {
  color: #B2955B;
  font-weight: 600;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg,#EFE8DB 72%, #B2955B 100%);
  box-shadow: 0 -4px 18px 0 rgba(19,36,61,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 900;
  width: 100%;
  padding: 22px 28px 22px 18px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.77,.06,.18,.98), opacity 0.2s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner p {
  flex: 1;
  color: #1B2644;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .accept {
  background: #13243D;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #B2955B;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #B2955B;
  border: 2px solid #B2955B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #B2955B;
  color: #fff;
}
.cookie-banner .settings {
  background: #FAF9F6;
  color: #13243D;
  border: 2px solid #13243D;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #13243D;
  color: #fff;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,36,61,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(19,36,61,0.17);
  padding: 32px 28px 28px 28px;
  width: 355px;
  max-width: 98vw;
  animation: cookie-modal-pop 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes cookie-modal-pop {
  0% { transform: scale(0.68); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  color: #13243D;
}
.cookie-category {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1B2644;
  flex: 1;
}
.cookie-category input[type='checkbox'],
.cookie-category input[type='radio'] {
  accent-color: #B2955B;
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 110px;
  border-radius: 20px;
  padding: 8px 16px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-actions .save-prefs {
  background: #13243D;
  color: #fff;
}
.cookie-modal-actions .save-prefs:hover {
  background: #B2955B;
  color: #fff;
}
.cookie-modal-actions .cancel-prefs {
  background: #EBEBE3;
  color: #13243D;
}

/* === RESPONSIVE SETTINGS === */
@media (max-width: 1100px) {
  .nav-container, .footer-container, .container {
    max-width: 960px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 900px) {
  .card-container, .card-grid, .features-grid, .services-grid, .testimonial-list {
    gap: 16px;
  }
  .footer-container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .nav-container, .footer-container, .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {
    min-height: 200px;
    padding: 24px 0;
    border-radius: 0 0 20px 20px;
  }
  .site-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn {
    padding: 9px 18px;
    font-size: 0.94rem;
    margin-left: 4px;
  }
  .features-grid, .services-grid, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 20px 0;
    gap: 12px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    font-size: 0.98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.52rem; }
  .hero p { font-size: 1rem; }
  .features-grid > div, .service-card, .testimonial-card {
    padding: 16px 8px;
    min-width: unset;
    max-width: unset;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 16px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 7px;
    width: 100%;
  }
  .cookie-modal {
    padding: 20px 8px 14px 8px;
    width: 98vw;
  }
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-2 { gap: 16px !important; }
.gap-3 { gap: 24px !important; }

/* === MISCELLANEOUS === */
::-webkit-input-placeholder { color: #7681A1; opacity: 0.91; }
::-moz-placeholder { color: #7681A1; opacity: 0.91; }
:-ms-input-placeholder { color: #7681A1; opacity: 0.91; }
::placeholder { color: #7681A1; opacity: 0.91; }

/* Highlight brand accent on headings */
h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: #B2955B;
  margin-top: 7px;
}

/* Mark strong/highlight text in accent color */
.text-section b, .text-section strong {
  color: #B2955B;
}

/* Animations for buttons and links */
.btn, .site-nav a, .mobile-nav a {
  transition: background 0.23s, color 0.23s, box-shadow 0.2s;
}

/* === FORMS (if present in future) === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #faf9f6;
  padding: 12px 10px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.2s;
  color: #1B2644;
}
input:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #B2955B;
}
label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.99rem;
  color: #23324e;
  margin-bottom: 7px;
}

/* Accessibility: Focus outline highlights */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #B2955B;
  outline-offset: 1px;
}

/* Hide scrollbar for mobile nav on overlay */
.mobile-menu {
  overflow-y: auto;
}

/* === END OF CSS === */
