/* CSS RESET & BASE STYLES */
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: #F5F2EC;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25313C;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: #25313C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #B79058;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  border-radius: 12px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border-radius: 8px;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25313C;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
}

p, li, strong {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3f4c57;
  font-size: 1rem;
  font-weight: 400;
}
strong {
  font-weight: 700;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1170px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 24px 0 rgba(147, 125, 77, 0.09), 0 1.5px 4px 0 rgba(214, 184, 138, 0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  .container {
    padding: 0 6px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 300px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(147, 125, 77, 0.09);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(147, 125, 77, 0.14);
  z-index: 2;
}

.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: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
}
.features-grid > div {
  flex: 1 1 280px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px 24px 20px;
  box-shadow: 0 2px 12px 0 rgba(214, 184, 138, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 20px 0 rgba(147, 125, 77, 0.13);
  transform: translateY(-2px) scale(1.015);
}

.project-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-list > div, .faq-list > div {
  flex: 1 1 320px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(214, 184, 138, 0.10);
  padding: 22px 18px 20px 18px;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .features-grid, .project-list, .faq-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* --- HEADER + NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(37, 49, 60, 0.05);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #25313C;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #F5F2EC;
  color: #B79058;
}
nav a.cta {
  background: #D6B88A;
  color: #25313C;
  font-weight: 700;
  border-radius: 22px;
  padding: 12px 32px;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 6px 0 rgba(214, 184, 138, 0.12);
}
nav a.cta:hover {
  background: #B79058;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(214, 184, 138, 0.16);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
  border-radius: 18px;
  background: none;
}

/* --- HERO STYLES --- */
.hero {
  background: #FFF7E8;
  padding: 80px 0 60px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 28px 0 rgba(214,184,138,0.10);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: #25313C;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.2rem;
  color: #25313C;
}
.hero .cta {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .hero {
    padding: 48px 0 36px 0;
    margin-bottom: 36px;
    border-radius: 0 0 18px 18px;
  }
}

/* --- BUTTONS & CTA --- */
.cta {
  background: #D6B88A;
  color: #25313C !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 14px 40px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px 0 rgba(214, 184, 138, 0.11);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.2s, transform 0.14s;
  display: inline-block;
  margin-top: 14px;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #B79058;
  color: #fff !important;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 26px 0 rgba(214, 184, 138, 0.21);
  outline: none;
}

/* --- LISTS, OL & FAQ --- */
ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  margin-left: 24px;
  color: #25313C;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 8px;
}

.faq-list > div {
  background: #FFF7E8;
  border-radius: 14px;
  margin-bottom: 20px;
  border-left: 4px solid #D6B88A;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #FFF7E8;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(214,184,138,0.13);
  color: #25313C;
  font-size: 1.08rem;
  min-width: 220px;
  max-width: 650px;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  color: #2e373d;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #B79058;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 19px 0 rgba(255,188,90,0.19);
}

/* --- FOOTER --- */
footer {
  background: #25313C;
  color: #fff;
  padding: 0 0 12px 0;
  font-size: 0.98rem;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px 0 rgba(37,49,60,0.10);
  margin-top: 60px;
}
footer .container {
  padding: 32px 20px 16px 20px;
  display: flex;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 0;
  border-radius: 0;
  font-size: 1rem;
}
footer nav a:focus, footer nav a:hover {
  color: #D6B88A;
  background: transparent;
}
footer img {
  border-radius: 10px;
  background: #fff;
  padding: 7px;
  width: 50px;
  height: auto;
  box-shadow: 0 1.5px 6px 0 rgba(214,184,138,.12);
  margin-bottom: 12px;
}
footer .contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  margin-top: 0;
  font-size: 0.97rem;
  min-width: 210px;
}
footer .contact-snippet img {
  width: 18px;
  height: 18px;
  background: transparent;
  box-shadow: none;
  margin-right: 8px;
  margin-bottom: 0;
  padding: 0;
}
footer .contact-snippet a {
  color: #D6B88A;
}
footer .social-media-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
footer .social-media-links a img {
  background: none;
  padding: 0;
  width: 28px;
  height: 28px;
  box-shadow: none;
  border-radius: 10px;
  transition: background 0.16s;
}
footer .social-media-links a:hover img {
  background: #D6B88A;
}

@media (max-width: 940px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- MOBILE NAV MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #D6B88A;
  color: #25313C;
  font-size: 2rem;
  border: none;
  border-radius: 16px;
  padding: 8px 16px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 300;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B79058;
  color: #fff;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,49,60,0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.7,0,0.3,1);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.6rem;
  border: none;
  padding: 22px 22px 12px 14px;
  margin-left: auto;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.14s;
  border-radius: 12px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #D6B88A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-top: 32px;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  transition: color 0.14s, background 0.13s;
  border-radius: 8px;
  min-width: 170px;
  margin-bottom: 1px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #D6B88A;
  background: rgba(214,184,138,0.08);
}
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF7E8;
  box-shadow: 0 -2px 16px 0 rgba(147, 125, 77, 0.13);
  border-radius: 0 0 22px 22px;
  min-height: 84px;
  z-index: 99999;
  padding: 18px 10px;
  transition: transform 0.35s cubic-bezier(0.78,0.13,0.14,0.86);
  gap: 20px;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-content {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #25313C;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-consent-banner .accept-btn, 
.cookie-consent-banner .reject-btn, 
.cookie-consent-banner .settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(214,184,138,0.12);
}
.cookie-consent-banner .accept-btn {
  background: #D6B88A;
  color: #25313C;
}
.cookie-consent-banner .accept-btn:hover, .cookie-consent-banner .accept-btn:focus {
  background: #B79058;
  color: #fff;
}
.cookie-consent-banner .reject-btn {
  background: #fff;
  border: 2px solid #D6B88A;
  color: #B79058;
}
.cookie-consent-banner .reject-btn:hover, .cookie-consent-banner .reject-btn:focus {
  background: #F5F2EC;
  color: #25313C;
}
.cookie-consent-banner .settings-btn {
  background: none;
  color: #25313C;
  border-radius: 8px;
  border: none;
  padding: 8px 18px;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: none;
  margin-left: 8px;
  text-decoration: underline;
}
.cookie-consent-banner .settings-btn:hover, .cookie-consent-banner .settings-btn:focus {
  color: #B79058;
  background: #F5F2EC;
}
@media (max-width: 670px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 7px 10px 8px;
    gap: 12px;
    min-height: 100px;
  }
  .cookie-consent-banner .cookie-content { margin-right: 0; }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,49,60,0.72);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.17s;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 410px;
  width: 98vw;
  padding: 34px 22px 24px 22px;
  box-shadow: 0 8px 40px 0 rgba(214,184,138,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #25313C;
  position: relative;
}
.cookie-modal .modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #25313C;
  text-align: left;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #25313C;
  cursor: pointer;
  transition: color 0.13s;
  border-radius: 10px;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  color: #B79058;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F2EC;
  border-radius: 9px;
  padding: 10px 19px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category.essential label {
  font-weight: 600;
  color: #b79058; /* brand accent for emphasis */
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #D6B88A;
  width: 22px; height: 22px;
  margin-left: 14px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #D6B88A;
  color: #25313C;
  border: none;
  border-radius: 16px;
  padding: 9px 28px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #B79058;
  color: #fff;
}
@media (max-width: 550px) {
  .cookie-modal .modal-content {
    padding: 18px 7px 10px 7px;
    max-width: 97vw;
  }
}

/* --- OTHER COMPONENTS --- */
.privacy-info {
  background: #FFF7E8;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 1.5px 5px 0 rgba(214,184,138,0.09);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.consultant-profile {
  background: #fff9e5;
  border-left: 4px solid #D6B88A;
  border-radius: 12px;
  padding: 20px 20px 16px 20px;
  box-shadow: 0 2px 8px 0 rgba(214,184,138,0.09);
}

/* --- RESPONSIVE IMAGES --- */
img[alt^="icon-"] {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  background: #FFF7E8;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 1.5px 8px 0 rgba(214,184,138,0.12);
}
img[alt^="icon-"]:hover {
  background: #D6B88A;
}

/* --- FLEXBOX PATTERNS (MANDATORY CLASSES) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- VISUAL HIERARCHY & SPACING --- */
*[class*="section"] {
  margin-bottom: 60px;
  padding-top: 6px;
}
@media (max-width: 600px) {
  *[class*="section"] {
    margin-bottom: 26px;
    padding-top: 2px;
  }
}

/************************************/
/*   SCROLLBARS FOR MODALS        */
/************************************/
::-webkit-scrollbar {
  width: 10px;
  background: #F5F2EC;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #D6B88A;
  border-radius: 12px;
}

/************************************/
/*   SMOOTH TRANSITIONS           */
/************************************/
.card, .testimonial-card, .features-grid > div, .cookie-consent-banner, .cta, .mobile-nav a, footer nav a, nav a {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.14s;
}

/************************************/
/*   FOCUSED ELEMENTS OUTLINE      */
/************************************/
:focus {
  outline: 2px solid #D6B88A;
  outline-offset: 1px;
}

/************************************/
/* MISC: Hide visually but remain accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}
