/* GResturant page - extension for JN Solution modern layout */
.gr-page { background: #f4f7fb; }

.gr-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 137, 24, .28), transparent 34%),
    radial-gradient(circle at 14% 100%, rgba(42, 119, 255, .17), transparent 34%),
    #09111f;
  padding: 94px 0 108px;
}
.gr-hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -280px 30%;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(255, 130, 0, .12), transparent 66%);
  pointer-events: none;
}
.gr-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .78fr);
  gap: 72px;
  align-items: center;
}
.gr-hero h1 {
  margin-bottom: 24px;
  color: #fff !important;
  font-size: clamp(48px, 6.8vw, 78px);
  line-height: .99;
  font-weight: 850;
}
.gr-hero__lead {
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.72;
  margin-bottom: 30px;
}
.gr-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 27px; }
.gr-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 20px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.gr-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.gr-hero__trust span::before { content: "✓"; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: rgba(25,182,122,.15); color: #70e8ba; }

.gr-product-card {
  position: relative;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(16px);
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
  transform: rotate(1deg);
}
.gr-product-card::after { content: ""; position: absolute; inset: 12px -14px -14px 14px; z-index: -1; border: 1px solid rgba(255,255,255,.07); border-radius: 30px; }
.gr-product-card__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.gr-product-card__top strong { display: block; color: #fff; font-size: 23px; }
.gr-product-card__kicker { display: block; margin-bottom: 2px; color: rgba(255,255,255,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.gr-status { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(25,182,122,.25); background: rgba(25,182,122,.12); color: #8cf0c9; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 800; }
.gr-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #62e5b3; }
.gr-product-card__screen { overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.04); aspect-ratio: 16/10; }
.gr-product-card__screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gr-product-card__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.gr-product-card__metrics > div { border-radius: 16px; background: rgba(255,255,255,.07); padding: 13px 14px; }
.gr-product-card__metrics strong { display: block; color: #fff; font-size: 13px; }
.gr-product-card__metrics span { display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: 11px; }

.gr-value-strip { position: relative; z-index: 3; margin-top: -34px; }
.gr-value-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--jn-line); border-radius: 22px; background: #fff; box-shadow: var(--jn-shadow); }
.gr-value-item { padding: 24px 26px; border-right: 1px solid var(--jn-line); }
.gr-value-item:last-child { border-right: 0; }
.gr-value-item strong { display: block; margin-bottom: 4px; color: var(--jn-ink); font-size: 15px; }
.gr-value-item span { display: block; color: var(--jn-muted); font-size: 13px; line-height: 1.5; }

.gr-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gr-feature-card { position: relative; overflow: hidden; min-height: 240px; padding: 28px; border: 1px solid var(--jn-line); border-radius: 24px; background: #fff; box-shadow: 0 16px 48px rgba(15, 30, 55, .055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.gr-feature-card::after { content: ""; position: absolute; width: 130px; height: 130px; top: -82px; right: -66px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,0,.17), rgba(255,122,0,0) 70%); }
.gr-feature-card:hover { transform: translateY(-5px); border-color: #ffc28a; box-shadow: 0 22px 54px rgba(15,30,55,.09); }
.gr-feature-card__icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; background: #fff3e8; color: #b95300; font-weight: 850; font-size: 13px; }
.gr-feature-card h3 { margin-bottom: 10px; color: var(--jn-ink); font-size: 21px; }
.gr-feature-card p { margin-bottom: 0; color: var(--jn-muted); font-size: 14px; line-height: 1.68; }

.gr-showcase { background: #eef2f8; }
.gr-showcase__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.gr-showcase__visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.gr-showcase__visual img { position: relative; z-index: 1; display: block; width: min(100%, 520px); max-height: 520px; object-fit: cover; border-radius: 30px; box-shadow: 0 35px 80px rgba(12,28,52,.18); border: 1px solid rgba(255,255,255,.8); }
.gr-showcase__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,137,24,.24), rgba(255,137,24,0) 70%); }
.gr-showcase__content h2 { margin-bottom: 18px; color: var(--jn-ink); font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; font-weight: 800; }
.gr-showcase__content > p { color: var(--jn-muted); font-size: 17px; }
.gr-check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.gr-check-list li { position: relative; padding-left: 31px; color: #344050; font-size: 14px; line-height: 1.55; }
.gr-check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e7f9f1; color: #078b59; font-size: 11px; font-weight: 900; }

.gr-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gr-flow-grid article { padding: 27px 23px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.065); }
.gr-flow-grid span { display: inline-flex; margin-bottom: 26px; color: #ffc56e; font-size: 13px; font-weight: 850; letter-spacing: .08em; }
body.jn-site .gr-flow-grid h3 { margin-bottom: 9px; color: #fff !important; font-size: 19px; }
.gr-flow-grid p { margin-bottom: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }

.gr-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: stretch; }
.gr-contact-panel { position: relative; overflow: hidden; padding: 38px; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #0c1729, #09111f 62%, #251405 125%); box-shadow: var(--jn-shadow); }
.gr-contact-panel::after { content: ""; position: absolute; width: 330px; height: 330px; right: -170px; bottom: -175px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,32,.34), transparent 68%); }
body.jn-site .gr-contact-panel h2 { position: relative; z-index: 1; margin-bottom: 14px; color: #fff !important; font-size: clamp(34px,4vw,46px); line-height: 1.08; }
.gr-contact-panel > p { position: relative; z-index: 1; color: rgba(255,255,255,.72); }
.gr-contact-points { position: relative; z-index: 1; display: grid; gap: 11px; margin-top: 30px; }
.gr-contact-points > div { padding: 16px 17px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); }
.gr-contact-points span { display: block; margin-bottom: 3px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.gr-contact-points a, .gr-contact-points strong { color: #fff; text-decoration: none; font-size: 14px; }
.gr-contact-points a:hover { color: #ffc56e; }

@media (max-width: 991px) {
  .gr-hero { padding: 72px 0 86px; }
  .gr-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .gr-product-card { max-width: 720px; transform: none; }
  .gr-value-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .gr-value-item:nth-child(2) { border-right: 0; }
  .gr-value-item:nth-child(-n+2) { border-bottom: 1px solid var(--jn-line); }
  .gr-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gr-showcase__grid { grid-template-columns: 1fr; gap: 36px; }
  .gr-showcase__visual { min-height: auto; }
  .gr-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .gr-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .gr-hero { padding: 58px 0 72px; }
  .gr-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .gr-product-card { padding: 17px; border-radius: 23px; }
  .gr-value-strip { margin-top: -22px; }
  .gr-value-strip__inner { grid-template-columns: 1fr; }
  .gr-value-item { border-right: 0; border-bottom: 1px solid var(--jn-line); }
  .gr-value-item:last-child { border-bottom: 0; }
  .gr-feature-grid, .gr-flow-grid { grid-template-columns: 1fr; }
  .gr-check-list { grid-template-columns: 1fr; }
  .gr-showcase__visual img { max-height: 420px; }
  .gr-contact-panel { padding: 28px 23px; border-radius: 23px; }
}

@media (max-width: 440px) {
  .gr-hero__actions .jn-button { width: 100%; }
  .gr-product-card__metrics { grid-template-columns: 1fr; }
}
