/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0; 
  background: none;
  font: inherit;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #4B203A;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.015em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #4B203A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.22;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #A2B7A9;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #4B203A;
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px 0 rgba(76,32,58,0.05);
}
@media (max-width:768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(148,109,114,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}
header img {
  height: 42px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #4B203A;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
header nav a:hover,
header nav a:focus {
  color: #A2B7A9;
  border-bottom: 2px solid #A2B7A9;
}
.btn-primary {
  background: #4B203A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  padding: 12px 32px;
  border-radius: 30px;
  margin-left: 8px;
  border: none;
  box-shadow: 0 6px 30px 0 rgba(76,32,58,0.11);
  transition: background 0.22s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A2B7A9;
  color: #4B203A;
  box-shadow: 0 9px 36px 1px #4B203A33;
  transform: translateY(-2px) scale(1.03);
}

/* -- MOBILE HEADER & NAVIGATION -- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  font-weight: bold;
  background: #E8CFA7;
  color: #4B203A;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  transition: background 0.2s;
  z-index: 105;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A2B7A9;
  color: #fff;
}
@media (max-width:1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  transform: translateX(100vw);
  transition: transform 0.42s cubic-bezier(0.62,0.05,0.25,1);
  z-index: 110;
  box-shadow: 0 12px 40px 8px rgba(75,32,58, 0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 34px 28px 24px 28px;
  gap: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: #4B203A;
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 9999;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A2B7A9;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  padding: 9px 0;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4B203A;
  font-weight: 700;
  border-radius: 7px;
  background: none;
  transition: background 0.18s, color 0.15s;
  text-align:left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E8CFA7;
  color: #A2B7A9;
}

/* ================= MAIN ================= */
main {
  background: #fff;
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 24px 8px;
    margin-bottom: 28px;
  }
}

/* --- FLEXBOX LAYOUT UTILS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(76,32,58,0.06);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 365px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.card:hover {
  box-shadow: 0 11px 32px 0 #4B203A19;
  transform: translateY(-3px) scale(1.025);
}
.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) {
  .content-grid,
  .card-container,
  .feature-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- FEATURES & CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #E8CFA7;
  border-radius: 18px;
  box-shadow: 0 7px 32px 0 #4B203A12;
  padding: 28px 18px;
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 16px 46px 0 #A2B7A922;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.feature-grid h3 {
  color: #4B203A;
  font-size: 1.14rem;
  margin-bottom: 10px;
}
.feature-grid p {
  color: #4B203A;
  font-size: 1rem;
}

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

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 #A2B7A922;
  border: 2.5px solid #A2B7A9;
  max-width: 670px;
  color: #4B203A;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: #4B203A;
  margin-bottom: 0px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #4B203A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0px;
  margin-top: -8px;
}

/* --- TEXT-SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section h3 {
  font-family: 'Playfair Display', serif;
  color: #4B203A;
  font-size: 1.18rem;
  margin: 8px 0;
  font-weight: 700;
}
.text-section p,
.text-section ul,
.text-section li {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4B203A;
  font-size: 1rem;
}
.text-section ul {
  margin-left: 18px;
}
.text-section li:not(:last-child) {
  margin-bottom: 7px;
}

ul li,strong {
  font-weight: 700;
}
ul li {
  margin-bottom: 11px;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

/* --- BUTTONS & INTERACTIONS --- */
.btn-primary,
.text-section a.btn-primary,
.content-wrapper a.btn-primary {
  background: #4B203A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 11px 32px;
  border-radius: 32px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.11s;
  box-shadow: 0 6px 28px 0 #4B203A10;
  border: none;
  margin-top: 14px;
  margin-bottom: 3px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A2B7A9;
  color: #4B203A;
  box-shadow: 0 11px 44px 0 #4B203A10;
  transform: translateY(-3px) scale(1.025);
}

/* --- FOOTER --- */
footer {
  background: #4B203A;
  color: #fff;
  padding: 38px 0 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
}
footer img {
  height: 38px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #E8CFA7;
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #A2B7A9;
}
footer .contact-info p {
  font-size: 0.97rem;
  color: #E8CFA7;
  margin-top: 0;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
footer .social-links a {
  display: flex;
  background: #A2B7A9;
  border-radius: 50%;
  padding: 6px;
  transition: background 0.17s;
}
footer .social-links a:hover, footer .social-links a:focus {
  background: #E8CFA7;
}
footer .social-links img {
  height: 22px;
  width: 22px;
}
footer small {
  display: block;
  width: 100%;
  padding-top: 12px;
  text-align: center;
  font-size: 0.99rem;
  color: #E8CFA7;
  letter-spacing: 0.02em;
  opacity:0.92;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ================== COOKIE CONSENT BANNER & MODAL ================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 4px solid #A2B7A9;
  box-shadow: 0 -8px 28px #4B203A19;
  z-index: 300;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100vw;
  transition: transform 0.38s cubic-bezier(.65,.08,.23,1);
}
#cookie-banner.hide {
  transform: translateY(200%);
}
#cookie-banner p {
  font-size: 1.07rem;
  color: #4B203A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 7px;
}
.cookie-btn {
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  background: #A2B7A9;
  color: #fff;
  margin-right: 0px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 10px #4B203A15;
}
.cookie-btn.accept {
  background: #4B203A;
  color: #fff;
}
.cookie-btn.settings {
  background: #E8CFA7;
  color: #4B203A;
}
.cookie-btn.reject {
  background: #fff;
  color: #4B203A;
  border: 2px solid #4B203A;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.84;
  background: #A2B7A9;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #A2B7A9;
  color: #fff;
}

@media (max-width: 540px) {
  #cookie-banner {
    padding: 13px 6px;
    font-size: 0.99rem;
  }
  #cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 11px;
    width: 100%;
  }
}

#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(75,32,58,0.22);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px #4B203A1c;
  max-width: 98vw;
  width: 440px;
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
#cookie-modal h2 {
  font-size: 1.4rem;
  color: #4B203A;
  margin-bottom: 8px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin: 7px 0;
}
#cookie-modal .switch {
  position: relative;
  width: 44px;
  height: 24px;
}
#cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #A2B7A9;
  border-radius: 13px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: 0.3s;
}
#cookie-modal .slider:before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
#cookie-modal .switch input:checked + .slider {
  background: #4B203A;
}
#cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
}
#cookie-modal .modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
#cookie-modal .modal-close-btn {
  position: absolute;
  top: 14px;
  right: 15px;
  font-size: 1.4rem;
  background: transparent;
  color: #4B203A;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.15s;
}
#cookie-modal .modal-close-btn:hover, #cookie-modal .modal-close-btn:focus {
  background: #A2B7A9;
  color: #fff;
}
#cookie-modal .switch[aria-disabled='true'], #cookie-modal .switch[aria-disabled='true'] .slider {
  opacity: 0.6;
  pointer-events: none;
}

/* ================ UTILS ================ */
/* For clear 24px/20px gap everywhere cards or content wrap */
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* ================ RESPONSIVE TYPO SCALE ================ */
@media (max-width: 520px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1rem; }
  .subheadline { font-size: 1rem; }
}

/* ================= ANIMATIONS ================= */
.btn-primary, .cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.11s;
}
.mobile-menu, .mobile-menu.active {
  transition: transform 0.42s cubic-bezier(0.62,0.05,0.25,1);
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.09s;
}

/* ========== HIGH CONTRAST/HOVER ========== */
.card:focus-within, .feature-grid > div:focus-within, .testimonial-card:focus-within {
  outline: 2px solid #A2B7A9;
  box-shadow: 0 0 0 4px #E8CFA7;
}

/* ========== MISC ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #E8CFA7;
}
::-webkit-scrollbar-thumb {
  background: #A2B7A9;
  border-radius: 20px;
}

/* ========== GEOMETRIC MODERN DIVIDERS/SHAPES (DECORATIVE) ========== */
.geometric {
  width: 70px;
  height: 6px;
  background: #A2B7A9;
  border-radius: 3px;
  margin: 22px 0;
  display: block;
}

/* ========== ACCESSIBILITY ========== */
:focus {
  outline: 2px solid #A2B7A9;
  outline-offset: 2px;
}

/* ========== HIDE/SHOW NAV FOR PRINT ========== */
@media print {
  .mobile-menu, .mobile-menu-toggle, header, footer, #cookie-banner, #cookie-modal { display: none !important; }
}

/* ========== FORMS (in future) ========== */
input, textarea, select, button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ========== END CSS ========== */
