/* =====================================================================
   CSS RESET & BASELINE NORMALIZATION
   ====================================================================== */
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;
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F1EFEA;
  color: #1C2231;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* =====================================================================
   BRAND TYPOGRAPHY
   ====================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1C2231;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1rem; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #B1A47D;
  font-size: 1.13rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
p, ul, ol, li, blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232526;
  font-size: 1rem;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
}
a {
  color: #1C2231;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #B1A47D;
  outline: none;
}

/* =====================================================================
   STRUCTURED CONTAINER & LAYOUTING (FLEXBOX ONLY)
   ====================================================================== */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.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 6px 28px 0 rgba(28,34,49,0.057), 0 1.5px 8px 0 rgba(177,164,125,0.07);
}
@media (max-width: 600px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(28,34,49,0.09);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 290px;
  min-width: 270px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  gap: 16px;
  border: 1.5px solid #EBE5D3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1EFEA;
  border-left: 5px solid #B1A47D;
  border-radius: 12px;
  box-shadow: 0 2px 7px 0 rgba(28,34,49,0.10);
  margin-bottom: 20px;
  font-style: italic;
  color: #1C2231;
  flex: 1 1 320px;
  min-width: 0;
  max-width: 540px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #1C2231;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #B1A47D;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #1C2231;
  box-shadow: 0 4px 18px 3px rgba(28,34,49,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Structured horizontal highlight containers (e.g. for grids) */
.feature-grid, .watch-story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .watch-story-highlights > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border: 1.5px solid #EBE5D3;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(28,34,49,0.06);
  padding: 22px 18px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .feature-grid, .watch-story-highlights {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================================================================
   HEADER & TOP NAVIGATION (Desktop)
   ====================================================================== */
header {
  background: #fff;
  border-bottom: 2px solid #EBE5D3;
  box-shadow: 0 2px 10px 0 rgba(28,34,49,0.07);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1C2231;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background .13s, color .2s;
}
header nav a:hover,
header nav a:focus {
  background: #B1A47D;
  color: #fff;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: #1C2231;
  border-radius: 32px;
  border: none;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px 0 rgba(28,34,49,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #B1A47D;
  color: #fff;
  box-shadow: 0 5px 18px 0 rgba(28,34,49,0.13);
}

/* Hide mobile nav items on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =====================================================================
   MOBILE NAVIGATION
   ====================================================================== */

@media (max-width: 900px) {
  header .container {
    gap: 16px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 20px;
    width: 42px;
    height: 42px;
    font-size: 2.1rem;
    color: #1C2231;
    background: #F1EFEA;
    border: 2px solid #B1A47D;
    border-radius: 8px;
    z-index: 201;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #fff;
    box-shadow: 0 1px 5px 0 #EBE5D3;
  }
  .btn-primary {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #1C2231;
  box-shadow: 0 6px 36px 0 rgba(28,34,49,0.15);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.6,.32,1.6);
  z-index: 301;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 302;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B1A47D;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 10vw;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.03em;
  padding: 12px 10px;
  border-radius: 0 12px 12px 0;
  transition: background .18s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #B1A47D;
  color: #232526;
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
}

/* =====================================================================
   MAIN CONTENT WRAPPERS
   ====================================================================== */
main {
  margin-top: 34px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  main {
    margin-top: 14px;
    margin-bottom: 32px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-block, .phone-email-block, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .content-wrapper,
  .feature-grid, .card-container, .content-grid, .watch-story-highlights {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  border: none;
}
.feature-icons img, .guarantee-badges img, .contact-details img {
  height: 36px;
  width: auto;
  margin-right: 10px;
}
.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-top: 14px;
}

/* =====================================================================
   FOOTER
   ====================================================================== */
footer {
  background: #1C2231;
  color: #F1EFEA;
  padding-top: 40px;
  padding-bottom: 20px;
  border-top: 2px solid #B1A47D;
  font-size: 1rem;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 50px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #B1A47D;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
  border-radius: 8px;
  padding: 4px 11px;
  transition: color .14s, background .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B1A47D;
  color: #1C2231;
}
.footer-contact {
  color: #F1EFEA;
  font-size: 0.96rem;
}
.footer-contact a {
  color: #B1A47D;
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    gap: 16px;
    margin-bottom: 6px;
  }
}

/* =====================================================================
   COOKIE CONSENT BANNER STYLES
   ====================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9000;
  background: #1C2231;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 16px 22px 16px;
  box-shadow: 0 -2px 24px 5px rgba(28,34,49,0.19);
  border-top: 4px solid #B1A47D;
  animation: cookieBannerAppear 0.7s cubic-bezier(.68,-0.6,.32,1.6);
}
@keyframes cookieBannerAppear {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  transition: background .18s, color .18s;
  background: #B1A47D;
  color: #1C2231;
  margin-bottom: 0;
  outline: none;
  box-shadow: 0 1px 6px 0 rgba(177,164,125,0.16);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #fff;
  color: #1C2231;
}
.cookie-btn.settings {
  background: transparent;
  color: #F1EFEA;
  border: 2px solid #B1A47D;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #B1A47D;
  color: #232526;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,34,49,0.73);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s cubic-bezier(.42,0,.64,1.19);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #1C2231;
  border-radius: 22px;
  min-width: 320px;
  max-width: 96vw;
  padding: 37px 30px 28px 30px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 38px 0 rgba(28,34,49,0.21);
  animation: fadeInModal .5s cubic-bezier(.68,-0.6,.32,1.6);
}
@keyframes fadeInModal {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  color: #1C2231;
  margin-bottom: 8px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-modal-toggle {
  min-width: 38px;
  min-height: 20px;
  width: 38px;
  height: 20px;
  border-radius: 20px;
  border: 1.6px solid #B1A47D;
  background: #F1EFEA;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s, background 0.19s;
}
.cookie-modal-toggle.enabled {
  background: #B1A47D;
  border-color: #1C2231;
}
.cookie-modal-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s, background .15s;
}
.cookie-modal-toggle.enabled .slider {
  left: 20px;
  background: #1C2231;
}
.cookie-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #B1A47D;
  cursor: pointer;
  z-index: 2;
}

/* =====================================================================
   VISUAL BUTTONS & MICRO-INTERACTIONS
   ====================================================================== */
button, .btn-primary, .cookie-btn {
  transition: box-shadow .19s, background .18s, color .19s, border-color .18s;
}
button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #B1A47D;
  outline-offset: 2px;
}

/* Inputs (if any) */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  border: 2px solid #B1A47D;
  background: #FFF;
  border-radius: 10px;
  font-size: 1.05rem;
  padding: 10px 14px;
  margin-bottom: 14px;
  width: 100%;
  box-shadow: 0 1px 6px 0 rgba(177,164,125,0.09);
  transition: border-color 0.18s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1C2231;
  outline: none;
  box-shadow: 0 1.5px 12px 0 #B1A47D59;
}

/* =====================================================================
   GEOMETRIC STRUCTURED ELEMENTS
   ====================================================================== */
/* Angular corners (slight--for geometric flair), keylines & accents */
.section, .card, .testimonial-card, .cookie-modal-content {
  border-radius: 14px 28px 14px 20px;
  /* purposely mixing radii for geometric asymmetry */
}
.btn-primary, .cookie-btn, .cookie-btn-row button {
  border-radius: 24px 8px 24px 8px;
}
@media (max-width: 600px) {
  .section, .card, .testimonial-card, .cookie-modal-content {
    border-radius: 12px 18px 10px 18px;
  }
  .btn-primary, .cookie-btn {
    border-radius: 20px 7px 20px 7px;
  }
}

/* Decorative angled underline for section titles */
h2:after {
  content: '';
  display: block;
  width: 54px;
  height: 3.6px;
  margin: 6px 0 0 0;
  background: #B1A47D;
  border-radius: 2px;
}

/* =====================================================================
   RESPONSIVE CARDS, GRIDS, ETC.
   ====================================================================== */
@media (max-width: 750px) {
  .card-container, .feature-grid, .content-grid, .watch-story-highlights {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card, .feature-grid > div, .watch-story-highlights > div {
    max-width: 98vw;
    width: 100%;
    min-width: 0;
  }
}

/* =====================================================================
   UTILITIES
   ====================================================================== */
.hide {
  display: none !important;
}
.text-center {
  text-align: center !important;
}
.m-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =====================================================================
   ACCESSIBILITY ENHANCEMENTS
   ====================================================================== */
:focus-visible {
  outline: 2.2px solid #B1A47D !important;
  outline-offset: 2px !important;
}

/* =====================================================================
   PRINT OPTIMIZATION
   ====================================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  main, .section, .container {
    background: #fff !important;
    color: #1C2231 !important;
    box-shadow: none !important;
  }
}
