/* 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,
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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #3A405A;
  background: #F1EFE7;
  line-height: 1.6;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}
a {
  color: #C15539;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #E07A5F;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
/* Typography */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #3A405A;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #3A405A;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #E07A5F;
  margin-bottom: 16px;
  font-weight: 600;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  color: #3A405A;
  margin-bottom: 18px;
}
blockquote {
  font-size: 1.125rem;
  background: #fff9f6;
  color: #3A405A;
  padding: 20px 28px;
  border-left: 4px solid #E07A5F;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(58,64,90,0.07);
}
strong {
  color: #C15539;
  font-weight: 600;
}
.meta {
  color: #9c8e7c;
  font-size: 0.95em;
  margin-bottom: 8px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px; /* will be handled in wrapper */
}
.content-wrapper {
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(58,64,90,0.06);
  padding: 40px 32px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: #F1EFE7;
  box-shadow: none;
  border-radius: 24px;
  padding: 36px 20px 36px 20px;
  margin-bottom: 60px;
}
/* Section Spacing & Pattern */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(58,64,90,0.07);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}
.card:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 8px 24px rgba(58,64,90,0.13);
}
.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;
  align-items: center;
  gap: 20px;
  background: #FEF7F3;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(58,64,90,0.09);
  flex-direction: row;
  border-left: 4px solid #C15539;
}
.testimonial-card strong { color: #C15539; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 13px rgba(58,64,90,0.09);
}

/* Header and Navigation */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(58,64,90,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  position: relative;
}
header nav a {
  font-size: 1rem;
  padding: 8px 14px;
  color: #3A405A;
  border-radius: 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: none;
  transition: background 0.2s, color 0.2s;
}
header nav a.cta {
  background: #C15539;
  color: #FFF;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 7px rgba(225,122,95,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #E07A5F;
  color: #FFF;
  box-shadow: 0 4px 15px rgba(225,122,95,0.14);
}
header nav a:hover, header nav a:focus {
  background: #F1EFE7;
  color: #C15539;
}
header nav img {
  height: 34px;
  margin-right: 18px;
  border-radius: 10px;
  background: #F8F6F2;
  padding: 2px 6px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  background: #C15539;
  color: #FFF;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 200;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(225,122,95,0.09);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E07A5F;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #FFF;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77,0.2,0.05,1.02);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FCE2DC;
  border: none;
  color: #C15539;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-right: 24px;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px rgba(193,85,57,0.12);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E07A5F;
  color: #FFFFFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #3A405A;
  background: #F1EFE7;
  padding: 14px 36px;
  border-radius: 26px;
  margin-bottom: 7px;
  width: 230px;
  text-align: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:last-child {
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C15539;
  color: #FFF;
}

/* Main CTA Buttons elsewhere */
.cta {
  display: inline-block;
  background: #C15539;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 30px;
  margin-top: 14px;
  font-size: 1.14rem;
  box-shadow: 0 2px 8px rgba(225,122,95,0.10);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.cta:hover,
.cta:focus {
  background: #E07A5F;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 2px 18px rgba(225,122,95,0.19);
}

/* Footer */
footer {
  background: #F1EFE7;
  padding: 28px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #3A405A;
  font-size: 1rem;
  margin-bottom: 6px;
  border-radius: 7px;
  padding: 6px 12px;
  background: none;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #C15539;
  color: #FFF;
}
.contact-info {
  font-size: 0.98rem;
  color: #3A405A;
  margin-bottom: 18px;
}
footer img {
  height: 36px;
  align-self: flex-end;
  background: #FFF;
  border-radius: 11px;
  padding: 3px 8px;
  box-shadow: 0 1px 5px rgba(58,64,90,0.07);
}

/* Inputs */
input[type="search"] {
  border: 1.5px solid #F1EFE7;
  border-radius: 19px;
  padding: 10px 22px;
  font-size: 1rem;
  background: #FFF;
  color: #3A405A;
  outline: none;
  box-shadow: 0 1px 4px rgba(58,64,90,0.07);
  margin-top: 14px;
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="search"]:focus {
  border-color: #E07A5F;
  box-shadow: 0 0 0 1px #E07A5F;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff7f4;
  box-shadow: 0 -2px 10px rgba(58,64,90,0.11);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.29s;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  background: #C15539;
  color: #FFF;
  border: none;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  border-radius: 24px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.16s, box-shadow 0.19s;
  box-shadow: 0 1px 7px rgba(225,122,95,0.09);
}
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #E07A5F;
  color: #FFF;
  transform: translateY(-1px) scale(1.01);
}
.cookie-banner .cookie-reject-btn {
  background: #F1EFE7;
  color: #C15539;
  border: 1px solid #C15539;
}
.cookie-banner .cookie-reject-btn:hover, .cookie-banner .cookie-reject-btn:focus {background:#fff2eb;color:#C15539;}

/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(58,64,90,0.28);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff9f4;
  border-radius: 30px;
  padding: 36px 32px 30px 32px;
  max-width: 335px;
  width: 94vw;
  min-width: 220px;
  box-shadow: 0 6px 36px rgba(58,64,90,0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.34s cubic-bezier(.53, 1.6, .49, .84);
}
@keyframes modalIn {
  from { transform: translateY(80px) scale(.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #C15539;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F1EFE7;
  border-radius: 14px;
  outline: none;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #C15539;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: left 0.18s, background 0.18s;
  box-shadow: 0 1px 6px rgba(193,85,57,0.06);
}
.cookie-toggle:checked::before {
  left: 17px;
  background: #fff3ed;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal-btns button {
  background: #C15539;
  color: #FFF;
  border-radius: 18px;
  font-family: 'Playfair Display', serif;
  padding: 10px 18px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(225,122,95,0.08);
  transition: background 0.16s, color 0.15s, transform 0.11s;
}
.cookie-modal-btns button:hover,
.cookie-modal-btns button:focus {
  background: #E07A5F;
  color: #FFF;
}

@media (max-width: 1024px) {
  .container {max-width: 1000px;}
  .content-wrapper, .text-section {padding: 30px 10px;}
}
@media (max-width: 900px){
  .container {max-width: 790px;}
  header nav {flex-wrap: wrap; gap: 8px;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 98vw; padding: 0 8px; }
  .content-wrapper, .text-section {padding: 24px 6px;}
  .section {padding: 24px 6px;}
  header nav {display: none;}
  .mobile-menu-toggle {display: block;}
  .footer .container {flex-direction: column;align-items: flex-start;}
  footer nav {flex-direction: row; gap: 12px;}
}
@media (max-width: 600px) {
  .content-wrapper, .text-section {
    padding: 15px 2px;
    border-radius: 13px;
  }
  .section { padding: 15px 2px; border-radius: 13px; }
}
/* Flex Patterns Responsive */
@media (max-width: 768px) {
  .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .feature-item { width: 100%; }
  footer .container { flex-direction: column; gap: 18px; }
}

/* Visual Accents – Warm & Friendly */
.card, .testimonial-card, .feature-item, .content-wrapper {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(58,64,90,0.07);
}
.card, .feature-item {
  background: #FFFCF9;
}

/* Spacing Consistency */
main > section, .section {
  margin-bottom: 60px;
  padding: 0;
}
section:last-child, .section:last-child {margin-bottom: 0;}

/* Micro-Interactions */
.card, .testimonial-card, .cta, input[type="search"], .cookie-banner button, .cookie-banner .cookie-settings-btn, .mobile-menu-toggle {
  transition: box-shadow 0.18s, background 0.2s, color 0.16s, transform 0.17s;
}

/* Accessibility/Contrast */
.testimonial-card,
.testimonial-card blockquote {
  background: #FFF9F3;
  color: #3A405A;
}
.testimonial-card p strong {
  color: #C15539;
}

/* Z-Index Management */
.mobile-menu {z-index: 999;}
.mobile-menu-toggle {z-index: 1001;}
.cookie-banner {z-index: 10000;}
.cookie-modal-bg {z-index: 10001;}

/* Miscellaneous */
::-webkit-scrollbar {
  width: 10px;
  background: #f1efe7;
}
::-webkit-scrollbar-thumb {
  background: #e6d6c9;
  border-radius: 16px;
}

/* Utility: Hide visually, accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
