/* ============================================================
   BARANYA HOME – sell.css
   Eladom az ingatlanomat oldal stílusai
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.sell-hero {
  background: #0C2218;
  padding: var(--space-24, 96px) 0 var(--space-20, 80px);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.sell-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(47,107,95,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(47,107,95,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sell-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.sell-hero__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(217,212,199,0.9);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sell-hero__label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(217,212,199,0.75), transparent);
}

.sell-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  color: #FAF8F4;
  line-height: 1.08;
  letter-spacing: 0.015em;
  margin-bottom: var(--space-5);
}

.sell-hero__sub {
  font-size: clamp(var(--font-size-base), 1.8vw, var(--font-size-lg));
  color: #ffffff;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--space-8);
}

.sell-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.sell-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sell-hero__btn--primary {
  background: #C8A84B;
  color: #1F2B28;
}
.sell-hero__btn--primary:hover {
  background: #A88830;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.30);
}
.sell-hero__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.sell-hero__btn--ghost:hover {
  border-color: rgba(217,212,199,0.45);
  color: rgba(217,212,199,0.9);
}

.sell-hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sell-hero__scroll-hint span {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(217,212,199,0.55), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── Section shared ─────────────────────────────────────────── */
.sell-section-header {
  text-align: center;
  margin-bottom: var(--space-14, 56px);
}
.sell-section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light, #2F6B5F);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sell-section-label::before,
.sell-section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(31,77,69,0.3);
}
.sell-section-label--gold { color: var(--color-primary, #1F4D45); }

.sell-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.sell-section-title--light { color: #FAF8F4; }

.sell-section-sub {
  font-size: var(--font-size-base);
  color: #000000;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}
.sell-section-sub--light { color: #ffffff; }

/* ── Miért minket ───────────────────────────────────────────── */
.sell-why {
  background: #F4F7F6;
  padding: var(--space-20, 80px) 0;
}

.sell-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.sell-why__card {
  background: white;
  border: 1px solid #D4E4DE;
  border-radius: 14px;
  padding: var(--space-8) var(--space-6);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sell-why__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(37,37,37,0.09);
  border-color: rgba(31,77,69,0.25);
}

.sell-why__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(31,77,69,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: #1F4D45;
  transition: background 0.2s;
}
.sell-why__card:hover .sell-why__icon {
  background: rgba(31,77,69,0.14);
}

.sell-why__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: var(--space-3);
}

.sell-why__card-text {
  font-size: var(--font-size-sm);
  color: #000000;
  line-height: 1.65;
}

/* ── Folyamat ───────────────────────────────────────────────── */
.sell-process {
  background: #0C2218;
  padding: var(--space-20, 80px) 0 var(--space-24, 96px);
  position: relative;
  overflow: hidden;
}
.sell-process::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at top right, rgba(47,107,95,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.sell-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.sell-step {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: start;
  width: 100%;
}

.sell-step:nth-child(even) { direction: rtl; }
.sell-step:nth-child(even) .sell-step__body { direction: ltr; }
.sell-step:nth-child(even) .sell-step__node { direction: ltr; }
.sell-step:nth-child(even) .sell-step__connector { direction: ltr; }

.sell-step__node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1F4D45;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(31,77,69,0.12), 0 0 0 16px rgba(31,77,69,0.05);
  transition: box-shadow 0.25s;
}
.sell-step__node--final {
  background: #1F4D45;
  box-shadow: 0 0 0 8px rgba(31,77,69,0.12), 0 0 0 16px rgba(31,77,69,0.05);
}
.sell-step__node--final .sell-step__num { color: #FAF8F4; }

.sell-step__num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FAF8F4;
  line-height: 1;
}

.sell-step__connector {
  width: 2px;
  min-height: 48px;
  background: linear-gradient(to bottom, rgba(31,77,69,0.5), rgba(31,77,69,0.12));
  justify-self: center;
  align-self: stretch;
  animation: scrollPulse 2.5s ease-in-out infinite;
}
.sell-step__connector--hidden { visibility: hidden; }

.sell-step__body {
  padding: 12px 24px 32px;
}

.sell-step__icon {
  color: rgba(47,107,95,0.8);
  margin-bottom: var(--space-2);
}

@keyframes step-heartbeat {
  0%, 100%  { color: #c8c3bc; text-shadow: none; }
  12%        { color: #ffffff; text-shadow: 0 0 14px rgba(255,255,255,0.55), 0 0 30px rgba(255,255,255,0.18); }
  24%        { color: #c8c3bc; text-shadow: none; }
  40%        { color: #ffffff; text-shadow: 0 0 22px rgba(255,255,255,0.75), 0 0 48px rgba(255,255,255,0.28); }
  62%, 100%  { color: #c8c3bc; text-shadow: none; }
}

.sell-step__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #c8c3bc;
  margin-bottom: var(--space-2);
  line-height: 1.3;
  animation: step-heartbeat 3s ease-in-out infinite;
}
.sell-step:nth-child(1) .sell-step__title { animation-delay: 0s; }
.sell-step:nth-child(2) .sell-step__title { animation-delay: 0.45s; }
.sell-step:nth-child(3) .sell-step__title { animation-delay: 0.9s; }
.sell-step:nth-child(4) .sell-step__title { animation-delay: 1.35s; }
.sell-step:nth-child(5) .sell-step__title { animation-delay: 1.8s; }
.sell-step:nth-child(6) .sell-step__title { animation-delay: 2.25s; }
@media (prefers-reduced-motion: reduce) {
  .sell-step__title { animation: none; color: #ffffff; }
}

.sell-step__text {
  font-size: var(--font-size-sm);
  color: #ffffff;
  line-height: 1.65;
}

/* ── CTA ────────────────────────────────────────────────────── */
.sell-cta {
  background: #F4F7F6;
  border-top: 1px solid #D4E4DE;
  padding: var(--space-12, 48px) 0;
}

.sell-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.sell-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.sell-cta__sub {
  font-size: var(--font-size-sm);
  color: #000000;
  line-height: 1.65;
  max-width: 520px;
}

.sell-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-shrink: 0;
}

.sell-cta__btn {
  display: inline-block;
  background: #C8A84B;
  color: #1F2B28;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.sell-cta__btn:hover {
  background: #A88830;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.30);
  color: #1F2B28;
}

.sell-cta__contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
}

.sell-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  color: #000000;
  text-decoration: none;
  transition: color 0.15s;
}
.sell-cta__link:hover { color: var(--color-primary); }

.sell-cta__sep {
  color: #C8C0B5;
  font-size: 12px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sell-steps {
    max-width: 500px;
  }
  .sell-step {
    grid-template-columns: 40px 40px 1fr;
    direction: ltr !important;
  }
  .sell-step:nth-child(even) {
    direction: ltr;
  }
  .sell-step__connector { min-height: 32px; }
  .sell-step__node { width: 40px; height: 40px; }
  .sell-step__num { font-size: 1rem; }
  .sell-step__body { padding: 4px 16px 24px; }

  .sell-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .sell-cta__actions { align-items: flex-start; }
}

@media (max-width: 640px) {
  .sell-why__grid { grid-template-columns: 1fr; }
  .sell-hero__actions { flex-direction: column; align-items: flex-start; }
  .sell-cta__contact-row { flex-wrap: wrap; justify-content: flex-start; }

  /* Miért bízza ránk – kártyák középre */
  .sell-why__card { text-align: center; }
  .sell-why__icon { margin-left: auto; margin-right: auto; margin-top: var(--space-4); }

  /* Folyamat – középre + szellős */
  .sell-steps { max-width: 100%; }
  .sell-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .sell-step:nth-child(even) { direction: ltr; }
  .sell-step__connector--hidden { min-height: 0; height: 0; visibility: hidden; }
  .sell-step__connector { width: 2px; min-height: 28px; height: 28px; }
  .sell-step__body { text-align: center; padding: 8px 16px 28px; width: 100%; }
  .sell-step__icon { display: flex; justify-content: center; }
}
