/* ==== CSS RESET & BASE STYLES ==== */
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25415B;
  background: #F7F5F0;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: #E08D3C; color: #fff; }

/* ==== BRAND COLORS (Lucid Elements) ==== */
:root {
  --primary: #25415B;
  --secondary: #E08D3C;
  --accent: #F7F5F0;
  --text: #25415B;
  --white: #fff;
  --black: #161717;
  --grey: #eeebe3;
  --light-grey: #f5f6fa;
  --success: #47864A;
  --danger: #B4001C;
  --shadow: 0 2px 12px 0 rgba(37, 65, 91, 0.08);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.headline {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.subheadline {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}

p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}

b, strong { font-weight: 600; color: var(--primary); }

/* ==== CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ==== HEADER ==== */
header {
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(37,65,91,0.03);
  position: relative;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 72px;
  position: relative;
}
.logo img {
  height: 36px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  color: var(--primary);
  opacity: 0.93;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  opacity: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 24px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
  margin-left: 32px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 32px 0 rgba(37,65,91,.10);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-radius: 24px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.17s, transform 0.13s, box-shadow 0.2s;
  display: inline-block;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 24px 0 rgba(224, 141, 60, 0.12);
  transform: translateY(-2px) scale(1.04);
}

/* ==== MOBILE MENU BUTTON ==== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 6px 14px;
  cursor: pointer;
  display: none;
  border-radius: 10px;
  transition: background 0.18s, color 0.15s;
  margin-left: 24px;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--grey);
  color: var(--secondary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,245,240,0.98);
  box-shadow: 0 6px 32px rgba(37,65,91,0.07);
  z-index: 201;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  gap: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--white);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 12px 20px 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  margin: 18px 20px 4px 0;
  border-radius: 10px;
  transition: background 0.13s, color 0.11s;
  z-index: 203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  padding: 10px 32px;
}
.mobile-nav a {
  width: 100%;
  padding: 14px 0 13px 2px;
  color: var(--primary);
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-bottom: 1px solid var(--grey);
  transition: background 0.12s, color 0.15s, padding-left 0.17s;
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
  padding-left: 10px;
}

/* ==== MAIN SECTIONS & LAYOUT SPACING ==== */
main {
  flex: 1 1 auto;
  background: var(--accent);
  min-height: 50vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 600px) {
  section {
    padding: 32px 0;
  }
}

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

.text-section,
.team-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 28px 22px 28px;
}

.map-placeholder {
  background: var(--grey);
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0 16px;
  color: var(--primary);
  font-size: 0.96rem;
}

/* ==== FEATURES & CARD CONTAINERS ==== */
.features-grid, .services-list, .workshop-list, .features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
}
.feature-card, .service-item {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 340px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.13s;
  border: 1px solid var(--grey);
}
.feature-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.feature-card:hover, .service-item:hover {
  box-shadow: 0 6px 32px rgba(37,65,91,0.12);
  transform: translateY(-3px) scale(1.02);
}

.services-list {
  gap: 24px;
  flex-direction: row;
  flex-wrap: wrap;
}
.service-item {
  flex: 1 1 240px;
  min-width: 240px;
  margin-bottom: 20px;
}

/* ==== TESTIMONIAL CARDS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--white);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey);
  flex-direction: column;
  width: 100%;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(224, 141, 60, 0.13);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-meta {
  color: var(--secondary);
  font-size: 0.99rem;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-meta span {
  color: var(--primary);
  font-size: 1.16em;
  vertical-align: middle;
}

/* ==== TEAM PROFILES ==== */
.team-section > .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.team-profile {
  flex: 1 1 260px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--grey);
}

/* ==== BUTTONS & LINKS ==== */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ==== LISTS WITH ICONS ==== */
.text-section ul, .content-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-top: 4px;
}
.text-section ul li, .content-wrapper ul li {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  font-size: 1rem;
}
.text-section ul li img, .content-wrapper ul li img {
  width: 22px;
  height: 22px;
  opacity: 0.82;
}

/* ==== CONTENT GRID (For General Use) ==== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--accent);
  border-top: 2px solid var(--grey);
  font-size: 1rem;
  color: var(--primary);
  margin-top: 40px;
  padding-top: 28px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 0;
  justify-content: space-between;
  padding-bottom: 24px;
}
footer a img { height: 36px; }
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  flex: 0 0 auto;
  margin-top: 6px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.13s, opacity 0.13s;
  font-size: 0.99em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  flex: 0 0 240px;
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
  color: var(--primary);
}
.footer-cta {
  align-self: flex-end;
  margin-top: 14px;
}
@media (max-width: 1100px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-cta {
    align-self: flex-start;
  }
}

/* === COOKIE BANNER STYLES === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(37,65,91,0.09);
  padding: 28px 12px 19px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  z-index: 3000;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  opacity: 1;
  transition: bottom 0.4s, opacity 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -250px;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: background 0.14s, color 0.1s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(224, 141, 60, 0.11);
}
.cookie-btn.reject {
  background: var(--light-grey);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(180,0,28,0.09);
}
.cookie-btn.settings {
  background: var(--white);
  border: 1px solid var(--secondary);
  color: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--white);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,65,91,0.13);
  backdrop-filter: blur(2px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.active {
  display: flex;
  animation: fadeInCookie 0.36s;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(37,65,91,0.17);
  padding: 38px 28px 18px 28px;
  max-width: 440px;
  max-height: 91vh;
  overflow-y: auto;
  color: var(--primary);
  font-size: 1.1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideInCookie 0.37s cubic-bezier(.76,0,.24,1);
}
@keyframes slideInCookie {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  position: absolute;
  right: 20px; top: 14px;
  cursor: pointer;
  z-index: 5010;
  border-radius: 10px;
  transition: background 0.12s, color 0.11s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-modal h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grey);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-category-label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category-toggle {
  min-width: 48px;
  height: 28px;
  border-radius: 14px;
  background: var(--light-grey);
  border: 1px solid var(--secondary);
  position: relative;
  cursor: pointer;
  appearance: none;
  outline: none;
  margin-left: 10px;
  transition: background 0.12s, border 0.15s;
}
.cookie-category-toggle:checked {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-category-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(37,65,91,0.07);
  transition: transform 0.21s cubic-bezier(.66,0,.34,1);
}
.cookie-category-toggle:checked:before {
  transform: translateX(20px);
}
.cookie-category-desc {
  font-size: 0.98em;
  margin-top: 2px;
  color: var(--text);
}
.cookie-modal .cookie-category.essential {
  background: #f0edeb;
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-category-toggle[disabled], .cookie-category.essential * {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.65;
}

/* ==== MEDIA QUERIES: RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
  .features-grid, .services-list, .workshop-list, .content-grid, .team-section > .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 830px) {
  header .container { flex-direction: row; gap: 0; }
  .main-nav { display: none !important; }
  .btn-primary { margin-left: 14px; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  .feature-card, .service-item {
    max-width: 100%;
    min-width: 0;
  }
  .team-profile {
    max-width: 100%; min-width: 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .container { padding: 0 10px; }
  .feature-card, .service-item, .team-profile, .card {
    padding: 18px 10px;
    border-radius: 12px;
  }
  section { padding: 18px 0; margin-bottom: 36px; }
  .cookie-modal {
    padding: 30px 9px 8px 12px;
    max-width: 97vw;
  }
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 18px 7px 13px 10px; gap: 12px; }
}
@media (max-width: 510px) {
  .logo img, footer a img { height: 28px; }
  .footer-nav { gap: 10px; }
  .footer-contact { font-size: 0.91em; }
  .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 0.97em; }
}

/* ==== UTILITY CLASSES ==== */
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }

/* ==== FORM ELEMENTS ==== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid var(--grey);
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(37,65,91,0.04);
  background: var(--white);
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* Special marker for elements that require spacing between them */
section + section, .feature-card + .feature-card, .service-item + .service-item, .testimonial-card + .testimonial-card, .team-profile + .team-profile {
  margin-top: 20px !important;
}

/* ==== MICRO-INTERACTIONS/ANIMATIONS ==== */
.btn-primary, .btn-secondary, .cookie-btn {
  will-change: transform, box-shadow, background;
}

/* ==== FOCUS VISIBLE POLYFILL FOR OLDER BROWSERS ==== */
@supports (selector(:focus-visible)) {
  :focus { outline: none; }
  :focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
}

/* ========== END OF STYLES ========== */
