/* CSS RESET & NORMALIZATION */
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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; display: block; }
button { background: none; border: none; font: inherit; cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }

/* BRAND FONTS & COLORS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Montserrat:wght@400;500;700&display=swap');
:root {
  --color-primary: #222B36;
  --color-secondary: #C0A460;
  --color-accent: #F0EFEF;
  --color-bg: #fff;
  --color-text: #222B36;
  --color-headline: #222B36;
  --color-muted: #A8AAA9;
  --color-border: #E0DFDC;
  --color-card: #F7F6F4;
  --color-shadow: rgba(34, 43, 54, 0.08);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* HEADER */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  font-size: 1rem;
  padding: 6px 0;
  transition: color .18s;
}
nav a.cta {
  background: var(--color-secondary);
  color: #fff !important;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  font-family: var(--font-body);
  margin-left: 12px;
  letter-spacing: .03em;
  transition: background .2s, box-shadow .2s, color .2s;
}
nav a.cta:hover {
  background: #a69050;
  color: #fff;
  box-shadow: 0 4px 24px var(--color-shadow);
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  outline: none;
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 7px;
  margin-left: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background .2s, color .2s;
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #bda05c;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: #fff;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.77,0,.175,1);
  box-shadow: 8px 0 28px var(--color-shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: transparent;
  font-size: 2.0rem;
  padding: 8px 16px;
  margin-top: 28px;
  margin-left: 18px;
  border-radius: 5px;
  z-index: 121;
  transition: background .15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 50px 0 0 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 9px 0;
  transition: color .19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  outline: none;
}
@media (max-width: 1020px) {
  nav { gap: 18px; }
}
@media (max-width: 900px) {
  header .container {
    gap: 16px;
  }
  nav {
    gap: 11px;
  }
}
@media (max-width: 820px) {
  nav, nav a.cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-headline);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.625rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.225rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 600;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0;
  word-break: break-word;
}
strong { font-weight: 700; }
subheadline, .subheadline {
  font-size: 1.18rem;
  color: var(--color-muted);
  margin-bottom: 8px;
  display: block;
}
a {
  color: var(--color-primary);
  transition: color .15s;
}
a:focus { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
a:visited { color: var(--color-primary); }

/* SPACING & SECTION STYLES */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 600px) {
  section, .section { padding: 27px 6px; margin-bottom: 38px; }
}
.section:last-child,
section:last-child {
  margin-bottom: 0;
}

/* HERO SECTION */
.hero {
  padding-top: 50px;
  padding-bottom: 50px;
  background: var(--color-accent);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 64px 0 var(--color-shadow);
}
.hero h1 {
  color: var(--color-headline);
  font-size: 2.8rem;
}
.hero .subheadline {
  margin-bottom: 16px;
  font-size: 1.22rem;
  color: var(--color-muted);
}
@media (max-width: 768px) {
  .hero { padding: 33px 0 40px 0; }
  .hero h1 { font-size: 2.0rem; }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px 22px;
  min-width: 265px;
  flex: 1 1 260px;
  transition: box-shadow .23s;
}
.card:hover {
  box-shadow: 0 4px 28px var(--color-shadow);
}
.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;
  background: #f4f3ef;
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  color: var(--color-text);
  flex-direction: column;
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px var(--color-shadow);
}
.testimonial-card span {
  color: var(--color-secondary);
  font-style: italic;
  font-size: 0.98rem;
  margin-top: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid specific for cards & icons */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 8px;
}
.feature-grid > div {
  background: var(--color-card);
  border-radius: 15px;
  box-shadow: 0 1px 6px var(--color-shadow);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 23px 24px 23px;
  transition: box-shadow .19s;
}
.feature-grid > div img {
  height: 45px; margin-bottom: 13px;
}
.feature-grid > div:hover {
  box-shadow: 0 3px 16px var(--color-shadow);
}

@media (max-width: 1000px) {
  .feature-grid {
    gap: 17px;
  }
}
@media (max-width: 800px) {
  .feature-grid { flex-direction: column; gap: 20px; }
  .feature-grid > div { width: 100%; max-width: 560px; }
  .card-container,
  .content-grid { flex-direction: column; gap: 16px; }
  .card, .testimonial-card { min-width: 0; max-width: 100%; }
}

@media (max-width: 600px) {
  .feature-grid > div { padding: 18px 8px 15px 8px; }
}

/* FAQ Preview & Cards */
.faq-preview {
  background: var(--color-card);
  border-radius: 15px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 23px 18px 20px 18px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.faq-preview ul {
  margin-bottom: 0;
  padding-left: 0;
}
.faq-preview ul li {
  margin-bottom: 9px;
}
.faq-preview a.cta {
  align-self: flex-start;
  margin-top: 5px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 18px;
}
.faq h2 {
  font-size: 1.27rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}

/* BUTTONS & CTA */
.cta, .btn {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 29px;
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
  letter-spacing: .02em;
  transition: background .23s, color .18s, box-shadow .17s, transform .14s; 
}
.cta:active, .btn:active {
  transform: scale(0.98);
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus {
  background: #a69050;
  color: #fff;
  box-shadow: 0 4px 28px var(--color-shadow);
}

/* TABLES (Pricing page) */
table {
  width: 100%;
  background: var(--color-card);
  border-radius: 17px;
  box-shadow: 0 2px 12px var(--color-shadow);
  overflow: hidden;
  margin-bottom: 32px;
  font-size: 1rem;
}
thead {
  background: var(--color-accent);
}
table th, table td {
  padding: 14px 16px;
  text-align: left;
}
thead th {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-primary);
}
tbody td {
  font-family: var(--font-body);
  color: var(--color-text);
}
tr:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

/* CONTACT DETAILS LIST */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 0;
  margin-bottom: 0;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 1.03rem;
}
.contact-details img {
  height: 20px; width: 20px;
  opacity: .75;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}
.map-placeholder img { height: 48px; width: 48px; }

/* FOOTER */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px var(--color-shadow);
  margin-top: 44px;
  padding: 37px 0 30px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
}
footer nav {
  gap: 21px;
}
footer nav a {
  color: var(--color-muted);
  font-size: 0.99rem;
}
footer nav a:hover {
  color: var(--color-secondary);
}
footer .contact-details {
  margin-left: auto;
  padding-left: 36px;
  border-left: 1.5px solid var(--color-border);
  font-size: 0.99rem;
  color: var(--color-muted);
}
footer .container > a img {
  height: 32px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer .contact-details {
    border: none;
    padding-left: 0;
    margin-left: 0;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: var(--color-text);
  box-shadow: 0 -2px 32px var(--color-shadow);
  padding: 26px 15px;
  z-index: 130;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.98rem;
  transition: transform .42s cubic-bezier(.77,0,.175,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 0;
  max-width: 550px;
}
.cookie-banner .cookie-btn {
  margin-right: 10px;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 10px 22px;
  border: none;
  margin: 2px 6px 2px 0;
  box-shadow: 0 1px 7px var(--color-shadow);
  transition: background .2s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #a69050;
  color: #fff;
  outline: none;
}
.settings-btn {
  background: #E0DFDC;
  color: var(--color-primary);
  margin-left: 10px;
  font-weight: 600;
  transition: background .19s, color .19s;
}
.settings-btn:hover, .settings-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(34, 43, 54, 0.28);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 44px var(--color-shadow);
  padding: 36px 30px 27px 26px;
  max-width: 420px;
  width: 100%;
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-modal .category-label {
  flex: 1 1 0;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.0rem;
}
.cookie-modal .toggle-btn {
  width: 40px;
  height: 23px;
  border-radius: 13px;
  border: none;
  background: #e0dfdc;
  position: relative;
  cursor: pointer;
  transition: background .2s;
}
.cookie-modal .toggle-btn[aria-checked="true"] {
  background: var(--color-secondary);
}
.cookie-modal .toggle-btn::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
}
.cookie-modal .toggle-btn[aria-checked="true"]::before {
  left: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  margin-right: 0;
}

@media (max-width: 560px) {
  .cookie-modal {
    padding: 14px 8px 20px 8px;
    max-width: 90vw;
  }
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.98rem;
    padding: 14px 5vw;
  }
}

/* RESPONSIVE -- MOBILE-FIRST */
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
    padding-left: 11px;
    padding-right: 11px;
  }
}
@media (max-width: 900px) {
  html { font-size: 15px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.45rem; }
  .content-wrapper, .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
  .text-image-section,
  .content-grid,
  .card-container,
  .section, section {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    padding-top: 24px; padding-bottom: 32px;
  }
  .feature-grid {
    gap: 13px !important;
  }
  nav, nav a.cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card,
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 8px;
  }
  .feature-grid > div { padding: 17px 8px; }
  .faq-preview { padding: 13px 6px 12px 6px; }
  .cookie-banner { padding: 8px 2vw; }
}

@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  .hero h1 { font-size: 1.25rem; }
}
@media (max-width: 400px) {
  html { font-size: 13px; }
  .cta, .btn { padding-left: 11px; padding-right: 11px; }
}

/* TRANSITIONS & MICRO-INTERACTIONS */
div, section, .card, .feature-grid > div, .testimonial-card, .faq-preview, .hero, table, .cta, .btn, .mobile-menu, .mobile-menu-close, .mobile-nav a, .cookie-banner, .cookie-modal {
  transition: box-shadow .19s, background .16s, color .13s, border .14s;
}

/* HIDE & ACCESSIBILITY */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* OVERRIDES & EXTRAS */
::-webkit-input-placeholder { color: var(--color-muted); opacity: 1; }
::-moz-placeholder { color: var(--color-muted); opacity: 1; }
:-ms-input-placeholder { color: var(--color-muted); opacity: 1; }
::placeholder { color: var(--color-muted); opacity: 1; }

/* Prevent overlapping */
.card, .testimonial-card, .faq-preview, .feature-grid > div, .section, section {
  margin-bottom: 20px;
}
.section:last-child,
section:last-child,
.card:last-child,
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* ENSURE FLEXBOX ONLY (no grid/columns used anywhere)*/