/* =========================
   CSS RESET & NORMALIZE
========================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2D3540;
  background: #F4F3EE;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2D3540;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B2A86E;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.25em;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2D3540;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
p {
  margin-bottom: 12px;
  color: #2D3540;
  font-size: 1.08rem;
}
small, .footer small {
  font-size: 0.9rem;
  color: #646870;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* =========================
   BRAND COLORS & UTILITIES
========================= */
:root {
  --primary: #2D3540;
  --secondary: #B2A86E;
  --accent: #F4F3EE;
  --text: #2D3540;
  --gold: #B2A86E;
  --white: #fff;
  --black: #15181C;
  --border: #E0DED8;
  --shadow: 0 2px 16px rgba(180,168,110,0.08);
}

/* ===========
   CONTAINER
============== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========
   HEADER
============== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(45,53,64,0.04);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 19px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  background: rgba(178,168,110,0.1);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 105;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--gold);
  color: var(--white);
}

/* =============================
   MOBILE MENU (Burger Overlay)
============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45,53,64,0.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.68,.33,.33,.98);
  padding: 0 40px;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 28px;
  margin-bottom: 28px;
  margin-left: auto;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 14px;
  align-self: flex-end;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gold);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 14px 0 9px 0;
  border-bottom: 1px solid rgba(244,243,238,.1);
  text-align: left;
  border-radius: 7px;
  outline: none;
  transition: color 0.2s, background 0.18s;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: rgba(178,168,110,0.15);
}

/* HIDE NAV FOR MOBILE, SHOW BURGER */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* =============================
   HERO SECTIONS
============================= */
.hero {
  background: linear-gradient(102deg, #F4F3EE 85%, #B2A86E 100%);
  padding: 64px 0 48px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 32px rgba(45,53,64,.10);
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.16rem;
  margin-bottom: 0;
  color: var(--primary);
}
@media (max-width: 768px) {
  .hero { padding: 44px 0 34px 0; }
  .hero .content-wrapper { gap: 18px; }
  .hero h1 { font-size: 1.4rem; }
}

/* =====================
   SECTIONS & WRAPPERS
====================== */
section {
  padding: 0;
  margin: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 28px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .content-wrapper { gap: 32px; }
}

.feature-grid, .service-overview, .service-list, .tips-list, .category-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .service-overview > div, .service-list > div, .tips-list > div, .category-list > div {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.2s;
  border: 1px solid var(--border);
  position: relative;
}
.feature-grid > div:hover, .service-overview > div:hover, .service-list > div:hover, .tips-list > div:hover, .category-list > div:hover {
  box-shadow: 0 8px 32px rgba(178,168,110,0.16);
  transform: translateY(-3px) scale(1.04);
  z-index: 9;
}
.feature-grid > div img, .service-overview > div img, .service-list > div img {
  height: 49px;
  margin-bottom: 17px;
}
.feature-grid h3, .service-list h3, .service-overview h3, .tips-list h3, .category-list h3 {
  font-size: 1.14rem;
  color: var(--primary);
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.feature-grid p, .service-list p, .service-overview p, .category-list p, .tips-list p {
  color: var(--primary);
  font-size: 1rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.08rem;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-grid, .service-overview, .service-list, .tips-list, .category-list, .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Special CTA Sections */
.cta-section, .thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.cta-section .content-wrapper, .thankyou-section .content-wrapper {
  align-items: flex-start;
  margin: 0 auto;
  max-width: 600px;
}
.cta-section h2, .thankyou-section h1 {
  color: var(--primary);
  margin-bottom: 10px;
}
.cta-section ul, .thankyou-section ul {
  margin-bottom: 16px;
}

/* ================
   CARD PATTERNS
================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--border);
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(178,168,110,0.14);
  transform: translateY(-2px) scale(1.03);
  z-index: 6;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ================
   TESTIMONIALS
================= */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 6px 28px rgba(45,53,64,0.10);
  border: 1.5px solid #F0E9D2;
  width: 320px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.18s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border: 1.5px solid var(--gold);
  box-shadow: 0 10px 36px rgba(178,168,110,0.18);
  transform: scale(1.04);
  z-index: 8;
}
.testimonial-stars {
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: -7px;
}
.testimonial-card p {
  color: #2D3540;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  margin-bottom: 0;
}
.testimonial-author {
  color: #696436;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
}

@media (max-width: 980px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card { width: 100%; min-width: unset; }
}

/* ================
   BUTTONS & CTAs
================= */
.cta-btn, .cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 32px;
  border: none;
  padding: 0.75em 2.2em;
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(178,168,110,0.12);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-top: 6px;
  text-shadow: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.cta-btn.primary {
  background: var(--primary);
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f7f5ea;
  color: var(--gold);
  box-shadow: 0 6px 18px rgba(178,168,110,0.15);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ===================
   FOOTER
=================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  opacity: 0.93;
  padding: 4px 10px;
  border-radius: 13px;
  transition: background 0.22s, color 0.15s;
  text-decoration: none;
}
footer nav a:hover, footer nav a:focus {
  background: var(--gold);
  color: var(--primary);
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 8px;
}
.brand-footer img {
  height: 32px;
  border-radius: 8px;
}
.footer small, .brand-footer small {
  color: #e5e1cd;
  font-size: 0.97rem;
  opacity: 0.85;
}

/* =============================
   FLEXBOX FEATURED CSS FROM BRIEF
============================= */
/*- .section { margin-bottom: 60px; padding: 40px 20px; } (above)
  - .card-container { display: flex; flex-wrap: wrap; gap: 24px; }
  - .card { margin-bottom: 20px; position: relative; } (above)
  - .content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; } (above)
  - .text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; } (above)
  - .testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; } (above)
  - .feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; } (below)
*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ====================
   RESPONSIVE DESIGN
==================== */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .section, .cta-section, .thankyou-section {
    padding: 34px 8px;
    border-radius: 14px;
    margin-bottom: 44px;
  }
  footer .container { padding: 0 10px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  .testimonial-card {
    padding: 23px 10px 19px 10px;
    font-size: 0.99rem;
  }
  .feature-grid > div, .service-overview > div, .service-list > div, .category-list > div, .tips-list > div {
    padding: 16px 10px 12px 10px;
    min-width: unset;
  }
  .cta-btn, .cta-btn.primary {
    font-size: 0.97rem;
    padding: 0.58em 1.3em;
  }
  .hero .content-wrapper { padding: 0 3px; }
  .brand-logo img { height: 39px; }
  footer{
    padding: 20px 0 11px 0;
  }
  .brand-footer img {
    height: 22px;
  }
}

/* ===============
   ACCESSIBILITY
================ */
:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =============================
   ADD MICRO-INTERACTIONS
============================= */
.card, .feature-grid > div, .service-overview > div, .service-list > div, .testimonial-card, .cta-btn {
  transition: box-shadow 0.2s, transform 0.16s, border 0.14s;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  box-shadow: 0 -4px 18px rgba(45,53,64,0.11);
  border-top: 2px solid var(--gold);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 30px 22px 30px;
  font-size: 1.07rem;
  max-width: 690px;
  margin: 0 auto 22px auto;
  border-radius: 18px 18px 0 0;
  animation: fadeInUp 0.4s cubic-bezier(.6,.1,.2,1);
}
@media (max-width: 900px) {
  .cookie-banner { flex-direction: column; gap: 18px; padding: 14px 10px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
  color: var(--primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 21px;
  border: none;
  padding: 7px 19px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
  margin-left: 0;
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2D3540;
  color: #fff;
}
.cookie-btn.secondary {
  background: #eae6d2;
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ---- Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 96vw;
  max-width: 400px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 36px rgba(45,53,64,0.19);
  padding: 34px 24px 24px 24px;
  z-index: 20000;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 1.06rem;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--gold);
  width: 19px;
  height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-modal .category-essential {
  color: #8B8700;
  font-weight: 500;
  font-size: 1.03rem;
}

.cookie-modal .cookie-close {
  background:none;
  border:none;
  color:var(--gold);
  font-size:1.5rem;
  position:absolute;
  top:17px;
  right:20px;
  cursor:pointer;
  padding:3px 8px; 
  border-radius:7px;
}
.cookie-modal .cookie-close:hover,.cookie-modal .cookie-close:focus{
  background:var(--gold);
  color:var(--primary);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 18000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(45,53,64,.41);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.32s;
  display: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  display: block;
}


/* =====================
   MISCELLANEOUS
===================== */
blockquote {
  border-left: 4px solid var(--gold);
  background: #f7f6f0;
  padding: 13px 18px;
  border-radius: 10px;
  margin-bottom: 15px;
  color: #44400d;
  font-size: 0.99rem;
  font-style: italic;
}

pre, code {
  font-family: 'Roboto Mono', monospace;
  background: #e7e3c7;
  color: #313513;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 0.98em;
}

hr {
  border: 0;
  border-top: 1px solid #e5e0c8;
  margin: 28px 0;
}

/* ================================
   FORMS (for contact/messages)
================================ */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid #dcd6b2;
  outline: none;
  background: #fff;
  color: var(--primary);
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* ================================
   TYPOGRAPHY HIERARCHY (SCALES)
================================ */
.display {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.012em;
}

/* ================================
   HIGH CONTRAST IN TESTIMONIALS
================================ */
.testimonial-card, .testimonials .testimonial-card p, .testimonials .testimonial-card .testimonial-author {
  color: #232300;
  background: #fff;
  border: 1.5px solid #efe4bc;
}

/* ================================
   CONTENT TOGGLE FOR FAQ, ETC
================================ */
.faq-teaser {
  background: var(--accent);
  padding: 22px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(178,168,110,.06);
}

/* ================================
   SPECIAL CLASSES FOR CATEGORY & SERVICE HIGHLIGHTS
================================ */
.category-list, .service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.category-list > div, .service-highlights ul {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.service-highlights ul {
  list-style: disc inside;
  padding-left: 0;
}
.service-highlights .cta-btn {
  margin-top: 18px;
}

/* =======================
   PRINT & SELECTION STYLES
======================== */
::selection {
  background: #B2A86E;
  color: #fff;
}

@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff;
    color: #222;
  }
}
