/* Hero-specific CSS */

.hero {
  padding: 0;
  min-height: calc(100vh - var(--nav-h, 88px));
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, #e6f1ed 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 30%, #faf1e4 0%, transparent 60%),
    var(--bg);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* ===== LEFT SLIDER ===== */

.hero-left {
  position: relative;
  border-radius: 0;
  padding: 40px 44px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: none;
  isolation: isolate;
  transition: background .6s ease;
}
.hero-bg-warm {
  background:
    radial-gradient(ellipse at 80% 100%, #f4e4cc 0%, transparent 60%),
    linear-gradient(160deg, #faf6ee, #f3e9d4);
}
.hero-bg-green {
  background:
    radial-gradient(ellipse at 20% 100%, #bdd9cf 0%, transparent 60%),
    linear-gradient(160deg, #edf5f1, #d8ebe2);
}
.hero-bg-rose {
  background:
    radial-gradient(ellipse at 80% 10%, #f4d6dd 0%, transparent 60%),
    linear-gradient(160deg, #fcedf0, #f6d9df);
}
.hero-bg-plain {
  background: #fafaf6;
}
.hero-bg-dark {
  background: linear-gradient(160deg, #0B3B33, #0B715D);
  color: var(--ink-inverse);
  border-color: #1a4d43;
}
.hero-bg-dark .eyebrow,
.hero-bg-dark .lead { color: #cfe3dd; }
.hero-bg-dark .h-display { color: #ffffff; }
.hero-bg-dark .h-display em { color: #f5b544; }
.hero-bg-dark .btn-ghost { border-color: rgba(255,255,255,0.25); color: #ffffff; }
.hero-bg-dark .btn-ghost:hover { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.hero-bg-dark .btn-primary { background: #ffffff; color: var(--accent-deep); }
.hero-bg-dark .btn-primary:hover { background: #f5b544; color: var(--ink); }

.hero-left-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.hero-left-top {
  margin-bottom: 28px;
}

.hero-left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 580px;
}

.hero-title {
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 8px 0 4px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-left-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid oklch(0 0 0 / 0.08);
}
.hero-bg-dark .hero-left-footer { border-color: oklch(1 0 0 / 0.12); }

.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: oklch(0 0 0 / 0.12);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.hero-dot.active { background: var(--ink); }
.hero-bg-dark .hero-dot { background: oklch(1 0 0 / 0.2); }
.hero-bg-dark .hero-dot.active { background: oklch(0.95 0.005 95); }

.hero-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.hero-bg-dark .hero-nav { color: oklch(0.75 0.01 95); }

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid oklch(0 0 0 / 0.15);
  background: oklch(1 0 0 / 0.7);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: var(--ink); color: var(--ink-inverse); transform: scale(1.06); }
.hero-bg-dark .hero-arrow { background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.2); color: oklch(0.98 0.005 95); }
.hero-bg-dark .hero-arrow:hover { background: oklch(0.98 0.005 95); color: var(--ink); }
.hero-arrow.rot { transform: scaleX(-1); }

/* ===== RIGHT SLIDER ===== */

.hero-right {
  background: var(--bg-elev);
  border: none;
  border-radius: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-right-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}
.hero-right-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-right-counter {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-right: 4px;
}
.hero-arrow-sm {
  width: 28px;
  height: 28px;
}

.hero-right-stage {
  position: relative;
  flex: 1;
  min-height: 220px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
  transition: background .4s ease;
  background: var(--bg-elev);
}
.hero-right-bg {
  display: none;
}
.hero-right-img {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
}

.hero-right-info {
  padding: 4px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-right-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.hero-right-brand {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  color: var(--p-accent);
  letter-spacing: -0.03em;
}
.hero-right-variant {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-right-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.hero-right-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-right-info .btn { margin-top: 4px; align-self: flex-start; }

.hero-right-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.hero-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--t-soft);
  overflow: hidden;
  padding: 8px;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-thumb:hover { transform: translateY(-2px); }
.hero-thumb.active { border-color: var(--ink); }
.hero-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Variant: editorial (default) – nothing extra */
/* Variant: minimal */
.hero-left-minimal .hero-title { font-size: clamp(36px, 4.5vw, 56px); font-weight: 300; }
.hero-left-minimal .hero-left-content { max-width: 520px; }

/* Variant: bold */
.hero-left-bold .hero-title { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; }

@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero-container { grid-template-columns: 1fr; padding: 0; }
  .hero-left { border-radius: 0; min-height: 520px; }
  .hero-right { border-radius: 0; }
}
