/* ==========================================================================
   Támogatás – az Apple támogatási oldalának mintájára
   Termékek, fontos tudnivalók, gyakori kérdések lenyíló válaszokkal,
   a végén a további segítség elérhetőségei. A közös elemek a style.css-ből jönnek.
   ========================================================================== */

/* ---------- Hero: cím, bevezető, termékek ---------- */

.sp-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  background: #f5f5f7;
}

.sp-hero__eyebrow {
  margin-bottom: 14px;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.sp-hero__eyebrow .logo-mark { width: 24px; height: 27px; }
.sp-hero__title { font-size: clamp(40px, 6.4vw, 80px); }
.sp-hero__lead { max-width: 640px; margin: 22px auto 0; }

/* Termékikonok sora, ahogy az Apple támogatási oldalán */
.sp-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 40px);
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.sp-products a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 128px;
  color: var(--ink);
  text-decoration: none;
}

.sp-products__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 10px 24px -14px rgb(15 23 42 / 0.3);
  transition: scale 0.3s var(--ease);
}

.sp-products__icon .logo-mark { width: 38px; height: 43px; color: var(--c); }
.sp-products a:hover .sp-products__icon { scale: 1.06; }
.sp-products b { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.sp-products small { font-size: 13px; color: var(--blue-600); }

/* ---------- Szekciók ---------- */

.sp-section { padding: clamp(72px, 9vw, 120px) 0; }
.sp-section--tint { background: #f5f5f7; }

.sp-title {
  margin-bottom: clamp(28px, 3vw, 40px);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.sp-sub { max-width: 640px; margin: calc(clamp(28px, 3vw, 40px) * -0.6) 0 clamp(28px, 3vw, 40px); font-size: 17px; color: var(--slate-500); }

/* ---------- Fontos tudnivalók ---------- */

.sp-notices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.sp-notice {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border-radius: 24px;
  background: #f5f5f7;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s;
}

.sp-notice:hover { background: #ececf0; }
.sp-notice__icon { margin-bottom: 18px; font-size: 40px; color: var(--blue-600); }
.sp-notice h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.sp-notice p { margin-bottom: 18px; font-size: 16px; line-height: 1.5; color: var(--slate-600); }
.sp-notice .link-arrow { margin-top: auto; font-size: 16px; }

/* A kiemelt tudnivaló a teljes sort elfoglalja, sötét háttérrel */
.sp-notice--feature {
  grid-column: 1 / -1;
  padding: clamp(32px, 4vw, 48px);
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgb(37 99 235 / 0.45), transparent 70%),
    var(--dark);
  color: var(--slate-300);
}

.sp-notice--feature:hover { background: radial-gradient(ellipse 60% 90% at 100% 0%, rgb(37 99 235 / 0.55), transparent 70%), var(--dark); }
.sp-notice--feature .sp-notice__icon { color: var(--blue-400); }
.sp-notice--feature h3 { max-width: 640px; font-size: clamp(26px, 3vw, 36px); color: #fff; }
.sp-notice--feature p { max-width: 640px; font-size: 17px; color: var(--slate-400); }
.sp-notice--feature .link-arrow { color: var(--blue-400); }

.sp-notice__tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(96 165 250 / 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-300);
}

/* ---------- Gyakori problémák ---------- */

.sp-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.sp-faq__col { display: grid; gap: 20px; }
.sp-group { padding: 26px 28px 20px; border-radius: 24px; background: #fff; }

.sp-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sp-group__title .logo-mark { width: 20px; height: 22.5px; color: var(--c); }

.sp-list { margin: 0; padding: 0; list-style: none; }
.sp-list li + li { border-top: 1px solid var(--slate-200); }

.sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-800);
  text-decoration: none;
}

.sp-row i { flex: none; font-size: 13px; color: var(--slate-400); transition: rotate 0.25s var(--ease); }

/* Lenyíló válasz: a kérdésre kattintva nyílik, a + jel x-szé fordul */
.sp-row--faq { display: block; padding: 0; }

.sp-row--faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.sp-row--faq summary::-webkit-details-marker { display: none; }
.sp-row--faq summary:hover { color: var(--blue-600); }
.sp-row--faq[open] summary i { rotate: 45deg; }
.sp-row--faq p { margin: -4px 0 16px; padding-right: 28px; font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--slate-600); }
.sp-row--faq p + p { margin-top: -8px; }
.sp-row--faq b { font-weight: 600; color: var(--slate-800); }

.sp-group__note { margin: -2px 0 6px; font-size: 14px; color: var(--slate-500); }

/* A gyakori kérdések alatt: minden más a támogatáshoz megy */
.sp-ask { margin: clamp(32px, 4vw, 44px) 0 0; font-size: 17px; text-align: center; color: var(--slate-600); }
.sp-ask .link-arrow { margin-left: 6px; }

/* ---------- További segítség ---------- */

.sp-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
}

.sp-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 32px;
  border-radius: 24px;
  background: #f5f5f7;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, translate 0.3s var(--ease);
}

.sp-contact__card:hover { background: #ececf0; translate: 0 -2px; }

.sp-contact__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 30px;
}

.sp-contact__card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.sp-contact__card p { margin-bottom: 16px; font-size: 15px; color: var(--slate-500); }
.sp-contact__card b { margin-top: auto; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--blue-600); }

.sp-tips {
  max-width: 760px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding: 26px 30px;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
}

.sp-tips h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--ink); }
.sp-tips h3 i { font-size: 22px; color: var(--amber-500); }
.sp-tips ul { margin: 0; padding-left: 20px; }
.sp-tips li { margin: 6px 0; font-size: 15px; line-height: 1.5; color: var(--slate-600); }

/* ---------- Reszponzív ---------- */

@media (max-width: 900px) {
  .sp-notices,
  .sp-faq,
  .sp-contact { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sp-products a { width: 72px; }
  .sp-products__icon { width: 64px; height: 64px; border-radius: 17px; }
  .sp-products__icon .logo-mark { width: 30px; height: 34px; }
  .sp-products b { font-size: 12px; }
  .sp-products small { font-size: 11px; }
  .sp-group { padding: 22px 20px 16px; }
}
