/* ===============================
   ABOUT / RÓLUNK – FINCHI (Grid)
   =============================== */

.about {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 96px) 0;
}

/* Background placeholder layer (később ide jön a kép) */
.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  /* Később csak ezt kell beállítani:
     background-image: url("img/....webp");
  */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Addig is finom “textúra érzet” */
  background-image: radial-gradient(
      1200px 600px at 10% 0%,
      rgba(232, 194, 125, 0.12),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 90% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(8, 8, 12, 0.18), rgba(8, 8, 12, 0.18)),
    url("assets/images/about/about-bg-mobile.webp");

  background-size: cover, cover, cover, contain;

  background-position: center;
}

/* Overlay (későbbi sötétítés/blur ide kerül) */
.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    900px 700px at 50% 48%,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.68)
  );

  /* Ha később blur kell:
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
  */
}

.about-inner {
  position: relative;
  z-index: 2;
}

/* Header */
.about-header {
  max-width: 980px;
  margin: 0 auto clamp(28px, 3vw, 40px);
  text-align: left;
}

.about-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(232, 194, 125, 0.95);
}

.about-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.about-lead {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 920px;
}

/* Content grid */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Card-like blocks */
.about-block {
  border-radius: 18px;
  border: 1px solid rgba(232, 194, 125, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: clamp(16px, 2vw, 22px);
}

.about-subtitle {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 217, 154, 0.95);
}

.about-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.about-block .about-text + .about-text {
  margin-top: 10px;
}

/* Quote highlight */
.about-quote {
  margin: 10px 0;
  border-radius: 18px;
  border: 1px solid rgba(232, 194, 125, 0.2);
  background: radial-gradient(
      900px 300px at 50% 0%,
      rgba(232, 194, 125, 0.12),
      transparent 60%
    ),
    rgba(255, 255, 255, 0.03);
  padding: clamp(18px, 2.4vw, 26px);
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.about-quote p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.06em;
  color: rgba(241, 217, 154, 0.98);
}

/* Actions placeholder (ha később CTA gombok jönnek) */
.about-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ===============================
   Desktop / Tablet grid behavior
   =============================== */
@media (min-width: 980px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  /* 3. kártya (A jövőnk) középre igazítása */
  .about-content .about-block:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }
  /* A JÖVŐNK kártya középre igazítása (a 6. article a sorban) */
  .about-content > article.about-block:nth-of-type(6) {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }

  /* Header is already above, but if you ever move it into the grid:
     .about-header { grid-column: 1 / -1; }
  */

  /* Quote spans both columns */
  .about-quote {
    grid-column: 1 / -1;
  }

  /* Location (last block) spans both columns for a strong finish */
  .about-content .about-block:last-of-type {
    grid-column: 1 / -1;
  }
}

/* ===============================
   Small devices fine-tuning
   =============================== */
@media (max-width: 420px) {
  .about-subtitle {
    font-size: 15px;
  }
  .about-text {
    font-size: 14.5px;
  }
}

@media (min-width: 768px) {
  .about-bg {
    background-image: radial-gradient(
        1200px 600px at 10% 0%,
        rgba(232, 194, 125, 0.12),
        transparent 55%
      ),
      radial-gradient(
        900px 600px at 90% 20%,
        rgba(255, 255, 255, 0.05),
        transparent 55%
      ),
      linear-gradient(180deg, rgba(8, 8, 12, 0.18), rgba(8, 8, 12, 0.18)),
      url("assets/images/about/about-bg-tablet.webp");
  }
}

@media (min-width: 1024px) {
  .about-bg {
    background-image: radial-gradient(
        1200px 600px at 10% 0%,
        rgba(232, 194, 125, 0.12),
        transparent 55%
      ),
      radial-gradient(
        900px 600px at 90% 20%,
        rgba(255, 255, 255, 0.05),
        transparent 55%
      ),
      linear-gradient(180deg, rgba(8, 8, 12, 0.18), rgba(8, 8, 12, 0.18)),
      url("assets/images/about/about-bg-desktop.webp");
  }
}

.about-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* erős, koncentrált glow a logó köré */
  background: radial-gradient(
    circle at 50% 50%,
    rgba(232, 194, 125, 0) 0%,
    rgba(232, 194, 125, 0) 42%,
    rgba(232, 194, 125, 0.35) 50%,
    rgba(232, 194, 125, 0) 68%
  );

  filter: blur(2px);
  opacity: 0.75;

  animation: aboutRingPulse 2.8s ease-in-out infinite;
}

@keyframes aboutRingPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.995);
    filter: blur(2px);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.015);
    filter: blur(3.5px);
  }
}

.about-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(232, 194, 125, 0) 0%,
    rgba(232, 194, 125, 0) 44%,
    rgba(232, 194, 125, 0.42) 52%,
    rgba(232, 194, 125, 0) 70%
  );

  opacity: 0.75;
  filter: blur(2px);
  animation: aboutRingPulse 2.8s ease-in-out infinite;
}

@keyframes aboutRingPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.995);
    filter: blur(2px);
  }
  50% {
    opacity: 0.98;
    transform: scale(1.015);
    filter: blur(3.5px);
  }
}

/* =========================
   VISUAL TUNING (about)
   ========================= */
.about-card,
.about-box,
.about-item {
  border-radius: var(--finchi-radius-lg);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--finchi-shadow-1);
}

/* Mobile: Rólunk – "Finchi" kicker középre */
@media (max-width: 767px) {
  .about-kicker {
    text-align: center;
  }
}
