/* =========================================
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #1B263B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C9B49D;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Times, serif;
  font-weight: 700;
  color: #1B263B;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 14px; line-height: 1.2; }
h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.25; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.6rem; }
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #25232D;
}
strong, b {
  font-weight: 700;
}

/* =========================================
   BRAND COLORS AND VARIABLES (fallbacks)
   ========================================= */
:root {
  --brand-primary: #1B263B;
  --brand-secondary: #C9B49D;
  --brand-accent: #F6F6F6;
  --brand-dark: #161C2D;
  --brand-text-light: #F6F6F6;
  --brand-error: #C44B4B;
  --brand-highlight: #F7E2BC;
}

/* =========================================
   LAYOUT CONTAINERS
   ========================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 26px;
  box-shadow: 0 6px 32px rgba(27,38,59,0.08), 0 1.5px 3px rgba(201,180,157,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* FLEX CONTENTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px rgba(27,38,59,0.04);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(27,38,59,0.18);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}
.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;
    gap: 20px;
  }
  .container {
    padding: 0 10px;
  }
}

/* =========================================
   HEADER, NAVIGATION, MOBILE MENU
   ========================================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,38,59,0.09);
  border-bottom: 3px solid var(--brand-secondary);
  position: relative;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.1rem;
}
header nav > a {
  padding: 8px 16px;
  color: #1B263B;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
header nav > a:not(.cta-primary):hover {
  background: var(--brand-secondary);
  color: #fff;
}
header nav > a img {
  margin-right: 16px;
  vertical-align: middle;
}
.cta-primary {
  background: var(--brand-primary);
  color: #fff!important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 11px 32px;
  box-shadow: 0 3px 18px rgba(27,38,59,0.08);
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.18s, color 0.2s;
  margin-left: 6px;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary)!important;
  box-shadow: 0 6px 32px rgba(27,38,59,0.15);
}

/* MOBILE MENU BUTTONS */
.mobile-menu-toggle {
  display: block;
  background: var(--brand-secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 6px 20px 6px 10px;
  margin: 5px 0 5px auto;
  cursor: pointer;
  z-index: 1600;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: #C9B49D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 40px rgba(27,38,59,0.16);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.66,.09,.39,1.24);
  z-index: 1500;
  padding: 32px 28px 24px 38px;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  display: block;
  background: transparent;
  color: var(--brand-primary);
  font-size: 2.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-bottom: 30px;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1.28rem;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-weight: 700;
  padding: 10px 6px 10px 0;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover {
  background: var(--brand-secondary);
  color: #fff;
}

@media (min-width: 1020px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
  header nav {
    flex-wrap: nowrap;
    gap: 24px;
  }
}
@media (max-width: 1019px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 24px;
  }
}

/* =========================================
   MAIN CONTENT
   ========================================= */
main {
  min-height: 60vh;
}
section {
  padding: 40px 0;
}

/* FEATURES & BULLET LISTS */
ul {
  padding-left: 22px;
  margin-bottom: 0;
}
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 13px;
  font-size: 1.04rem;
  color: #25232D;
  line-height: 1.7;
}
ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 9px;
  height: 9px;
  background: var(--brand-secondary);
  border-radius: 17%;
}
.section ul {
  margin: 0 0 10px 0;
  padding: 0 0 0 0;
}

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

/* =========================================
   CARD & TESTIMONIALS
   ========================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 24px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 28px rgba(27,38,59,0.07);
  margin-bottom: 20px;
  font-size: 1.1rem;
  max-width: 630px;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  color: #1B263B;
}
.testimonial-card span {
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 10px 20px 10px;
    font-size: 1rem;
  }
}

/* GENERAL CARD STYLING */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* =========================================
   BUTTONS & MICRO INTERACTIONS
   ========================================= */
button, .cta-primary {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
}
button:active, .cta-primary:active {
  transform: translateY(2px) scale(0.98);
}

/* ===============================
   GEOMETRIC ACCENT SHAPE
   =============================== */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -40px;
  top: 30px;
  width: 80px;
  height: 80px;
  background: var(--brand-secondary);
  opacity: 0.12;
  border-radius: 18% 82% 74% 26% / 71% 29% 71% 29%;
  z-index: 0;
  pointer-events: none;
}
.section {
  position: relative;
  overflow: visible;
}
@media (max-width: 600px) {
  .section::after { display: none; }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 37px 0 20px 0;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: #fff;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.95;
  text-decoration: underline dotted;
  padding: 2px 6px;
  transition: background 0.14s, color 0.14s;
  border-radius: 6px;
}
footer nav a:hover {
  color: var(--brand-secondary);
  background: #1B263B;
}
footer img {
  max-width: 150px;
  height: auto;
}
footer address, footer p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}
footer p img {
  width: 18px;
  vertical-align: baseline;
  margin-right: 6px;
}

/* =========================================
   RESPONSIVE BEHAVIOUR
   ========================================= */
@media (max-width: 900px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 24px 0 10px 0;
    margin-bottom: 28px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* =========================================
   COOKIE BANNER & MODAL
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--brand-primary);
  color: #fff;
  z-index: 9990;
  padding: 18px 22px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 24px rgba(27, 38, 59, 0.12);
  animation: cookieBannerSlideIn 0.48s cubic-bezier(.66,.1,.44,1.02);
  gap: 14px;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.04rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  padding: 9px 22px;
  font-size: 0.98rem;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-accept:hover {
  background: #a94d31;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: var(--brand-primary);
}
.cookie-reject:hover {
  background: #eee;
}
.cookie-settings {
  background: transparent;
  color: var(--brand-secondary);
  border: 2px solid var(--brand-secondary);
}
.cookie-settings:hover {
  background: var(--brand-secondary);
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,38,59,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  color: #1B263B;
  border-radius: 18px;
  padding: 38px 30px 20px 30px;
  box-shadow: 0 12px 56px rgba(27,38,59,0.24);
  min-width: 320px;
  max-width: 96vw;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.42s cubic-bezier(.56,1.07,.36,1);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.88) translateY(22px); opacity: 0.38; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 3px;
  color: var(--brand-primary);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 8px 0;
}
.cookie-modal-category label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.cookie-toggle {
  margin-left: 12px;
  accent-color: var(--brand-secondary);
  width: 28px; height: 18px;
}
.cookie-toggle[disabled] {
  filter: grayscale(1);
}
.cookie-modal-footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  padding: 8px 15px;
  border: none;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.12s, color 0.18s;
}
.cookie-modal-footer .cookie-save {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal-footer .cookie-cancel {
  background: #eee;
  color: var(--brand-primary);
}

@media (max-width: 430px) {
  .cookie-modal { min-width: 94vw; padding: 23px 6vw 15px 6vw; }
}

/* =========================================
   MISC UTILITIES
   ========================================= */
.d-none { display: none!important; }
.text-center { text-align: center!important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.p-16 { padding: 16px; }
.bg-light { background: #FAFAFB; }

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
  body {background: #fff;}
}
