/* ========== CSS RESET & BASE ========== */
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;
}

/* Normalize */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: #f7f7f8; }
article, aside, footer, header, nav, section, main { display: block; }
a { background: transparent; color: inherit; text-decoration: none; transition: color 0.2s; }
img { border-style: none; max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { background: none; border: none; font: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }

/* ========== CUSTOM PROPERTIES ========== */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #F4D81D;
  --color-accent: #E5E8EB;
  --color-bg: #f7f7f8;
  --color-bg-card: #fff;
  --color-text: #232323;
  --color-gold: #C3A94E;
  --color-gold-dark: #9b893a;
  --color-grey: #606875;
  --color-shadow: 0 4px 32px rgba(44,62,80,0.08);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-xxl: 48px;
  --border-radius: 18px;
  --border-radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.4,0.1,0.2,1);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: var(--font-size-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
}
h4 {
  font-size: 1.05rem;
  font-weight: 700;
}
p, li, ul {
  font-size: 1rem;
  color: var(--color-text);
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Blockquotes / Testimonials */
blockquote, .testimonial-card p {
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.16rem;
  font-family: var(--font-body);
}

.testimonial-card strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gold-dark);
  margin-left: 12px;
}

/* ========== HEADER ========== */
header {
  width: 100%;
  background: var(--color-bg-card);
  box-shadow: 0 3px 20px rgba(44,62,80,0.06);
  border-bottom: 2px solid var(--color-accent);
  z-index: 20;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 75px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 24px;
  user-select: none;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 6px 0;
  opacity: 0.88;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--color-gold);
  opacity: 1;
  border-bottom: 2px solid var(--color-gold);
}
.cta-btn {
  font-family: var(--font-display);
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border-radius: var(--border-radius);
  margin-left: 18px;
  border: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border-bottom: 2px solid var(--color-gold-dark);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  letter-spacing: 0.03em;
  box-shadow: 0 6px 32px 0 rgba(44,62,80,0.12);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 101;
  border: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-gold-dark);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.96);
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  pointer-events: none;
  opacity: 0;
}

.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  margin: 28px 30px 8px 0;
  font-size: 2.2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fffcc7;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-secondary);
  padding: 19px 44px 19px 0;
  width: 100%;
  text-align: right;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(228,216,29,0.08);
  transition: color 0.15s, background 0.12s;
  background: transparent;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fffcc7;
  background: rgba(44,62,80,0.27);
}

@media (max-width: 1050px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ========== MAIN LAYOUT SECTIONS ========== */
main {
  width: 100%;
  margin: 0 auto 0 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(44,62,80,0.10);
  transition: box-shadow 0.2s;
}
section:last-child { margin-bottom: 0; }

/* ========== FLEX LAYOUT CLASSES ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 3px 16px 0 rgba(44,62,80,0.07);
  padding: 30px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, border 0.18s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(44,62,80,0.16);
  border-color: var(--color-gold);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  background: #faf9f5;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(44,62,80,0.05);
  border-left: 5px solid var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== CUSTOM FLEX-LAYOUT FOR CARDS ========== */
.highlight-cards,
.test-grid,
.story-cards,
.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.highlight-cards > .text-section,
.test-grid > .text-section,
.story-cards > .text-section,
.tip-cards > .text-section {
  flex: 1 1 300px;
  min-width: 260px;
  background: var(--color-accent);
  border-radius: var(--border-radius-sm);
  padding: 22px 20px 22px 20px;
  margin-bottom: 0;
  box-shadow: 0 1px 10px rgba(44,62,80,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.highlight-cards > .text-section:hover,
.test-grid > .text-section:hover,
.story-cards > .text-section:hover,
.tip-cards > .text-section:hover {
  box-shadow: 0 5px 32px 0 rgba(44,62,80,0.13);
}

.text-section h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 9px;
  font-weight: 600;
}
.text-section p { color: var(--color-grey); margin-bottom: 12px; }
.text-section a {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-family: var(--font-body);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.15s;
  font-size: 0.98rem;
}
.text-section a:hover { color: var(--color-primary); text-decoration: underline; }

/* ========== LISTS & ICONS ========== */
ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
  margin-bottom: 16px;
  padding-left: 0;
}
ul li {
  font-size: 1rem;
  color: var(--color-primary);
  position: relative;
  padding-left: 36px;
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
ul li img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
  display: inline-block;
}

/* ========== ADDRESS DETAILS ========== */
.address-details {
  background: var(--color-accent);
  border-radius: var(--border-radius-sm);
  padding: 18px 22px;
  font-size: 0.98rem;
  margin-top: 5px;
  color: var(--color-primary);
  display: block;
  box-shadow: 0 1px 8px rgba(44,62,80,0.05);
}
.address-details a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  font-weight: 500;
}
.address-details a:hover { color: var(--color-primary); }

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: #fffccc;
  padding: 52px 0 28px 0;
  margin-top: 46px;
}
footer .container { flex-direction: row; justify-content: space-between; align-items: flex-start; }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(1.12);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.14s;
  margin-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #fffcc7;
}
footer .address-details {
  background: transparent;
  padding: 0;
  color: #fff;
  font-size: 0.95rem;
  margin-top: 7px;
  border-radius: 0;
  box-shadow: none;
}
footer .address-details a { color: var(--color-secondary); }
footer .address-details a:hover { color: #fffcc7; }

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -2px 18px rgba(44,62,80,0.17);
  z-index: 1200;
  padding: 24px 10px;
  font-size: 1rem;
  border-top: 3px solid var(--color-gold);
  animation: cookieBannerIn 0.32s cubic-bezier(0.75,0.02,0.3,1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 300px;
  max-width: 540px;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--color-gold);
  color: var(--color-primary);
  padding: 10px 32px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  margin-right: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
  font-size: 1rem;
}
.cookie-btn:hover,
.cookie-btn:focus { background: var(--color-gold-dark); color: #fff; }
.cookie-btn.outline {
  background: none;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
  box-shadow: none;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.outline:hover,
.cookie-btn.outline:focus {
  background: var(--color-accent);
  color: var(--color-gold-dark);
}

@media (max-width: 950px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner-buttons { width: 100%; justify-content: flex-start; }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,62,80,0.60);
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  align-items: center;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 44px 0 rgba(44,62,80,0.25);
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalBounceIn 0.42s cubic-bezier(0.66,0,0.21,1);
}
@keyframes modalBounceIn {
  0% { transform: translateY(80px) scale(0.95); opacity: 0; }
  90% { transform: translateY(0) scale(1.025); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2, .cookie-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookietoggle {
  width: 41px;
  height: 24px;
  border-radius: 12px;
  background: var(--color-accent);
  display: inline-block;
  position: relative;
  transition: background 0.14s;
}
.cookietoggle[data-checked="true"] {
  background: var(--color-gold);
}
.cookietoggle::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(44,62,80,0.09);
  position: absolute;
  left: 3px; top: 3px;
  transition: left 0.18s;
}
.cookietoggle[data-checked="true"]::after {
  left: 20px;
}
/* Ensure essential categories visually disabled */
.cookie-category.essential .cookietoggle { pointer-events: none; background: #ccc; }
.cookie-category.essential label { color: #b7aeae; font-style: italic; }
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn { min-width: 130px; }
.cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-gold-dark);
  z-index: 2;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { color: var(--color-primary); }

/* ========== BUTTONS, LINKS & EFFECTS ========== */
a,
button,
.cta-btn, .cookie-btn {
  transition: color 0.16s, background 0.18s, box-shadow 0.15s, border-color 0.14s, letter-spacing 0.16s;
}
a:focus-visible,
button:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ========== MICRO-INTERACTIONS ========== */
.card, .testimonial-card, .highlight-cards .text-section, .test-grid .text-section, .story-cards .text-section, .tip-cards .text-section {
  transition: box-shadow 0.19s, border 0.16s;
}
.highlight-cards .text-section:hover,
.test-grid .text-section:hover,
.story-cards .text-section:hover,
.tip-cards .text-section:hover {
  box-shadow: 0 8px 36px 0 rgba(44,62,80,0.17);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 950px) {
  .container { max-width: 100vw; padding-left: 10px; padding-right: 10px; }
  .content-wrapper { gap: 18px; }
  section { padding: 28px 6px; }
}
@media (max-width: 680px) {
  header .container, footer .container, footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  section { padding: 16px 0; border-radius: 0; margin-bottom: 32px; }
  .card,
  .highlight-cards > .text-section,
  .test-grid > .text-section,
  .story-cards > .text-section,
  .tip-cards > .text-section {
    padding: 16px 8px;
    min-width: 0;
    width: 100%;
  }
  .highlight-cards, .test-grid, .story-cards, .tip-cards, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ========== LUXURY & PREMIUM DETAILS ========== */
section, .card, .testimonial-card, .highlight-cards > .text-section, .test-grid > .text-section, .story-cards > .text-section, .tip-cards > .text-section {
  border: 1.7px solid #eed57c1a;
}
section {
  border-top: 4px solid var(--color-gold);
  background: linear-gradient(135deg, #fff 84%, #fcf2c34c 100%);
}
.testimonial-card {
  background: #fffbe7;
  border-left: 5.5px solid var(--color-gold);
  box-shadow: 0 8px 30px -10px var(--color-gold-dark);
}
.highlight-cards > .text-section,
.test-grid > .text-section,
.story-cards > .text-section,
.tip-cards > .text-section {
  border-left: 5px solid var(--color-gold);
  background: #fffcee;
}
.card {
  border-top: 2.5px solid var(--color-gold);
}

/* Subtle gold lines for luxury */
section > .container > .content-wrapper > h2, section > .container > .content-wrapper > h3 {
  position: relative;
}
section > .container > .content-wrapper > h2::after, section > .container > .content-wrapper > h3::after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-secondary) 60%, transparent);
}

/* ========== UTILITY CLASSES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.rounded { border-radius: var(--border-radius) !important; }
.font-display { font-family: var(--font-display) !important; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 11px;
  background: #f2f2ef;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 8px;
  border: 2px solid #e2e3e6;
}

/* ========== PRINT FRIENDLY ========== */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle, header, footer { display: none !important; }
  main { margin: 0; }
  section { padding: 0; box-shadow: none; }
}

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