/* Twilight Fang Design – Minimalist Responsive Flexbox CSS */
/* RESET & NORMALIZE */
html, body, div, section, main, header, footer, nav, ul, ol, li, h1, h2, h3, h4, h5, h6, p, img, figure, figcaption, a, span, button, input, textarea, form, label, strong, b, small, br {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #354656;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
a:focus, a:hover {
  color: #C6AA76;
}
button, .cta {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
[tabindex]:focus-visible {
  outline: 2px solid #C6AA76;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
@media (min-width: 600px) {
  h1, .h1 {
    font-size: 3rem;
  }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  padding-left: 1.2em;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: #C6AA76;
  position: absolute;
  left: 0;
  font-size: 1.1em;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: 0.875em;
  color: #778092;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* SECTIONS & LAYOUT */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FLEXBOX GRIDS - MANDATORY PATTERNS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.features-grid > div {
  flex: 1 1 250px;
  padding: 24px;
  background: #F4F1ED;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(53,70,86,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.22s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 24px rgba(53,70,86,0.12);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
  .features-grid > div {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div {
    width: 100%;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(53,70,86,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(53,70,86,0.14);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 800px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.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: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 2em 2em 1.2em 2em;
  background: #fff;
  color: #354656;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(53,70,86,0.07);
  border: 1px solid #ececec;
  max-width: 550px;
  position: relative;
}
.testimonial-card span {
  color: #C6AA76;
  font-weight: 500;
  font-size: 1.05em;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 1px;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 18px 14px 14px 14px;
    font-size: 0.97em;
  }
}

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

/* HEADER / NAVIGATION */
header {
  background: #fff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  box-shadow: 0 2px 6px rgba(53,70,86,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 32px;
}
.main-nav a {
  color: #354656;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 500;
  padding: 8px 10px;
  transition: color 0.14s, background 0.13s, border-radius 0.18s;
  border-radius: 6px;
}
.main-nav a.active,
.main-nav a:hover {
  color: #C6AA76;
  background: #f7f5f2;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  border-radius: 24px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(53,70,86,0.04);
  margin: 8px 0 8px 22px;
  transition: background 0.19s, color 0.15s, box-shadow 0.22s, transform 0.2s;
}
.cta.primary {
  background: #354656;
  color: #fff;
  border: 1px solid #354656;
}
.cta.primary:hover, .cta.primary:focus {
  background: #25303b;
  color: #fff;
  box-shadow: 0 6px 24px rgba(53,70,86,0.11);
  transform: translateY(-1px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #354656;
  border: 1px solid #C6AA76;
}
.cta.secondary:hover, .cta.secondary:focus {
  color: #C6AA76;
  background: #F4F1ED;
  border-color: #C6AA76;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    margin-left: 10px;
  }
  .cta {
    margin: 6px 0 6px 12px;
    padding: 9px 22px;
  }
  .logo img {
    height: 33px;
  }
}
@media (max-width: 700px) {
  .main-nav,
  .cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU (Burger Navigation) */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #354656;
  border: none;
  font-size: 2rem;
  position: relative;
  z-index: 52;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.15s, color 0.12s, box-shadow 0.15s;
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F1ED;
  color: #C6AA76;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 82vw;
  max-width: 330px;
  background: #fff;
  box-shadow: -2px 0 24px rgba(53,70,86,0.10);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.48,0.28,0.54,0.94);
  padding: 24px 26px 16px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #354656;
  font-size: 1.7rem;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  transition: background 0.13s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F1ED;
  color: #C6AA76;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #354656;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  padding: 10px 0;
  border-radius: 6px;
  transition: color 0.13s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus{
  color: #C6AA76;
  background: #F4F1ED;
}
@media (max-width: 700px) {
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (max-width: 400px) {
  .mobile-menu {
    padding-right: 7vw;
    padding-left: 8vw;
    width: 95vw;
    max-width: 95vw;
  }
}

/* OVERLAY when menu open: (assumed in JS, not in static HTML) */
body.menu-open::before {
  content: '';
  display: block;
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(53,70,86,0.25);
  z-index: 998;
}

/* MAIN & PAGE STRUCTURE */
main {
  width: 100%;
}

/* FOOTER */
footer {
  background: #F4F1ED;
  color: #354656;
  font-size: 1em;
  padding: 36px 0 24px 0;
  border-top: 1px solid #ececec;
}
footer .container {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1em;
}
.footer-links a {
  color: #354656;
  opacity: 0.92;
  transition: color 0.15s, opacity 0.16s;
  margin-bottom: 2px;
}
.footer-links a:hover {
  color: #C6AA76;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  font-size: 0.98em;
  text-align: right;
}
.footer-contact p {
  margin-bottom: 6px;
}
.footer-socials {
  display: flex;
  gap: 15px;
}
.footer-socials img {
  height: 27px;
  width: 27px;
  filter: grayscale(70%);
  opacity: 0.7;
  transition: filter 0.14s, opacity 0.16s;
}
.footer-socials img:hover {
  filter: none;
  opacity: 1;
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}

/* SECTION SPACING – MANDATORY CSS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* RESPONSIVE SPACING RULES */
@media (max-width: 900px) {
  section, .section {
    margin-bottom: 44px;
    padding-top: 30px;
  }
}
@media (max-width: 600px) {
  section, .section {
    margin-bottom: 36px;
    padding: 24px 8px 0 8px;
  }
}

/* ADDITIONAL CLASSES FOR FLEXBOX LAYOUTS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 0;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
button, .cta, a, .features-grid > div, .card {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.18s;
}

/* SCROLLBAR MINIMALISM */
body {
  scrollbar-color: #C6AA76 #F4F1ED;
  scrollbar-width: thin;
}
/* Chrome */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #C6AA76;
  border-radius: 6px;
}
body::-webkit-scrollbar-track {
  background: #F4F1ED;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(53,70,86,0.08);
  border-top: 1px solid #ececec;
  padding: 20px 12px 18px 12px;
  z-index: 1200;
  animation: cookieSlideIn 0.45s cubic-bezier(0.62,0.16,0.37,1.14);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.cookie-banner-text {
  color: #354656;
  font-size: 1em;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1em;
  background: #F4F1ED;
  color: #354656;
  border: 1px solid #C6AA76;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.13s;
}
.cookie-btn.primary {
  background: #354656;
  color: #fff;
  border-color: #354656;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #25303b;
  color: #fff;
  box-shadow: 0 6px 22px rgba(53,70,86,0.09);
}
.cookie-btn.secondary {
  background: #fff;
  color: #354656;
  border-color: #C6AA76;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F4F1ED;
  color: #C6AA76;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1600;
  inset: 0;
  background: rgba(53,70,86,0.34);
  animation: fadeInModal 0.22s linear;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 34px 22px 28px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(53,70,86,0.17);
  width: 95vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalGrowIn 0.29s cubic-bezier(0.35,1.41,0.39,1);
}
@keyframes modalGrowIn {
  0% { transform: scale(0.93); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.22em;
  margin-bottom: 12px;
  color: #354656;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  color: #354656;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal-toggle input[type="checkbox"] {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #F4F1ED;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  margin-right: 0 !important;
  margin-left: 0;
}
.cookie-modal-toggle input[type="checkbox"]:checked {
  background: #C6AA76;
}
.cookie-modal-toggle input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.07);
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.15s;
}
.cookie-modal-toggle input[type="checkbox"]:checked:before {
  left: 14px;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #354656;
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 1.3em;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F1ED;
  color: #C6AA76;
}

/* Utility: Hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px 1px 1px 1px); white-space: nowrap;
}

/* Responsive Utilities */
@media (max-width: 400px) {
  .cookie-banner {
    font-size: 0.97em;
    padding: 11px 4px 11px 4px;
    gap: 8px;
  }
  .cookie-modal {
    padding: 16px 6px 16px 6px;
  }
  .cookie-modal-header {
    font-size: 1.07em;
  }
}

/* ACCESSIBILITY FOCUS */
*:focus-visible {
  outline: 2.5px solid #C6AA76;
  outline-offset: 2px;
  z-index: 2;
}

/* MISC */
hr {
  border: 0; height: 1px; background: #ececec; margin: 34px 0;
}

/* Ensure spacings between elements */
h1 ~ h2, h2 ~ h3, h3 ~ h4 {
  margin-top: 22px;
}

@media (max-width: 500px) {
  .content-wrapper, .text-section, .features-grid, .content-grid, .card-container {
    gap: 10px !important;
  }
  .card, .testimonial-card {
    margin-bottom: 14px !important;
    padding: 13px !important;
  }
}

/* END */