/* HERO */

.hero {
  padding: 40px 0 28px;
}

.hero-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at top left, rgba(240,179,118,0.16) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(80,128,255,0.16) 0, transparent 60%),
    rgba(5,7,10,0.96);
}

.hero-inner {
  position: relative;
  padding: 30px 26px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.84);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(1.9rem, 2.2vw + 1.2rem, 2.5rem);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 16px;
}

.hero-side {
  min-height: 60px;
}

/* CTA BUTTONS */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.88rem;
  min-height: 40px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #ffe1b5 0, #f0b376 38%, #e29c5d 100%);
  color: #1a120b;
  box-shadow: 0 14px 34px rgba(240,179,118,0.45);
}

.btn-secondary {
  background: rgba(5,7,10,0.96);
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  border-color: rgba(240,179,118,0.7);
  background:
    radial-gradient(circle at 0 0, rgba(240,179,118,0.22) 0, rgba(5,7,10,0.98) 58%);
  color: #fff;
}

/* REVIEWS CONTENT */

section.content {
  padding: 28px 0 34px;
}

.section-title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.card {
  background:
    radial-gradient(circle at 0 0, rgba(240,179,118,0.10) 0, transparent 55%),
    linear-gradient(145deg, rgba(9,11,16,0.96), rgba(7,10,15,0.98));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.7);
  font-size: 0.9rem;
  color: var(--muted);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  color: var(--text);
}

/* PANEL UNDER REVIEWS */

.panel {
  border-radius: 24px;
  padding: 20px 18px 18px;
  background:
    radial-gradient(circle at 0 0, rgba(240,179,118,0.1) 0, transparent 40%),
    rgba(8,10,14,0.98);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  margin-top: 8px;
  margin-bottom: 26px;
}

.panel .card {
  background: #05070b;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.panel .card h3 {
  color: var(--text);
}

.panel .card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.panel .cta {
  margin-top: 18px;
}

/* PROGRESS BAR */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  width: 0;
  z-index: 60;
  transform-origin: left;
}

/* FADE-IN ANIMATION */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}

.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHT THEME OVERRIDES — теплий крем + карамель */

html[data-theme="light"] .hero-shell {
  border-color: rgba(104,82,62,.18);
  background:
    radial-gradient(circle at top left, rgba(245,198,150,.26) 0, transparent 48%),
    radial-gradient(circle at bottom right, rgba(232,165,92,.20) 0, transparent 55%),
    linear-gradient(135deg,#fffdf9 0,#f7efe4 55%,#f2e4d5 100%);
  box-shadow: 0 20px 46px rgba(98,76,56,.12);
}

html[data-theme="light"] .eyebrow {
  color:#7f6f62;
}

html[data-theme="light"] .eyebrow::before {
  background:#d58034;
}

html[data-theme="light"] .hero h1 {
  color:#2b2119;
}

html[data-theme="light"] .lead {
  color:#5f5146;
}

/* cards */

html[data-theme="light"] .card {
  background: linear-gradient(180deg,#fffdf9 0%,#fff7ef 100%);
  border-color: rgba(104,82,62,.18);
  box-shadow: 0 14px 30px rgba(98,76,56,.10);
  color:#5f5146;
}

html[data-theme="light"] .card h3 {
  color:#2b2119;
}

html[data-theme="light"] .card p,
html[data-theme="light"] .card li {
  color:#5f5146;
}

/* panel */

html[data-theme="light"] .panel {
  background: linear-gradient(180deg,#fffaf2 0%,#f7eee4 100%);
  border-color: rgba(104,82,62,.20);
  box-shadow: 0 18px 40px rgba(98,76,56,.14);
}

/* якщо картки всередині panel мають залишатися світлими */
html[data-theme="light"] .panel .card {
  background:#fffdf9;
  border-color:rgba(104,82,62,.16);
  box-shadow:none;
}

html[data-theme="light"] .panel .card h3 {
  color:#2b2119;
}

html[data-theme="light"] .panel .card ul,
html[data-theme="light"] .panel .card li,
html[data-theme="light"] .panel .card p {
  color:#5f5146;
}

/* buttons */

html[data-theme="light"] .btn {
  background:#fffaf4;
  border-color:rgba(104,82,62,.22);
  color:#2b2119;
  box-shadow:0 8px 18px rgba(98,76,56,.08);
}

html[data-theme="light"] .btn-primary {
  background:linear-gradient(135deg,#f5c696 0%,#e8a55c 52%,#d58034 100%);
  color:#21150d;
  box-shadow:0 18px 34px rgba(216,134,61,.24);
}

html[data-theme="light"] .btn-secondary {
  background:#fffdf9;
  border-color:rgba(104,82,62,.20);
  color:#2b2119;
}

html[data-theme="light"] .btn:hover {
  background:#fff2e3;
  border-color:rgba(213,128,52,.60);
  box-shadow:0 12px 26px rgba(216,134,61,.22);
  color:#21150d;
}