/* ========================================================== */
/* Silent Dragon - Geometric Structured Style CSS             */
/* Brand colors: #214036 (primary), #E2C9A0 (secondary/accent), #84A98C (accent 2), #ffffff (bg) */
/* Display font: Merriweather; Body font: Open Sans           */
/* ========================================================== */

/* 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, main, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #fff;
}
body {
  color: #214036;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
}
* {
  box-sizing: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #214036;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #84A98C;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
}

/* TYPOGRAPHY & GEOMETRIC FONT SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #214036;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
p, li, ul, ol, .service-price, .testimonial-author {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
strong {
  font-weight: bold;
  color: #214036;
}
em {
  color: #84A98C;
  font-style: italic;
}

/* LAYOUT FOUNDATION */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
}

/* FLEXBOX LAYOUTS (MANDATORY) */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(33, 64, 54, 0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  padding: 28px 24px;
  transition: box-shadow .2s;
  border: 2px solid #E2C9A0;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(33, 64, 54, 0.16);
  border-color: #84A98C;
  z-index: 1;
}
.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: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9f7f4;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33, 64, 54, 0.06);
  padding: 20px 17px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 2px solid #E2C9A0;
}
.feature-item:hover {
  border-color: #84A98C;
  box-shadow: 0 6px 24px rgba(33, 64, 54, 0.10);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.service-list li {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #E2C9A0;
  box-shadow: 0 2px 12px rgba(33,64,54,0.07);
  margin-bottom: 20px;
  list-style: none;
  padding: 20px 18px 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-list li:hover {
  border-color: #84A98C;
  box-shadow: 0 4px 18px rgba(33,64,54,0.13);
}
.service-price {
  color: #84A98C;
  font-weight: 700;
  margin-top: 8px;
  font-size: 1.08rem;
}

.benefit-list ul {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.benefit-list ul li {
  flex: 1 1 290px;
  list-style: disc inside;
  padding: 12px 16px;
  background: #f9f7f4;
  border-radius: 12px;
  border-left: 4px solid #214036;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .service-list, .benefit-list ul {
    flex-direction: column;
    gap: 14px;
  }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f5f7f6;
  border-radius: 16px;
  box-shadow: 0px 4px 24px rgba(33, 64, 54, 0.09);
  padding: 20px 24px 24px 24px;
  min-width: 220px;
  border: 2px solid #E2C9A0;
  margin-bottom: 20px;
  color: #214036;
  font-size: 1.1rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: #84A98C;
  box-shadow: 0 6px 28px rgba(33, 64, 54, 0.14);
}
.testimonial-author {
  font-size: 0.98rem;
  font-style: italic;
  color: #214036;
  font-weight: 600;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

.form-hint {
  margin: 18px 0 0 0;
  padding: 16px 20px;
  background: #f9f7f4;
  border-radius: 12px;
  border-left: 4px solid #214036;
  font-size: 1rem;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 4px solid #214036;
  z-index: 1001;
  position: sticky;
  top: 0;
  width: 100%;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding-top: 12px;
  padding-bottom: 12px;
  justify-content: space-between;
}
header img {
  width: 50px;
  height: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  transition: color .2s, background .18s;
  letter-spacing: 0.04em;
}
.main-nav a:hover, .main-nav a.active {
  background: #E2C9A0;
  color: #214036;
}
.cta-btn.primary {
  background: #214036;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #214036;
  transition: background .22s, color .18s, border-color .19s, box-shadow .15s;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 7px rgba(33,64,54,0.07);
  cursor: pointer;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #84A98C;
  color: #214036;
  border-color: #84A98C;
  box-shadow: 0 4px 18px rgba(33,64,54,0.15);
  outline: none;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #214036;
  cursor: pointer;
  z-index: 1300;
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E2C9A0;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1200;
  transform: translateX(-100%);
  will-change: transform;
  transition: transform 0.36s cubic-bezier(.42,.2,.31,1.15);
  box-shadow: 6px 0 24px rgba(33,64,54,0.16);
  display: flex;
  flex-direction: column;
  padding: 22px 32px 22px 22px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #214036;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #84A98C;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.13rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #214036;
  padding: 12px 0 12px 8px;
  border-left: 4px solid transparent;
  transition: color 0.20s, border-color 0.2s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2C9A0;
  border-color: #84A98C;
  color: #214036;
}
/* Responsive - show/hide main/mobile nav */
@media (max-width: 1024px) {
  .main-nav, .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN SECTIONS */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  main section {
    margin-bottom: 36px;
    padding: 22px 0 0 0;
  }
}

.text-section {
  max-width: 900px;
}

@media (max-width: 580px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* FOOTER */
footer {
  background: #214036;
  color: #fff;
  border-top: 4px solid #E2C9A0;
  padding-top: 28px;
  padding-bottom: 18px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
  font-size: 0.97rem;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  transition: color 0.14s, background 0.12s;
  border-radius: 3px;
  padding: 2px 7px;
}
.footer-nav a:hover {
  color: #E2C9A0;
  background: #214036;
}
.footer-contact,
.footer-contact span {
  color: #E2C9A0;
  font-size: 1.1rem;
  font-family: 'Merriweather', Georgia, serif;
  margin-top: 6px;
}
.footer-copyright {
  font-size: 0.95rem;
  color: #84A98C;
  margin-top: 3px;
}

/* BUTTONS & INTERACTIVES */
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  outline: none;
}
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 11px 24px;
  transition: all 0.20s cubic-bezier(.64,.04,.32,1.09);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cta-btn.primary {
  background: #214036;
  color: #fff;
  border-color: #214036;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #E2C9A0;
  color: #214036;
  border-color: #84A98C;
}
.cookie-btn {
  margin: 0 10px;
  min-width: 140px;
  background: #214036;
  color: #fff;
  border: 2px solid #214036;
  padding: 9px 18px;
  font-size: 1rem;
}
.cookie-btn.accept {
  background: #84A98C;
  border-color: #214036;
  color: #214036;
}
.cookie-btn.reject {
  background: #E2C9A0;
  color: #214036;
  border-color: #E2C9A0;
}
.cookie-btn.settings {
  background: #fff;
  color: #214036;
  border-color: #84A98C;
}
.cookie-btn:focus, .cookie-btn:hover {
  box-shadow: 0 0 0 3px #E2C9A0;
}

/* LISTS */
ul {
  margin-bottom: 14px;
}
ul li {
  margin-bottom: 8px;
  padding-left: 0px;
  list-style: disc inside;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #214036;
  border-top: 3px solid #E2C9A0;
  z-index: 2000;
  box-shadow: 0 -4px 22px rgba(33,64,54,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 16px 12px;
  font-size: 0.98rem;
  animation: banner-in .7s cubic-bezier(.27,1.18,.51,.94);
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33,64,54,0.3);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fade-in .3s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  max-width: 420px;
  min-width: 300px;
  width: 93vw;
  border-radius: 18px;
  box-shadow: 0 11px 46px rgba(33,64,54,0.19);
  padding: 32px 26px 24px 26px;
  color: #214036;
  border: 3px solid #84A98C;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-in .28s cubic-bezier(.67,.12,.19,1.05);
}
@keyframes modal-in {
  from { transform: translateY(70px) scale(.97); opacity: 0.7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-family: 'Merriweather', Georgia, serif;
  text-transform: uppercase;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E2C9A0;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background .18s;
  cursor: pointer;
  border: 2px solid #214036;
}
.cookie-modal .cookie-toggle:checked {
  background: #84A98C;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #214036;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-close:focus, .cookie-modal .cookie-close:hover {
  color: #84A98C;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 20px 7px;
  }
}

/* Micro-interactions */
.card, .feature-item, .testimonial-card, .service-list li {
  transition: box-shadow 0.18s, border-color 0.18s;
}

/* Misc geometric/structured decorations */
h1, h2, h3, h4, h5 {
  letter-spacing: 0.03em;
}
hr {
  border: none;
  border-top: 3px solid #E2C9A0;
  margin: 28px 0 28px 0;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 28px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 28px !important; }

/* Success/Thank-you */
.thankyou-msg {
  text-align: center;
  margin-top: 32px;
  background: #f6fff6;
  border: 2px solid #84A98C;
  border-radius: 14px;
  padding: 28px 18px;
  color: #214036;
}

/* Accessible focus outlines */
:focus {
  outline: 2px solid #84A98C;
  outline-offset: 3px;
}

/* Hide visually, keep accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form elements (optional for contact form enhancements) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #E2C9A0;
  border-radius: 7px;
  padding: 8px 9px;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(33,64,54,0.06);
  transition: border-color 0.17s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #84A98C;
  box-shadow: 0 0 0 2px #84A98C42;
}

/* ==================== RESPONSIVE =============== */
@media (max-width: 1024px) {
  header .container {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
  .container { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  .service-list li, .feature-item, .card {
    min-width: 0;
    padding-left: 13px;
    padding-right: 13px;
  }
  .footer-contact, .footer-contact span {
    font-size: 0.98rem;
  }
}
@media (max-width: 500px) {
  .card, .testimonial-card {
    padding: 15px 7px;
  }
  .feature-item {
    padding: 12px 7px;
  }
}

/* ==================== PRINT ==================== */
@media print {
  header, .mobile-menu, footer, .cookie-banner {
    display: none !important;
  }
  .container, .section, main section { padding: 0 !important; }
}
