/* ================= 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #23262A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #23262A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #876348;
}
ul, ol {
  padding-left: 1.5em;
  margin: 16px 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

/* ================= VARIABLES ================= */
:root {
  --color-primary: #23262A;
  --color-secondary: #876348;
  --color-accent: #F2F2F2;
  --color-white: #FFF;
  --color-dark: #23262A;
  --color-link-hover: #876348;
  --color-bg-light: #F7F7F7;
  --color-bg-card: #FFF;
  --color-shadow: rgba(35,38,42,0.06);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius-md: 10px;
  --radius-soft: 6px;
  --shadow-card: 0 3px 24px var(--color-shadow);
  --shadow-hover: 0 6px 32px rgba(35,38,42,0.10);
  --transition-fast: 0.2s cubic-bezier(.25,.8,.25,1);
}

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

main {
  flex: 1 0 auto;
  min-height: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: var(--color-white);
  border-bottom: 1px solid #ECECEC;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
}
header img {
  height: 46px;
  width: auto;
}
/* Main Navigation */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  color: var(--color-dark);
  border-bottom: 2px solid transparent;
  transition: border 0.15s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta.primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .025em;
  border: none;
  transition: background .2s, box-shadow .18s;
  box-shadow: 0 2px 12px rgba(35,38,42,0.05);
  margin-left: 16px;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #a67d5d;
  box-shadow: 0 4px 24px rgba(135,99,72,0.13);
}

.cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-align: center;
  transition: background .2s, box-shadow .18s;
  cursor: pointer;
  box-shadow: 0 0.5px 4px rgba(35,38,42,0.06);
}
.cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(135,99,72,0.10);
}

/* Hamburger / Mobile Nav Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-dark);
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-soft);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
  margin-left: 16px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e8e7e7;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(35,38,42,0.89);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.59,.04,.39,1.1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.3rem;
  padding: 18px 24px 0 0;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 38px 0 38px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 8px 4px;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  transition: background .18s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(135,99,72,0.10);
}

/* ================= HERO SECTION ================= */
.hero {
  background: var(--color-accent);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.2rem;
  color: #595959;
  margin-bottom: 10px;
}
.hero .cta {
  margin-top: 10px;
}

/* ================= FLEX LAYOUTS ================= */
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.feature-grid > div,
.service-list > div {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 24px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.feature-grid > div:hover,
.service-list > div:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02);
}

/* Card container for any carousels or lists */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition-fast);
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.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: var(--color-bg-card);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .15s;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--color-dark);
  max-width: 680px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card span {
  font-family: var(--font-display);
  font-weight: 500;
  color: #876348;
  margin-left: 12px;
}

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

/* ================== TEXT/INFO LIST STYLING ================== */
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
}
ul li strong {
  display: inline-block;
  margin-bottom: 2px;
  font-weight: 700;
}

/* Price / meta info */
.price {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.14rem;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
}

/* ================== FOOTER ================== */
footer {
  background: #FAFAFA;
  border-top: 1px solid #ECECEC;
  font-size: 0.96rem;
  color: #8a8d93;
  padding-top: 30px;
  padding-bottom: 30px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #8a8d93;
  font-family: var(--font-body);
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border .17s, color .15s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 180px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .container {
    max-width: 99vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  section {
    padding: 28px 6vw;
    margin-bottom: 32px;
  }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
}

@media (max-width: 520px) {
  html { font-size: 14px; }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  section {padding: 20px 2vw;}
}

/* ================== BUTTONS & FORMS ================== */
button, .cta {
  cursor: pointer;
}
button:active, .cta:active {
  transform: scale(.98);
}
button:disabled, .cta:disabled {
  opacity: 0.75;
  pointer-events: none;
}

/* ================== COOKIES BANNER ================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 101;
  background: var(--color-white);
  box-shadow: 0 -2px 18px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 12px 12px 0 0;
  font-size: 1rem;
  max-width: 1020px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s, transform .33s cubic-bezier(.59,.04,.39,1.12);
}
.cookie-consent-banner.visible {
  transform:translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-message {
  flex: 2 1 360px;
  color: var(--color-dark);
  font-size: 1rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-dark);
  border: none;
  border-radius: var(--radius-soft);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  transition: background .2s, color .18s, box-shadow .15s;
  box-shadow: 0 1px 4px rgba(35,38,42,0.06);
}
.cookie-btn.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn.cookie-accept:hover {
  background: #A07249;
}
.cookie-btn.cookie-reject {
  background: #ECECEC;
  color: #545454;
}
.cookie-btn.cookie-reject:hover {
  background: #d8d8d8;
}
.cookie-btn.cookie-settings {
  background: var(--color-accent);
  color: var(--color-dark);
}
.cookie-btn.cookie-settings:hover,
.cookie-btn:focus {
  background: #e8e7e7;
  color: var(--color-secondary);
}

@media (max-width: 760px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8vw 18px 8vw;
    font-size: 0.97rem;
    max-width: 98vw;
  }
  .cookie-consent-actions {
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }
}

/* ================ COOKIE MODAL / PREFERENCES ================ */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,38,42,0.80);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s cubic-bezier(.59,.04,.39,1.11);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 440px;
  width: 94vw;
  padding: 34px 32px 24px 32px;
  box-shadow: 0 10px 64px rgba(35,38,42,0.23);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: fadeInModal .33s cubic-bezier(.52,.11,.52,1.12);
}
@keyframes fadeInModal {
  from { transform: translateY(40px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #b2b3b6;
  cursor: pointer;
  z-index: 2;
  transition: color .18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-modal h2 {
  margin-bottom: 5px;
  font-size: 1.38rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  width: 100%;
}
.cookie-category-label {
  font-size: 1rem;
  font-family: var(--font-display);
}
.cookie-category .toggle-switch {
  margin-left: 18px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ECECEC;
  border-radius: 24px;
  transition: background .14s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-secondary);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .2s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 23px;
  justify-content: flex-end;
}

@media (max-width: 550px) {
  .cookie-modal-content { padding: 21px 7vw 18px 7vw; }
  .cookie-modal h2 { font-size: 1.12rem; }
}

/* ===================== FORM ELEMENTS ===================== */
input, textarea, select {
  background: var(--color-accent);
  border: 1px solid #dadada;
  border-radius: var(--radius-soft);
  padding: 10px 14px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* ======= SPACING/PADDING FOR UTILITY CLASSES (Margin only for breathing room) ======= */
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 18px; }
.mb-5 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 32px; }
.mt-3 { margin-top: 12px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 14px; }

/* ===================== MINIMALIST STYLING DETAILS ===================== */
section, .card, .testimonial-card, .feature-grid > div, .service-list > div {
  background: none;
}
section {
  border-radius: var(--radius-md);
}
/* Subtle lines between sections if needed */
section + section {
  border-top: 1px solid #f0f0f1;
}

hr {
  height: 1px;
  border: none;
  background: #E8E8EC;
  margin: 32px 0;
}

/* ============= MICRO-INTERACTIONS ============= */
a, button, .cta {
  transition: color .17s, background .19s, box-shadow .18s, border .14s, transform .12s;
}

.card:hover, .feature-grid > div:hover, .service-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(35,38,42,0.17);
  transform: translateY(-2px) scale(1.01);
}

/* ============= MISCELLANEOUS ============= */
::-webkit-input-placeholder { color: #b8b8bb; }
::-moz-placeholder { color: #b8b8bb; }
:-ms-input-placeholder { color: #b8b8bb; }
::placeholder { color: #b8b8bb; }

/* ============= PRINT SUPPORT ============= */
@media print { 
  header, footer, .cookie-consent-banner, .mobile-menu { display: none!important; }
  section, .container { background: #fff!important; box-shadow: none!important; }
}

/* ============= HIDE UNWANTED OUTLINE ============= */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* END OF CSS */
