/* --- 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, 
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;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFDF8;
  color: #3D251E;
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: transparent;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Brand Fonts & Global Type --- */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 900;
}
h1 {
  font-size: 2.6rem;
  color: #8B4A25;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #F2A65A;
}
h3 {
  font-size: 1.25rem;
  color: #8B4A25;
}

p, ul, ol, li, div, section {
  font-family: 'Lato', Arial, sans-serif;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #F2A65A;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1rem; }
  body { font-size: 15px; }
}

/* --- Layout Containers and Spacing --- */
.container {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(90deg, #F2A65A 0%, #FFFDEB 80%);
  border-bottom: 4px solid #FAEBD7;
  min-height: 300px;
  display: flex;
  align-items: center;
  animation: heroFadeIn 1.1s both;
  margin-bottom: 60px;
}
.hero .container {
  width: 100%;
}
.hero h1 {
  color: #8B4A25;
  text-shadow: 0 3px 11px rgba(245,164,90,0.08);
  font-size: 2.6rem;
  margin-bottom: 10px;
  animation: titleBounce 1.2s 0.1s cubic-bezier(.52,1.64,.61,.82) both;
}
.hero p {
  color: #3D251E;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero .btn {
  margin-top: 18px;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes titleBounce {
  0%   { transform: scale(0.9); }
  60%  { transform: scale(1.05); }
  80%  { transform: scale(0.99); }
  100% { transform: scale(1); }
}

/* --- NAVIGATION STYLES --- */
header {
  background: #FFFDEE;
  border-bottom: 2px solid #F5F4EB;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px 0 10px 0;
}
.main-nav a {
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: #8B4A25;
  padding: 8px 16px;
  border-radius: 22px;
  background: transparent;
  transition: background 0.15s, color 0.19s, box-shadow 0.2s;
  font-size: 1rem;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2A65A;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(242, 166, 90,.15);
  outline: none;
}
.main-nav img {
  height: 45px;
  width: auto;
  margin-right: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #F2A65A;
  color: #fff;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 2rem;
  border: none;
  box-shadow: 0 2px 6px rgba(136, 74, 37, 0.09);
  position: absolute;
  top: 12px;
  right: 22px;
  z-index: 102;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #8B4A25;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245, 244, 235, 0.98);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1), opacity 0.3s;
  opacity: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  box-shadow: 6px 0 28px rgba(136, 74, 37, 0.06);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: #F2A65A;
  color: #8B4A25;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 9px 14px 9px 14px;
  margin: 20px 0 40px 22px;
  align-self: flex-start;
  border: none;
  box-shadow: 0 1px 9px 0 rgba(242,166,90,0.08);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #8B4A25;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-left: 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Merriweather', serif;
  color: #8B4A25;
  font-weight: 800;
  background: transparent;
  border-radius: 18px;
  padding: 11px 0 11px 12px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2A65A;
  color: #fff;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: .95rem;
    padding: 7px 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    min-height: 54px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- Footer --- */
footer {
  background: #FAEBD7;
  color: #8B4A25;
  padding: 34px 0 26px 0;
  margin-top: 75px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #8B4A25;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.17s;
  border-radius: 16px;
  padding: 7px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2A65A;
  color: #fff;
}
.footer-contact {
  text-align: center;
  color: #8B4A25;
  font-size: .98rem;
}
.footer-contact a {
  color: #8B4A25;
  text-decoration: underline;
  font-weight: 500;
}

/* --- Cards and Feature Items --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 2.5px solid #F2A65A;
  box-shadow: 0 3px 24px rgba(138,74,37,0.07);
  border-radius: 18px;
  gap: 15px;
  padding: 28px 20px 21px 20px;
  min-width: 245px;
  flex: 1 1 265px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-item img {
  height: 46px; width: 46px;
  margin-bottom: 3px;
}
.feature-item h3 {
  margin-bottom: 5px;
  font-weight: 800;
}
.feature-item p {
  margin-bottom: 0;
  color: #573321;
  font-size: 1rem;
}
.feature-item a {
  color: #F2A65A;
  margin-top: 6px;
  font-weight: 900;
  text-decoration: underline;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.02rem;
  transition: color 0.14s;
}
.feature-item a:hover {
  color: #8B4A25;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 28px 0 rgba(139,74,37,0.13);
  transform: translateY(-3px) scale(1.022) rotate(-1deg);
  border-color: #8B4A25;
}

/* --- Cards / Service Cards --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(139, 74, 37, 0.09);
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 20px 0 rgba(139,74,37,0.17);
  transform: rotate(-.3deg) scale(1.022);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 2px solid #F2A65A;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(245,166,90,0.08);
  padding: 24px 18px 22px 18px;
  margin-bottom: 20px;
  min-width: 250px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-card:hover {
  box-shadow: 0 6px 18px 0 rgba(139,74,37,0.14);
  transform: translateY(-2.5px) scale(1.022);
  border-color: #8B4A25;
}
.service-card .price {
  color: #8B4A25;
  background: #FFF9EC;
  border-radius: 11px;
  margin-top: 10px;
  font-weight: bold;
  padding: 5px 12px;
  font-size: 1.01rem;
  display: inline-block;
}

/* --- Content Grid --- */
.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: 900px) {
  .feature-grid { gap: 16px; }
  .service-list { gap: 16px; }
  .content-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- TEXT SECTIONS, LISTS --- */
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px 0 rgba(139, 74, 37, 0.06);
  padding: 24px 14px 20px 20px;
}
ul, ol {
  margin-bottom: 10px;
  margin-left: 18px;
  color: #573321;
}
li {
  margin-bottom: 7px;
}
.text-section ul {
  list-style: disc inside;
}
.text-section li strong {
  color: #8B4A25;
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 15px;
}
.contact-info img {
  width: 21px; height: 21px; margin-right: 7px; vertical-align: middle;
}
.contact-info a {
  color: #8B4A25; text-decoration: underline; font-weight: bold;
}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2.2px solid #F2A65A;
  border-radius: 18px;
  box-shadow: 0 1px 16px 0 rgba(139,74,37,0.10);
  color: #3D251E;
  margin-bottom: 20px;
  max-width: 800px;
  transition: box-shadow 0.17s, transform 0.17s, border 0.19s;
  position: relative;
}
.testimonial-card:before {
  content:'\201C';
  color: #F2A65A;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 16px;
  opacity: 0.33;
  pointer-events: none;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #3D251E;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 32px 0 rgba(139,74,37,0.11);
  border-color: #8B4A25;
  transform: translateY(-2px) scale(1.018);
}
.testimonial-meta {
  font-size: .96rem;
  color: #8B4A25;
  margin-left: 30px;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 1px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 800;
  background: #8B4A25;
  color: #fff;
  border-radius: 20px;
  border: none;
  padding: 12px 32px;
  margin: 5px 0;
  cursor: pointer;
  transition: background 0.19s, color 0.2s, box-shadow 0.18s, transform 0.17s;
  box-shadow: 0 3px 8px rgba(242,166,90, .12);
}
.btn.primary {
  background: #F2A65A;
  color: #8B4A25;
  border: 2.5px solid #8B4A25;
}
.btn.secondary {
  background: #fff;
  color: #8B4A25;
  border: 2.5px solid #F2A65A;
}
.btn:hover, .btn:focus {
  background: #8B4A25;
  color: #fff;
  transform: scale(1.035) rotate(-1deg);
  box-shadow: 0 6px 24px 0 rgba(139,74,37,0.12);
  outline: none;
}
.btn.primary:hover, .btn.primary:focus {
  background: #8B4A25;
  color: #fff;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #F2A65A;
  color: #8B4A25;
}

/* --- Cookie Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #F2A65A;
  color: #8B4A25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 16px 22px 26px;
  box-shadow: 0 -3px 16px rgba(139, 74, 37, 0.17);
  z-index: 9999;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.89,.17,.34,.99), opacity 0.16s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-btn {
  background: #fff;
  color: #8B4A25;
  border-radius: 18px;
  border: 2px solid #8B4A25;
  padding: 8px 18px;
  margin-left: 10px;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, border 0.13s;
  margin-bottom: 5px;
}
.cookie-banner .cookie-btn.accept {
  background: #8B4A25;
  color: #fff;
  border-color: #8B4A25;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #8B4A25;
  border-color: #F2A65A;
}
.cookie-banner .cookie-btn.settings {
  background: #F5F4EB;
  color: #8B4A25;
  border-color: #8B4A25;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: #8B4A25;
  color: #fff;
  border-color: #F2A65A;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(139,74,37, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #8B4A25;
  max-width: 440px;
  width: 93vw;
  padding: 38px 24px 30px 29px;
  border-radius: 21px;
  box-shadow: 0 6px 33px 0 rgba(139,74,37,0.17);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modalShow 0.48s cubic-bezier(.71,.13,.29,.97) both;
}
.cookie-modal h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #F2A65A;
}
.cookie-modal .modal-close {
  background: #F2A65A;
  color: #8B4A25;
  font-size: 1.48rem;
  border-radius: 40px;
  border: none;
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  padding: 7px 15px;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #8B4A25;
  color: #fff;
  outline: none;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .98rem;
}
.cookie-category strong {
  color: #F2A65A;
}
.cookie-switch {
  width: 44px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  background: #F5F4EB;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(245,166,90,.07);
  position: relative;
  margin-left: 10px;
}
.cookie-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 24px;
  z-index: 2;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  left: 4px;
  width: 18px;
  height: 18px;
  background: #F2A65A;
  border-radius: 50%;
  transition: left 0.16s, background 0.16s;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider {
  left: 22px;
  background: #8B4A25;
}
@keyframes modalShow {
  from {opacity:0;transform:scale(.81) translateY(40px);}
  to {opacity:1;transform:none;}
}

/* --- VISUAL MICRO-INTERACTIONS & ANIMATION --- */
.feature-item, .service-card, .testimonial-card, .card {
  will-change: box-shadow, transform;
}
.feature-item {
  transition: box-shadow 0.2s, transform 0.19s, border-color 0.22s;
}
.service-card {
  transition: box-shadow 0.19s, border-color 0.17s, transform 0.17s;
}
.testimonial-card {
  transition: box-shadow 0.18s, border-color 0.15s, transform 0.15s;
}
.card {
  transition: box-shadow 0.16s, transform 0.16s;
}

/* --- Playful Animated Dots for Hero Section --- */
.hero:after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 80px;
  height: 80px;
  background: url('../assets/deco-dots.svg') no-repeat center/contain;
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
  animation: floatY 3.6s infinite linear alternate;
}
@keyframes floatY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* --- Responsive utilities --- */
@media (max-width: 900px) {
  .feature-item, .service-card {
    min-width: 175px;
    padding: 18px 10px 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    padding: 17px 8px;
  }
}
@media (max-width: 570px) {
  .footer-nav { flex-direction: column; gap: 4px; }
  .cookie-banner { flex-direction: column; gap: 12px; font-size: .98rem; padding: 18px 8px; }
  .testimonial-card { max-width: 99vw; }
  .service-card, .feature-item { min-width: unset; }
  .card, .text-section { padding: 12px 5px 9px 9px; }
  .section { padding: 16px 3px; margin-bottom: 35px; }
}

/* --- Hide content overflow --- */
body {
  overflow-x: hidden;
}

/* --- FORM ELEMENTS (if any in future expansions) --- */
input, textarea, select {
  border: 2px solid #F2A65A;
  padding: 7px 12px;
  border-radius: 9px;
  margin-bottom: 9px;
  font-size: 1.05rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #8B4A25;
  outline: none;
}

/* --- Misc / Playful Details --- */
::-webkit-scrollbar {
  width: 11px;
  background: #F5F4EB;
}
::-webkit-scrollbar-thumb {
  background: #F2A65A;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8B4A25;
}


/* --- MINIMUM GAPS & MARGINS --- */
.card, .feature-item, .testimonial-card, .service-card {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .service-list {
  gap: 24px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* --- Accessibility / Focus --- */
a, button, .btn {
  outline: none;
  transition: box-shadow 0.14s, border 0.13s;
}
a:focus, .btn:focus, button:focus {
  outline: 2.5px dotted #F2A65A;
  outline-offset: 3px;
}

/* --- Fun heading highlight --- */
h2:after {
  content: '';
  display: block;
  width: 56px;
  height: 6px;
  background: #F2A65A;
  border-radius: 8px;
  margin: 12px 0 0 1px;
}

/* --- Playful font for accent tags --- */
.hero h1, h2, .main-nav a, .mobile-nav a, .feature-item h3, .service-card h3, .btn {
  font-family: 'Merriweather', serif;
}

/* --- Prevent card/section overlap --- */
.section, .card, .feature-item, .service-card, .testimonial-card {
  z-index: 1;
}

/* --- Z-Index context for overlays --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 99999;
}

/* --- END CSS --- */
