/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #fff;
  color: #1F2937;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0;
  line-height: 1.6;
}
a { color: #1F2937; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #D1B46A; outline: none; }
ul, ol { list-style: disc inside; margin: 0 0 1em 1.5em; }
strong, b { font-weight: 600; }
img { max-width: 100%; display: block; border: 0; }

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+Pro:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: #1F2937;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.subhead { color: #52525b; font-size: 1.1rem; font-family: 'Source Sans Pro', Arial, sans-serif; margin-bottom: 20px; line-height: 1.6; }

p, li {
  font-size: 1rem;
  color: #1F2937;
  margin-bottom: 12px;
}

small {
  font-size: 0.9rem;
  color: #52525b;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

main > section:not(:last-child) {
  margin-bottom: 60px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31,41,55,0.03);
  z-index: 100;
  position: relative;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
header > a > img {
  height: 46px;
  margin: 24px 0 24px 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 0 0 0 0;
  transition: none;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #1F2937;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  padding: 6px 3px 6px 3px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F1ED;
  color: #D1B46A;
}
.cta-primary {
  background: #1F2937;
  color: #fff;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 11px 28px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 10px rgba(31,41,55,.05);
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  transition: background .16s, color .16s, box-shadow .16s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #D1B46A;
  color: #1F2937;
  box-shadow: 0 4px 18px 0 rgba(209,180,106,0.13);
}

/* HEADER FLEX LAYOUT */
header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px 32px;
  padding: 0px 20px;
}

header > a:first-child {
  order: 1;
}
nav.main-nav {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}
.cta-primary {
  order: 3;
}
.mobile-menu-toggle {
  display: none;
  order: 4;
  background: none;
  color: #1F2937;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 8px;
  margin-left: 8px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F4F1ED;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 100px 20px rgba(31,41,55,0.06);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform: translateX(-100vw);
  will-change: transform;
  flex-direction: column;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1F2937;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F1ED;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 40px 0 40px;
  flex: 1 1 auto;
}
.mobile-nav a {
  color: #1F2937;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  padding: 10px 0;
  border-radius: 3px;
  width: 100%;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F1ED;
  color: #D1B46A;
}

/* HERO SECTION */
.hero {
  background: #F4F1ED;
  padding: 54px 0 50px 0;
  width: 100%;
  display: flex;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* FEATURES */
.features .content-wrapper > h2,
.services .content-wrapper > h2,
.about .content-wrapper > h2,
.testimonials .content-wrapper > h2,
.contact .content-wrapper > h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
.feature-grid, .feature-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(31,41,55,0.08);
  padding: 32px 24px 20px 24px;
  flex: 1 1 236px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.feature img {
  width: 40px;
  height: 40px;
}
.feature:hover {
  box-shadow: 0 8px 28px 0 rgba(31,41,55,0.14);
  transform: translateY(-4px) scale(1.03);
}
.feature h3 {
  font-size: 1.14rem;
  font-weight: 600;
  color: #1F2937;
}
.feature p {
  font-size: 1rem;
  color: #425263;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD AND FLEX CONTAINERS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px 0 rgba(31,41,55,0.07); 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; }

/* TEXT SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.text-section h3 {
  margin-top: 22px;
  font-size: 1.14rem;
  color: #1F2937;
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  color: #1F2937;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(31,41,55,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  max-width: 620px;
  min-width: 0;
  transition: box-shadow 0.14s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(209,180,106,0.11);
  transform: translateY(-3px);
}
.testimonial-card p {
  color: #1F2937;
  font-size: 1.11rem;
  font-style: italic;
}
.testimonial-card span {
  color: #52525b;
  font-size: 0.96rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* SERVICES & ABOUT */
.services .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.services .cta-primary {
  margin-top: 12px;
}
.about .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

/* FOOTER */
footer {
  background: #F4F1ED;
  width: 100%;
  margin-top: 60px;
  box-shadow: 0 -2px 12px 0 rgba(31,41,55,0.04);
  padding: 32px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer-menu a {
  color: #1F2937;
  font-size: 0.98rem;
  padding: 2px 5px;
  border-radius: 2px;
  transition: background 0.16s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #e9e8e4;
  color: #D1B46A;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
}
.social-links img {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: opacity .13s, filter .13s;
  cursor: pointer;
}
.social-links img:hover {
  opacity: 1;
  filter: brightness(1.3);
}
.brand-legal {
  text-align: center;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST) --- */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  header {
    flex-wrap: wrap;
    gap: 14px 14px;
  }
  .feature, .card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.35rem !important; }
  .subhead, p, li { font-size: 1rem !important; }
  .container { max-width: 100vw; padding-left: 7px; padding-right: 7px; }

  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 8px 5px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 9px 20px;
    margin-left: 0;
    min-width: 180px;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.1rem;
  }
  .hero {
    padding: 36px 0 30px 0;
  }
  .feature-grid, .feature-icons {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    padding: 22px 12px 16px 12px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 18px 10px;
  }
  .section { padding: 28px 7px; margin-bottom: 38px; }
  .about .content-wrapper, .services .content-wrapper, .features .content-wrapper {
    gap: 16px;
  }
  .footer-menu { gap: 12px; }
  .brand-legal { font-size: 0.88rem; }
  .content-wrapper { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 510px) {
  .cta-primary {
    min-width: unset;
    width: 100%;
    text-align: center;
  }
  .hero .content-wrapper {
    gap: 8px;
  }
}

/* FLEXBOX RULES for Layout Consistency */
.section, main > section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-container, .content-grid, .feature-grid, .feature-icons, .footer-menu, .social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.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;
}

/* INTERACTIVE ELEMENTS: BUTTONS */
button, .cta-primary {
  transition: background 0.16s, color 0.13s, box-shadow 0.15s;
  cursor: pointer;
  outline: none;
}
button:focus, .cta-primary:focus {
  box-shadow: 0 0 0 2px #D1B46A44;
}

/* MICRO INTERACTION: Cards hover effect handled above */

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 2001;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #1F2937;
  color: #fff;
  box-shadow: 0 -6px 32px 0 rgba(31,41,55,0.13);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 22px 22px 22px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  transition: transform .30s cubic-bezier(.43,0,.31,1.07), opacity 0.28s;
  opacity: 0.98;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  padding: 8px 18px;
  font-size: 0.98rem;
  border-radius: 24px;
  border: none;
  min-width: 120px;
}
.cookie-banner .accept {
  background: #D1B46A;
  color: #1F2937;
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ceb06c;
}
.cookie-banner .reject {
  background: #fff;
  color: #1F2937;
  border: 1px solid #D1B46A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F4F1ED;
}
.cookie-banner .settings {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  min-width: 110px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #1F2937;
  color: #D1B46A;
  border-color: #D1B46A;
}
@media (max-width:880px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 19px 5px 17px 9px; font-size: 0.97rem; }
  .cookie-banner .cookie-text { margin-bottom: 10px; margin-right: 0; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 7px; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,55,0.30);
  z-index: 2201;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation: fadeInOverlay 0.18s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1F2937;
  box-shadow: 0 8px 40px 0 rgba(31,41,55,0.22);
  border-radius: 16px;
  max-width: 420px;
  width: 95vw;
  padding: 34px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideIn .22s cubic-bezier(.34,.9,.41,1.13);
}
@keyframes modalSlideIn {
  from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  background: none;
  border: none;
  color: #1F2937;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F1ED;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #D1B46A;
}
.cookie-modal .toggle-disabled {
  filter: grayscale(1) opacity(0.6);
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .save {
  background: #D1B46A;
  color: #1F2937;
  border: none;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #ceb06c;
}
.cookie-modal .cancel {
  background: #fff;
  color: #1F2937;
  border: 1px solid #D1B46A;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #F4F1ED;
}

/* UTILITY */
.sr-only {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Hide .mobile-menu when not active */
.mobile-menu { pointer-events: none; opacity: 0; }
.mobile-menu.active { pointer-events: auto; opacity: 1; }

/* Prevent body scroll when modal/mobile-menu open (handle via JS: e.g. body.menu-open {overflow: hidden}) */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* Accessibility: Focus styles (high contrast) */
:focus-visible { outline: 2px dotted #D1B46A; outline-offset: 2px; }

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