/* Grand Cru Gastronomy — Haute Cuisine Editorial Styles */
:root {
  --bg-bordeaux: #120408;
  --bg-card: rgba(28, 10, 16, 0.7);
  --border-ruby: rgba(180, 40, 70, 0.3);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --ruby: #b91c47;
  --ruby-light: #e11d48;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --text-cream: #faf5eb;
  --text-muted: #a89f91;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-fast: 160ms;
}

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

html, body {
  background-color: var(--bg-bordeaux);
  color: var(--text-cream);
  font-family: 'Syne', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-title, .title-serif-big, .course-display-title, .gold-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.italic-gold {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--gold-light);
}

.eyebrow-ruby, .hero-haute-badge, .card-badge-gold, .c-time, .sp-title {
  font-family: 'Marcellus', serif;
  letter-spacing: 2px;
  font-size: 11px;
  text-transform: uppercase;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.gc-topbar {
  background: #090204;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 11px;
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ruby-point {
  color: var(--ruby-light);
  margin-right: 8px;
}
.topbar-phone-block {
  color: var(--text-muted);
}
.gc-phone {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}

/* Header */
.gc-header {
  padding: 24px 0;
  background: rgba(18, 4, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-ruby);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-monogram {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.brand-title {
  font-size: 20px;
  letter-spacing: 2px;
  display: block;
}
.brand-subtitle {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.gc-nav {
  display: flex;
  gap: 28px;
}
.gc-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--duration-fast);
}
.gc-nav a:hover {
  color: var(--gold-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--duration-fast), background-color var(--duration-fast);
  border: 1px solid transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ruby-gold {
  background: linear-gradient(135deg, #700f28, #9f1239);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(159, 18, 57, 0.3);
}
.btn-ruby-gold:hover {
  background: linear-gradient(135deg, #881337, #be123c);
  border-color: var(--gold);
}
.full-width {
  width: 100%;
}

/* Hero */
.gc-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) contrast(1.1);
  z-index: 1;
}
.hero-wine-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 4, 8, 0.6) 0%, rgba(18, 4, 8, 0.95) 100%);
  z-index: 2;
}
.hero-content-box {
  position: relative;
  z-index: 3;
  max-width: 860px;
}
.hero-haute-badge {
  color: var(--gold-light);
  margin-bottom: 20px;
}
.crest {
  font-size: 16px;
  margin-right: 6px;
}
.hero-title-editorial {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero-lead-text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-accreditations {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.acc-item {
  display: flex;
  flex-direction: column;
}
.acc-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--gold-light);
  line-height: 1;
}
.acc-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.acc-sep {
  color: var(--border-ruby);
  font-size: 24px;
}

/* Tasting Section */
.tasting-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}
.section-center-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.eyebrow-ruby {
  color: var(--ruby-light);
  margin-bottom: 8px;
  display: block;
}
.title-serif-big {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 12px;
}
.desc-muted {
  color: var(--text-muted);
  font-size: 15px;
}

.tasting-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.courses-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.course-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.course-item.active, .course-item:hover {
  border-color: var(--gold);
  background: rgba(185, 28, 71, 0.15);
}
.c-time {
  font-size: 10px;
  color: var(--ruby-light);
  display: block;
  margin-bottom: 4px;
}
.c-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 6px;
}
.c-wine-badge {
  font-size: 12px;
  color: var(--gold-light);
}

.course-card-editorial {
  background: #18070d;
  border: 1px solid var(--border-gold);
  padding: 40px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-badge-gold {
  color: var(--gold);
  margin-bottom: 12px;
}
.course-display-title {
  font-size: 32px;
  margin-bottom: 16px;
}
.course-desc-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.sommelier-pairing-box {
  background: rgba(10, 2, 4, 0.8);
  border: 1px solid var(--border-ruby);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.sp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sp-title {
  color: var(--gold-light);
}
.sp-wine-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.sp-wine-notes {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Estimator */
.estimator-section {
  padding: 90px 0;
  background: #0d0306;
}
.estimator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 50px;
}
.est-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 20px;
}
.est-group {
  margin-bottom: 28px;
}
.est-lbl-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}
.est-lbl-row strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold-light);
}
.ruby-slider {
  width: 100%;
  accent-color: var(--ruby-light);
  cursor: pointer;
}
.est-sub-lbl {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.tier-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tier-btn {
  background: #15050a;
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.tier-btn strong {
  font-size: 14px;
  color: #fff;
}
.tier-btn span {
  font-size: 12px;
  color: var(--gold-light);
  margin-top: 4px;
}
.tier-btn.active {
  border-color: var(--gold);
  background: rgba(185, 28, 71, 0.2);
}

.est-result-card {
  background: #15060b;
  border: 1px solid var(--border-gold);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.res-line {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}
.res-line span {
  font-size: 12px;
  color: var(--text-muted);
}
.gold-price {
  font-size: 32px;
  color: var(--gold-light);
  margin-top: 4px;
}
.gold-spec {
  color: #fff;
  font-size: 13px;
  margin-top: 4px;
}

/* BESPOKE SOMMELIER INVITATION CARD MODAL */
.invitation-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.invitation-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.invitation-modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.invitation-modal-card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.invitation-paper {
  background: #17070d;
  border: 2px solid var(--border-gold);
  padding: 40px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.paper-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: rgba(212, 175, 55, 0.04);
  pointer-events: none;
  letter-spacing: 4px;
}
.invitation-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.wax-monogram {
  font-size: 32px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 8px;
}
.invitation-pretitle {
  text-align: center;
  font-family: 'Marcellus', serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ruby-light);
  margin-bottom: 6px;
}
.invitation-h3 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}
.invitation-p {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.inv-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inv-field label {
  font-size: 12px;
  color: var(--text-muted);
}
.inv-field input {
  background: #0e0307;
  border: 1px solid var(--border-subtle);
  color: var(--text-cream);
  padding: 12px;
  border-radius: 2px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  outline: none;
}
.inv-field input:focus {
  border-color: var(--gold);
}

/* Chefs & Haute Cuisine Team Section */
.chefs-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 25%, rgba(185, 28, 71, 0.06) 0%, transparent 70%);
}
.section-editorial-head {
  margin-bottom: 48px;
}
.desc-editorial {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-top: 10px;
}
.chefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 56px;
}
.chef-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.chef-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}
.chef-photo-frame {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.chef-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-out);
}
.chef-card:hover .chef-photo {
  transform: scale(1.03);
}
.chef-michelin-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(18, 4, 8, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: 'Marcellus', serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 2px;
}
.chef-details {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.chef-origin-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Marcellus', serif;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.chef-name {
  font-size: 26px;
  color: var(--text-cream);
  margin-bottom: 4px;
}
.chef-role {
  font-size: 13px;
  color: var(--ruby-light);
  font-family: 'Marcellus', serif;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.chef-quote {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}
.chef-achievements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.achieve-pill {
  font-size: 12px;
  color: var(--text-cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.achieve-pill::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
}
.service-tableware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stw-item {
  background: rgba(28, 10, 16, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.stw-icon {
  font-size: 26px;
}
.stw-content h4 {
  font-size: 15px;
  color: var(--gold-light);
  margin-bottom: 6px;
  font-family: 'Playfair Display', Georgia, serif;
}
.stw-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.gc-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .tasting-builder-grid, .est-grid {
    grid-template-columns: 1fr;
  }
  .chefs-grid {
    grid-template-columns: 1fr;
  }
  .service-tableware-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .gc-nav { display: none; }
  .hero-title-editorial { font-size: 34px; }
  .estimator-box { padding: 24px 16px; }
  .tier-select-grid { grid-template-columns: 1fr; }
  .invitation-paper { padding: 24px 16px; }
}
