/* WeVino landing — champagne & bordeaux palette */
:root {
  --champagne: #F5EDD8;
  --champagne-dark: #E8DCC4;
  --bordeaux: #6A1B2C;
  --bordeaux-dark: #521523;
  --ink: #2C2C2E;
  --ink-muted: #5C5C60;
  --gold: #C9A86A;
  --white: #FFFCF7;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(106, 27, 44, 0.12);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --store-badge-height: 44px;
  --store-badge-width: 148px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--champagne);
}

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

a {
  color: var(--bordeaux);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--bordeaux-dark); }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 216, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 27, 44, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1;
}

.brand-text .we { color: var(--bordeaux); }
.brand-text .vino { color: var(--ink); }

.brand-inline {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.012em;
  white-space: nowrap;
}

.brand-inline .we { color: var(--bordeaux); }
.brand-inline .vino { color: var(--ink); }

.lang-toggle {
  display: flex;
  border: 1px solid rgba(106, 27, 44, 0.25);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--bordeaux);
  color: var(--white);
}

.lang-toggle button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201, 168, 106, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(106, 27, 44, 0.08), transparent),
    linear-gradient(180deg, var(--white) 0%, var(--champagne) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 22%;
  box-shadow: var(--shadow);
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--bordeaux);
  margin: 0 0 1rem;
  max-width: 18ch;
  margin-inline: auto;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--ink-muted);
  margin: 0 auto 2.25rem;
  max-width: 42ch;
  line-height: 1.65;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--ink-muted);
  margin: 0 0 2rem;
  max-width: 34ch;
  margin-inline: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  width: var(--store-badge-width);
  height: var(--store-badge-height);
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover { transform: translateY(-2px); }

.store-badge img,
.store-badge svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  :root {
    --store-badge-height: 40px;
    --store-badge-width: 135px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 360px) {
  .store-badges {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.store-badge.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  height: auto;
  line-height: normal;
}

.store-badge.disabled .coming-soon {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
  max-width: 140px;
  line-height: 1.3;
}

/* Feature showcase */
.feature-showcase {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.feature-showcase--alt {
  background: rgba(255, 252, 247, 0.7);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-grid--reverse .feature-copy {
  order: 2;
}

.feature-grid--reverse .phone-frame {
  order: 1;
}

.feature-copy {
  max-width: 36ch;
}

.feature-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--bordeaux);
  margin: 0 0 1rem;
}

.feature-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.phone-frame {
  justify-self: center;
  width: min(280px, 72vw);
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 100%);
  box-shadow:
    0 24px 64px rgba(106, 27, 44, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
}

@media (max-width: 768px) {
  .feature-grid,
  .feature-grid--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-grid--reverse .feature-copy,
  .feature-grid--reverse .phone-frame {
    order: unset;
  }

  .feature-copy {
    max-width: none;
    margin-inline: auto;
  }

  .phone-frame {
    width: min(260px, 78vw);
  }
}

/* Sections */
section {
  padding: 3.5rem 0;
}

section:nth-of-type(even) {
  background: rgba(255, 252, 247, 0.55);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-muted);
  margin: 0 auto 2.5rem;
  max-width: 52ch;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(106, 27, 44, 0.06);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--bordeaux);
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Carousel */
.carousel-section {
  overflow: hidden;
}

.carousel {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(106, 27, 44, 0.18);
  background: var(--ink);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #111;
}

.carousel-slide video {
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(106, 27, 44, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button[aria-current="true"] {
  background: var(--bordeaux);
  transform: scale(1.25);
}

.carousel-dots button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 252, 247, 0.92);
  color: var(--bordeaux);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav.prev { left: -48px; }
.carousel-nav.next { right: -48px; }

@media (max-width: 480px) {
  .carousel-nav.prev { left: 4px; }
  .carousel-nav.next { right: 4px; }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(106, 27, 44, 0.08);
}

.feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bordeaux);
}

.feature-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Safety */
.safety-content {
  max-width: 720px;
  margin: 0 auto;
}

.safety-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.safety-content li {
  margin-bottom: 0.65rem;
}

.safety-content li strong {
  color: var(--bordeaux);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bordeaux);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-dark) 100%);
  color: var(--white);
}

.cta-section .section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em;
}

.cta-section .section-title,
.cta-section .section-subtitle {
  color: var(--champagne);
}

.cta-section .brand-inline .we { color: var(--gold); }
.cta-section .brand-inline .vino { color: var(--champagne); }

.cta-section .section-subtitle {
  opacity: 0.9;
}

.cta-section .store-badge.disabled .coming-soon {
  color: rgba(245, 237, 216, 0.75);
}

.cta-section .age-note {
  margin: 1.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
  color: var(--champagne);
}

.brand--footer {
  margin-bottom: 0.5rem;
}

.brand--footer .brand-mark {
  width: 26px;
  height: 26px;
}

.brand--footer .brand-text {
  font-size: 1.125rem;
}

.brand--footer .brand-text .vino {
  color: var(--champagne);
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 237, 216, 0.65);
}

/* Contact */
.contact-block {
  text-align: center;
}

.contact-block a.email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.contact-block a.email:hover {
  transform: translateY(-2px);
  color: var(--bordeaux-dark);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(245, 237, 216, 0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--champagne);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(245, 237, 216, 0.9);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 237, 216, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 237, 216, 0.65);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid rgba(106, 27, 44, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--white);
}

.btn-primary:hover { background: var(--bordeaux-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid rgba(106, 27, 44, 0.2);
}

.btn-ghost:hover {
  background: var(--champagne-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
}

/* Privacy policy page */
.policy-page {
  padding: 2.5rem 0 4rem;
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(106, 27, 44, 0.06);
  max-width: 820px;
  margin: 0 auto;
}

.policy-card header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(106, 27, 44, 0.1);
}

.policy-card h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.policy-updated {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

.policy-body h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 600;
  color: var(--bordeaux);
  margin: 2rem 0 0.75rem;
}

.policy-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.35rem 0 0.5rem;
}

.policy-body p {
  margin: 0 0 1rem;
}

.policy-body ul {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.policy-body li {
  margin-bottom: 0.45rem;
}

.policy-body li::marker {
  color: var(--bordeaux);
}

.contact-box {
  background: rgba(245, 237, 216, 0.55);
  border: 1px solid rgba(106, 27, 44, 0.12);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0.75rem 0 1.15rem;
}

.contact-box p {
  margin: 0;
}

.policy-footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(106, 27, 44, 0.1);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.policy-back:hover {
  text-decoration: underline;
}

.policy-body[hidden] {
  display: none;
}
