/* --- CSS RESET & NORMALIZATION --- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* --- ROOT VARIABLES (with fallbacks) --- */
:root {
  --brand-primary: #27394C;
  --brand-secondary: #F5F3F0;
  --brand-accent: #8F5C22;
  --brand-accent-light: #BA7A2F;
  --neutral-100: #fff;
  --neutral-200: #f7f7f7;
  --neutral-300: #e4e7ea;
  --neutral-400: #c2cdd6;
  --text-main: #27394C;
  --text-dim: #49596a;
  --text-light: #7D8BA3;
  --shadow: 0 2px 12px 0 rgba(34,42,54,0.06),0 1.5px 4px 0 rgba(34,42,54,0.02);
  --radius-l: 16px;
  --radius-m: 12px;
  --radius-s: 8px;
  --transition: 0.18s cubic-bezier(0.4,0.2,0.2,1);
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  min-height: 100vh;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--neutral-100);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}
p, ul, ol, address {
  margin-bottom: 1.3em;
  color: var(--text-dim);
}
strong {
  font-weight: 600;
}

/* --- GENERAL LAYOUT UTILS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--neutral-100);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 120;
  box-shadow: 0 2px 6px 0 rgba(34,42,54,0.03);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 20px 0;
  font-size: 1rem;
  background: transparent;
}
.main-nav > a {
  padding: 6px 12px;
  border-radius: var(--radius-s);
  color: var(--text-main);
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}
.main-nav > a.cta {
  background: var(--brand-primary);
  color: var(--neutral-100);
  border-radius: var(--radius-m);
  padding: 8px 18px;
  margin-left: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--neutral-200);
  color: var(--brand-primary);
}
.main-nav > a.cta:hover, .main-nav > a.cta:focus {
  background: var(--brand-accent);
  color: var(--neutral-100);
  box-shadow: 0 4px 24px 0 rgba(186, 122, 47, 0.13);
}
.main-nav > a:first-child img {
  height: 40px;
  margin-right: 16px;
  vertical-align: middle;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: var(--neutral-100);
  font-size: 2rem;
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius-m);
  margin-left: auto;
  transition: background var(--transition), color var(--transition);
  z-index: 202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-accent);
  color: var(--neutral-100);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--neutral-100);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.57,0.21,1,1), opacity 0.32s;
  box-shadow: 0 12px 52px 0 rgba(34,42,54,0.14);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  font-size: 2rem;
  border: none;
  padding: 16px;
  align-self: flex-end;
  border-radius: var(--radius-m);
  margin-right: 10px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--neutral-200);
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--brand-primary);
  font-weight: 500;
  padding: 12px 4px;
  border-radius: var(--radius-m);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--neutral-100);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav > a:not(:first-child) {
    font-size: 0.97rem;
    padding: 5px 9px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    gap: 5px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 202;
  }
}
@media (max-width: 500px) {
  .mobile-nav {
    padding: 0 18px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: var(--brand-secondary);
  min-height: 220px;
  padding: 60px 0 48px 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 32px 0;
  }
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--neutral-100);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-m);
  padding: 11px 26px;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 5px;
  margin-bottom: 8px;
  border: none;
  outline: none;
}
.cta:hover,
.cta:focus {
  background: var(--brand-primary);
  color: var(--neutral-100);
  transform: translateY(-1.5px) scale(1.043);
}

/* --- SECTION & LAYOUTS --- */
.features, .services, .testimonials, .cta, .content-list, .about, .contact, .contact-details, .callout, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--neutral-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(18,35,64,0.10);
  transform: translateY(-2px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--neutral-200);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-m);
  box-shadow: 0 1px 8px 0 rgba(39,57,76,0.03);
  color: var(--text-main);
  font-size: 1.08rem;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(39,57,76,0.07);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--brand-accent);
  font-family: var(--font-body);
  font-weight: 500;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LIST STYLES FOR SECTIONS --- */
.features ul, .services ul, .content-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
  align-items: stretch;
  margin-top: 18px;
}
.features ul li, .services ul li {
  min-width: 210px;
  flex: 1 1 225px;
  background: var(--neutral-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features ul li:hover, .services ul li:hover {
  box-shadow: 0 10px 46px 0 rgba(186, 122, 47, 0.08);
  transform: translateY(-3px) scale(1.018);
}
.features ul li img, .services ul li img {
  width: 32px;
  height: 32px;
  margin-bottom: 3px;
  opacity: 0.82;
}
.services ul li strong {
  font-size: 1.08em;
  color: var(--brand-accent);
}

/* --- REVIEW, RECOMMENDATION, COLLECTION CARDS --- */
.review-cards, .recommendation-cards, .collections-grid, .interview-cards, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.review-card, .recommendation-card, .collection-item, .interview-card, .event-item {
  flex: 1 1 250px;
  min-width: 210px;
  background: var(--neutral-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 22px 16px 18px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover, .recommendation-card:hover, .collection-item:hover, .interview-card:hover, .event-item:hover {
  box-shadow: 0 7px 32px 0 rgba(186, 122, 47, 0.09);
  transform: translateY(-3px) scale(1.028);
}
.event-item .cta {
  margin-top: 10px;
  margin-bottom: 0;
}
.review-card span, .recommendation-card span, .interview-card span {
  color: var(--brand-accent);
  font-size: 0.98em;
  font-weight: 500;
}
.collection-item a {
  color: var(--brand-primary);
  font-size: 1.05em;
  text-decoration: underline;
  margin-top: 10px;
  transition: color var(--transition);
}
.collection-item a:hover, .collection-item a:focus {
  color: var(--brand-accent);
}

/* --- FILTERS & THEMES --- */
.review-filters, .recommendation-filters, .event-types, .occasion-themes, .themes-categories {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.review-filters ul, .recommendation-filters ul, .event-types ul, .occasion-themes ul, .author-profiles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.review-filters li, .recommendation-filters li, .author-profiles li, .occasion-themes li, .event-types li {
  background: var(--neutral-200);
  border-radius: var(--radius-s);
  padding: 6px 14px;
  color: var(--text-main);
  font-size: 1.01em;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.review-filters li:hover, .recommendation-filters li:hover, .event-types li:hover, .occasion-themes li:hover {
  background: var(--brand-accent);
  color: var(--neutral-100);
}
.theme-categories {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 1.04em;
}

.personalized-tip-info {
  background: var(--neutral-200);
  border-radius: var(--radius-m);
  padding: 15px 14px 12px 14px;
  color: var(--text-dim);
  font-size: 1.08rem;
  margin-bottom: 26px;
  margin-top: 0;
}

/* --- ABOUT & CONTACT SECTIONS --- */
.contact address {
  font-style: normal;
  color: var(--text-main);
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact address img, .contact-details p img {
  vertical-align: middle;
  margin-right: 9px;
  margin-bottom: 2px;
  height: 20px;
}
.contact-details p {
  line-height: 2;
}
.contact-details a { color: var(--brand-accent); text-decoration: underline; transition: color var(--transition); }
.contact-details a:hover, .contact-details a:focus { color: var(--brand-primary); }

/* --- LEGAL PAGES --- */
.legal {
  background: var(--neutral-200);
  border-radius: var(--radius-l);
  margin-bottom: 60px;
  padding: 48px 20px;
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 10px;
}

/* --- CONFIRMATION / SUCCESS PAGE --- */
.confirmation {
  min-height: 390px;
  display: flex;
  align-items: center;
  background: var(--neutral-200);
  border-radius: var(--radius-l);
  padding-top: 70px;
  padding-bottom: 70px;
}

/* --- FOOTER --- */
footer {
  background: var(--neutral-100);
  border-top: 1.5px solid var(--neutral-300);
  padding-top: 28px;
  padding-bottom: 18px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px; padding-right: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 170px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  padding: 3px 0;
  border-radius: var(--radius-s);
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-accent);
  color: var(--neutral-100);
}
.brand-info {
  flex: 2 1 300px;
  font-size: 0.97rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.brand-info img {
  height: 37px;
  margin-bottom: 7px;
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.social-links a img {
  height: 26px;
  filter: grayscale(0.15) brightness(1.08);
  opacity: 0.86;
  transition: opacity var(--transition), filter var(--transition);
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  filter: grayscale(0) brightness(1.23);
}

@media (max-width: 900px) {
  .footer-main {
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer-nav {
    flex-basis: 100px;
  }
}
@media (max-width: 700px) {
  .footer-main {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 19px;
    flex-wrap: wrap;
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .features ul li, .services ul li,
  .review-card, .recommendation-card, .collection-item, .interview-card, .event-item {
    flex: 1 1 46%;
    min-width: 170px;
  }
}
@media (max-width: 700px) {
  .features ul, .services ul, .review-cards, .recommendation-cards, .collections-grid, .interview-cards, .event-list, .card-container, .content-grid {
    gap: 12px;
  }
  .features ul li, .services ul li, .review-card, .recommendation-card, .collection-item, .interview-card, .event-item {
    flex: 1 1 100%;
    min-width: 140px;
  }
}
@media (max-width: 600px) {
  .section, .features, .services, .testimonials, .content-list, .about, .contact, .contact-details, .callout, .legal, .confirmation {
    padding: 24px 7px;
    margin-bottom: 32px;
  }
  .hero {
    padding: 26px 0 18px 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 11px;
  }
}

/* --- ANIMATIONS & EFFECTS --- */
@media (hover: hover) {
  .card, .review-card, .recommendation-card, .collection-item, .interview-card, .event-item {
    transition: box-shadow var(--transition), transform var(--transition);
  }
}

/* --- INLINE ELEMENTS --- */
a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--brand-primary);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
  color: var(--text-main);
  position: fixed;
  left: 0; right: 0; bottom: 0;
  min-height: 70px;
  width: 100vw;
  border-top: 1.5px solid var(--neutral-300);
  box-shadow: 0 -2px 12px 0 rgba(34,42,54,0.07);
  z-index: 990;
  padding: 18px 16px;
  font-size: 1.01rem;
  animation: cookieBannerIn 0.8s cubic-bezier(.56,.2,.47,1.02) 0s 1 normal backwards;
}
@keyframes cookieBannerIn {
  0%{transform:translateY(100%);opacity:0;} 100%{transform:translateY(0);opacity:1;}
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 2 1 auto;
}
.cookie-banner button {
  margin-left: 8px;
  padding: 8px 17px;
  border-radius: var(--radius-m);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: none;
  outline: none;
  box-shadow: var(--shadow);
}
.cookie-banner .accept {
  background: var(--brand-accent);
  color: var(--neutral-100);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--brand-primary);
  color: var(--neutral-100);
}
.cookie-banner .reject {
  background: var(--neutral-200);
  color: var(--text-main);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--brand-accent-light);
  color: var(--neutral-100);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--brand-primary);
  text-decoration: underline;
  box-shadow: none;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  color: var(--brand-accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.97rem;
    padding: 13px 6px;
  }
}

/* COOKIE CONSENT MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,42,54,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.36s;
}
@keyframes fadeIn {from{opacity:0;}to{opacity:1;}}
.cookie-modal {
  background: var(--neutral-100);
  min-width: 320px;
  max-width: 400px;
  border-radius: var(--radius-l);
  box-shadow: 0 14px 54px 0 rgba(39,57,76,0.17);
  padding: 34px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.38s cubic-bezier(.59,.06,.32,1);
}
@keyframes modalIn {from{transform:scale(0.92) translateY(25px);opacity:0;}to{transform:none;opacity:1;}}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 1.01em;
}
.cookie-option input[type='checkbox'] {
  accent-color: var(--brand-accent);
  width: 19px; height: 19px;
  margin-right: 7px;
}
.cookie-option .locked {
  color: var(--brand-accent);
  font-size: 1.2em;
  margin-left: 6px;
}
.cookie-modal .modal-controls {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal button {
  min-width: 84px;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: var(--radius-m);
  border: none;
  background: var(--brand-primary);
  color: var(--neutral-100);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button.reject,
.cookie-modal button.cancel {
  background: var(--neutral-200);
  color: var(--text-main);
}
.cookie-modal button.accept:hover, .cookie-modal button.accept:focus {
  background: var(--brand-accent);
  color: var(--neutral-100);
}
.cookie-modal button.reject:hover, .cookie-modal button.reject:focus,
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: var(--brand-accent-light);
  color: var(--neutral-100);
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 90vw; max-width: 97vw;
    padding: 19px 8px 11px 8px;
  }
}

/* --- SCROLLBARS --- */
::-webkit-scrollbar { width: 9px; background: var(--neutral-200); }
::-webkit-scrollbar-thumb { background: var(--neutral-300); border-radius: 8px; }

/* --- OTHER HELPER CLASSES --- */
.hide { display: none !important; }
.flex { display: flex !important; }

/* --- PRINT STYLES --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
}
