/* ==========================================================================
   Maxa.On — Gateway (выбор из 3 дизайнов)
   ========================================================================== */
@font-face { font-family:"Cinzel"; src:url("../assets/fonts/Cinzel-Variable.ttf") format("truetype-variations"); font-weight:400 900; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-Variable.ttf") format("truetype-variations"); font-weight:100 900; font-display:swap; }

:root {
  --gold: #C9A15E; --gold-1: #F3D9A6; --gold-3: #B07C36;
  --serif: "Cinzel", serif; --sans: "Montserrat", -apple-system, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; color: #F2ECE0; font-family: var(--sans);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(201,161,94,.14), transparent 60%),
    linear-gradient(180deg, #141416, #0f0f11);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.gw-head { text-align: center; padding: 70px 24px 30px; }
.gw-head img { width: 92px; margin: 0 auto 22px; filter: drop-shadow(0 16px 40px rgba(201,161,94,.3)); }
.gw-head .eyebrow { font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.gw-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.08; margin: 18px 0 14px; }
.gw-head h1 b { background: linear-gradient(120deg, var(--gold-1), var(--gold) 50%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.gw-head p { max-width: 60ch; margin: 0 auto; color: #ADA491; font-size: 1.06rem; }

.gw-grid {
  flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1240px; width: 100%; margin: 0 auto; padding: 30px 32px 60px;
}
.gw-card {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(201,161,94,.2); background: #1b1b1f;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.gw-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.gw-preview { height: 260px; position: relative; display: grid; place-items: center; overflow: hidden; }
.gw-preview .num { position: absolute; top: 16px; left: 18px; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .1em; opacity: .8; }
.gw-preview img { width: 108px; transition: transform .6s var(--ease); }
.gw-card:hover .gw-preview img { transform: scale(1.08); }

/* Distinct preview styles per design */
.pv-1 { background: radial-gradient(80% 80% at 50% 30%, #26262c, #121214); }
.pv-1 .lbl { color: var(--gold); }
.pv-2 { background: #F7F1E6; }
.pv-2 .plate { background: #1A1815; border-radius: 6px; padding: 30px 40px; }
.pv-2 .plate img { width: 88px; }
.pv-3 { background:
  radial-gradient(70% 70% at 50% 35%, rgba(224,185,120,.18), transparent 65%),
  linear-gradient(160deg, #2C2015, #1C140D); }

.gw-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gw-body .tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.gw-body h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.gw-body p { color: #ADA491; font-size: .94rem; margin: 4px 0 6px; flex: 1; }
.gw-swz { display: flex; gap: 8px; margin: 8px 0 18px; }
.gw-swz span { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.gw-open {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-size: .82rem; letter-spacing: .06em; font-weight: 600;
  background: linear-gradient(120deg, var(--gold-1), var(--gold) 50%, var(--gold-3)); color: #23180a;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gw-card:hover .gw-open { box-shadow: 0 14px 30px -12px rgba(201,161,94,.5); }
.gw-open svg { width: 16px; height: 16px; }

.gw-foot { text-align: center; padding: 30px 24px 50px; color: #7d7566; font-size: .84rem; border-top: 1px solid rgba(255,255,255,.06); }
.gw-foot span { color: var(--gold); }

@media (max-width: 900px) { .gw-grid { grid-template-columns: 1fr; max-width: 480px; } }
