/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #fff;
  color: #382818;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}


/* --- BRAND COLORS & VARIABLES --- */
:root {
  --color-primary: #382818;
  --color-secondary: #A3988A;
  --color-accent: #F4ECD8;
  --color-bg: #FFF8F0;
  --color-action: #E88A19;
  --color-cta-hover: #FFF8EC;
  --color-card-bg: #FFFFFF;
  --color-shadow: rgba(56, 40, 24, 0.08);
  --color-testimonial-bg: #F7F2E9;
  --color-testimonial-text: #1a140a;
  --color-error: #CC6143;
  --color-info: #568F6C;
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', serif;
  color: var(--color-primary);
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1rem;
}
p, li, span, label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 18px;
  letter-spacing: 0.1px;
}
strong {
  font-weight: 700;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 768px) {
  .section {
    padding: 64px 0 64px 0;
  }
}


/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: none;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 1rem;
  }
  .main-nav a {
    font-family: 'Merriweather', serif;
    padding: 8px 7px 6px 7px;
    color: var(--color-primary);
    font-weight: 400;
    border-radius: 5px;
    position: relative;
    transition: background 0.15s, color 0.2s;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: var(--color-action);
    color: #fff;
    outline: none;
  }
}

.cta.primary {
  background: var(--color-action);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 28px;
  box-shadow: 0 3px 8px 0 var(--color-shadow);
  letter-spacing: 0.02em;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, transform 0.1s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #e2a948;
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 16px 0 var(--color-shadow);
}


/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-action);
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border: none;
  margin-left: 10px;
  transition: background 0.15s;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 var(--color-shadow);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e2a948;
  outline: 2px solid #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.85,0.01,0.12,1.04);
  box-shadow: 0 8px 32px 0 rgba(56, 40, 24, 0.22);
  padding: 0 18px 16px 18px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 32px;
  margin-bottom: 12px;
  margin-left: auto;
  font-size: 2.15rem;
  background: transparent;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: color 0.12s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: 8px 2px;
  border-radius: 4px;
  width: 100%;
  transition: background 0.18s, color 0.16s, transform 0.10s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-action);
  color: #fff;
  transform: scale(1.025) translateX(3px);
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none;
  }
}


/* --- HERO & CTA SECTIONS --- */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  section {
    padding: 64px 0;
    margin-bottom: 72px;
  }
}

.content-wrapper.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: none;
}

.hero {
  background: var(--color-accent);
  border-radius: 36px;
  box-shadow: 0 4px 20px 0 var(--color-shadow);
  position: relative;
  z-index: 1;
}

/* --- FLEX CONTAINER UTILITY CLASSES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
}
.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: 22px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-testimonial-bg);
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px 0 var(--color-shadow);
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.18s, transform 0.11s;
  border: 1.5px solid #ece2c7;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(56, 40, 24, 0.13);
  transform: translateY(-2px) scale(1.01) rotate(-0.7deg);
}
.testimonial-card p {
  color: var(--color-testimonial-text);
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.testimonial-card .stars {
  display: inline-block;
  color: #E88A19;
  font-size: 1.13rem;
  margin-left: 8px;
}
.testimonial-card span {
  color: var(--color-primary);
  font-size: 0.98rem;
  font-style: italic;
}

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

/* --- FEATURE/GRID LISTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.1s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 5px 24px 0 rgba(56, 40, 24, 0.20);
  transform: translateY(-2.5px) scale(1.022) rotate(-0.6deg);
}
.feature-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  color: var(--color-action);
  font-family: 'Merriweather', serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 7px;
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta {
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: box-shadow 0.14s, background 0.15s, color 0.15s, transform 0.14s;
}
.cta.secondary {
  background: #fff;
  color: var(--color-action);
  border: 1.5px solid var(--color-action);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-action);
  color: #fff;
}

/* --- UTILITY CLASSES --- */
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-20px { gap: 20px; }

/* --- CARD STYLING --- */
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  padding: 30px 22px 22px 22px;
  min-width: 260px;
  flex: 1 1 270px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- ALERT/INFO STYLES --- */
.alert-info {
  background: var(--color-info);
  color: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  margin-top: 18px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}
.alert-info strong {
  color: #fff;
  font-weight: 700;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 40px 0 20px 0;
  box-shadow: 0 -4px 16px 0 var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.logo-footer img {
  height: 44px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 9px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-accent);
  padding: 4px 3px;
  margin-right: 6px;
  font-family: 'Merriweather', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.15s, text-decoration 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-action);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--color-accent);
  font-size: 0.98rem;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
}
@media (min-width: 768px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
  }
  .footer-contact {
    align-items: flex-end;
    text-align: right;
  }
}

/* --- GENERAL ELEMENTS --- */
input, textarea, select {
  padding: 11px;
  border-radius: 9px;
  border: 1.3px solid #B09A7F;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-action);
}

ul li, ol li {
  margin-bottom: 13px;
  font-size: 1rem;
  padding-left: 2px;
}

ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 24px;
  width: 24px;
}

@media (min-width: 1024px) {
  .feature-grid {
    gap: 32px;
  }
  .card-container,
  .content-grid {
    gap: 32px;
  }
}


/* --- COOKIES CONSENT BANNER --- */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f2dfb2;
  color: var(--color-primary);
  box-shadow: 0 -3px 30px 0 rgba(56,40,24,.12);
  border-top: 2.5px solid #fbe19f;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 18px 14px 18px;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  animation: cookieBannerPop 0.66s cubic-bezier(.62,.09,.26,1.04);
}
@keyframes cookieBannerPop {
  0% { transform: translateY(100px); opacity: 0; }
  60% { transform: translateY(-6px); opacity: 0.9; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 7px;
}
#cookie-banner button {
  padding: 8px 16px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  margin-right: 3px;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s;
}
#cookie-banner .cookie-accept {
  background: var(--color-action);
  color: #fff;
}
#cookie-banner .cookie-reject {
  background: #fff;
  color: var(--color-error);
  border: 1px solid var(--color-error);
}
#cookie-banner .cookie-settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
#cookie-banner button:hover, #cookie-banner button:focus {
  box-shadow: 0 0 0 2px #fbe19f;
  opacity: 0.95;
}

/* --- Cookies MODAL --- */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 450px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 12px 44px 0 rgba(56,40,24,0.31);
  transform: translate(-50%,-55%) scale(1.07);
  z-index: 4000;
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 24px 20px;
  font-size: 1.07rem;
  animation: cookieModalAnim 0.3s cubic-bezier(.73,1.68,.21,-0.43);
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-action);
}
#cookie-modal .cookie-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
#cookie-modal label {
  flex: 1 1 auto;
}
#cookie-modal input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--color-action);
}
#cookie-modal .cookie-group.essential {
  opacity: .68;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
#cookie-modal button {
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  border: none;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: box-shadow 0.13s, background 0.13s, color .13s;
}
#cookie-modal .close-modal {
  background: #fff;
  border: 1px solid #c9c9c9;
}
#cookie-modal .save-modal {
  background: var(--color-action);
  color: #fff;
}
#cookie-modal .save-modal:hover, #cookie-modal .save-modal:focus {
  background: #e2a948;
}
@keyframes cookieModalAnim {
  0% { opacity: 0; transform: translate(-50%,-58%) scale(.9); }
  90% { opacity: .94; }
  100% { opacity: 1; transform: translate(-50%,-55%) scale(1.07); }
}


/* --- ANIMATIONS & TRANSITIONS --- */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
h1, h2, h3 {
  text-shadow: 0 2px 10px rgba(255,240,192,0.05);
}
h1 {
  background: linear-gradient(96deg, var(--color-primary) 0%, var(--color-action) 60%, var(--color-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* artistic text shine */
  animation: textGradientAnime 3s ease-in-out infinite alternate;
}
@keyframes textGradientAnime {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* --- DECORATIVE ELEMENTS (Artistic Touches) --- */
section {
  position: relative;
}
section:before {
  content: '';
  position: absolute;
  left: -42px;
  top: 12px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 70% 20%, var(--color-secondary) 56%, transparent 80%), 
              radial-gradient(circle at 90% 90%, var(--color-action) 30%, transparent 80%);
  opacity: 0.16;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  section:before {
    display: none;
  }
}


/* --- RESPONSIVE DESIGN (Mobile-first) --- */
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .card-container,.content-grid {
    gap: 16px;
  }
  .section {
    padding: 32px 7vw;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 13px;
  }
  .section, section {
    padding: 24px 0;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    font-size: 0.94rem;
  }
}
@media (max-width: 500px) {
  .cta.primary, .cta.secondary {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
  .section, section {
    padding: 9vw 0;
  }
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu { display: none !important; }
  body { color: #222; background: #fff !important; }
}
