/* ========================================================== */
/*           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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f5f5f6;
  color: #1a1a1a;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%; display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #26374D;
  transition: color .2s;
}
a:focus { outline: 2px solid #26374D; outline-offset: 2px; }

/* ========================================================== */
/*            MONOCHROME SOPHISTICATED BASE COLORS           */
/* ========================================================== */
:root {
  --brand-primary: #26374D;
  --brand-secondary: #B5A46F;
  --brand-accent: #EDEDED;
  --gray-900: #18191F;
  --gray-800: #23242B;
  --gray-700: #343643;
  --gray-600: #5B5C65;
  --gray-500: #A0A2AB;
  --gray-300: #E2E3E9;
  --gray-100: #F8F9FA;
  --white: #fff;
  --black: #0A0A0A;
}

/* ========================================================== */
/*                     TYPOGRAPHY                            */
/* ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--black);
}
h2 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--gray-900);
}
h3 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--gray-800);
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray-800);
}
strong {
  font-weight: 700;
}

/* ========================================================== */
/*                   LAYOUT & CONTAINERS                     */
/* ========================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(38,55,77,0.11);
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 28px 4vw; margin-bottom: 36px; border-radius: 12px; }
  .container, .content-wrapper { padding-left: 4vw; padding-right: 4vw; }
}

/* ========================================================== */
/*                       HEADER                              */
/* ========================================================== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  width: 100%;
  position: relative;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 32px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
  position: relative;
  padding: 3px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width .2s;
  margin-top: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-primary);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 9px rgba(38,55,77,.08);
  cursor: pointer;
  transition: background .16s, color .16s, box-shadow .18s;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(181,164,111,0.18);
}

/* Hide main nav & show hamburger on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 16px;
  line-height: 1;
}
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================================================== */
/*                     MOBILE MENU                           */
/* ========================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(26,26,26,.94);
  z-index: 200;
  display: none !important;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105vw);
  transition: transform .38s cubic-bezier(.67,.04,.38,.98);
}
.mobile-menu.open {
  transform: translateX(0);
  display: flex !important;
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  font-size: 2.2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 40px;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  padding: 16px 0;
  letter-spacing: 0.01em;
  transition: color .15s, background .18s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  background: rgba(229,229,229,0.07);
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========================================================== */
/*                    HERO & GENERAL SECTIONS                */
/* ========================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
}
@media (max-width: 768px) {
  section { padding: 28px 0; margin-bottom: 32px; }
}

/* ========================================================== */
/*                       CARDS & CARD CONTAINERS             */
/* ========================================================== */
.card-container, .feature-grid, .project-list, .blog-list, .faq-list, .tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .feature-grid > div, .blog-list > div, .project-list > div, .faq-list > div, .tip-list > div {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(38,55,77,0.07);
  padding: 28px 20px 24px 20px;
  flex: 1 1 340px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: box-shadow .23s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card:hover, .feature-grid > div:hover, .blog-list > div:hover, .faq-list > div:hover, .tip-list > div:hover {
  box-shadow: 0 6px 28px rgba(38,55,77,0.13);
  z-index: 2;
}
@media (max-width: 900px) {
  .card-container, .feature-grid, .project-list, .blog-list, .faq-list, .tip-list {
    gap: 16px;
  }
  .card, .feature-grid > div, .blog-list > div, .project-list > div, .faq-list > div, .tip-list > div {
    min-width: 100%;
  }
}

/* Content grid pattern */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

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

/* ========================================================== */
/* TESTIMONIAL CARDS                                         */
/* ========================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-100);
  border-left: 5px solid var(--brand-primary);
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(38,55,77,0.07);
  flex: 1 1 320px;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
}
.testimonial-rating {
  display: flex;
  gap: 2px;
  height: 22px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.4;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px; gap: 12px; max-width: 100%;
  }
}

/* ========================================================== */
/*              CONTACT DETAILS PATTERN                      */
/* ========================================================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-700);
  font-size: 1rem;
}
.contact-details img {
  width: 22px; height: 22px;
  filter: grayscale(1) brightness(.3);
}
.map {
  margin-bottom: 18px;
  color: var(--gray-700);
}

/* ========================================================== */
/*                   BUTTONS, LINKS                          */
/* ========================================================== */
button, .settings-controls button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 10px 28px;
  border: none;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .16s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(38,55,77,0.08);
}
button:hover, .settings-controls button:hover, button:focus, .settings-controls button:focus {
  background: var(--brand-secondary);
  color: var(--black);
}
.settings-controls button[disabled] {
  opacity: 0.5;
  cursor: default;
  background: var(--gray-300);
  color: var(--gray-600);
}
@media (max-width: 900px) {
  .cta-btn { width: 100%; justify-content: center; }
}

/* ========================================================== */
/*                  FOOTER SECTION                           */
/* ========================================================== */
footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 48px 0 24px 0;
  font-size: 1rem;
}
footer p {
  color: white;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  max-width: 56px; filter: grayscale(1) contrast(1.2);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--gray-300);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
}
.footer-contact {
  color: var(--gray-400);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ========================================================== */
/*                       BLOG / FAQ / TIPS                   */
/* ========================================================== */
.categories {
  margin-top: 34px;
  background: var(--gray-100);
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(38,55,77,0.04);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.categories h3 {
  margin-bottom: 7px;
}
.categories ul {
  margin: 0; padding-left: 12px;
}
.categories li {
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

/* Blog/FAQ/Tip List Spacing */
.blog-list > div, .faq-list > div, .tip-list > div {
  flex: 1 1 320px;
}
.faq-list > div {
  border-left: 3px solid var(--brand-primary);
}

/* ========================================================== */
/*                TIMELINE (process page)                    */
/* ========================================================== */
.timeline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 14px 15px;
  box-shadow: 0 1px 8px rgba(38,55,77,0.04);
  font-size: 1rem;
}
.timeline img {
  width: 22px; opacity: 0.56;
}
.timeline span {
  background: var(--gray-300);
  color: var(--gray-800);
  border-radius: 8px;
  padding: 2px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* ========================================================== */
/*            COOKIE CONSENT BANNER + COOKIE MODAL            */
/* ========================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--gray-800);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 28px;
  box-shadow: 0 -2px 16px rgba(38,55,77,0.10);
  z-index: 9000;
  transition: transform .32s cubic-bezier(.69,.02,.39,.98);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner-message {
  max-width: 530px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--brand-secondary);
  color: var(--black);
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .16s, color .15s;
}
.cookie-btn.reject {
  background: var(--gray-600);
  color: var(--white);
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.09) contrast(1.2);
  box-shadow: 0 2px 10px rgba(181,164,111,0.09);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 5vw 18px 5vw;
    font-size: 0.99rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal-bg {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,34,34,0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  transition: background .22s;
}
.cookie-modal-bg.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  color: var(--gray-800);
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(38,55,77,0.20);
  padding: 36px 30px 28px 30px;
  max-width: 410px;
  width: 93vw;
  animation: cookieModalIn .4s cubic-bezier(.65,.03,.38,.93);
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10001;
  position: relative;
}
@keyframes cookieModalIn {
  0% { transform: translateY(120px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--gray-700);
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray-900);
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-primary);
  width: 19px; height: 19px;
}
.cookie-category.essential label {
  color: var(--gray-500);
}
.cookie-category.essential input[type=checkbox] {
  display: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 20px 9vw 16px 9vw; }
}

/* ========================================================== */
/* FOCUS STYLES                                              */
/* ========================================================== */
:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
/* Remove outline for mouse, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================================== */
/* UTILITY CLASSES, SPACING / GAPS                           */
/* ========================================================== */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
/* Ensure minimum 20px margin between all content cards/sections */
.card:not(:last-child), .feature-grid > div:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ========================================================== */
/* SCROLLBARS / CUSTOM SELECTION                             */
/* ========================================================== */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 5px; }
::-webkit-selection { background: var(--brand-secondary); color: var(--black); }
::selection { background: var(--brand-secondary); color: var(--black); }

/* ========================================================== */
/* MICRO INTERACTIONS & SMOOTH TRANSITIONS                   */
/* ========================================================== */
body, button, a, input, textarea {
  transition: background .15s, color .15s, box-shadow .15s, border-color .14s;
}

/* ========================================================== */
/* MODERN SHADOWS & RADIUS                                   */
/* ========================================================== */
.card, .feature-grid > div, .testimonial-card, .faq-list > div, .categories {
  box-shadow: 0 2px 16px rgba(38,55,77,0.06);
  border-radius: 13px;
}

/* ========================================================== */
/* RESPONSIVE FONT SCALE                                     */
/* ========================================================== */
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.22rem; }
  .container, .content-wrapper { padding-left: 2vw; padding-right: 2vw; }
}

/* ========================================================== */
/* END OF STYLE SHEET                                        */
/* ========================================================== */
