/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  line-height: 1.55;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #F6F3ED 0%, #D9B382 100%);
  color: #3E2940;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #3E2940;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9B382;
}
button, [type=button], [type=submit] {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* BRAND COLORS */
:root {
  --primary: #3E2940;
  --secondary: #D9B382;
  --accent: #F6F3ED;
  --neutral: #ffffff;
  --shadow: rgba(62,41,64,0.10);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.375rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.6;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* CONTAINERS & SECTIONS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 30px 8px; margin-bottom: 40px; }
}

.content-wrapper {
  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(--neutral);
  border-radius: 18px;
  box-shadow: 0 6px 24px var(--shadow);
  padding: 28px 22px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(62,41,64,0.18);
  transform: translateY(-2px) scale(1.012);
}
.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: 20px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px var(--shadow);
  min-width: 220px;
  max-width: 540px;
  color: #28222F;
  transition: box-shadow 0.21s, border 0.21s;
}
.testimonial-card p {
  color: #28222F;
  font-style: italic;
  font-size: 1.065rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.75;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(62,41,64,0.21);
  border: 1.5px solid var(--secondary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--neutral);
  padding: 22px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 350px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--primary);
}
.feature-item p {
  font-size: 1rem;
  color: var(--primary);
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(217,179,130,0.12);
  transform: translateY(-2px) scale(1.016);
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .5px;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 16px rgba(217,179,130,0.12);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(270deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(62,41,64,0.16);
  transform: translateY(-1px) scale(1.02);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 1011;
  font-size: 2.3rem;
  color: var(--primary);
  background: var(--accent);
  padding: 4px 16px 0 16px;
  border-radius: 8px;
  border: none;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 1020px) {
  .mobile-menu-toggle { display: block; }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 20px 0;
  position: relative;
  background: var(--neutral);
}
.main-nav > a img { height: 48px; }
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 8px;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  padding: 5px 3px;
  border-radius: 8px;
  transition: color 0.2s, background 0.16s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: var(--secondary);
  background: var(--accent);
}
.main-nav .btn-primary {
  margin-left: 12px;
  font-size: 1rem;
  padding: 10px 22px;
}
@media (max-width: 1020px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .main-nav {
    padding-bottom: 16px;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  z-index: 1950;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.71,.29,.44,.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -5px 0 24px rgba(62,41,64,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.15rem;
  background: none;
  border: none;
  color: var(--primary);
  margin: 30px 0 10px 30px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 12px 0 12px;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0 38px;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO, FEATURE, & CTA SECTIONS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item {
    max-width: 100%;
  }
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--primary) 0%, #59405E 100%);
  color: #fff;
  padding: 34px 0 18px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.86;
  font-weight: 500;
  transition: color 0.18s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
address {
  font-style: normal;
  color: #f1ede9;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
address div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
}
address a {
  color: var(--secondary);
}
footer > .container > div:last-child {
  margin-top: 18px;
  color: #ddcdb1;
  font-size: 0.91rem;
  opacity: 0.73;
}
@media (max-width: 800px) {
  footer .container,
  address {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-nav { gap: 13px; }
}

/* ICONS */
img[alt^="icon-"] {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

/* TABLES (if used) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #ece1d5;
  padding: 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: var(--secondary);
  color: #fff;
}
td {
  background: var(--neutral);
  color: var(--primary);
}

/* CONTENT LISTS WITH ICONS */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--primary);
}
ul li img {
  flex-shrink: 0;
  margin-top: 2px;
}

/* GENERAL SPACING */
main {
  min-height: 500px;
}

/* FORM ELEMENTS */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #ddd2c6;
  border-radius: 8px;
  background: var(--neutral);
  color: var(--primary);
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
label {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 500;
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--neutral);
  box-shadow: 0 -2px 24px rgba(62,41,64,0.12);
  border-top: 2px solid var(--secondary);
  z-index: 2500;
  padding: 20px 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  animation: ccbannerin 0.32s cubic-bezier(.61,1.54,.61,.99);
}
@keyframes ccbannerin { 0% { opacity:0; transform:translateY(48px); } 100% { opacity:1; transform:translateY(0); } }
.cookie-consent-banner p {
  flex: 1 1 230px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  border-radius: 20px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 22px;
  border: none;
  box-shadow: 0 1px 6px rgba(217,179,130,0.09);
  transition: background 0.16s, color 0.16s;
}
.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #D9B382;
  color: var(--primary);
}
.cookie-btn-reject {
  background: #fff6e6;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn-settings {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid #dfcdab;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 7px 25px 7px;
  }
  .cookie-buttons { gap: 8px; }
}

/***** Cookie modal popup *****/
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(62,41,64,0.19);
  z-index: 2650;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ccbgappear 0.2s cubic-bezier(.41,1.44,.61,.99);
}
@keyframes ccbgappear { from{ opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: var(--neutral);
  border-radius: 20px;
  min-width: 320px;
  max-width: 410px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 38px rgba(62,41,64,0.24);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: ccpopupin 0.29s cubic-bezier(.51,1.26,.61,.89);
}
@keyframes ccpopupin { from{ opacity:0; transform:scale(0.88);} to{opacity:1;transform:scale(1);} }
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cookie-modal ul {
  margin-bottom: 0; gap:0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal label {
  margin-bottom: 0;
}
.cookie-toggle-switch {
  width: 36px;
  height: 18px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e0cedf;
  border-radius: 18px;
  transition: background 0.18s;
}
.cookie-toggle-switch input:checked + .cookie-switch-slider {
  background-color: var(--secondary);
}
.cookie-switch-slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 4px rgba(62,41,64,0.05);
}
.cookie-toggle-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  margin-top: 6px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 7px 18px;
  font-size: 0.98rem;
  background: var(--primary);
}
.cookie-modal .cookie-btn:last-child {
  background: var(--secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: none;
  color: var(--primary);
  font-size: 1.55rem;
  border-radius: 6px;
  padding: 2px 7px 0 7px;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}

/* ANIMATIONS FOR BUTTONS */
.btn-primary, .cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: box-shadow 0.18s, background 0.18s, transform 0.13s, color 0.14s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/***** RESPONSIVE STYLES *****/
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 992px) {
  .container { max-width: 820px; }
  .main-nav { gap: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.44rem; }
  .container { padding: 0 7px; }
  .feature-grid { gap: 13px; }
  .testimonial-card { max-width: 100%; }
  .feature-item { max-width: 100%; min-width: 180px; }
  .section { padding: 24px 2px; margin-bottom: 34px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.1rem; }
  .main-nav > a img { height: 38px; }
  .footer-nav { gap: 7px; font-size: 0.92rem; }
  .container { padding: 0 2px; }
}

/* UTILITIES */
.hide { display: none !important; }

/* ACCESSIBILITY FOCUS STYLES */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  z-index: 10;
}

/* Misc */
::-webkit-input-placeholder { color: #78636f; }
:-moz-placeholder { color: #78636f; }
::-moz-placeholder { color: #78636f; }
:-ms-input-placeholder { color: #78636f; }
::placeholder { color: #78636f; }

/* --- VISUAL HIERARCHY and SPACING PATTERNS --- */
/* DO NOT REMOVE per project specs */
.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; }

/* NEVER use grid or column layouts per requirements */
