/* ==========================================================================
   ADX COFFEE - Modern Luxury Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0B0807;
  --bg-card: rgba(22, 17, 15, 0.75);
  --bg-card-hover: rgba(32, 25, 22, 0.85);
  --bg-header: rgba(11, 8, 7, 0.85);
  
  --accent-red: #E31B23;
  --accent-red-hover: #FF2E37;
  --accent-red-glow: rgba(227, 27, 35, 0.35);
  
  --accent-gold: #E5A93C;
  --accent-amber: #D97724;

  --text-light: #F8F6F2;
  --text-muted: #A8A099;
  --text-dark: #120E0C;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(227, 27, 35, 0.3);

  /* Fonts */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  width: 100%;
}

.section, section, [id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Containers & Section Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section {
  padding: 50px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

/* Background Ambient Glows */
.bg-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  max-width: 100%;
  overflow: hidden;
}

.bg-glow-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-red-glow) 0%, transparent 70%);
  top: -100px;
  right: 0;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 36, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 0;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Typography Elements */
.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent-red-hover), var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #B71C1C);
  color: #FFF;
  box-shadow: 0 10px 30px var(--accent-red-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), var(--accent-red));
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(227, 27, 35, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}


/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: background var(--transition-fast);
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  background: var(--accent-red);
  color: #FFF;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-light);
}

.nav-link-highlight {
  color: var(--accent-red);
  font-weight: 600;
}

.nav-link-highlight:hover {
  color: var(--accent-red-hover);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}


/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-red-hover);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-features-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
}

.feature-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.feature-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-light);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.pack-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Radiant Ambient Backlight */
.pack-halo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.35) 0%, rgba(217, 119, 36, 0.15) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
  animation: pulseHalo 5s ease-in-out infinite alternate;
}

@keyframes pulseHalo {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Steam Animation over Degassing Valve */
.steam-wrap {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 100px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.steam-puff {
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 45px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(8px);
  animation: steamRise 3.5s infinite ease-out;
}

.steam-1 { left: 15%; animation-delay: 0s; }
.steam-2 { left: 40%; animation-delay: 1.2s; }
.steam-3 { left: 65%; animation-delay: 2.3s; }

@keyframes steamRise {
  0% {
    transform: translateY(0) scaleX(0.8) scaleY(0.6);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-80px) scaleX(1.8) scaleY(1.5);
    opacity: 0;
  }
}

/* Realistic Ground Oval Shadow */
.pack-shadow-ground {
  width: 75%;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 80%);
  border-radius: 50%;
  margin-top: -15px;
  z-index: 1;
  filter: blur(6px);
  pointer-events: none;
}

.hero-pack-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(227, 27, 35, 0.2));
  transition: transform 0.3s ease;
}

.floating-tag {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(22, 17, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.floating-tag:hover {
  border-color: var(--border-accent);
  background: rgba(32, 24, 21, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(227, 27, 35, 0.25);
}

.tag-1 {
  top: 18%;
  left: 0;
  animation: tagFloat1 5s ease-in-out infinite alternate;
}

.tag-2 {
  bottom: 15%;
  right: 0;
  animation: tagFloat2 6s ease-in-out infinite alternate;
}

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

@keyframes tagFloat2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.tag-icon {
  font-size: 1.5rem;
  background: rgba(227, 27, 35, 0.15);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
}

.floating-tag strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 700;
}

.floating-tag small {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* Taste Section */
.taste-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.taste-scales-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.scale-item {
  margin-bottom: 24px;
}

.scale-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.scale-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

.scale-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.beans-meter {
  display: flex;
  gap: 10px;
  font-size: 1.4rem;
}

.bean-icon.filled {
  color: var(--accent-amber);
  filter: drop-shadow(0 0 6px rgba(217, 119, 36, 0.6));
}

.bean-icon.empty {
  color: rgba(255, 255, 255, 0.2);
}

.roast-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.roast-note svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.flavor-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.flavor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-fast);
}

.flavor-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-5px);
}

.flavor-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.flavor-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flavor-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* Optical Sorting Section */
.sorting-wrapper {
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.sorting-content .section-title {
  text-align: left;
}

.sorting-content .section-subtitle {
  margin-bottom: 8px;
}

.sorting-content .section-desc {
  margin: 0 0 36px 0;
  text-align: left;
}

.sorting-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sort-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sort-point-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

.sort-point-icon.icon-danger {
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.3);
  color: #FFA726;
}

.sort-point h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sort-point p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sorting-media {
  position: relative;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
}

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

.media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 8, 7, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-gold);
}


/* Roasting Section */
.roasting-banner {
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.roasting-content {
  max-width: 800px;
  margin: 0 auto;
}

.roast-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.roast-badge-card {
  background: rgba(18, 14, 12, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  padding: 28px 20px;
  border-radius: var(--radius-md);
}

.badge-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-red);
  display: block;
  margin-bottom: 6px;
}

.badge-title {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.roast-badge-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* Brewing Section */
.brew-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.brew-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.brew-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-light);
}

.brew-tab.active {
  background: linear-gradient(135deg, var(--accent-red), #B71C1C);
  color: #FFF;
  border-color: var(--accent-red);
  box-shadow: 0 8px 25px var(--accent-red-glow);
}

.brew-detail-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 36px;
  padding: 32px;
  overflow: hidden;
  align-items: center;
}

.brew-detail-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1150 / 1809;
  width: 100%;
  max-width: 310px;
  height: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
}

.brew-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.brew-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.brew-name {
  font-size: 1.8rem;
  font-weight: 700;
}

.brew-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  background: rgba(229, 169, 60, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: 20px;
}

.brew-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.brew-params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.param-box {
  display: flex;
  flex-direction: column;
}

.param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.param-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.brew-steps h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.brew-steps ol {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* Packaging Section */
.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

@media (max-width: 640px) {
  .packaging-grid-4 {
    grid-template-columns: 1fr;
  }
}

.ozon-screenshots-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 28px;
}

.ozon-img-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(15, 12, 12, 0.6);
}

.ozon-img-card.mobile-card {
  max-width: 320px;
  flex: 0 0 320px;
}

.ozon-img-card.desktop-card {
  max-width: 580px;
  flex: 1 1 480px;
}

.ozon-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .ozon-screenshots-row {
    flex-direction: column;
    align-items: center;
  }
  .ozon-img-card.mobile-card,
  .ozon-img-card.desktop-card {
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
  }
}

.pack-feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.pack-feature-card:hover {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(35, 20, 20, 0.9) 0%, rgba(20, 14, 12, 0.9) 100%);
  box-shadow: 0 15px 40px rgba(227, 27, 35, 0.22);
  transform: translateY(-6px);
}

.pack-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.pack-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pack-feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* Support Section */
.support-card {
  padding: 60px;
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(26, 18, 16, 0.95) 0%, rgba(16, 11, 10, 0.95) 100%);
}

.support-header-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-red);
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.support-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.support-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 40px;
}

.support-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 48px;
}

.support-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-step-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.support-step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Ozon Return Guide Box */
.ozon-guide-box {
  margin-top: 36px;
  margin-bottom: 28px;
  background: rgba(15, 12, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ozon-guide-header {
  margin-bottom: 20px;
}

.ozon-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3882FF;
  background: rgba(0, 91, 255, 0.12);
  border: 1px solid rgba(0, 91, 255, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
}

.ozon-ui-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ozon-ui-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.ozon-ui-option.disabled {
  opacity: 0.45;
}

.ozon-ui-option.active {
  background: rgba(0, 91, 255, 0.08);
  border-color: rgba(0, 91, 255, 0.4);
  opacity: 1;
}

.ozon-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.ozon-radio.checked {
  border-color: #005BFF;
  background: #005BFF;
}

.ozon-radio.checked::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFF;
}

.ozon-ui-option strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.ozon-ui-option span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.ozon-ui-subbox {
  margin-left: 34px;
  margin-top: 4px;
  padding: 16px;
  background: rgba(0, 91, 255, 0.05);
  border: 1px solid rgba(0, 91, 255, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ozon-ui-suboption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.ozon-photo-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 91, 255, 0.12);
  border: 1px dashed rgba(0, 91, 255, 0.5);
  border-radius: 10px;
  color: #5594FF;
  font-size: 0.9rem;
  font-weight: 500;
}

.photo-icon {
  font-size: 1.2rem;
}

.support-notice-banner {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(227, 27, 35, 0.08);
  border-left: 4px solid var(--accent-red);
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
  color: #FFD56B;
  line-height: 1.5;
}


/* Footer */
.site-footer {
  background: #060404;
  border-top: 1px solid var(--border-light);
  padding: 30px 0 20px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.micro-text {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 4px;
}


/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  padding: 40px;
  position: relative;
  background: var(--bg-dark);
  border-color: var(--border-accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-light);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.08);
}

.hidden {
  display: none !important;
}

.support-success-msg {
  text-align: center;
  padding: 30px 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4CAF50;
  color: #FFF;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.support-success-msg h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.support-success-msg p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}


/* Responsive Breakpoints */
@media (max-width: 1240px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform var(--transition-fast);
    z-index: 99;
  }

  .nav-menu.active {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .taste-grid {
    grid-template-columns: 1fr;
  }

  .sorting-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .brew-detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .brew-detail-media {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 1150 / 1809;
  }

  .packaging-grid {
    grid-template-columns: 1fr;
  }

  .support-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 33px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 14px);
    padding-bottom: 26px;
  }

  .site-footer {
    padding: 20px 0 13px;
  }

  .hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title, .hero-subtitle {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-features-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 12px 6px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
    box-sizing: border-box;
  }

  .hero-feature-item {
    align-items: center;
    text-align: center;
    min-width: 0;
  }

  .feature-num {
    font-size: 1.05rem;
  }

  .feature-lbl {
    font-size: 0.62rem;
    letter-spacing: 0;
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  .feature-divider {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-side {
    width: 100%;
  }

  .pack-showcase {
    width: 100%;
    max-width: 100%;
  }

  .hero-pack-img {
    max-width: 240px;
  }

  .pack-halo {
    width: 240px;
    height: 240px;
  }

  .floating-tag {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    margin: 10px auto 0 auto;
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 10px 16px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .flavor-notes-grid {
    grid-template-columns: 1fr;
  }

  .roast-badges-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .brew-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .brew-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .brew-params-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .support-card {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-pack-img {
    max-width: 210px;
  }

  .hero-features-row {
    padding: 12px 4px;
  }

  .feature-num {
    font-size: 1.05rem;
  }

  .feature-lbl {
    font-size: 0.6rem;
  }

  .sorting-wrapper {
    padding: 24px 16px;
  }
}


/* ==========================================================================
   Cookie Consent Banner (152-ФЗ) & Privacy Modal
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 860px;
  background: rgba(18, 14, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(227, 27, 35, 0.2);
  z-index: 999;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 30px);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-text p {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.45;
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cookie-text a {
  color: var(--accent-gold);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-text a:hover {
  color: #FFF;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.privacy-modal-body {
  text-align: left;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 16px;
}

.privacy-modal-body h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin: 16px 0 6px 0;
}

.privacy-modal-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px;
    padding: 16px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .logo-text {
    font-size: 1.05rem;
    letter-spacing: 1px;
  }

  .logo-badge {
    font-size: 0.9rem;
    padding: 3px 7px;
  }

  .mobile-toggle {
    z-index: 101;
    cursor: pointer;
  }

  .hero-features-row {
    display: flex;
    justify-content: space-around;
    padding: 12px 2px;
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-feature-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 2px;
    text-align: center;
  }

  .feature-num {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .feature-lbl {
    font-size: 0.55rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}
