/* --- CSS RESET & BASE TYPOGRAPHY --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body, html { min-height: 100%; }
body {
  background: #F5F7F9;
  color: #232523;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; padding-left: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; color: #23313B; }
h2 { font-size: 2rem; color: #286674; }
h3 { font-size: 1.25rem; color: #347641; }
.subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #4c595f;
  margin-bottom: 18px;
}
img { max-width: 100%; display: block; height: auto; border-radius: 8px; }
strong, b { font-weight: 700; }

/* Luxury Premium Aesthetic: Colors & Details */
:root {
  --brand-primary: #286674;
  --brand-secondary: #ffffff;
  --brand-accent: #347641;
  --gold: #D5B87A;
  --bg-section: #FBFBFA;
  --bg-card: #ffffff;
  --text-main: #232523;
  --text-light: #64717e;
  --shadow: 0 8px 32px 0 rgba(40, 102, 116, 0.07);
  --border-radius: 18px;
}

/* Container and Spacing Patterns */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--border-radius);
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

/* Flex Layouts: Premium Spacing */
.card-container, .feature-grid, .service-grid, .diy-project-grid, .article-preview-grid, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item, .service-card, .diy-project, .project-card, .faq-item {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid rgba(213, 184, 122, 0.18);
}
.card:last-child,
.feature-item:last-child,
.service-card:last-child,
.diy-project:last-child,
.project-card:last-child,
.faq-item:last-child {
  margin-bottom: 0;
}
.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;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(40, 102, 116, 0.07);
  border: 1.5px solid rgba(213, 184, 122, 0.15);
  min-width: 270px;
  flex: 1 1 280px;
  color: #23313B;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #234150;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1rem;
}

/* Mandatory Flex Patterns for Features */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 250px;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1.2px solid #ece3ca;
}

/* Luxury Card Look */
.service-card {
  border: 1.5px solid var(--gold);
  background: #faf9f6;
  position: relative;
  transition: box-shadow 0.26s, border-color 0.18s;
}
.service-card:hover {
  box-shadow: 0 6px 32px 0 rgba(213, 184, 122, 0.13), var(--shadow);
  border-color: #ba9d49;
}
.starting-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.03rem;
  margin-top: 12px;
}

/* Tag (difficulty) */
.tag {
  display: inline-block;
  padding: 2px 12px;
  background: var(--brand-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  border-radius: 10px;
  margin-left: 10px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Lists & Articles */
.tips-list, .service-list, .contact-list, .faq-list, .article-categories, .diy-project-grid {
  margin-bottom: 18px;
  gap: 20px;
}
.tips-list li, .service-list li, .contact-list li, .faq-list .faq-item, .article-preview-grid article {
  margin-bottom: 12px;
  line-height: 1.7;
}
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.article-preview-grid article {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  flex: 1 1 300px;
  min-width: 260px;
}
.article-categories {
  font-size: 1rem;
  margin: 10px 0 22px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #97978a;
}

/* CTAs and Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(90deg, var(--gold) 0%, var(--brand-primary) 100%);
  box-shadow: 0 2px 12px 0 rgba(40, 102, 116, 0.09);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.26s, color 0.18s;
  margin-top: 10px;
  border: 1.2px solid var(--gold);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #bfa65d 0%, #124656 100%);
  color: #fffbea;
  box-shadow: 0 4px 24px 0 rgba(40, 102, 116, 0.19);
}

/* LINK Hovers */
a:hover, nav a:focus {
  color: var(--gold);
  text-decoration: underline;
  outline: none;
}

/* Header, Navbar & Mobile Menu */
header {
  background: var(--brand-secondary);
  box-shadow: 0 2px 10px 0 rgba(40, 102, 116, 0.04);
  position: sticky;
  top: 0; z-index: 22;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  position: relative;
}
.logo img { height: 46px; width: auto; }
nav ul {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #286674;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 8px 5px;
  border-radius: 5px;
  transition: background 0.2s, color 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #ecdfc5;
  color: #bfa65d;
}

/* Burger Menu (Mobile) */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 7px 18px;
  font-size: 1.9rem;
  border-radius: 40px;
  box-shadow: 0 2px 12px 0 rgba(40, 102, 116, 0.13);
  z-index: 101;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 12px;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(44,49,56,0.85);
  backface-visibility: hidden;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.55,.1,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 6px 20px 6px 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 30px;
  margin: 32px 0 16px 22px;
  align-self: flex-start;
  z-index: 1101;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(40, 102, 116, 0.13);
  transition: background 0.15s;
}
.mobile-menu-close:focus { outline: 2px solid var(--brand-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 24px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #f4eedd;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.19s, background 0.14s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: #3b493c;
}

/* Hide nav for mobile */
@media (max-width: 992px) {
  nav ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 992px) {
  .cta-btn { display: none; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Main Content and Section Spacing */
main {
  margin: 32px 0 0 0;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child { margin-bottom: 0; }

/* Miscellaneous Content */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item h3 {
  color: var(--brand-primary);
  font-size: 1.12rem;
}
.map-snippet {
  margin: 18px 0 10px 0;
  font-size: 1rem;
  color: #888;
}
.cta-area {
  margin-top: 24px;
}

/* Footer */
footer {
  background: #23313B;
  color: #e1e6eb;
  padding: 40px 0 28px 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.08rem;
}
.footer-brand img {
  height: 38px;
  width: auto;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 36px;
  margin-top: 8px;
}
.footer-menu a {
  color: #d7d7d1;
  font-size: 1.01rem;
  font-weight: 500;
  padding: 2px 0;
  transition: color 0.15s;
}
.footer-menu a:hover { color: var(--gold); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.01rem;
}
.footer-contact img { height: 19px; width: auto; margin-right: 7px; vertical-align: middle; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 24000;
  background: #faf6ef;
  color: #234150;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -2px 24px 0 rgba(213, 184, 122, 0.08);
  padding: 28px 20px 22px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  animation: cookieFadeIn 0.6s;
  font-size: 1rem;
}
.cookie-banner p { margin-right: auto; margin-bottom: 0; }
.cookie-btn, .cookie-btn-alt {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 10px 28px;
  background: var(--gold);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #bfa65d;
  color: #fffbea;
  box-shadow: 0 4px 22px 0 rgba(213,184,122,0.12);
}
.cookie-btn-alt {
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 18px;
  font-size: 1rem;
}
.cookie-btn-alt:hover { background: #ebe7e2; color: #aa8a34; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,49,56,0.43);
  z-index: 25000;
  display: none;
}
.cookie-modal-backdrop.active { display: flex; align-items: center; justify-content: center; }
.cookie-modal {
  background: #fff;
  padding: 36px 30px 24px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(40, 102, 116, 0.13);
  width: 98%;
  max-width: 470px;
  animation: cookieModalPop 0.34s cubic-bezier(.83,-0.01,.55,1.45);
  position: relative;
  z-index: 25010;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: var(--brand-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1.01rem;
  margin-left: 9px;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 36px; height: 20px;
  background: #dad9d6;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-toggle:checked {
  background: var(--brand-accent);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3.5px; top: 3.5px;
  width: 13px; height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.08);
  transition: transform 0.22s;
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-modal .close {
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 1.45rem;
  background: none;
  border: none;
  color: #aba361;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.18s;
}
.cookie-modal .close:hover { color: #9f8d3c; }

@keyframes cookieFadeIn {
  0% {opacity: 0; transform: translateY(24px);} 100% {opacity: 1; transform: none;}
}
@keyframes cookieModalPop {
  0% {transform: scale(.82) translateY(16px); opacity: 0.55;}
  75% {transform: scale(1.03) translateY(-5px); opacity: 1;}
  100% {transform: scale(1) translateY(0);}
}

/* Misc */
hr {
  border-top: 1px solid #e8e0c0;
  margin: 22px 0;
}

/* --- RESPONSIVE RULES --- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 992px) {
  .footer-brand, .footer-contact, .footer-menu {
    margin-bottom: 22px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .feature-grid, .service-grid, .diy-project-grid, .testimonials-list, .project-list, .article-preview-grid {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 22px;
  }
  .section, section { margin-bottom: 34px; padding: 22px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .card-container, .feature-grid, .service-grid, .diy-project-grid, .project-list, .testimonials-list, .article-preview-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-item, .service-card, .diy-project, .project-card {
    min-width: unset;
    padding: 20px 15px;
  }
  nav {
    flex-direction: row;
    align-items: center;
    padding: 7px 0;
  }
  .footer-brand img { height: 32px; }
  .logo img { height: 34px; }
  .footer-brand { font-size: 1rem; }
  .footer-contact, .footer-menu { font-size: 0.97rem; }
  .footer-menu { margin-right: 0; }
  .mobile-menu { padding: 0; }
  .mobile-nav { padding: 18px 14px; }
  .cookie-modal { padding: 18px 7vw 14px 7vw; }
}
@media (max-width: 580px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    font-size: 0.98rem;
    padding: 20px 8vw 16px 8vw;
  }
}
@media (max-width: 420px) {
  .cookie-modal { padding: 9px 3vw 8px 3vw; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #eee2c0; border-radius: 14px; }
::-webkit-scrollbar-track { background: #f5f7f9; }

/* --- SELECTION --- */
::selection {
  background: var(--gold);
  color: #fff;
}

/* --- END OF CSS --- */
