/* === CSS RESET & NORMALIZE === */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FCFAF7;
  color: #1C2A37;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #664229;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
}
strong {
  font-weight: 700;
}
input, button, textarea, select {
  font: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* === BRAND TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans:wght@400;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #1C2A37;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p, li, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1C2A37;
  font-size: 1rem;
  line-height: 1.7;
}

/* === GLOBAL CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Features Grid & Flex Patterns */
.features-grid, .blog-post-list, .blog-search-filter, .testimonial-slider, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
@media (max-width: 768px) {
  .features-grid, .blog-post-list, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1.5px solid #F4EBDD;
  position: sticky;
  top: 0;
  z-index: 800;
  min-height: 72px;
  width: 100%;
  box-shadow: 0 3px 15px rgba(28,42,55,0.04);
  display: flex;
  align-items: center;
}
.logo img {
  height: 52px;
  margin: 16px 16px 16px 0;
}
footer .footer-logo img{
  height: 44px;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #1C2A37;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .footer-nav a:hover {
  color: #664229;
  background: #FFD9A055;
}
.main-nav .btn-primary {
  margin-left: 12px;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary, main .main-nav .btn-primary {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 32px;
  border: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  cursor: pointer;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.055);
  letter-spacing: 0.01rem;
}
.btn-primary {
  background: #FFD9A0;
  color: #664229;
  box-shadow: 0 2px 7px 0 rgba(234, 190, 105, 0.15);
  border: solid 1.6px #E6C187;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffe1b5;
  color: #1C2A37;
  box-shadow: 0 6px 16px 0 rgba(234, 190, 105, 0.18);
  outline: none;
}
.btn-secondary {
  background: #664229;
  color: #FFD9A0;
  border: solid 1.6px #FFD9A0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #a4764a;
  color: #fff;
  border-color: #664229;
}

/* === FLEX LAYOUT HELPERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(102,66,41,0.10);
  padding: 28px 20px;
  min-width: 270px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 #FFD9A077, 0 1.5px 8px 0 rgba(28,42,55,0.04);
  transform: translateY(-2px) scale(1.012);
}

.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, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* === FEATURES & CARDS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px 0 rgba(28,42,55,0.04);
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  border: 1.1px solid #f3ebdf;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.16s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.feature-item h3 {
  color: #664229;
  margin-bottom: 2px;
  font-size: 1.19rem;
}
.feature-item p {
  color: #382914;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 22px 0 #FFD9A088;
  border: 1.2px solid #FFD9A0;
  outline: none;
}
@media (max-width: 768px) {
  .feature-item {
    min-width: unset; max-width: unset; width: 100%;
  }
}

/* === TESTIMONIALS === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  border-radius: 15px;
  background: #fff;
  border-left: 5px solid #FFD9A0;
  box-shadow: 0 2px 11px 0 rgba(28,42,55,0.08);
  font-size: 1.06rem;
  color: #1C2A37;
  margin-bottom: 20px;
  max-width: 420px;
  min-width: 240px;
}
.testimonial-card strong {
  color: #664229;
  font-size: 1.03rem;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: unset; min-width: unset; width: 100%;
  }
}

/* === BLOG/POSTS === */
.blog-post-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.blog-post-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 11px 0 rgba(28,42,55,0.06);
  padding: 24px 18px 22px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #F9EEE2;
  transition: box-shadow 0.15s, border 0.14s;
}
.blog-post-card h3 {
  color: #664229;
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.blog-post-card .meta {
  font-size: 0.93rem;
  color: #967748;
}
.blog-post-card .btn-secondary {
  margin-top: 10px;
  padding: 8px 18px;
  font-size: 1.01rem;
  border-radius: 20px;
}
.blog-post-card:hover {
  box-shadow: 0 6px 20px 0 #FFD9A066;
  border: 1.5px solid #FFD9A0;
  transform: translateY(-2px) scale(1.008);
}

.blog-search-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.blog-search-filter input,
.blog-search-filter select {
  padding: 9px 12px;
  border-radius: 5px;
  border: 1px solid #E6C187;
  background: #FFF9F1;
  transition: border 0.16s;
  font-size: 1rem;
}
.blog-search-filter input:focus,
.blog-search-filter select:focus {
  outline: none;
  border: 1.5px solid #664229;
}
@media (max-width: 768px) {
  .blog-search-filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
}

/* === FAQ ACCORDION (STATIC – ENHANCED BY JS IF PRESENT) === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(28,42,55,0.04);
  border: 1.2px solid #F3EBDF;
  padding: 20px 18px 14px 18px;
  transition: box-shadow 0.16s, border 0.16s;
}
.faq-item h3 {
  color: #664229;
  font-size: 1.1rem;
  margin-bottom: 9px;
}
.faq-item:hover {
  border: 1.5px solid #FFD9A0;
  box-shadow: 0 3px 15px rgba(234,190,105,0.09);
}

/* === NEWSLETTER SIGNUP FORM === */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 8px 0;
}
.newsletter-signup label {
  font-size: 1rem;
}
.newsletter-signup input[type=email] {
  padding: 10px 14px;
  border-radius: 22px;
  border: 1.2px solid #FFD9A0;
  background: #fff;
  font-size: 1rem;
  transition: border 0.17s;
}
.newsletter-signup input[type=email]:focus {
  border: 1.2px solid #664229;
  outline: none;
}
.newsletter-signup button {
  margin: 0;
}

/* === FOOTER === */
footer {
  background: #1C2A37;
  color: #FFD9A0;
  padding: 44px 0 0 0;
  margin-top: 80px;
}
footer .container.content-wrapper {
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  margin-right: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #FFD9A0;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.13s;
  padding: 6px 12px;
}
.footer-nav a:hover {
  color: #1C2A37;
  background: #FFD9A0;
}
.footer-contact p {
  color: #FFD9A0;
  font-size: 0.98rem;
  margin-bottom: 6px;
  line-height: 1.6;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}
.social-links img {
  width: 29px; height: 29px;
  filter: drop-shadow(0 2px 3px #FFD9A0AA);
  opacity: 0.93;
  transition: opacity 0.18s;
}
.social-links img:hover { opacity: 1; }

@media (max-width: 900px) {
  footer .container.content-wrapper {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-logo { margin-bottom: 12px; }
}
@media (max-width: 630px) {
  footer .container.content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: #664229;
  background: transparent;
  border-radius: 8px;
  margin-left: 18px;
  padding: 6px 13px;
  z-index: 1301;
  border: none;
  transition: background 0.14s, color 0.17s;
}
.mobile-menu-toggle:focus {
  background: #FFD9A0;
  color: #1C2A37;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(255, 235, 193, 0.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.8,.03,.24,1);
  z-index: 1300;
  box-shadow: 0 10px 90px 0 rgba(28,42,55,0.17);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 20px 6px 0;
  font-size: 2.2rem;
  color: #664229;
  background: transparent;
  border-radius: 8px;
  padding: 2px 12px;
  transition: background 0.15s, color 0.2s;
}
.mobile-menu-close:focus {
  background: #FFD9A0;
  color: #1C2A37;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 50px 24px 24px 34px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #664229;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 11px 8px;
  margin: 0 0 9px 0;
  transition: background 0.14s, color 0.12s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE7C2;
  color: #1C2A37;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header { min-height: 54px; }
  .logo img { height: 38px; }
  .footer-logo img { height: 33px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe5;
  box-shadow: 0 -2px 18px 0 rgba(102,66,41,0.16);
  border-top: 2.5px solid #FFD9A0;
  padding: 28px 24px 22px 24px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUpCookie 0.44s cubic-bezier(.8,.03,.24,1) 0s 1;
}
@keyframes slideUpCookie {
  0% { transform: translateY(100%); opacity:0;}
  90%{ opacity: 1;}
  100% { transform: translateY(0); opacity:1;}
}
.cookie-consent-banner p {
  color: #1C2A37;
  font-size: 1rem;
  margin-right: 24px;
  max-width: 520px;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-consent-banner button {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 26px;
  border: 1.5px solid #FFD9A0;
  background: #fff;
  color: #1C2A37;
  margin-right: 2px;
  margin-bottom: 2px;
  transition: background 0.17s, color 0.18s, border 0.16s;
}
.cookie-consent-banner button.accept {
  background: #FFD9A0;
  color: #664229;
  border: 1.5px solid #FFD9A0;
}
.cookie-consent-banner button.accept:hover,
.cookie-consent-banner button.accept:focus {
  background: #FFE7C2;
  color: #1C2A37;
  outline: none;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: #664229;
  border: 1.5px solid #FFD9A0;
}
.cookie-consent-banner button.settings:hover,
.cookie-consent-banner button.settings:focus {
  background: #ffd9a0;
  color: #664229;
  outline: none;
}
.cookie-consent-banner button.reject {
  background: #fff;
  color: #967748;
  border: 1.5px solid #FFD9A0;
}
.cookie-consent-banner button.reject:hover,
.cookie-consent-banner button.reject:focus {
  background: #ffe1b5;
  color: #1C2A37;
  outline: none;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 12px 18px 12px;
  }
  .cookie-consent-banner p {
    margin-right: 0; font-size: 0.97rem;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; width:100vw; height:100vh;
  background: rgba(28,42,55,0.55);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.32s cubic-bezier(.5,.27,.34,1) 0s 1;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 8px 40px 0 rgba(102,66,41,0.19);
  max-width: 400px;
  width: 95vw;
  padding: 34px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: slideInCookieModal 0.34s cubic-bezier(.8,.03,.24,1) 0s 1;
}
@keyframes slideInCookieModal {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: #664229; margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  background: #FFF9F2;
  padding: 12px 11px 12px 13px;
  align-items: center;
}
.cookie-modal .cookie-category strong {
  color: #664229;
}
.cookie-modal .toggle {
  position: relative;
  width: 38px; height: 20px;
  display: inline-block;
}
.cookie-modal .toggle input { display: none; }
.cookie-modal .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #FFD9A0;
  border-radius: 20px;
  transition: background 0.14s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 2px 8px #66422922;
}
.cookie-modal .toggle input:checked + .slider {
  background: #C9A464;
}
.cookie-modal .toggle input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 10px; right: 16px;
  font-size: 1.1rem;
  background: none; border: none;
  color: #664229;
  border-radius: 11px;
  padding: 6px 15px;
  transition: background 0.11s;
}
.cookie-modal .cookie-modal-close:focus {
  background: #FFD9A0;
  color: #1C2A37; outline: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 7px;
}

/* === MAP PLACEHOLDER / SPECIAL ELEMENTS === */
.map-placeholder {
  border-radius: 16px;
  background: #FFD9A0;
  color: #382914;
  font-size: 1.06rem;
  box-shadow: 0 1px 10px rgba(102,66,41,0.09);
  margin: 0 auto;
}

/* === SPACING ADJUSTMENTS === */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 660px) {
  .container { padding: 0 7px; }
  main > section { padding: 28px 7px; margin-bottom: 38px; }
}

/* === UTILITY CLASSES === */
.centered {
  text-align: center;
  margin: 0 auto;
}
.text-start {
  text-align: left !important;
}
.text-end {
  text-align: right !important;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
a, .btn-primary, .btn-secondary,
.feature-item, .card, .faq-item, .main-nav a, .mobile-nav a,
input, select, button, .blog-post-card {
  transition: box-shadow 0.16s, color 0.17s, border 0.13s,
              background 0.16s, transform 0.12s, outline 0.11s;
}

/* === ACCESSIBILITY AND FOCUS STATES === */
a:focus, button:focus, .feature-item:focus-within, .faq-item:focus-within, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #664229;
  outline-offset: 2px;
}

/* === HIDE/SHOW FOR SCREEN SIZES === */
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle { display: block; }
}

/* === PRINT MINIMAL STYLING === */
@media print {
  header, .main-nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, footer { display: none !important; }
  .container { max-width: 100% !important; }
  main { padding: 0 !important; }
}
