/* ============================================
   Routes Des Vins — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Chau+Philomene+One:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Playfair+Display:ital@1&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --c-forest:     #516F5A;
  --c-sage:       #8CA180;
  --c-muted:      #95AA9F;
  --c-light:      #C6D4B9;
  --c-offwhite:   #E0DED3;
  --c-cream:      #F1F4EC;
  --c-dark:       #1C2A21;
  --c-dark-mid:   #2D3F32;
  --c-text:       #2A3828;
  --c-text-light: #6B7F6E;

  --font-display: 'Chau Philomene One', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-accent:  'Playfair Display', serif;

  --nav-h: 72px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm:  0 1px 3px rgba(81,111,90,.08), 0 1px 2px rgba(81,111,90,.06);
  --shadow-md:  0 4px 16px rgba(81,111,90,.10), 0 2px 6px rgba(81,111,90,.08);
  --shadow-lg:  0 12px 40px rgba(81,111,90,.14), 0 4px 12px rgba(81,111,90,.08);
  --shadow-xl:  0 24px 64px rgba(81,111,90,.18), 0 8px 20px rgba(81,111,90,.10);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--c-dark);
}

.display-xl {
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.display-lg {
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
}

.body-lg  { font-size: 1.125rem; line-height: 1.75; }
.body-sm  { font-size: 0.875rem; line-height: 1.6; }
.label    { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.italic-accent { font-family: var(--font-accent); font-style: italic; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  gap: 2rem;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(241,244,236,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--c-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--c-forest); background: rgba(81,111,90,.06); }
.nav-links a:active { background: rgba(81,111,90,.12); }
.nav-links a.active { color: var(--c-forest); font-weight: 600; }
.nav-links a:focus-visible { outline: 2px solid var(--c-sage); outline-offset: 2px; border-radius: 4px; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: var(--c-offwhite);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}

.nav-lang button {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--c-text-light);
  transition: background 0.2s, color 0.2s;
}

.nav-lang button.active {
  background: var(--c-forest);
  color: #fff;
}

.nav-lang button:hover:not(.active) { background: var(--c-light); color: var(--c-dark); }
.nav-lang button:focus-visible { outline: 2px solid var(--c-sage); outline-offset: 2px; }
.nav-hamburger:focus-visible { outline: 2px solid var(--c-sage); outline-offset: 2px; border-radius: 4px; }

.nav-cta {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  background: var(--c-forest);
  color: #fff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover { background: var(--c-dark-mid); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); box-shadow: none; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ── Mobile Nav ── */
.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-lang, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--c-cream);
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }

  .nav-mobile.open { transform: translateX(0); }

  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--c-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--c-offwhite);
    display: block;
  }

  .nav-mobile .mobile-lang {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-offwhite);
  }

  .nav-mobile .mobile-lang button {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--c-forest);
    background: transparent;
    color: var(--c-forest);
    cursor: pointer;
  }

  .nav-mobile .mobile-lang button.active {
    background: var(--c-forest);
    color: #fff;
  }

  .nav-mobile .mobile-cta {
    margin-top: 1rem;
    display: inline-flex;
    justify-content: center;
    padding: 1rem;
    background: var(--c-forest);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
  }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  background: var(--c-forest);
  color: #fff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.btn-primary:hover { background: var(--c-dark-mid); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-primary:focus-visible { outline: 3px solid var(--c-sage); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--c-forest);
  border-radius: 10px;
  border: 2px solid var(--c-forest);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.btn-secondary:hover { background: var(--c-forest); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-secondary:active { transform: translateY(0); }
.btn-secondary:focus-visible { outline: 3px solid var(--c-sage); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 0;
  color: var(--c-forest);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--c-forest); color: var(--c-dark); }
.btn-ghost:focus-visible { outline: 2px solid var(--c-sage); border-radius: 2px; }

/* ── Section Wrappers ── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}

.section-sm {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* ── Section Label ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-forest);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-forest);
  border-radius: 2px;
}

/* ── Grain Texture Overlay ── */
.grain {
  position: relative;
}

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  mix-blend-mode: multiply;
}

/* ── Hero Base ── */
.hero {
  min-height: 100dvh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.card-sage {
  background: var(--c-light);
  border-radius: 16px;
  padding: 2rem;
}

/* ── Country Cards ── */
.country-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  cursor: default;
  box-shadow: var(--shadow-lg);
}

.country-card-inner {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.country-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.country-card:hover .country-card-bg { transform: scale(1.04); }

/* ── Formula Cards ── */
.formula-card {
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  cursor: default;
}

.formula-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.formula-card.featured {
  background: var(--c-forest);
  color: #fff;
}

.formula-card.featured h3,
.formula-card.featured p,
.formula-card.featured li { color: #fff; }

.formula-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* ── Countdown ── */
.countdown-grid {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-forest);
  min-width: 2ch;
  text-align: center;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-light);
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--c-light);
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.15em;
}

/* ── Steps ── */
.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-offwhite);
}

.step-item:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: #fff;
  background: var(--c-forest);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--c-offwhite);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  transition: color 0.2s;
}

.faq-trigger:hover { color: var(--c-forest); }
.faq-trigger:focus-visible { outline: 2px solid var(--c-sage); border-radius: 4px; }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s var(--ease-spring);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  background: var(--c-forest);
  transform: rotate(45deg);
}

.faq-icon svg { width: 14px; height: 14px; }
.faq-trigger[aria-expanded="true"] .faq-icon svg { stroke: #fff; }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-body.open { grid-template-rows: 1fr; }

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  padding-bottom: 1.5rem;
  color: var(--c-text-light);
  line-height: 1.75;
}

/* ── Footer ── */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.footer-tagline { font-family: var(--font-accent); font-style: italic; font-size: 0.9rem; color: var(--c-muted); margin-top: 0.25rem; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 0.75rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-spring);
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Dividers ── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--c-forest);
  border-radius: 3px;
  margin: 1rem 0;
}

/* ── Tag / Pill ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--c-light);
  color: var(--c-forest);
}

/* ── USP Grid ── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.usp-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.usp-icon {
  width: 48px;
  height: 48px;
  background: var(--c-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ── Page Header (inner pages) ── */
.page-header {
  min-height: 40vh;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 4vw, 3rem) 3rem;
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(81,111,90,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(140,161,128,.2) 0%, transparent 60%);
}

.page-header-content { position: relative; z-index: 1; }

.page-header h1 { color: #fff; }
.page-header .section-eyebrow { color: var(--c-light); }
.page-header .section-eyebrow::before { background: var(--c-light); }
.page-header p { color: rgba(255,255,255,.65); }

/* ── Boarding Pass Visual ── */
.boarding-pass {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
}

.boarding-pass-main { padding: 2rem; }
.boarding-pass-stub {
  width: 100px;
  background: var(--c-forest);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.boarding-pass-stub .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: #fff;
  white-space: nowrap;
}

/* ── Responsive grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

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

/* ── Utility ── */
.text-center { text-align: center; }
.text-forest { color: var(--c-forest); }
.text-muted { color: var(--c-text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator svg { opacity: .6; }

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Floating badge ── */
.float-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Table styles ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--c-dark);
  color: #fff;
  font-weight: 400;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-offwhite);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--c-cream); }

/* ── Price display ── */
.price-display {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--c-forest);
}

.price-display.on-dark { color: rgba(255,255,255,.9); }

.price-period {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--c-text-light);
  font-weight: 400;
}

/* ── Team member card ── */
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.team-card-img {
  aspect-ratio: 1;
  background: var(--c-light);
  overflow: hidden;
}

.team-card-body { padding: 1.5rem; }

/* ── Urgency banner ── */
.urgency-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(81,111,90,.08);
  border: 1px solid var(--c-light);
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-forest);
}

/* ── Wine passport visual ── */
.passport-cover {
  background: var(--c-dark);
  border-radius: 12px;
  padding: 2rem;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
}

/* ── Highlight text ── */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.3em;
  background: var(--c-light);
  z-index: -1;
  border-radius: 2px;
}
