/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
  background: #F9F6F0;
  color: #27413E;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
a {
  color: #27413E;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #94B49A;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin: 1em 0;
}
li + li {
  margin-top: 8px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero {
  gap: 24px;
  align-items: flex-start;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  color: #27413E;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.subheadline {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  color: #46645D;
  line-height: 1.45;
  margin-bottom: 8px;
}
.cta-text, .confirmation-message, .follow-up-info {
  font-size: 1.125rem;
  color: #46645D;
}

strong {
  color: #27413E;
  font-weight: bold;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #F9F6F0;
  border-bottom: 1px solid #E3E2DE;
  padding: 0 0 0 0;
  min-height: 68px;
  z-index: 20;
  position: sticky;
  top: 0;
}
.logo-header {
  padding: 16px 20px 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 54px;
}
.logo-header img {
  height: 38px;
  margin-right: 0;
  border-radius: 0;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 14px 20px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  color: #27413E;
  background: none;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  position: relative;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E3E2DE;
  color: #27413E;
}
.main-nav .cta-btn {
  background: #27413E;
  color: #fff;
  font-family: 'Playfair Display', 'Lora', serif;
  padding: 8px 20px;
  margin-left: 12px;
  letter-spacing: 0.02em;
  border-radius: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 3px 9px 0 rgba(39,65,62,0.06);
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #94B49A;
  color: #27413E;
  box-shadow: 0 4px 18px 0 rgba(39,65,62,0.13);
}

.mobile-menu-toggle {
  display: none;
  background: #27413E;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  position: absolute;
  top: 15px;
  right: 18px;
  z-index: 22;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  outline: 2px solid #94B49A;
  background: #46645D;
}
/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,65,62,0.96);
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.89,.07,.15,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s;
  padding: 2px 7px;
  border-radius: 5px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #94B49A;
  background: #1c2927;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Playfair Display', 'Lora', serif;
  padding: 14px 0px 12px 0px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.17s, color 0.14s, box-shadow 0.17s;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: none;
  box-shadow: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #94B49A;
  color: #27413E;
  box-shadow: 0 2px 4px rgba(0,0,0,0.09);
}

/* --- HERO SECTION --- */
.hero {
  background: none;
  padding: 0;
}
.hero h1 {
  color: #27413E;
  font-size: 2.5rem;
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  margin-bottom: 8px;
}
.hero .subheadline {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

/* --- CTA BUTTON --- */
.cta-btn {
  background: #27413E;
  color: #fff !important;
  font-family: 'Playfair Display', 'Lora', serif;
  font-size: 1.07rem;
  font-weight: 700;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39,65,62,0.08);
  transition: background 0.17s, color 0.17s, box-shadow 0.22s, transform 0.14s;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #94B49A;
  color: #27413E !important;
  box-shadow: 0 5px 22px rgba(39,65,62,0.20);
  transform: translateY(-2px) scale(1.025);
}

/* --- FEATURE GRID / CARDS / LAYOUTS (Flex only) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 4px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(39,65,62,0.04);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 24px 24px 24px;
  border: 1px solid #E3E2DE;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, border-color 0.19s, transform 0.21s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 10px 34px rgba(39,65,62,0.15);
  border-color: #94B49A;
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
}

/* Card-container spacing mandatory */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border: 1px solid #E3E2DE;
  border-radius: 18px;
  box-shadow: 0 1px 7px rgba(39,65,62,0.03);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.19s, border 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 22px rgba(39,65,62,0.13);
  border-color: #94B49A;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #E3E2DE;
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 24px;
  max-width: 430px;
  box-shadow: 0 3px 11px rgba(39,65,62,0.07);
  transition: box-shadow 0.19s, border 0.16s;
}
.testimonial-card .stars {
  color: #94B49A;
  font-family: 'Playfair Display','Lora', serif;
  font-size: 1.5rem;
  letter-spacing: 0.13em;
  margin-bottom: 4px;
}
.testimonial-card p {
  color: #27413E;
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.testimonial-author {
  color: #46645D;
  font-size: 1rem;
  font-style: italic;
  margin-top: 2px;
  font-family: 'Lora', Georgia, serif;
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.service-list > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(39,65,62,0.045);
  padding: 30px 22px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #E3E2DE;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.18s, transform 0.18s;
}
.service-list > div:hover {
  border-color: #94B49A;
  box-shadow: 0 4px 20px rgba(39,65,62,0.09);
  transform: translateY(-2px);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-list li {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E3E2DE;
  padding: 22px 20px;
  box-shadow: 0 1px 8px rgba(39,65,62,0.03);
  transition: box-shadow 0.21s, border 0.18s;
}
.news-list li:hover { box-shadow: 0 3px 18px rgba(39,65,62,0.10); }


/* --- CUSTOM LIST STYLES --- */
.brand-values, .usps, .contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.contact-info-list img {
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  margin-right: 8px;
}

/* --- MISC SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-placeholder {
  background: #fff5ee;
  color: #46645D;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 13px;
}
.map-placeholder img { width: 22px; height: 22px; }

.confirmation {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.confirmation-message {
  font-size: 1.2rem;
  color: #27413E;
  font-family: 'Lora', Georgia, serif;
}
.follow-up-info {
  color: #46645D;
}

.legal {
  background: #fff;
  border-radius: 15px;
  border: 1px solid #E3E2DE;
  padding: 30px 28px;
  max-width: 750px;
  margin: 0 auto 22px auto;
  box-shadow: 0 2px 12px rgba(39,65,62,0.045);
}

/* --- FOOTER --- */
footer {
  background: #f1eee8;
  color: #27413E;
  padding: 32px 0 24px 0;
  margin-top: 40px;
  border-top: 1px solid #E3E2DE;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-family: 'Lora', Georgia, serif;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-nav a {
  color: #27413E;
  text-decoration: underline;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.15s;
}
.footer-nav a:hover {
  background: #E3E2DE;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
  font-family: 'Lora', Georgia, serif;
  text-align: center;
  margin-top: 6px;
}
.footer-info address {
  font-style: normal;
  color: #27413E;
}
.footer-info a {
  color: #46645D;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-info a:hover {
  color: #94B49A;
}
.footer-logo {
  margin-top: 10px;
}
.footer-logo img {
  max-height: 36px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #27413E;
  border-top: 1px solid #E3E2DE;
  box-shadow: 0 -4px 30px 0 rgba(39,65,62,0.06);
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 32px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  animation: cookieAppear 0.7s cubic-bezier(.67,.51,.34,1.48);
}
@keyframes cookieAppear { from { transform: translateY(90px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.cookie-banner p {
  flex: 2 1 40ch;
  margin-right: 10px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  flex: 1 1 auto;
}
.cookie-banner button {
  border: none;
  padding: 10px 24px;
  border-radius: 18px;
  font-family: 'Playfair Display', 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.15s, box-shadow 0.16s;
  margin-right: 0;
}
.cookie-banner .accept {
  background: #94B49A;
  color: #27413E;
  box-shadow: 0 4px 12px rgba(39,65,62,0.08);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #27413E;
  color: #fff;
}
.cookie-banner .reject {
  background: #E3E2DE;
  color: #27413E;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff6f0;
  color: #46645D;
}
.cookie-banner .settings {
  background: #fff;
  color: #27413E;
  border: 1px solid #94B49A;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F9F6F0;
  border-color: #27413E;
  color: #27413E;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,65,62,0.77);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #27413E;
  border-radius: 20px;
  padding: 40px 28px 30px 28px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 8px 44px 0 rgba(39,65,62,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Lora', Georgia, serif;
  animation: cookieModalPop 0.44s cubic-bezier(.43,1.35,.45,.92);
}
@keyframes cookieModalPop { 0%{transform: scale(0.93) translateY(40px); opacity:0;} 100%{transform: scale(1) translateY(0); opacity:1;} }
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #27413E;
  margin-bottom: 8px;
}
.cookie-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0;
}
.cookie-toggle-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.cookie-toggle-item label {
  font-size: 1rem;
  font-weight: 600;
  color: #27413E;
}
.cookie-toggle-switch {
  width: 44px; height: 24px;
  border-radius: 14px;
  background: #E3E2DE;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle-switch input {
  display: none;
}
.cookie-toggle-switch span {
  position: absolute;
  left: 2px; top: 2px;
  background: #94B49A;
  width: 20px; height: 20px;
  border-radius: 50%;
  transition: left 0.22s cubic-bezier(.51,1.42,.59,.91), background 0.18s;
}
.cookie-toggle-switch input:checked + span {
  left: 22px;
  background: #27413E;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 10px 20px;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 19px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  section { margin-bottom: 34px; padding: 28px 8px; }
  .container { padding-left: 6px; padding-right: 6px; }
  .content-wrapper {
    gap: 20px;
    padding: 0;
  }
  .hero h1 { font-size: 2rem; }
  .main-nav, .footer-nav {
    gap: 10px;
    font-size: 0.95rem;
  }
  .footer-info{ font-size: 0.95rem; }
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 98vw; padding: 22px 8px; font-size: 0.97rem; }
  .confirmation { gap: 15px; }
}

@media (max-width: 650px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.10rem; }
  .cookie-banner { padding: 16px 6px; flex-direction: column; align-items: flex-start; }
  .cookie-banner p { margin-bottom: 8px; }
  .cookie-banner .cookie-btns { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 550px) {
  .logo-header { justify-content: center; padding: 10px 5px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .container { padding-left: 0; padding-right: 0; }
  .footer-logo img { max-height: 32px; }
}

/* --- BURGER MENU SHOW/HIDE LOGIC --- */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- UTILITIES --- */
.shadow-subtle { box-shadow: 0 1.5px 9px rgba(39, 65, 62, 0.09); }
.rounded { border-radius: 17px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* --- SCROLLBARS --- */
::-webkit-scrollbar {
  width: 11px;
  background: #F9F6F0;
}
::-webkit-scrollbar-thumb {
  background: #E3E2DE;
  border-radius: 9px;
}

/* --- PRINT MEDIA RESET --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #222; }
  section { margin-bottom: 20px; padding: 0; }
}

/* --- END --- */
