/* ==========================================================
   One Revolution – főoldal (üzletág-választó)
   ========================================================== */

:root {
  --red: #e10f1a;
  --red-dark: #b4060f;
  --ink: #1f1f22;
  --ink-soft: #3d3d42;
  --grey: #a3a3a8;
  --grey-dark: #86868c;
  --card-bg: rgba(255, 255, 255, 0.94);
  --radius: 18px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #f1f1f1;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Háttér ---------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 50% 22%, rgba(255,255,255,.93) 0%, rgba(255,255,255,.78) 40%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.15) 45%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(20,20,22,.25) 100%),
    url("../img/img_88740.jpg") 65% center / cover no-repeat;
}

/* Piros sarokcsíkok */
.stripes {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(140px, 22vw, 300px);
  aspect-ratio: 1;
}
.stripes--top {
  top: 0;
  left: 0;
  background: linear-gradient(135deg,
    #2c2c30 0 9%, transparent 9% 14%,
    var(--red) 14% 30%, transparent 30%);
}
.stripes--bottom {
  right: 0;
  bottom: 0;
  background: linear-gradient(315deg,
    var(--red) 0 16%, transparent 16% 21%,
    var(--red) 21% 26%, transparent 26%);
}

/* ---------- Fejléc / logó ---------- */

.site-header {
  padding: clamp(14px, 2.4vw, 26px) clamp(16px, 5vw, 64px) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  text-decoration: none;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  padding-left: clamp(70px, 9vw, 120px);
}
.logo__mark { width: 1.25em; height: auto; }
.logo__text .logo__one { color: var(--red); }
.logo__text { color: #3a3a3c; }

/* ---------- Hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(18px, 3vw, 40px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(255,255,255,.8);
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}

.hero__lead {
  margin: clamp(10px, 1.4vw, 18px) 0 0;
  max-width: 40em;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- Kártyák ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(26px, 4vw, 52px);
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),
    0 18px 40px -12px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s;
  animation: rise .7s cubic-bezier(.2,.8,.2,1) backwards;
}
.card:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3) { animation-delay: .16s; }

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(22px, 3vw, 36px) 18px clamp(20px, 2.4vw, 28px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: clamp(96px, 11vw, 136px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--red);
  background: radial-gradient(circle at 35% 30%, #f2343c 0%, var(--red) 45%, var(--red-dark) 100%);
  box-shadow:
    inset 0 -6px 14px rgba(0,0,0,.18),
    0 10px 22px -8px rgba(180,6,15,.6);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.card__icon svg { width: 62%; height: auto; overflow: visible; }

.card__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

.card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 14px 22px;
  text-align: left;
  font-size: clamp(.86rem, 1.1vw, .98rem);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
}
.card__cta strong {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.card__arrow,
.card__clock {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

/* Hover / fókusz – csak aktív kártyákon */
.card[href]:hover,
.card[href]:focus-visible {
  transform: translateY(-8px);
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),
    0 30px 50px -14px rgba(0,0,0,.45);
}
.card[href]:hover .card__icon,
.card[href]:focus-visible .card__icon { transform: scale(1.06); }
.card[href]:hover .card__arrow,
.card[href]:focus-visible .card__arrow { transform: translateX(6px); }
.card[href]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
.card[href]:active { transform: translateY(-3px); }

/* „Hamarosan” (inaktív) állapot */
.card .cta-soon { display: none; }
.card.is-soon .cta-soon { display: inline; }
.card.is-soon .card__clock.cta-soon { display: block; }
.card.is-soon .cta-live { display: none; }

.card.is-soon { cursor: not-allowed; }
.card.is-soon .card__icon {
  color: var(--grey);
  background: radial-gradient(circle at 35% 30%, #bdbdc2 0%, var(--grey) 50%, var(--grey-dark) 100%);
  box-shadow: inset 0 -6px 14px rgba(0,0,0,.12);
}
.card.is-soon .card__title { color: var(--grey-dark); }
.card.is-soon .card__cta {
  color: #fff;
  background: linear-gradient(180deg, #b4b4b9 0%, #9b9ba0 100%);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

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

@media (max-width: 900px) {
  .br-desktop { display: none; }
  .card__cta { padding: 12px 16px; }
}

@media (max-width: 680px) {
  .page {
    background:
      linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.35) 100%),
      url("../img/img_88740.jpg") 72% center / cover no-repeat;
  }

  .logo { padding-left: 64px; }

  .cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 14px;
  }

  /* Vízszintes kártyaelrendezés mobilon */
  .card__body {
    flex-direction: row;
    gap: 16px;
    padding: 14px 18px;
  }
  .card__icon { width: 64px; }
  .card__title { font-size: 1.3rem; }
  .card__cta { min-height: 0; padding: 11px 18px; }
  .card__arrow, .card__clock { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .card__icon, .card__arrow { animation: none; transition: none; }
}
