/* ===================== CSS RESET & BASE ===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F7F7F7;
  color: #23243C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B1A063;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23243C;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23243C;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  line-height: 1.13;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

strong { font-weight: 600; }
p {
  margin-bottom: 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===================== ARTISTIC COLOR ACCENTS ===================== */
:root {
  --primary: #23243C;
  --secondary: #B1A063;
  --accent: #F7F7F7;
  --shadow: rgba(35,36,60, 0.10);
  --danger: #e74c3c;
  --info: #3687e2;
}

/* ===================== PAGE CONTAINER ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ===================== HEADER & NAVIGATION ===================== */
header {
  background: linear-gradient(90deg, #F7F7F7 0%, #efe8ce 100%);
  box-shadow: 0 6px 16px -10px var(--shadow);
  width: 100%;
  position: sticky;
  top: 0; z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.logo-link img {
  max-height: 40px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  position: relative;
  padding: 4px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--secondary);
  transition: width 0.2s;
  margin: 4px auto 0 auto;
  border-radius: 1px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 82%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  border: none;
  outline: none;
  padding: 12px 32px;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 4px;
  margin-bottom: 4px;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 3px 18px -8px var(--shadow);
}
.btn-primary {
  color: #fff;
  background: var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #978442;
  color: #fff;
  box-shadow: 0 6px 18px -4px var(--shadow);
  outline: none;
}
.btn-secondary {
  color: var(--primary);
  background: #FFF;
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--secondary);
  padding: 8px 12px;
  margin-left: 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 100vw;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 20px 0 rgba(35,36,60,.15);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.27s cubic-bezier(0.85, 0,.23,1), left 0.27s;
  overflow-y: auto;
  touch-action: none;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  position: absolute;
  top: 18px;
  right: 20px;
  background: #f2efea;
  height: 44px; width: 44px;
  border-radius: 50%;
  transition: background 0.19s;
  z-index: 10;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 84px;
  padding: 0 38px 38px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  color: var(--primary);
  padding: 14px 0 8px 0;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  margin-bottom: 0;
  width: 100%;
  transition: color 0.16s, border-bottom 0.16s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* ===================== SECTIONS & FLEX SPACING ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px -4px var(--shadow);
  position: relative;
  overflow: hidden;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
}

.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;
}

.text-section {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px -4px var(--shadow);
  position: relative;
  min-width: 210px;
  max-width: 530px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #23243C;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.star-ratings {
  font-size: 1.18rem;
  color: #F9C01C;
  letter-spacing: 0.15em;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

/* Feature grid used in many pages, using flexbox only! */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: flex-start;
  list-style: none;
  margin: 24px 0 8px 0;
  padding: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px -2px var(--shadow);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.03rem;
  color: var(--primary);
  font-weight: 600;
}
.feature-grid img {
  width: 32px; height: 32px;
  filter: grayscale(0) contrast(1.05) brightness(0.97);
}

.service-list {
  list-style: none;
  margin: 24px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
}
.service-list li {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 1px 10px -3px var(--shadow);
  padding: 18px 20px;
  font-size: 1.01rem;
  color: #23243C;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}
.service-list span {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.01em;
}

.contact-details {
  margin: 16px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
}
.contact-details img {
  width: 22px; height: 22px;
  filter: grayscale(0) contrast(1.05) brightness(0.98);
}
.contact-map {
  margin: 18px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

/* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(90deg, #23243C 0%, #646584 100%);
  color: #fff;
  padding: 38px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #fff;
  font-weight: 600;
  transition: color 0.18s;
}
footer a:hover,
footer a:focus {
  color: #B1A063;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  align-items: flex-start;
  min-width: 280px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact img {
  height: 32px; width: auto;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.footer-social img {
  width: 26px; height: 26px;
  filter: grayscale(1) brightness(2);
  transition: filter 0.2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: grayscale(0) brightness(1) saturate(2);
}

/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: 100vw;
  background: #23243C;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 18px 18px 18px;
  box-shadow: 0 -2px 24px -6px var(--shadow);
  transition: transform 0.18s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 25px;
  padding: 8px 22px;
  border: none;
  outline: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .accept {
  background: #B1A063;
  color: #23243C;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #B1A063;
}
.cookie-banner .reject {
  background: #eaeaea;
  color: #23243C;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e74c3c;
  color: #fff;
}
.cookie-banner .settings {
  background: #3687e2;
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #1d4d8a;
}

/* ===================== COOKIE MODAL ===================== */
.cookie-modal {
  position: fixed;
  z-index: 1000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,36,60,0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  /* Animations */
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #23243C;
  max-width: 430px;
  width: 95vw;
  padding: 32px 28px 26px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 32px -8px var(--shadow);
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: pop-in 0.41s cubic-bezier(.54,2.3,.48,.88);
}
@keyframes pop-in {
  0% { transform: scale(0.9) translateY(38px); opacity: 0; }
  80% { transform: scale(1.04) translateY(-6px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}
.cookie-modal-content h3,
.cookie-modal-content h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.cookie-modal-content ul {
  padding-left: 1.5em;
  margin-bottom: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.6rem;
  color: #B1A063;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #23243C;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 11px 0 0 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B1A063;
  width: 18px; height: 18px;
}
.cookie-category .essential {
  font-style: italic;
  color: #B1A063;
}
.cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 16px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 22px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  background: #B1A063;
  color: #23243C;
  transition: background 0.2s, color 0.15s;
}
.cookie-modal-actions .cancel {
  background: #fff;
  color: #23243C;
  border: 2px solid #B1A063;
}
.cookie-modal-actions .cancel:hover,
.cookie-modal-actions .cancel:focus {
  background: #B1A063;
  color: #fff;
}

/* ===================== ARTISTIC / CREATIVE ELEMENTS ===================== */
h1, h2, h3 {
  text-shadow: 1px 3px 18px rgba(177,160,99,0.10), 0 2px 0 #fff;
}
section {
  border-radius: 34px;
  box-shadow: 0 2px 32px -16px var(--shadow);
  background: #fffdf7;
  margin-bottom: 60px;
}
section:nth-child(even) {
  background: #F7F7F7;
}

/* Decorative artistic blobs (optional, position: absolute for decoration only) */
.section:before {
  content: '';
  position: absolute;
  left: -52px; bottom: -36px;
  width: 90px; height: 72px;
  background: rgba(177,160,99,0.09);
  border-radius: 50% 60% 80% 40%;
  z-index: 0;
  pointer-events: none;
  filter: blur(3px);
  display: none; /* show only on large screens for subtle decoration */
}
@media (min-width: 980px) {
  .section:before { display: block; }
}

/* ===================== VISUAL MICRO-INTERACTIONS ===================== */
button, .btn-primary, .btn-secondary, .mobile-menu-toggle {
  transition: background 0.22s, color 0.19s, box-shadow 0.20s, transform 0.13s;
}
button:active, .btn-primary:active, .btn-secondary:active, .mobile-menu-toggle:active {
  transform: scale(0.96);
}
.testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 20px -6px var(--shadow);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid li:hover, .feature-grid li:focus-within, .service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 4px 22px -6px rgba(177,160,99,0.23);
  background: #f4ead6;
}

/* ===================== TYPOGRAPHY SCALE ===================== */
.display-1 { font-size: 2.5rem; }
.display-2 { font-size: 1.85rem; }
.display-3 { font-size: 1.5rem; }
.lead { font-size: 1.22rem; color: #978442; }

/* ===================== RESPONSIVE QUERIES ===================== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .footer-nav, footer .container { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .main-nav { gap: 17px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem } 
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.03rem; }
  header .container {
    flex-direction: row;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 7px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: unset;
    max-width: unset;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
  }
  .footer-contact, .footer-social {
    width: 100%;
  }
}
@media (max-width: 540px) {
  section {
    padding: 24px 6px;
    margin-bottom: 28px;
    border-radius: 18px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    margin-top: 7px;
    margin-bottom: 7px;
    justify-content: center;
  }
  .feature-grid li, .service-list li {
    font-size: 0.96rem;
    padding: 13px 13px;
  }
}

/* ===================== PRINT OPTIMIZATION ===================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  section, main, body, html { background: #fff !important; color: #23243C !important; }
}

/* ========== ACCESSIBILITY FOCUS ========== */
:focus-visible {
  outline: 2.5px solid #B1A063;
  outline-offset: 2px;
}
button:focus { outline: 2.5px solid #B1A063; outline-offset: 1px; }

/* ===================== UTILITIES ===================== */
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.pt-2 { padding-top: 18px; }
.pb-2 { padding-bottom: 18px; }
.text-center { text-align: center; }

/* ===================== END OF STYLE.CSS ===================== */
