/* RESET & BASE -------------------------------------------------- */
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, 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {-webkit-font-smoothing: antialiased;}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FCFAF6;
  color: #26412F;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #A94442;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #2A5338; }
ul {
  list-style: none;
}

/* FONT FACES -------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: local('Cormorant Garamond'), local('CormorantGaramond-Regular');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

/* COLOR VARIABLES (WITH FALLBACKS) ---------------------------- */
:root {
  --color-primary: #2A5338;
  --color-secondary: #A94442;
  --color-accent: #F7FAF5;
  --color-bg: #FCFAF6;
  --color-pastel-pink: #F9E5E9;
  --color-pastel-green: #D9E5D6;
  --color-pastel-blue: #D6E3F0;
  --color-pastel-yellow: #FAF6DB;
  --color-white: #ffffff;
  --color-dark: #2A5338;
  --color-text: #26412F;
}

/* TYPOGRAPHY --------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: #2A5338;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  line-height: 1.15;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; }

p, ul, ol, li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 12px;
}
b, strong { font-weight: 600; }

/* LAYOUT -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(44, 90, 67, 0.06);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(128,128,128,0.11);
  padding: 28px 22px;
  transition: box-shadow 0.3s, transform 0.3s;
  min-width: 260px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px 0 rgba(44, 90, 67, 0.13);
  transform: translateY(-5px) scale(1.02);
}

.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;
  margin-bottom: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 18px 28px;
  border-radius: 15px;
  background: var(--color-pastel-yellow);
  box-shadow: 0 2px 8px 0 rgba(220, 194, 151, 0.09);
  margin-bottom: 20px;
  min-width: 260px;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #2A5338;
  font-size: 1.11rem;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card span {
  color: #6E7B73;
  font-size: 0.96rem;
  align-self: flex-end;
  font-style: italic;
}

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

/* HERO ---------------------------------------- */
.hero {
  background: linear-gradient(120deg, #FAF6DB 60%, #F9E5E9 100%);
  padding: 68px 0 58px 0;
  border-radius: 30px 30px 24px 24px;
  box-shadow: 0 10px 36px 0 rgba(157, 205, 197, 0.13);
  margin-bottom: 40px;
}
.hero h1 {
  color: #A94442;
  text-shadow: 0 1px 10px #f3eac5;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 30px;
}

/* BUTTONS & LINKS ----------------------------------------------- */
.btn-primary, .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 0;
  border-radius: 30px;
  padding: 12px 38px;
  font-size: 1.1rem;
  background: linear-gradient(110deg, #2A5338 90%, #A94442 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 20px 0 rgba(44, 90, 67, 0.11);
  font-weight: 600;
  transition: background .25s, transform .15s, box-shadow .25s;
  text-decoration: none;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(120deg, #A94442 80%, #2A5338 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px 0 rgba(157, 205, 197, 0.18);
}
.btn-link {
  font-size: 1rem;
  background: transparent;
  color: #2A5338;
  padding: 0;
  box-shadow: none;
  transition: color .2s;
  text-decoration: underline;
}
.btn-link:hover, .btn-link:focus {
  color: #A94442;
}

/* MAIN NAV --------------------------------------------------------- */
header {
  background: #F7FAF5;
  border-bottom: 1px solid #F9E5E9;
  position: relative;
  z-index: 30;
}
.logo {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #2A5338;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 18px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D9E5D6;
  color: #A94442;
}
.main-nav .btn-primary {
  margin-left: 12px;
  padding: 9px 28px;
  font-size: 1rem;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

/* MOBILE BURGER MENU -------------------------------------------------- */
.mobile-menu-toggle {
  background: #A94442;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  cursor: pointer;
  transition: background .22s, color .15s, box-shadow .2s;
  box-shadow: 0 2px 8px 0 rgba(169,68,66,0.08);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #2A5338;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(42,83,56,0.16);
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(140deg, #F9E5E9 60%, #D6E3F0 100%);
  box-shadow: 0 4px 90px 0 rgba(42,83,56,0.13);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(0.83, 0, 0.17, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.7rem;
  color: #A94442;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin: 16px 18px 0 0;
  box-shadow: 0 2px 12px 0 #FAD9E1;
  cursor: pointer;
  transition: background .2s, color .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #A94442;
  color: #fff;
}
.mobile-nav {
  margin: 50px 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #2A5338;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  display: block;
  border-radius: 10px;
  transition: background .15s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D6E3F0;
  color: #A94442;
}

/* Hide main-nav, show burger on mobile */
@media (max-width: 1050px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (min-width: 1051px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: #F7FAF5;
  border-top: 1px solid #F9E5E9;
  padding: 44px 0 28px 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 28px 0 rgba(234, 232, 229, 0.13);
  margin-top: 46px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A5338;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .13s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D9E5D6;
  color: #A94442;
}
.logo-footer {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
}
.footer-contact {
  font-size: 0.96rem;
  color: #26412F;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: middle;
}

/* BLOG PREVIEW ------------------------------------------------- */
.blog-preview {
  background: #FAF6DB;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(250,230,218,0.13);
  padding: 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 270px;
}
.blog-preview h3 {
  color: #A94442;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.23rem;
  margin-bottom: 2px;
}
.blog-preview .btn-link {
  margin-top: 5px;
}

/* TEXT SECTIONS ------------------------------------------------ */
.text-section {
  background: #D6E3F0;
  border-radius: 12px;
  padding: 21px 18px;
  margin-bottom: 20px;
  color: #2A5338;
  box-shadow: 0 2px 10px 0 rgba(214,227,240,0.07);
}

/* ULIST WITH ICONS --------------------------------------------- */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-left: 0;
  list-style: none;
  margin-top: 4px;
  margin-bottom: 10px;
}
.content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #2A5338;
  min-width: 240px;
  margin-bottom: 0;
}
.content-wrapper ul li img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  flex-shrink: 0;
}

/* FORMS (Newsletter) ------------------------------------------- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #FBFAF8;
  border-radius: 7px;
  border: 1px solid #D9E5D6;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  color: #2A5338;
  width: 100%;
  box-sizing: border-box;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #A94442;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2A5338;
  margin-bottom: 8px;
}

/* SPACING FOR COMMON FLEX COMPONENTS --------------------------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* SUBTLE ANIMATIONS + EFFECTS ---------------------------------- */
.card, .testimonial-card, .blog-preview, .section, .btn-primary {
  transition: box-shadow 0.28s, transform 0.19s, background 0.22s, color 0.15s;
}

/* COOKIE CONSENT BANNER + MODAL ------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9000;
  background: #FCFAF6;
  box-shadow: 0 -2px 20px 0 rgba(247, 234, 238, 0.16);
  border-top: 2px solid #A94442;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2A5338;
  animation: fadeInCookie 0.72s cubic-bezier(0.77,0,0.17,1) 1;
}
@keyframes fadeInCookie {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-banner button {
  min-width: 120px;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .18s;
}
.cookie-accept {
  background: #2A5338;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(44, 90, 67, 0.10);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #A94442;
  color: #fff;
}
.cookie-reject {
  background: #A94442;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #2A5338;
}
.cookie-settings {
  background: #D9E5D6;
  color: #2A5338;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #D6E3F0;
  color: #A94442;
}

.cookie-modal {
  position: fixed;
  z-index: 9991;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,83,56,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.68s cubic-bezier(0.77,0,0.17,1) 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 6px 48px 0 rgba(181,179,173, 0.18);
  min-width: 350px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.21rem;
  color: #A94442;
  margin-bottom: 1px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 38px;
  height: 20px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #FAF6DB;
  border-radius: 24px;
  transition: background-color .2s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background-color: #2A5338;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: .2s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 22px;
  top: 17px;
  background: none;
  border: none;
  font-size: 1.44rem;
  color: #A94442;
  opacity: .85;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 700px) {
  .cookie-modal .cookie-modal-content {
    min-width: 94vw;
    padding: 20px 10px;
    font-size: 0.96rem;
  }
}

/* RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1250px) {
  .container { max-width: 96vw; }
}
@media (max-width: 925px) {
  footer .container { flex-direction: column; gap: 25px; align-items: flex-start; }
  .content-wrapper ul { gap: 14px 12px; }
}
@media (max-width: 800px) {
  .section, .hero { padding: 32px 8px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .card, .testimonial-card, .blog-preview { min-width: 90vw; }
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 28px 0; }
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
    border-radius: 16px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.26rem; }
  .container {
    padding-left: 5px; padding-right: 5px; max-width: 99vw;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .footer-nav {
    flex-direction: column!important;
    align-items: flex-start!important;
    gap: 17px!important;
  }
  .footer-contact { gap: 5px; font-size: 0.92rem; }
  .content-wrapper ul { flex-direction: column; gap: 7px 0; }
  .testimonial-card, .blog-preview, .card { min-width: 97vw; padding: 14px 7px; }
  .text-image-section { flex-direction: column; gap: 15px; }
}
@media (max-width: 520px) {
  .footer-nav { font-size: 0.89rem; gap: 10px!important; }
  .logo-footer { width: 43px; height: 43px; }
}

/* ACCESSIBILITY: FOCUS STYLES ---------------------------------------- */
a:focus, button:focus, input:focus {
  outline: 2px dashed #A94442;
  outline-offset: 2px;
}

/* MICROINTERACTIONS ---------------------------------------------- */
.card, .testimonial-card, .blog-preview, .btn-primary {
  will-change: transform, box-shadow;
}
.card:hover, .testimonial-card:hover, .blog-preview:hover {
  box-shadow: 0 8px 32px 0 rgba(42, 83, 56, 0.12);
  transform: translateY(-2px) scale(1.018);
  z-index: 1;
}

/* SCROLLBAR THEME (Webkit) ----------------------------------------- */
::-webkit-scrollbar { width: 9px; background: #f3f6ee; }
::-webkit-scrollbar-thumb { background: #D9E5D6; border-radius: 10px; }

/* SELECTED COMPONENT OVERRIDES ------------------------------------- */
/* Mobile menu container override for quick hide on close */
.mobile-menu[aria-hidden="true"] {
  display: none !important;
}

/* End of CSS */
