/* --- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* --- BRAND VARIABLES & BASE --- */
:root {
  --primary: #314158;
  --secondary: #A57E52;
  --accent: #F2ECE2;
  --text: #1C232B;
  --bg: #fff;
  --shadow: 0 2px 8px rgba(49,65,88,0.07);
  --radius: 14px;
  --focus: #A57E52;
  font-size: 16px;
}

@media (max-width: 500px) {
  :root {
    font-size: 15px;
  }
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 { font-family: 'Merriweather', Georgia, serif; font-weight: 700; letter-spacing: -0.5px; }
h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 24px; color: var(--primary); }
h2 { font-size: 2rem;   line-height: 1.3; margin-bottom: 18px; color: var(--primary); }
h3 { font-size: 1.35rem; line-height: 1.4; margin-bottom: 12px; color: var(--primary); }

p, li, ul { font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; line-height: 1.7; }
strong, b { font-weight: bold; }

.subheadline {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.mission-statement {
  font-size: 1.075rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 16px;
}

.brand-story {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
}

/***** CONTAINER & LAYOUT *****/
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(49,65,88,0.11);
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/***** HEADER & NAVIGATION *****/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 12px 18px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10010;
  box-shadow: 0 1px 8px rgba(49,65,88,0.04);
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}
.cta-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--bg);
  background: var(--primary);
  font-weight: 600;
  margin-left: 18px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--bg);
  outline: 2px solid var(--secondary);
  transform: translateY(-2px) scale(1.02);
}

/***** MOBILE HEADER & NAVIGATION ******/
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  background: var(--accent);
  padding: 7px 16px 8px 14px;
  border-radius: 8px;
  color: var(--primary);
  border: none;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.13s, box-shadow 0.18s;
  box-shadow: var(--shadow);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--bg);
  outline: 2px solid var(--secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 12000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.5,0.1,0.1,1);
  box-shadow: 4px 0 44px rgba(49,65,88,0.10);
  padding: 0 32px 0 22px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 24px 0 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px 0 0;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 15px 0;
  font-size: 1.2rem;
  color: var(--primary);
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--bg);
}

@media (max-width: 1020px) {
  .main-nav { gap: 13px; }
  .cta-btn { margin-left: 8px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 6px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header {
    padding: 15px 10px 10px 10px;
    min-height: 56px;
  }
  .container {
    padding: 0 8px;
  }
}

/* --- PAGE BLOCK LAYOUTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 24px 0;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}
section .container {
  padding: 0 18px;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 42px;
    padding: 32px 0 17px 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 32px 6px;
  }
}

/* --- OFFER/FEATURES --- */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
section ul li {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 200px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s;
}
section ul li img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
section ul li:hover {
  box-shadow: 0 4px 18px rgba(49,65,88,0.13);
}
@media (max-width: 768px) {
  section ul {
    flex-direction: column;
    gap: 18px;
  }
  section ul li {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
}

/***** TESTIMONIALS CARDS *****/
.content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  background: #FAFAF8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  font-size: 1rem;
  color: #222;
  border: 1px solid #ECE9E2;
  transition: box-shadow 0.18s, border-color 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 21px rgba(49,65,88,0.20);
  border-color: var(--secondary);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.testimonial-card strong {
  color: var(--secondary);
  font-weight: 700;
}
.testimonial-card img {
  height: 22px; width: 22px; display: inline-block; margin-right: 0.5px;
}
@media (max-width:768px) {
  .testimonial-card {min-width: 0; width: 100%;}
}

/***** FOOTER *****/
footer {
  background: var(--accent);
  border-top: 1px solid #ECE9E2;
  padding: 32px 0 24px 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-menu {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-menu a {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.95;
  transition: color 0.14s, opacity 0.13s;
  padding: 4px 10px;
  border-radius: 7px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  opacity: 1;
  background: #f7f4f2;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.social-links a img {
  height: 25px;
  width: 25px;
  filter: grayscale(0.3) brightness(0.9);
  transition: filter 0.16s;
}
.social-links a:hover img {
  filter: grayscale(0) brightness(1.2);
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.newsletter-signup h3 {
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 0;
}
.newsletter-signup p {
  font-size: 1rem;
  color: var(--secondary);
}

@media (max-width: 768px) {
  footer {
    padding: 22px 0 16px 0;
    gap: 20px;
  }
  .footer-menu { gap: 10px; flex-wrap: wrap; justify-content: center; }
}

/***** LINKS & BUTTONS (GENERAL) *****/
a, .cta-btn, button {
  outline: none;
  text-decoration: none;
  transition: color 0.16s, background 0.15s, box-shadow 0.18s, border 0.2s;
}

/***** THANK YOU MESSAGE *****/
.thank-you-message {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 18px;
}

/***** COOKIE CONSENT BANNER & MODAL *****/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff8ef;
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(49,65,88,0.09);
  border-top: 1px solid #ECE9E2;
  padding: 22px 20px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: cookieBannerIn 0.4s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
  width: 100%;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--primary);
  color: var(--bg);
  transition: background 0.16s, color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  outline: 2px solid var(--secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--secondary);
}

.cookie-pref-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(44,53,68,0.18);
  animation: fadeInModal 0.22s cubic-bezier(0.5,0.1,0.1,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-pref-box {
  background: #fff;
  border-radius: 18px;
  max-width: 450px;
  padding: 34px 30px 22px 30px;
  box-shadow: 0 7px 32px rgba(49,65,88,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalSlideIn 0.26s cubic-bezier(0.55,0,0.7,1);
}
@keyframes modalSlideIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-pref-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-switch {
  width: 42px;
  height: 22px;
  background: #EADED2;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
  flex-shrink: 0;
}
.cookie-switch[data-checked="true"] {
  background: var(--secondary);
}
.cookie-switch-knob {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-switch[data-checked="true"] .cookie-switch-knob {
  left: 22px;
  background: var(--bg);
}
.cookie-pref-label {
  font-size: 1.12rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-pref-close {
  position: absolute;
  top: 18px;
  right: 21px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-pref-close:hover, .cookie-pref-close:focus {
  color: var(--secondary);
}
@media (max-width: 550px) {
  .cookie-pref-box {
    max-width: 96vw;
    padding: 23px 7vw 17px 7vw;
  }
  .cookie-consent-banner {
    padding: 15px 8px;
  }
}

/***** SPACING --- UTILITIES *****/
.mt-16 {margin-top: 16px;}
.mb-20 {margin-bottom: 20px;}
.mb-36 {margin-bottom: 36px;}
.pb-32 {padding-bottom: 32px;}
.gap-20 {gap: 20px;}
.gap-24 {gap: 24px;}
.gap-32 {gap: 32px;}

/***** FORM ELEMENTS (FUTURE USE) *****/
input[type='text'], input[type='email'], textarea {
  border: 1px solid #c1b4a1;
  border-radius: 9px;
  font-size: 1rem;
  padding: 11px 14px;
  outline: none;
  box-shadow: var(--shadow);
  background: #faf8f5;
  color: var(--primary);
  margin-bottom: 12px;
  transition: border 0.15s, box-shadow 0.17s;
}
input[type='text']:focus,
input[type='email']:focus,
textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary), var(--shadow);
}
label {
  margin-bottom: 5px;
  font-size: 1rem;
  color: var(--primary);
}

/***** RESPONSIVE FLEX DIRECTION *****/
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- VISUAL MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cta-btn, .cookie-btn {
  transition: box-shadow 0.18s, background 0.18s, border 0.19s, color 0.18s, transform 0.19s;
}

.card:hover, .testimonial-card:hover, .cookie-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

/***** GENERAL SELECTION HIGHLIGHT *****/
::selection {
  background: #E1D4C4;
  color: var(--primary);
}

/***** SCROLLBAR MINIMAL (OPTIONAL) *****/
body {
  scrollbar-color: #D6C3A3 #FAFAF4;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #F7F5F2;
}
::-webkit-scrollbar-thumb {
  background: #DDD3C2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C6AA83;
}

/***** HIGH CONTRAST FOR TESTIMONIAL TEXT ON ALL BGs *****/
.testimonial-card p,
.testimonial-card div,
.testimonial-card strong {
  color: #2A2A24;
}

/***** Z-INDEX SAFETY *****/
.mobile-menu,
.cookie-consent-banner,
.cookie-pref-modal {
  z-index: 20000 !important;
}

/***** ACCESSIBILITY STATES *****/
a:focus,
button:focus,
.cta-btn:focus,
.cookie-btn:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

/***** MINIMUM MARGIN BETWEEN CARDS AND SECTIONS *****/
.card, .testimonial-card, section ul li {
  margin-bottom: 20px !important;
}
section {
  margin-bottom: 60px !important;
}

/***** HIDE MOBILE MENU ON DESKTOP *****/
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/***** MINIMALIST VISUAL FLAVOR *****/
section, .card, .testimonial-card, section ul li {
  box-shadow: 0 2px 8px rgba(49,65,88,0.07);
}
section {
  border-radius: 16px;
  background: none;
}

/***** SPECIALIZED ALIGNMENT FOR ADDRESS/CONTACT ********/
.content-wrapper p strong, .content-wrapper p b {
  color: var(--primary);
  font-weight: 600;
}


/*********** END ***********/
