/* RESET & BASE STYLES */
html { box-sizing: border-box; font-size: 100%; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body, input, button, select, textarea { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; color: #20232A; background: #F5F5F2; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: #20232A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #C9B27B; outline: none; }
button, .cta-btn { font-family: inherit; border: none; cursor: pointer; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; font-weight: 700; color: #20232A; line-height: 1.15; letter-spacing: 0; margin-bottom: 16px; }
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(32, 35, 42, 0.05);
  padding: 28px 24px;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px rgba(32, 35, 42, 0.13);
  transform: translateY(-2px);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32, 35, 42, 0.04);
  margin-bottom: 20px;
  border-left: 4px solid #C9B27B;
  transition: box-shadow 0.3s;
  color: #20232A;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(32,35,42,0.11);
}
.testimonial-card .star-rating {
  color: #C9B27B;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* =============== HEADER =============== */
header {
  background: #fff;
  border-bottom: 1px solid #E8E8E8;
  box-shadow: 0 1px 8px 0 rgba(32,35,42,0.02);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo-link img { height: 38px; }
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #20232A;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F5F2;
  color: #C9B27B;
}
.cta-btn {
  background: #C9B27B;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border-radius: 25px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(32,35,42,0.08);
  margin-left: 24px;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20232A;
  color: #fff;
  box-shadow: 0 3px 12px #C9B27B30;
}
/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
  display: none;
  background: #20232A;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 12px;
  line-height: 1;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 30;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #C9B27B;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 40;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.62,.28,.23,.99);
  box-shadow: 1px 0 18px #0001;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  margin: 26px 24px 0 0;
  background: none;
  color: #20232A;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #F5F5F2; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 13px 16px;
  color: #20232A;
  border-radius: 8px;
  width: 100%;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #F5F5F2; color: #C9B27B; }
@media (max-width: 1100px) {
  header .container { gap: 14px; }
  .main-nav { gap: 18px; }
  .cta-btn { margin-left: 10px; padding: 11px 18px; font-size: 0.97rem; }
}
@media (max-width: 900px) {
  .main-nav { gap: 11px; }
}
@media (max-width: 850px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .cta-btn { margin-left: 0; margin-right: 12px; }
}
@media (max-width: 500px) {
  .mobile-nav { margin: 40px 9vw; }
}
/* =============== LAYOUT SECTIONS =============== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 700px) {
  section {
    margin-bottom: 36px;
    padding: 26px 0;
  }
}

/* Headings & Hero */
.hero-section h1, h1 { font-size: 2.3rem; }
@media (max-width: 700px) {
  .hero-section h1, h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.07rem; }
}

/* Illustrative Icons + images in lists */
ul li img, .feature-list li img {
  margin-right: 12px;
  width: 34px;
  height: 34px;
  vertical-align: middle;
  flex-shrink: 0;
}
ul li, .feature-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 18px;
  gap: 10px;
}
ul li:last-child { margin-bottom: 0; }
/* Feature grids */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Card Styles */
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
/* Misc */
hr { border: none; border-top: 1px solid #ececec; margin: 36px 0; }
.text-image-section img { border-radius: 10px; box-shadow: 0 2px 12px 0 rgba(32,35,42,0.08); }

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  background: #fff;
  color: #20232A;
  border-left: 4px solid #C9B27B;
  margin-bottom: 20px;
}
.testimonial-card p { margin-bottom: 8px; }
.testimonial-card .star-rating {
  font-size: 1.3rem;
  color: #C9B27B;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .testimonial-card { padding: 18px; }
  .testimonial-card .star-rating { font-size: 1.18rem; }
}

/* =============== FOOTER =============== */
footer {
  border-top: 1px solid #E8E8E8;
  background: #fff;
  padding-top: 38px;
  padding-bottom: 20px;
  margin-top: 80px;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #20232A;
  padding: 4px 0;
  border-radius: 5px;
  transition: color 0.2s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C9B27B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  color: #20232A;
}
.footer-contact img { width: 19px; height: 19px; margin-right: 7px; vertical-align: middle; }
.copyright { color: #B0B0B2; font-size: 0.95rem; margin-top: 5px; }

@media (max-width: 700px) {
  .footer-nav { gap: 12px; flex-direction: column; align-items: flex-start; }
  .footer-contact { gap: 5px; font-size: 0.95rem; }
}
/* =============== BUTTONS (general + cookies) =============== */
.btn, .cookie-btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  outline: none;
  background: #C9B27B;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  margin-right: 10px;
  box-shadow: 0 1px 6px #C9B27B1a;
}
.btn:hover, .btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #20232A;
  color: #fff;
}
.btn-secondary, .cookie-btn.secondary {
  background: transparent;
  color: #20232A;
  border: 1px solid #C9B27B;
}
.btn-secondary:hover, .btn-secondary:focus, .cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F5F5F2;
  color: #C9B27B;
}
.btn-outlined, .cookie-btn.outlined {
  background: transparent;
  color: #20232A;
  border: 1px solid #E8E8E8;
}
.btn-outlined:hover, .btn-outlined:focus, .cookie-btn.outlined:hover, .cookie-btn.outlined:focus {
  background: #F5F5F2;
  color: #C9B27B;
  border-color: #C9B27B;
}

/* For main CTAs: .cta-btn already styled above */

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-consent-banner {
  position: fixed;
  display: flex;
  align-items: flex-start;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -1px 14px #0002;
  border-top: 1px solid #E8E8E8;
  z-index: 80;
  padding: 30px 22px;
  justify-content: center;
  gap: 36px;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-content { max-width: 430px; font-size: 1.02rem; color: #20232A; }
.cookie-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 13px;
}
.cookie-btn {
  min-width: 128px;
  padding: 12px 20px;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 10px;
  }
  .cookie-consent-content { max-width: 100%; }
  .cookie-btn-group { justify-content: flex-start; }
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(32,35,42,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 48px #20232A15;
  padding: 38px 36px 30px 36px;
  max-width: 400px;
  width: 94vw;
  color: #20232A;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: showModal 0.27s cubic-bezier(.7,.06,.47,.99);
}
@keyframes showModal { from { transform: translateY(60px); opacity: 0; } to { opacity: 1; transform: translateY(0); } }
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #20232A;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 8px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #F5F5F2; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category-title {
  font-weight: 600;
  font-size: 1.02rem;
}
.cookie-category-switch {
  margin-left: 24px;
  position: relative;
}
.switch {
  position: relative;
  width: 44px;
  height: 23px;
  display: inline-block;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  background: #ECECEC;
  border-radius: 13px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.18s;
}
.switch input:checked + .slider { background: #C9B27B; }
.slider:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px #0001;
  transition: transform 0.22s;
}
.switch input:checked + .slider:before { transform: translateX(21px); }
.cookie-category-desc {
  margin-left: 12px;
  font-size: 0.97rem;
  color: #707275;
}

/* =============== RESPONSIVE FLEX & TYPOGRAPHY =============== */
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .content-grid, .card-container {
    gap: 14px;
  }
  .text-image-section { gap: 15px; }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item { gap: 9px; }
}
@media (max-width: 520px) {
  .card { padding: 18px 10px; }
}

/* =============== FORM ELEMENTS (for future forms) =============== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  margin-bottom: 14px;
  background: #fff;
  color: #20232A;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus{ border-color: #C9B27B; outline: none; }
label { font-size: 1rem; margin-bottom: 6px; display: inline-block; color: #20232A; }

/* =============== ANIMATION UTILITIES =============== */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =============== MISC UTILITIES =============== */
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.text-center { text-align: center; }
.rounded { border-radius: 12px; }
.shadow-sm { box-shadow: 0 2px 8px 0 #0000000f; }

/* =============== FOCUS STYLES FOR ACCESSIBILITY =============== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #C9B27B;
  outline-offset: 2px;
}

/* =============== OVERRIDE AUTOFILL BROWSER COLORS =============== */
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #fff inset !important; }
input:-webkit-autofill { -webkit-text-fill-color: #20232A !important; }

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