/* 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-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F5F5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1F2833;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #1F2833;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C0B283;
  outline-offset: 2px;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1F2833;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4, h5, h6 { font-size: 1.15rem; }
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #262626;
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.25rem;
  color: #C0B283;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

strong {
  font-weight: 700;
  color: #1F2833;
}

/* PRIMARY COLORS */
:root {
  --color-primary: #1F2833;
  --color-secondary: #C0B283;
  --color-accent: #F5F5F5;
  --color-gold: #C0B283;
  --color-dark: #1F2833;
  --color-white: #FFFFFF;
  --color-grey: #e5e5e5;
  --color-border: #ded9ce;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(31,40,51,0.05);
  padding: 0 0 0 0;
  border-bottom: 1px solid #eaeaea;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  color: var(--color-dark);
  border-radius: 4px;
  position: relative;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
  background: rgba(192,178,131,0.06);
}
.logo {
  height: 48px;
  width: auto;
}

.cta-btn {
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  padding: 13px 32px;
  font-size: 1.1rem;
  border: none;
  border-radius: 28px;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(192,178,131, 0.09);
  text-shadow: 0 0 2px #fff9;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  position: relative;
  z-index: 2;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #a89361;
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,178,131, 0.16);
}

/* SECTION SPACING & LAYOUT (per requirements) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(31,40,51,0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(31,40,51,0.06);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.20s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(192,178,131,.16);
  transform: translateY(-2px) scale(1.012);
}

.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 {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(192,178,131, 0.06);
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(192,178,131, 0.16);
  transform: translateY(-3px);
}
.testimonial-card p {
  color: var(--color-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #62573c;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px #c0b28311;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-gold);
}

/* Feature grid for index: custom rule */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 340px;
  background: #fcfbf7;
  border-radius: 13px;
  padding: 24px 20px 20px 20px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #c0b28315;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 3px 14px #c0b28327;
}
.feature-grid img {
  width: 42px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: var(--color-gold);
  font-size: 1.12rem;
  margin-bottom: 5px;
}

/* Text Section/Columns */
.text-section {
  margin-bottom: 22px;
  padding: 0;
}
.text-section ul {
  margin-bottom: 8px;
}
.text-section li {
  margin-bottom: 6px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.text-section li img {
  width: 20px;
}

/* Cards and articles */
article {
  background: #fff;
  padding: 24px 22px 16px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 12px #1F283308;
  margin-bottom: 18px;
  border: 1px solid #ede9dd;
}

/* --- Lists and Details --- */
ul, ol {
  margin-bottom: 14px;
  margin-top: 10px;
  padding-left: 20px;
}
ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}

/* --- Footer --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 48px 0 12px 0;
  margin-top: 70px;
  position: relative;
  z-index: 4;
}
footer .container {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: column;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--color-gold);
}
.footer-contact {
  font-size: 1rem;
  color: var(--color-accent);
  font-family: 'Roboto', sans-serif;
  opacity: 0.92;
}
.footer-contact p{
  color: white;
}
footer img {
  max-width: 56px;
  border-radius: 10px;
  margin-bottom: 5px;
}

/* --- Navigation: Mobile Burger Menu --- */
.mobile-menu-toggle {
  position: fixed;
  right: 20px;
  top: 18px;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  color: var(--color-dark);
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  transition: box-shadow 0.17s, border 0.18s;
  box-shadow: 0 2px 8px #c0b28333;
  outline: none;
  display: none;
}
.mobile-menu-toggle:focus {
  box-shadow: 0 0px 0px 4px #F5F5F5, 0 0 6px 2px #c0b28399;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.65,0,.37,1); /* smooth slide */
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.6rem;
  color: var(--color-gold);
  margin: 10px 0 16px 20px;
  cursor: pointer;
  z-index: 10;
  align-self: flex-start;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff7cc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 36px;
  padding-top: 16px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  margin-bottom: 5px;
  transition: color 0.17s, background 0.15s;
  border-radius: 7px;
  padding: 11px 10px 11px 4px;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: #262017;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #191b1e;
  color: #f5f5f5;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 28px 24px 24px 24px;
  z-index: 1200;
  box-shadow: 0 -1px 12px #1F283333;
  font-size: 1rem;
  transition: transform 0.25s;
  border-top: 2px solid #C0B283;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 300px;
  font-family: 'Roboto', sans-serif;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
  outline: none;
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #a89361;
  color: #fff;
}
.cookie-btn.reject {
  background: #23262b;
  color: var(--color-gold);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #675813;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-gold);
  color: #222;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1330;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31,40,51,0.67);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  padding: 38px 30px 24px 30px;
  min-width: 310px;
  max-width: 96vw;
  box-shadow: 0 8px 32px #1F283333;
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #23262b;
  position: relative;
}
.cookie-modal h3 {
  color: var(--color-gold);
  font-size: 1.36rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal-category input[type='checkbox']{
  accent-color: var(--color-gold);
  width: 22px;
  height: 22px;
}
.cookie-modal .essential {
  color: #7a6d48;
  font-weight: 500;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 14px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #cccccc;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #bca463;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .container { max-width: 980px; }
  .feature-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 720px; }
  .footer-nav {
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 54px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card-container,
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 20px 14px;
    min-width: 0;
  }
  .feature-grid>div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .section {
    padding: 20px 10px;
    margin-bottom: 34px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.22rem; }
  .section {
    padding: 15px 2px;
    gap: 10px;
  }
  .card { padding: 11px 4px; }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 20px 7px 18px 7px; }
  .cookie-banner .cookie-banner-actions { flex-direction: column; gap: 9px; margin-top: 6px; }
  .cookie-modal {
    padding: 18px 5px 14px 7px;
    min-width: 0;
    font-size: 0.98rem;
    gap: 10px;
  }
  .mobile-nav {
    padding-left: 14px;
  }
}

/* --- Animations / Micro-interactions --- */
.cta-btn, .card, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.18s, background 0.2s, color 0.18s, transform 0.18s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}
.card:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* --- Utility Classes --- */
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.rounded-full { border-radius: 9999px !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }

/* --- Accessibility: Focus ring for all interactive --- */
:focus-visible {
  outline: 2.5px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- Hide main-nav when mobile menu is open --- */
body.mobile-menu-open header .main-nav,
body.mobile-menu-open .cta-btn {
  display: none !important;
}

/* --- Z-index for critical overlays --- */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 2000;
}

/* --- Hide cookie-banner when accepted --- */
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
/* --- Hide cookie-modal by default --- */
.cookie-modal-overlay {
  visibility: hidden;
  opacity: 0;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
