/* ===========================================================
   MAZDA HOMOKI — Hivatalos márkakereskedés
   Design: KODO-inspirált, Soul Red Crystal akcentussal
   =========================================================== */

:root {
  /* Colors */
  --soul-red: #A8120D;
  --soul-red-light: #E52923;
  --soul-red-deep: #5A0906;
  --ink: #0F0F12;
  --ink-soft: #1a1a1f;
  --graphite: #2a2a30;
  --bone: #F5F1EA;
  --bone-warm: #ECE5D8;
  --pearl: #ffffff;
  --mute: #8a8a94;
  --hair: rgba(15, 15, 18, 0.08);
  --hair-light: rgba(255, 255, 255, 0.1);

  /* Typography */
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

em { font-style: italic; font-family: var(--display); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-transform: uppercase;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--soul-red);
  color: var(--pearl);
}
.btn--primary:hover { background: var(--soul-red-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.btn--pill {
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
  background: var(--ink);
  color: var(--bone);
}
.btn--pill:hover { background: var(--soul-red); }

.btn--full { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1380px; margin: 0 auto;
  padding: 1rem 2rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--soul-red);
}
.nav__mark { width: 38px; height: 38px; display: flex; }
.nav__mark svg { width: 100%; height: 100%; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.nav__brand {
  font-family: var(--body);
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.12em;
}
.nav__sub {
  font-family: var(--display);
  font-style: italic; font-size: 0.82rem;
  color: var(--soul-red); margin-top: 2px;
}

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--soul-red);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--soul-red); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 1.25rem; }
.nav__phone {
  font-weight: 600; font-size: 0.88rem;
  color: var(--ink);
}
.nav__phone:hover { color: var(--soul-red); }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__inner { padding: 1rem 1.2rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-warm) 100%);
  padding: 5rem 2rem 0;
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 20%, rgba(229, 41, 35, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(168, 18, 13, 0.06), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.5;
}

.hero__content {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero__meta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--mute);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease) both;
}
.dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--soul-red);
  box-shadow: 0 0 0 4px rgba(168, 18, 13, 0.15);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(168, 18, 13, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(168, 18, 13, 0); }
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 980px;
  animation: fadeUp 1.1s 0.1s var(--ease) both;
}
.hero__title em {
  color: var(--soul-red);
  font-weight: 500;
}

.hero__lede {
  margin-top: 2rem;
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--graphite);
  animation: fadeUp 1.1s 0.25s var(--ease) both;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeUp 1.1s 0.4s var(--ease) both;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  max-width: 680px;
  animation: fadeUp 1.1s 0.55s var(--ease) both;
}
.hero__stats > div { flex: 1; }
.hero__stats dt {
  font-size: 0.72rem; font-weight: 600;
  color: var(--mute);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.hero__stats dd {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  margin: 0.3rem 0 0.2rem;
  color: var(--ink);
}
.hero__stats dd span { color: var(--soul-red); font-style: italic; }
.hero__stats p {
  font-size: 0.85rem; color: var(--graphite);
}

.hero__car {
  position: absolute;
  right: -5%; bottom: 6rem;
  width: 70%;
  max-width: 900px;
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(90, 9, 6, 0.25));
  animation: drive 1.4s 0.3s var(--ease) both;
  pointer-events: none;
}
@keyframes drive {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero__marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: 1.rem 0;
  border-top: 1px solid var(--graphite);
}
.hero__marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.hero__marquee-track span:nth-child(even) { color: var(--soul-red-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero { padding: 3rem 1.2rem 0; min-height: auto; }
  .hero__car {
    position: relative;
    right: auto; bottom: auto;
    width: 110%;
    margin: 2rem -1.2rem 4rem;
  }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; }
  .hero__stats > div { min-width: 40%; }
}

/* ---------- Section heads ---------- */
.section__head {
  max-width: 1380px;
  margin: 0 auto;
  padding: 6rem 2rem 3rem;
  text-align: center;
}
.section__kicker {
  font-size: 0.78rem; font-weight: 600;
  color: var(--soul-red);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 1.2rem;
}
.section__kicker--light { color: var(--soul-red-light); }
.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section__title--light { color: var(--bone); }
.section__title em { color: var(--soul-red); }
.section__lede {
  max-width: 580px;
  margin: 1.4rem auto 0;
  color: var(--graphite);
}

/* ---------- Models ---------- */
.models {
  padding-bottom: 5rem;
  background: var(--bone);
}
.models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
}

.model {
  background: var(--pearl);
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.model:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 15, 18, 0.25);
  border-color: transparent;
}

.model__img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.model__img--1 {
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(135deg, #1e3a5f 0%, #0f1f33 100%);
}
.model__img--2 {
  background:
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(135deg, var(--soul-red-light) 0%, var(--soul-red-deep) 100%);
}
.model__img--3 {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(135deg, #2d6b4f 0%, #0f2a1e 100%);
}
.model__img--4 {
  background:
    radial-gradient(circle at 40% 60%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(135deg, #3d3d45 0%, #0f0f12 100%);
}
.model__img--5 {
  background:
    radial-gradient(circle at 60% 40%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(135deg, #d4a95a 0%, #6b4a1e 100%);
}
.model__img--6 {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 50%),
    linear-gradient(135deg, #8a8a94 0%, #3d3d45 100%);
}
.model__img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(transparent 40%, rgba(0,0,0,0.3)),
    repeating-linear-gradient(
      -45deg,
      transparent 0 2px,
      rgba(255,255,255,0.02) 2px 4px
    );
}
.model__img::before {
  content: "";
  position: absolute;
  left: 50%; top: 60%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 55%;
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.5) 0%,
      rgba(0,0,0,0.2) 40%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
}

.model__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: var(--pearl);
  color: var(--ink);
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.model__badge--hot { background: var(--soul-red); color: var(--pearl); }
.model__badge--ev { background: #2d6b4f; color: var(--pearl); }
.model__badge--new { background: var(--ink); color: var(--bone); }

.model__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.model__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.model__row h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.model__price {
  font-size: 0.85rem; font-weight: 600;
  color: var(--soul-red);
  white-space: nowrap;
}

.model__body p {
  font-size: 0.92rem; color: var(--graphite);
  margin-bottom: 1.2rem;
}

.model__specs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.4rem;
}
.model__specs span {
  font-size: 0.72rem; font-weight: 600;
  color: var(--graphite);
  background: var(--bone-warm);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.model__link {
  margin-top: auto;
  font-size: 0.88rem; font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s, letter-spacing 0.3s;
}
.model__link:hover { color: var(--soul-red); letter-spacing: 0.12em; }

@media (max-width: 900px) {
  .models__grid { grid-template-columns: 1fr; padding: 0 1.2rem; }
  .section__head { padding: 4rem 1.2rem 2rem; }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .models__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Services ---------- */
.services {
  background: var(--ink);
  color: var(--bone);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--soul-red), transparent);
}
.services__head {
  max-width: 1380px;
  margin: 0 auto;
  padding: 6rem 2rem 3rem;
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
}
.service {
  padding: 2.5rem 2rem;
  border-left: 1px solid var(--hair-light);
  transition: background 0.4s var(--ease);
}
.service:first-child { border-left: none; }
.service:hover { background: rgba(255, 255, 255, 0.03); }

.service__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--soul-red-light);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.service h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--pearl);
}
.service p {
  color: var(--mute);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.service ul {
  list-style: none;
  border-top: 1px solid var(--hair-light);
  padding-top: 1.2rem;
}
.service ul li {
  font-size: 0.88rem;
  padding: 0.5rem 0;
  color: var(--bone);
  position: relative;
  padding-left: 1.2rem;
}
.service ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--soul-red-light);
}

@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service { border-left: none; border-top: 1px solid var(--hair-light); }
  .service:nth-child(1), .service:nth-child(2) { border-top: none; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; padding: 0 1.2rem; }
  .service { border-top: 1px solid var(--hair-light); padding: 2rem 1rem; }
  .service:first-child { border-top: none; }
  .services__head { padding: 4rem 1.2rem 2rem; }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  max-width: 1380px;
  margin: 0 auto;
  padding: 7rem 2rem;
  align-items: center;
}
.about__text .section__kicker { margin-top: 0; }
.about__text p {
  margin-top: 1.2rem;
  color: var(--graphite);
  font-size: 1.02rem;
  max-width: 540px;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
}
.about__values strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.about__values span {
  font-size: 0.82rem;
  color: var(--mute);
}

.about__card {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: 3.5rem 3rem;
  border-radius: 2px;
  overflow: hidden;
}
.about__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--soul-red-light), var(--soul-red-deep));
}
.about__mark {
  font-family: var(--display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--soul-red);
  display: block;
  margin-bottom: 0.5rem;
}
.about__quote p {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.about__quote footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair-light);
}
.about__quote footer strong {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
}
.about__quote footer span {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 0.2rem;
  display: block;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    padding: 4rem 1.2rem;
    gap: 2.5rem;
  }
  .about__values { grid-template-columns: 1fr; gap: 1.2rem; }
  .about__card { padding: 2.5rem 1.8rem; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bone-warm);
  padding-bottom: 6rem;
  position: relative;
}
.contact__head {
  max-width: 1380px;
  margin: 0 auto;
  padding: 6rem 2rem 3rem;
  text-align: center;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-content: start;
}
.contact__block h4 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soul-red);
  margin-bottom: 0.6rem;
}
.contact__block p {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
}
.contact__block a { transition: color 0.3s; }
.contact__block a:hover { color: var(--soul-red); }

.contact__form {
  background: var(--pearl);
  padding: 2.8rem;
  border: 1px solid var(--hair);
}
.contact__form h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}

.field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.field label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--graphite);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hair);
  background: var(--bone);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--soul-red);
  background: var(--pearl);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field textarea { resize: vertical; min-height: 100px; }

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    padding: 0 1.2rem;
    gap: 2.5rem;
  }
  .contact__info { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact__form { padding: 2rem 1.5rem; }
  .contact__head { padding: 4rem 1.2rem 2rem; }
}
@media (max-width: 500px) {
  .contact__info { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 5rem 2rem 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hair-light);
}
.footer__brand .nav__logo { color: var(--soul-red-light); margin-bottom: 1.2rem; }
.footer__brand .nav__wordmark { color: var(--bone); }
.footer__brand p {
  color: var(--mute);
  font-size: 0.92rem;
  max-width: 360px;
  line-height: 1.6;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__cols h5 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--soul-red-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer__cols a {
  display: block;
  font-size: 0.92rem;
  color: var(--bone);
  padding: 0.35rem 0;
  transition: color 0.3s, transform 0.3s;
}
.footer__cols a:hover { color: var(--soul-red-light); transform: translateX(4px); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1380px;
  margin: 2rem auto 0;
  font-size: 0.82rem;
  color: var(--mute);
}

@media (max-width: 900px) {
  .footer { padding: 4rem 1.2rem 2rem; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--soul-red);
  color: var(--pearl);
}

/* ---------- Audio toggle (floating) ---------- */
.audio-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--bone);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px -5px rgba(15, 15, 18, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: all 0.4s var(--ease);
}
.audio-toggle:hover {
  background: var(--soul-red);
  transform: translateY(-2px);
  box-shadow:
    0 15px 35px -5px rgba(168, 18, 13, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.audio-toggle svg {
  width: 22px;
  height: 22px;
  position: absolute;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.audio-toggle__on  { opacity: 0; transform: scale(0.8); }
.audio-toggle__off { opacity: 1; transform: scale(1); }
.audio-toggle.is-playing .audio-toggle__on  { opacity: 1; transform: scale(1); }
.audio-toggle.is-playing .audio-toggle__off { opacity: 0; transform: scale(0.8); }

/* Pulse amíg nem szól a zene — finoman jelzi, hogy kattinthat */
.audio-toggle__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.audio-toggle.is-muted .audio-toggle__pulse {
  animation: audioPulse 2s var(--ease) infinite;
  background: radial-gradient(circle, rgba(168, 18, 13, 0.4), transparent 70%);
}
@keyframes audioPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

@media (max-width: 600px) {
  .audio-toggle {
    right: 1rem;
    bottom: 1rem;
    width: 46px;
    height: 46px;
  }
  .audio-toggle svg { width: 20px; height: 20px; }
}
