/* =============================================================
   Vinario · Modern 2026 Wine E-shop
   Design system: Burgundy + Gold + Cream
   ============================================================= */

:root {
  --burgundy: #4A0E1F;
  --burgundy-deep: #2C0A0E;
  --burgundy-light: #722F37;
  --gold: #C9A961;
  --gold-bright: #D4AF37;
  --cream: #F5F0E8;
  --cream-warm: #EDE4D3;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2A2A2A;
  --grey-line: #E5DED2;
  --grey-mute: #8A8378;
  --white: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(74, 14, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(74, 14, 31, 0.10);
  --shadow-lg: 0 24px 64px rgba(74, 14, 31, 0.18);
  --shadow-gold: 0 8px 24px rgba(201, 169, 97, 0.25);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --t-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-norm: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1320px;
  --container-narrow: 960px;

  --f-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.5rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.eyebrow.center { display: block; text-align: center; }

.title-cursive {
  font-family: 'Dancing Script', cursive;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-block;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  margin-bottom: 8px;
}

.section-title .subtitle {
  color: var(--grey-mute);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--t-norm);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245, 240, 232, 0.5);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--burgundy);
  border-color: var(--cream);
}

.btn-lg { padding: 18px 36px; font-size: 0.95rem; }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--t-norm);
}

.btn-link:hover::after { transform: scaleX(1); }

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, var(--burgundy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 400ms ease;
}

.age-gate.hidden { display: none; }

.age-gate-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.age-gate-content {
  position: relative;
  text-align: center;
  color: var(--cream);
  max-width: 540px;
  z-index: 1;
}

.age-gate-logo {
  font-family: var(--f-display);
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
}

.age-gate-tagline {
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  margin-bottom: 48px;
}

.age-gate h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--cream);
}

.age-gate p {
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.age-gate-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-deny {
  background: transparent;
  color: rgba(245, 240, 232, 0.6);
  border: 1px solid rgba(245, 240, 232, 0.3);
  padding: 16px 32px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  transition: all var(--t-norm);
}

.age-gate-deny:hover {
  background: rgba(245, 240, 232, 0.05);
  color: var(--cream);
}

.age-gate-disclaimer {
  margin-top: 48px;
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.05em;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 14, 31, 0.08);
  transition: all var(--t-norm);
}

.site-header-top {
  background: var(--burgundy-deep);
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.site-header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header-top a:hover { color: var(--gold); }

.site-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
}

.brand-name {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-family: 'Dancing Script', cursive;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy-light);
  display: block;
  line-height: 1.1;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover { color: var(--burgundy); }

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.header-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  position: relative;
  transition: all var(--t-fast);
}

.icon-btn:hover {
  background: rgba(74, 14, 31, 0.06);
}

.icon-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold);
  color: var(--burgundy-deep);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
}

.menu-toggle { display: none; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }
  .nav-overlay { display: none; }
  .nav-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    z-index: 150;
  }
  .nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 100%);
  overflow: hidden;
  color: var(--cream);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition:
    opacity 2400ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 9000ms ease-out;
  filter: contrast(1.1);
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 0.4;
  transform: scale(1.12);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(44, 10, 14, 0.3) 0%, rgba(44, 10, 14, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 64px 24px;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.85);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
}

.hero-stats .stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--gold);
  font-weight: 400;
  display: block;
}

.hero-stats .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}

.hero-dots {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 32px;
  height: 3px;
  background: rgba(245, 240, 232, 0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background var(--t-norm), width var(--t-norm);
}

.hero-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}

.hero-dot.is-active {
  width: 48px;
  background: rgba(245, 240, 232, 0.4);
}

.hero-dot.is-active::after {
  animation: heroDotProgress 7s linear forwards;
}

@keyframes heroDotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-dot:hover {
  background: rgba(245, 240, 232, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
}

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MOOD SELECTOR (signature feature) ===== */
.mood-section {
  background: var(--cream-warm);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.mood-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.mood-card {
  background: var(--cream);
  border: 1.5px solid var(--grey-line);
  border-radius: var(--r-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-norm);
  position: relative;
  overflow: hidden;
  font: inherit;
  width: 100%;
}

.mood-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  opacity: 0;
  transition: opacity var(--t-norm);
  z-index: 0;
}

.mood-card > * { position: relative; z-index: 1; }

.mood-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.mood-card:hover::before { opacity: 1; }
.mood-card:hover .mood-icon,
.mood-card:hover .mood-name,
.mood-card:hover .mood-desc { color: var(--cream); }
.mood-card:hover .mood-icon svg { stroke: var(--gold); }

.mood-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: color var(--t-norm);
}

.mood-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--burgundy);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--t-norm);
}

.mood-name {
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 4px;
  transition: color var(--t-norm);
}

.mood-desc {
  font-size: 0.85rem;
  color: var(--grey-mute);
  transition: color var(--t-norm);
}

.mood-result {
  margin-top: 48px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--grey-line);
  display: none;
}

.mood-result.active { display: block; animation: fadeUp 400ms ease; }

.mood-result-header {
  text-align: center;
  margin-bottom: 32px;
}

.mood-result-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== WINE CARD ===== */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.wine-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wine-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .wine-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .wine-grid-4, .wine-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .wine-grid-4, .wine-grid-3 { grid-template-columns: 1fr; }
}

.wine-card {
  background: var(--cream);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  transition: all var(--t-norm);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.wine-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.wine-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wine-card-media::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 24%;
  background: radial-gradient(ellipse at center top, rgba(74, 14, 31, 0.18), transparent 70%);
  pointer-events: none;
}

.wine-card-media img {
  height: 88%;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform var(--t-slow);
  filter: drop-shadow(0 12px 24px rgba(74, 14, 31, 0.18));
}

.wine-card:hover .wine-card-media img {
  transform: translateY(-6px) scale(1.04);
}

.wine-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--burgundy);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.wine-card-tag.bestseller { background: var(--gold); color: var(--burgundy-deep); }
.wine-card-tag.novinka { background: var(--burgundy); color: var(--cream); }
.wine-card-tag.organic { background: #4A6741; color: var(--cream); }

.wine-card-organic {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(74, 103, 65, 0.92);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.wine-card-quick {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all var(--t-norm);
  z-index: 3;
}

.wine-card:hover .wine-card-quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.quick-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--t-fast);
}

.quick-btn:hover { background: var(--burgundy); color: var(--cream); }

.wine-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.wine-card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.wine-card-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--burgundy);
  font-weight: 500;
  line-height: 1.2;
  min-height: 3.2rem;
}

.wine-card-vintner {
  font-size: 0.85rem;
  color: var(--grey-mute);
  font-style: italic;
}

.wine-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--grey-line);
}

.wine-card-price {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  font-weight: 500;
}

.wine-card-price-old {
  font-size: 0.9rem;
  color: var(--grey-mute);
  text-decoration: line-through;
  margin-right: 8px;
}

.wine-card-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
}

.wine-card-add:hover {
  background: var(--gold);
  color: var(--burgundy-deep);
  transform: scale(1.1) rotate(90deg);
}

/* ===== STORY SECTION ===== */
.story-section {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/about/about-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.story-section .container {
  position: relative;
  z-index: 2;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
}

.story-text h2 { color: var(--cream); margin-bottom: 24px; }
.story-text p { color: rgba(245, 240, 232, 0.8); margin-bottom: 16px; font-size: 1.05rem; }

.story-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
}

.story-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: var(--r-lg);
  margin: 16px;
  pointer-events: none;
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  isolation: isolate;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(44, 10, 14, 0.85) 100%);
  z-index: 1;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.cat-card:hover img { transform: scale(1.08); }

.cat-card-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: var(--cream);
}

.cat-card-content h3 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.cat-card-content span {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== FEATURES BAR ===== */
.features-bar {
  background: var(--cream);
  padding: 48px 0;
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-item .icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--burgundy);
  display: grid;
  place-items: center;
}

.feature-item .icon svg { width: 100%; height: 100%; stroke: var(--burgundy); stroke-width: 1.5; fill: none; }

.feature-item .text strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--burgundy);
  margin-bottom: 2px;
}

.feature-item .text span {
  font-size: 0.85rem;
  color: var(--grey-mute);
}

/* ===== TASTING CARD ===== */
.tasting-card {
  background: var(--cream);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-norm);
  border: 1px solid var(--grey-line);
  height: 100%;
}

.tasting-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.tasting-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tasting-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.tasting-card:hover .tasting-card-media img { transform: scale(1.05); }

.tasting-card-price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--burgundy);
  color: var(--gold);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  text-align: center;
}

.tasting-card-price-tag .num {
  font-family: var(--f-display);
  font-size: 1.5rem;
  display: block;
  line-height: 1;
}

.tasting-card-price-tag .unit {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tasting-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tasting-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--grey-mute);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tasting-card-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.tasting-card-subtitle {
  color: var(--grey-mute);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--burgundy-deep);
  color: rgba(245, 240, 232, 0.7);
  padding: 96px 0 32px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-family: var(--f-display);
  color: var(--gold);
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.footer-col a, .footer-col p { color: rgba(245, 240, 232, 0.65); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }

.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; margin: 16px 0; max-width: 320px; }

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--cream);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(245, 240, 232, 0.4); }

.newsletter-form button {
  background: var(--gold);
  color: var(--burgundy-deep);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--t-fast);
}

.newsletter-form button:hover { background: var(--gold-bright); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.1);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: all var(--t-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--burgundy-deep);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-bottom .by-dueflex {
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  font-size: 1rem;
}

/* ===== AI SOMMELIER WIDGET ===== */
.sommelier-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
}

.sommelier-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--t-norm);
  position: relative;
}

.sommelier-toggle:hover {
  background: var(--burgundy-deep);
  transform: scale(1.05);
}

.sommelier-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.4;
  animation: ringPulse 2.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

.sommelier-toggle .label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--burgundy-deep);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--t-norm);
  pointer-events: none;
  top: 50%;
  transform: translateX(8px) translateY(-50%);
}

.sommelier-toggle:hover .label {
  opacity: 1;
  transform: translateX(0) translateY(-50%);
}

.sommelier-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 580px;
  max-height: calc(100vh - 120px);
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--grey-line);
}

.sommelier-panel.open {
  display: flex;
  animation: slideUp 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.sommelier-header {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--cream);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sommelier-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--burgundy-deep);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.sommelier-header-text strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--gold);
}

.sommelier-header-text span {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.05em;
}

.sommelier-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 4px;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.sommelier-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  opacity: 0.6;
  transition: opacity var(--t-fast);
}

.sommelier-close:hover { opacity: 1; }

.sommelier-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream-warm);
}

.sommelier-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msgIn 240ms ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sommelier-msg.bot {
  background: var(--cream);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.sommelier-msg.user {
  background: var(--burgundy);
  color: var(--cream);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.sommelier-recos {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.sommelier-reco {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border: 1px solid var(--grey-line);
  align-items: center;
  transition: all var(--t-fast);
}

.sommelier-reco:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.sommelier-reco img {
  width: 48px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sommelier-reco-info { flex: 1; min-width: 0; }
.sommelier-reco-name {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--burgundy);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}
.sommelier-reco-meta { font-size: 0.7rem; color: var(--grey-mute); margin-bottom: 4px; }
.sommelier-reco-price {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--burgundy);
  font-weight: 600;
}

.sommelier-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 20px 12px;
  background: var(--cream-warm);
}

.sommelier-quick button {
  background: var(--cream);
  color: var(--burgundy);
  border: 1px solid var(--grey-line);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--t-fast);
}

.sommelier-quick button:hover {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.sommelier-input {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: var(--cream);
  border-top: 1px solid var(--grey-line);
}

.sommelier-input input {
  flex: 1;
  border: 1px solid var(--grey-line);
  background: var(--cream-warm);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.sommelier-input input:focus { border-color: var(--gold); }

.sommelier-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.sommelier-input button:hover { background: var(--gold); color: var(--burgundy-deep); }

.sommelier-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: var(--r-md);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.sommelier-typing span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.sommelier-typing span:nth-child(2) { animation-delay: 0.2s; }
.sommelier-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@media (max-width: 540px) {
  .sommelier-panel {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    bottom: 80px;
    right: -8px;
  }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: 16px 24px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  transition: all var(--t-norm);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast .icon { color: var(--gold); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.muted { color: var(--grey-mute); }
.gold-text { color: var(--gold); }
.italic { font-style: italic; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px 0;
  opacity: 0.5;
}

.divider-cursive {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 16px 0;
  position: relative;
}

.divider-cursive::before, .divider-cursive::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 97, 0.4));
}

.divider-cursive::before { left: 0; }
.divider-cursive::after { right: 0; background: linear-gradient(to left, transparent, rgba(201, 169, 97, 0.4)); }

/* Skeleton-friendly animations */
.fade-in { animation: fadeIn 600ms ease both; }
.fade-up { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) both; }
.fade-up-d2 { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) 100ms both; }
.fade-up-d3 { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) 200ms both; }
.fade-up-d4 { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) 300ms both; }
