/* ===== RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F8F9FB;
  color: #2A2D34;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  padding-left: 32px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #474056;
  text-decoration: none;
  transition: color 0.18s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #D3A688;
  text-decoration: underline;
  outline: none;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #474056;
  margin-bottom: 0.75em;
}
h1 {font-size: 2.375rem; line-height: 1.18;margin-bottom: 16px;}
h2 {font-size: 1.625rem; line-height: 1.2;margin-bottom: 14px;}
h3 {font-size: 1.13rem; line-height: 1.25;margin-bottom: 10px;}
p, ul, ol { margin-bottom: 1.1em; }
strong, b { font-weight: 600; color: #474056; }

/* ===== BRAND COLORS & UTILITY CLASSES ===== */
:root {
  --cb-primary: #474056;
  --cb-secondary: #D3A688;
  --cb-accent: #F3EBDD;
  --cb-bg: #F8F9FB;
  --cb-dark: #2A2D34;
  --cb-card: #fff;
  --cb-gray: #EEF0F4;
  --cb-placeholder: #A9A9B3;
  --cb-shadow: 0 2px 20px rgba(53,47,94,0.07);
  --cb-radius: 12px;
  --cb-radius-sm: 8px;
}
.bg-primary { background: var(--cb-primary); color: #fff; }
.bg-accent { background: var(--cb-accent); }
.text-primary { color: var(--cb-primary); }
.text-secondary { color: var(--cb-secondary); }
.text-accent { color: var(--cb-accent); }

/* ===== LAYOUT STRUCTURE ===== */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
}
.content-grid, .features, .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 4px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--cb-card);
  border-radius: var(--cb-radius);
  box-shadow: var(--cb-shadow);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  flex: 1 1 290px;
  min-width: 270px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 36px rgba(71,64,86,0.12);
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.section ul, .text-section ul {
  margin-bottom: 14px;
}

/* ===== HERO (Homepage) ===== */
.hero {
  background: linear-gradient(90deg, #EEF0F4 65%, #F3EBDD 120%);
  padding: 56px 0 36px 0;
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.85rem;
  color: var(--cb-primary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--cb-dark);
  max-width: 540px;
  margin: 0 auto 28px auto;
}
.hero .cta-button {
  font-size: 1.1rem;
}

/* ===== FEATURES ===== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div {
  background: var(--cb-card);
  border-radius: var(--cb-radius-sm);
  box-shadow: var(--cb-shadow);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 36px rgba(71,64,86,0.10);
  transform: translateY(-2px);
}
.features-grid img {
  width: 40px; height: 40px; margin-bottom: 10px;
}
.features-grid h3 {
  font-size: 1.09rem;
  color: var(--cb-primary);
  margin-bottom: 4px;
  margin-top: 0px;
}
.features-grid p {
  font-size: 0.98rem;
  color: #53586A;
}

/* ==== CTA BANNER ==== */
.cta-banner {
  background: var(--cb-primary);
  color: #fff;
  padding: 48px 0 38px 0;
  border-radius: var(--cb-radius);
  margin: 32px 0 48px 0;
}
.cta-banner .content-wrapper {
  align-items: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.cta-banner ul {
  color: #E4D7C9;
  font-size: 1.02rem;
  padding-left: 26px;
  margin-bottom:13px;
}
.cta-banner .info-links a {
  color: var(--cb-secondary);
  font-size: 0.99rem;
  padding: 0 10px;
  margin: 0px 0px;
  text-decoration: underline;
}

/* ==== BUTTONS & CTA ==== */
.cta-button {
  background: var(--cb-secondary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(211,166,136,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  display: inline-block;
  margin-right: 8px;
}
.cta-button:hover {
  background: #cf9970;
  color: #fff;
  box-shadow: 0 4px 20px rgba(211,166,136,0.17);
  transform: translateY(-2px);
}
.cta-button.secondary {
  background: transparent;
  color: var(--cb-primary);
  border: 2px solid var(--cb-secondary);
}
.cta-button.secondary:hover {
  background: var(--cb-secondary);
  color: #fff;
}

/* ==== INFO-LINKS (INLINE LIST LINKS) ==== */
.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 28px 22px 22px 22px;
  border-radius: var(--cb-radius-sm);
  box-shadow: 0 3px 18px rgba(53,47,94,0.09);
  min-width: 230px;
  max-width: 320px;
  flex: 1 1 260px;
  color: #273041;
  font-size: 1.08rem;
  margin-bottom: 0px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 28px rgba(71,64,86,0.13);
  transform: translateY(-2px);
}
.testimonial-card p {
  margin-bottom: 12px;
  color: #23293a;
  font-style: italic;
}
.testimonial-card span {
  color: var(--cb-secondary);
  font-size: 0.97rem;
  font-weight: 500;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1px solid #e9eaea;
  position: relative;
  z-index: 102;
  padding-top: 8px;
  padding-bottom: 8px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 7px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: var(--cb-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 1.01rem;
  transition: background .16s, color .16s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--cb-secondary);
  background: var(--cb-accent);
  text-decoration: none;
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.05rem;
  color: var(--cb-primary);
  cursor: pointer;
  z-index: 104;
  padding: 8px 10px;
  line-height: 1;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus {
  background: #f4ebe2;
  border-radius: 8px;
  outline: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(62,69,91,0.98);
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateX(-100vw);
}
.mobile-menu.show {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.85rem;
  color: #fff;
  align-self: flex-end;
  margin: 20px 22px 12px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--cb-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 38px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  width: 87vw;
  transition: color 0.13s;
  display: block;
}
.mobile-nav a:hover {
  color: var(--cb-secondary);
  background: none;
}

/* ==== SECTION/TEXT BLOCKS ==== */
.text-section {
  max-width: 680px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 14px;
}
.text-section h1, .text-section h2, .text-section h3 {
  text-align: left;
}
.text-section p,
.text-section ul,
.text-section ol {
  color: #383c44;
  font-size: 1.065rem;
}

/* ===== FOOTER ===== */
footer {
  background: #f6f7fa;
  border-top: 1px solid #e3e4ec;
  font-size: 1.01rem;
  padding: 34px 0 10px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--cb-primary);
  font-weight: 500;
  font-size: 1.02rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--cb-secondary);
}
footer .text-section {
  text-align: center;
  color: #6a6c72;
  font-size: 0.97rem;
  gap: 2px;
}
footer p {
  color: #6a6c72;
  margin-bottom: 8px;
}

/* ===== CARDS & FLEX UTILITY ===== */
.card-container { flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; }
.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; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* ====== SPACING & GAPS ====== */
.section, .card-container, .content-grid, .features-grid, .testimonials {
  margin-bottom: 0;
}
.section + .section {
  margin-top: 44px;
}

/* ====== ANIMATIONS & EFFECTS ====== */
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.cta-button, .mobile-menu-toggle, .main-nav a, .footer-nav a {
  transition: background .17s, color .18s, box-shadow .13s, transform .14s;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #2A2D34;
  border-top: 1px solid #e5e5e8;
  box-shadow: 0 -2px 24px rgba(46,46,60,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 24px 16px 20px 16px;
  z-index: 998;
  animation: cb-slideIn 0.42s cubic-bezier(.23,1.04,.43,1.23);
}
@keyframes cb-slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s;
  font-size: 1rem;
  margin-right: 8px;
}
.cookie-banner .accept {
  background: var(--cb-secondary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #b9825a;
}
.cookie-banner .reject {
  background: #EEE;
  color: var(--cb-primary);
}
.cookie-banner .reject:hover {
  background: #d7d6d9;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--cb-primary);
  border: 1.5px solid var(--cb-primary);
}
.cookie-banner .settings:hover {
  background: var(--cb-accent);
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(62,69,91,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.26s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--cb-primary);
  border-radius: var(--cb-radius);
  box-shadow: 0 6px 48px rgba(53,47,94,0.13);
  padding: 42px 32px 28px 32px;
  min-width: 320px;
  max-width: 98vw;
  transition: transform 0.21s;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cb-modalIn 0.4s cubic-bezier(.28,1.41,.34,1.03);
}
@keyframes cb-modalIn {
  from { transform: scale(0.93) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-size: 1.05rem;
  color: var(--cb-primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--cb-secondary);
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  color: #aaa;
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  font-size: 1rem;
}
.cookie-modal-actions .accept {
  background: var(--cb-secondary);
  color: #fff;
}
.cookie-modal-actions .reject {
  background: #EEE;
  color: var(--cb-primary);
}
.cookie-modal-actions .close {
  background: transparent;
  border: 1.5px solid var(--cb-primary);
  color: var(--cb-primary);
}
.cookie-modal-actions .close:hover {
  background: var(--cb-accent);
}

/* ===== MEDIA QUERIES: RESPONSIVE ===== */
@media (max-width: 1100px) {
  .container { max-width: 940px; }
  .features-grid > div { min-width: 175px; }
}
@media (max-width: 950px) {
  .container { max-width: 100%; }
  .features-grid > div, .testimonial-card, .card { min-width: 180px; }
  .testimonial-card { padding: 18px 14px; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section { padding: 32px 4px; }
  .hero { padding: 36px 0 18px 0; }
  .features-grid, .card-container, .content-grid, .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .testimonials > .testimonial-card, .card {
    min-width: 75vw;
    width: 100%;
    max-width: 99vw;
    padding: 20px 12px;
  }
  .card-content { gap: 6px; }
  .cta-banner { padding: 30px 0 22px 0; }
  .cta-banner h2 { font-size: 1.25rem; }
  .hero h1 { font-size: 1.57rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-nav { gap: 10px; flex-wrap: wrap; }
  .info-links {gap: 6px;}
  .text-section {padding: 0 0;}
}
@media (max-width: 600px) {
  .hero .content-wrapper { padding: 0 0; }
  .section { padding: 24px 0 10px 0; }
  .features-grid > div, .testimonial-card, .card {
    padding: 18px 7px;
    min-width: 85vw;
    font-size: 1rem;
  }
  .cta-banner {padding: 18px 0 11px 0;}
  .cta-banner .content-wrapper {gap: 10px;}
  .cta-banner h2 {font-size: 1.08rem;}
  .cookie-modal { padding: 28px 10px 14px 10px; min-width: 185px; }
}

@media (max-width: 480px) {
  .logo img { height: 35px; max-width: 140px; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
  .features-grid img { width:28px; height:28px; }
}

/****** FOCUS STYLES FOR ACCESSIBILITY ******/
a:focus, button:focus, .cta-button:focus, .mobile-menu-toggle:focus, .main-nav a:focus, .mobile-nav a:focus, .mobile-menu-close:focus, .cookie-banner button:focus, .cookie-modal-actions button:focus {
  outline: 2px solid var(--cb-secondary);
  outline-offset: 3px;
}

/****** SCROLLBAR STYLING ******/
::-webkit-scrollbar {
  width: 10px;
  background: #F3EBDD;
}
::-webkit-scrollbar-thumb {
  background: var(--cb-secondary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b9825a;
}

/****** CUSTOM FONT IMPORT ******/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');