/* =================================================================
   CSS RESET & BASE 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 {
  scroll-behavior: smooth;
  background: #E9E7E0;
}
body {
  background: #E9E7E0;
  color: #232839;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
:focus {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* =================================================================
   FONT FACE
   ================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

/* =================================================================
   COLOR & DESIGN TOKENS
   ================================================================= */
:root {
  --brand-primary: #232839;
  --brand-secondary: #E9E7E0;
  --brand-accent: #2CAA9F;
  --gold: #D4AF37;
  --gold-light: #EFE4BF;
  --offwhite: #FAF9F6;
  --gray: #7C7B8B;
  --black: #181A20;
  --border-radius: 16px;
  --shadow-light: 0 4px 24px 0 rgba(35,40,57,0.08);
  --shadow-medium: 0 8px 32px 0 rgba(35,40,57,0.12);
  --transition: 0.24s cubic-bezier(.65,.05,.36,1);
}

/* =================================================================
   STRUCTURE & CONTAINER
   ================================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.text-section ul {
  margin-top: 16px;
  margin-bottom: 0;
  list-style: disc inside;
  color: var(--gray);
  font-size: 16px;
  text-align: left;
}
.text-section ul li {
  margin-bottom: 6px;
}

/* =================================================================
   TYPOGRAPHY
   ================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232839;
}
p {
  margin-bottom: 18px;
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
}
.category-label {
  display: inline-block;
  background: var(--gold-light);
  color: var(--brand-primary);
  border-radius: 8px;
  font-size: 15px;
  padding: 3px 12px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

/* Link styling & cta-btn */
a.cta-btn, .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 30px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(212,175,55,0.09);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-sizing: border-box;
  margin-top: 10px;
  outline: none !important;
}
.cta-btn:hover, a.cta-btn:hover {
  background: var(--brand-primary);
  color: var(--gold);
  box-shadow: 0 2px 12px 0 rgba(35,40,57,0.14);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn:active {
  transform: scale(0.98);
}

/* Button reset for mobile & cookies */
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  color: inherit;
}

/* =================================================================
   HEADER & NAVIGATION
   ================================================================= */
header {
  width: 100%;
  background: var(--offwhite);
  box-shadow: 0 2px 16px 0 rgba(35,40,57,0.04);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
  position: relative;
}
header a img {
  height: 46px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 1.04rem;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color var(--transition);
  border-radius: 6px;
  z-index: 2;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(212,175,55,0.09);
}

.main-nav .cta-btn {
  margin-left: 6px;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px 0 rgba(212,175,55,0.08);
}

/* HIDE mobile elements (burger) on desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  margin-left: 22px;
  z-index: 31;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--gold);
}

/* =================================================================
   MOBILE NAVIGATION
   ================================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(94deg, var(--offwhite) 80%, #fcf9ee 100%);
  box-shadow: -6px 0 40px 0 rgba(35,40,57,0.12);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  margin: 32px 0 24px 22px;
  font-size: 2.0rem;
  color: var(--brand-primary);
  transition: color var(--transition);
  background: none;
}
.mobile-menu-close:hover {
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 500;
  padding: 10px 0;
  color: var(--brand-primary);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a.cta-btn {
  margin-top: 16px;
  max-width: 220px;
  align-self: flex-start;
}
.mobile-nav a:hover {
  color: var(--gold);
  background: rgba(212,175,55,0.07);
}

/* =================================================================
   HERO SECTIONS (index, about, others)
   ================================================================= */
section:first-of-type {
  padding-top: 42px;
}

/* =================================================================
   FEATURE GRID, CARDS, SERVICES
   ================================================================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
}
.feature-grid li {
  background: #FAF9F6;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 32px 22px 25px 22px;
  min-width: 210px;
  min-height: 160px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  border: 1.5px solid #ede7d3;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.feature-grid li:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 28px 0 rgba(212,175,55,.16);
  transform: translateY(-3px) scale(1.019);
}
.feature-grid li img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  filter: grayscale(0) brightness(1.04) drop-shadow(0 1px 0.1px #ccc08f30);
}
.feature-grid li h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 30px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 260px;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid #ecdfc0;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 36px 0 rgba(212,175,55,.16);
  transform: translateY(-4px) scale(1.021);
}
.service-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  filter: grayscale(0) brightness(1.03) drop-shadow(0 1px 0.1px #d2c26940);
}
.service-card h3 {
  font-size: 1.02rem;
  color: var(--brand-primary);
}
.service-card .service-price {
  color: var(--gold);
  font-weight: bold;
  margin-top: 8px;
  font-size: 1.06rem;
}

/* =================================================================
   CARDS, BLOG TEASERS, CONTAINERS
   ================================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  padding: 24px 22px;
  position: relative;
  min-width: 200px;
}
.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;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Blog list */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-teaser {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 26px 22px 22px 22px;
  max-width: 310px;
  min-width: 230px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #ede7d3;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.blog-teaser:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 38px 0 rgba(212,175,55,.17);
  transform: translateY(-5px) scale(1.02);
}
.blog-teaser h3 {
  font-size: 1.11rem;
  margin-bottom: 6px;
  color: var(--brand-primary);
}
.blog-teaser a {
  color: var(--brand-accent);
  font-size: 0.97rem;
  font-weight: 500;
  margin-top: 5px;
  transition: color var(--transition);
}
.blog-teaser a:hover {
  color: var(--gold);
}

/* =================================================================
   TESTIMONIALS / REVIEW CARDS
   ================================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 32px rgba(42, 46, 62, 0.07);
  padding: 20px 32px 24px 32px;
  margin-bottom: 20px;
  color: #232839;
  max-width: 600px;
  border: 1.5px solid #ede7d3;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
  z-index: 1;
}
.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 44px 0 rgba(212,175,55,.16);
  transform: translateY(-4px) scale(1.021);
}
.testimonial-card p {
  color: #232839;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--gray);
  text-align: center;
}
.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.12rem;
  line-height: 1;
}

/* =================================================================
   FOOTER
   ================================================================= */
footer {
  width: 100%;
  background: var(--brand-primary);
  color: #fff;
  padding: 40px 0 0 0;
  font-size: 0.96rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav, .footer-legal, .footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 8px;
  align-items: center;
}
.footer-nav a,
.footer-legal a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
  opacity: 0.92;
  transition: color var(--transition), opacity var(--transition);
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--gold);
  opacity: 1;
}
.footer-contact p {
  color: #efefef;
  margin-bottom: 2px;
  font-size: 1rem;
}
.footer-contact {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.social-media {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-media a img {
  width: 24px;
  height: 24px;
  filter: grayscale(0) brightness(1.09);
  opacity: 0.93;
  transition: filter var(--transition), opacity var(--transition);
}
.social-media a:hover img {
  filter: brightness(1.07) drop-shadow(0 1px 3px #D4AF37cc);
  opacity: 1;
}
footer p:last-child {
  color: #d8d5c2;
  padding: 18px 0 18px 0;
  text-align: center;
  font-size: 0.89rem;
  letter-spacing: .025em;
}

/* =================================================================
   CONTACT DETAILS LIST
   ================================================================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 6px 0;
  font-size: 1rem;
}
.contact-details a {
  color: var(--gold);
  text-decoration: underline;
}
.contact-details a:hover {
  color: var(--brand-accent);
}

/* =================================================================
   COOKIE CONSENT BANNER
   ================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 -4px 18px 0 rgba(35,40,57,0.08);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 24px;
  padding: 22px 18px;
  font-size: 1rem;
  opacity: 1;
  visibility: visible;
  transition: opacity .2s, visibility .2s;
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 320px;
  color: #fff;
  margin: 0;
  font-size: 1.03rem;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  background: var(--gold);
  color: var(--brand-primary);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 32px;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn:hover {
  background: var(--offwhite);
  color: var(--gold);
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn-secondary {
  background: #222534;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  margin-left: 8px;
  padding: 8px 26px;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn-secondary:hover {
  background: var(--brand-primary);
  color: var(--gold);
  border: 1.5px solid var(--gold-light);
}

/* Cookie preference modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,40,57,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  opacity: 1;
  pointer-events: all;
  transition: opacity .2s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-medium);
  padding: 36px 38px 30px 38px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  margin: 0 16px;
}
.cookie-modal-dialog h3 {
  color: var(--brand-primary);
  font-size: 1.14rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  background: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: 13px;
  width: 38px;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}
.cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(212,175,55,.12);
  position: absolute;
  top: 2px;
  left: 3px;
  transition: left var(--transition);
}
.cookie-toggle input:checked + span {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 12px;
  font-size: 1.7rem;
  color: var(--brand-primary);
  background: none;
}
.cookie-modal-close:hover {
  color: var(--gold);
}

/* =================================================================
   RESPONSIVE DESIGN & FLEXBOX ADAPTATION
   ================================================================= */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-cards,
  .blog-list {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav, .footer-legal {
    gap: 16px 18px;
  }
}
@media (max-width: 768px) {
  /* Header/nav */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    min-height: 64px;
    gap: 10px;
  }
  /* Section paddings */
  .section {
    padding: 28px 10px;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section {
    gap: 28px;
  }
  h1 {
    font-size: 1.67rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.27rem;
    margin-bottom: 16px;
  }
  .feature-grid, .service-cards, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-card, .blog-teaser {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 19px 12px 14px 12px;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 18px 6vw 16px 6vw;
  }
  .footer-nav, .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
  }
  .footer-contact {
    gap: 2px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    padding: 14px 6px;
    font-size: 0.97rem;
  }
  .cookie-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }
  .cookie-modal-dialog {
    padding: 24px 8vw 20px 8vw;
    max-width: 98vw;
    font-size: 0.98rem;
  }
}

/* =================================================================
   SCROLLBAR & SELECTION
   ================================================================= */
::-webkit-scrollbar { width: 10px; background: #ece6db; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 10px; }
::selection { background: #D4AF37; color: #232839; }

/* =================================================================
   MICRO INTERACTIONS / ANIMATION
   ================================================================= */
section, .card, .testimonial-card, .blog-teaser, .feature-grid li, .service-card {
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition), background var(--transition);
}
a, button {
  transition: color var(--transition), background var(--transition), opacity var(--transition), border var(--transition), transform var(--transition);
}

/* =================================================================
   OVERRIDES & SPECIAL CASES
   ================================================================= */
/* Ensure interactive states */
a:active, button:active { opacity: 0.7; }

/* Spacing rules for content blocks */
main > section {
  margin-bottom: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

/* FEATURE-ITEM utility (used for custom features if needed) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* For modals and overlays (z-indexes) */
.mobile-menu,
.cookie-modal {
  z-index: 1000;
}

/* Utility for hiding (for JS) */
.hide { display: none !important; }

/* =================================================================
   END OF CSS
   ================================================================= */
