﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* ЗАГОЛОВОК НА ГЛАВНОЙ НАЧАЛО */

.zag {
    text-align: center;
    line-height: 1.1;
    margin: 0 auto;

    /* градиент */
    background: linear-gradient(to right, #4469AF, #D34E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* адаптивный размер */
    font-size: clamp(18px, 4vw, 56px);

    /* всегда 2 строки */
    white-space: nowrap;
}

/* ЗАГОЛОВОК НА ГЛАВНОЙ КОНЕЦ */

/* БАННЕР НА ГЛАВНОЙ НАЧАЛО */

/* ===== БАННЕР НЕЙРОСЕТЕЙ ===== */

.ai-hero-banner {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 34px;
    overflow: hidden;
}

/* Фоновое изображение */
.ai-hero-banner__image {
    position: relative;
}

.ai-hero-banner__image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 260px;
    object-fit: cover;
    border-radius: 34px;
}

/* Информационная карточка */
.ai-hero-banner__card {
    position: absolute;
    top: 38px;
    left: 38px;
    width: 420px; /* увеличенный размер для десктопа */
    min-height: 310px;
    padding: 34px 30px 26px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(136, 44, 214, 0.72) 0%,
        rgba(210, 78, 108, 0.72) 100%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
}

/* Круглые логотипы */
.ai-hero-banner__logos {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: nowrap;
}

.ai-hero-banner__logos img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    margin-left: -12px;
}

.ai-hero-banner__logos img:first-child {
    margin-left: 0;
}

/* Текст */
.ai-hero-banner__text {
    color: #ffffff;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Счетчик */
.ai-hero-banner__count {
    margin-top: 24px;
    color: #ffffff;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== ПЛАНШЕТЫ ===== */
@media (max-width: 1024px) {
    .ai-hero-banner__card {
        width: 340px;
        min-height: 260px;
        padding: 26px 24px 22px;
        top: 24px;
        left: 24px;
    }

    .ai-hero-banner__logos img {
        width: 48px;
        height: 48px;
        margin-left: -10px;
    }

    .ai-hero-banner__text {
        font-size: 28px;
    }

    .ai-hero-banner__count {
        font-size: 58px;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
    .ai-hero-banner {
        display: flex;
        flex-direction: column;
        gap: 18px;
        border-radius: 0;
        overflow: visible;
    }

    .ai-hero-banner__image img {
        min-height: auto;
        border-radius: 26px;
        aspect-ratio: 16 / 7;
        object-fit: cover;
    }

    .ai-hero-banner__card {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-height: auto;
        padding: 24px 22px 20px;
        border-radius: 26px;
    }

    .ai-hero-banner__logos {
        margin-bottom: 20px;
    }

    .ai-hero-banner__logos img {
        width: 46px;
        height: 46px;
        border-width: 2px;
        margin-left: -8px;
    }

    .ai-hero-banner__text {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .ai-hero-banner__count {
        margin-top: 0;
        font-size: 48px;
    }
}

/* ===== МАЛЕНЬКИЕ ЭКРАНЫ ===== */
@media (max-width: 480px) {
    .ai-hero-banner__logos img {
        width: 40px;
        height: 40px;
        margin-left: -7px;
    }

    .ai-hero-banner__text {
        font-size: 18px;
    }

    .ai-hero-banner__count {
        font-size: 42px;
    }
}

/* БАННЕР НА ГЛАВНОЙ КОНЕЦ */

.neuro-banner {
  --nb-bg: #ffffff;
  --nb-text: #101828;
  --nb-muted: #667085;
  --nb-border: #e6e8ee;
  --nb-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --nb-radius: 18px;

  --nb-accent1: #3b82f6;
  --nb-accent2: #ef4444;

  background: var(--nb-bg);
  color: var(--nb-text);
  padding: clamp(18px, 3vw, 40px) 0;
}

.neuro-banner__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.neuro-banner__top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.neuro-banner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nb-muted);
  margin-bottom: 10px;
}
.neuro-banner__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nb-accent2), var(--nb-accent1));
}

.neuro-banner__title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 800;
}
.neuro-banner__title-accent {
  color: #5b6ee1;
}

.neuro-banner__subtitle {
  margin: 0;
  color: var(--nb-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 62ch;
}

.neuro-banner__lead {
  margin: 6px 0 16px;
  color: var(--nb-muted);
  font-size: 14px;
  line-height: 1.55;
}

.neuro-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;

  background: linear-gradient(135deg, var(--nb-accent1), var(--nb-accent2));
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.neuro-banner__cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.28);
}
.neuro-banner__cta-icon {
  display: inline-block;
  transform: translateY(-1px);
}

/* GRID */
.neuro-banner__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
}

.neuro-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  box-shadow: var(--nb-shadow);
  padding: 18px;
  min-height: 150px;
}

.neuro-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--nb-border);
  display: grid;
  place-items: center;
  background: #fafbff;
  margin-bottom: 12px;
  overflow: hidden;
}
.neuro-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.neuro-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.neuro-card__text {
  margin: 0;
  color: var(--nb-muted);
  font-size: 14px;
  line-height: 1.55;
}

.neuro-card__list {
  margin: 0;
  padding-left: 18px;
  color: var(--nb-muted);
  font-size: 14px;
  line-height: 1.55;
}
.neuro-card__list li + li {
  margin-top: 6px;
}

/* Tags */
.neuro-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
}
.neuro-tag {
  font-size: 12px;
  color: #344054;
  border: 1px solid var(--nb-border);
  background: #fff;
  padding: 7px 10px;
  border-radius: 999px;
}

/* Variants */
.neuro-card--wide {
  grid-column: span 5;
}

.neuro-card--visual {
  grid-column: span 4;
  padding: 0;
  overflow: hidden;
}
.neuro-card__visual-wrap {
  background: radial-gradient(1200px 300px at 30% 0%, rgba(91, 110, 225, 0.20), transparent 55%),
              radial-gradient(900px 260px at 80% 30%, rgba(239, 68, 68, 0.14), transparent 55%);
  border-bottom: 1px solid var(--nb-border);
}
.neuro-card__visual {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.neuro-card__visual-text {
  padding: 18px;
}

.neuro-card--stat {
  grid-column: span 3;
  display: grid;
  gap: 10px;
  align-content: start;
}
.neuro-card__stat-top {
  display: grid;
  gap: 2px;
}
.neuro-card__stat-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.neuro-card__stat-sub {
  color: var(--nb-muted);
  font-size: 13px;
}
.neuro-card__link {
  color: #2e5bff;
  text-decoration: none;
  font-weight: 700;
}
.neuro-card__link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .neuro-banner__top {
    grid-template-columns: 1fr;
  }

  .neuro-card,
  .neuro-card--wide,
  .neuro-card--visual,
  .neuro-card--stat {
    grid-column: span 6;
  }

  .neuro-card__visual {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .neuro-banner__grid {
    grid-template-columns: 1fr;
  }

  .neuro-card,
  .neuro-card--wide,
  .neuro-card--visual,
  .neuro-card--stat {
    grid-column: auto;
  }

  .neuro-card__visual {
    height: 200px;
  }
}

/* ДРУГОЙ ВАРИАНТ БАННЕРА */

/* Banner: Neuro Cites (CSS) */
.nc-banner{
  --bg:#fff;
  --text:#0f172a;
  --muted:#667085;
  --border:#e6e8ee;
  --shadow:0 14px 34px rgba(15,23,42,.08);
  --radius:18px;

  --blue:#3b82f6;
  --indigo:#5b6ee1;
  --red:#ef4444;

  background:var(--bg);
  color:var(--text);
  padding:clamp(18px,3vw,42px) 0;
}

.nc-banner__inner{
  width:min(1200px,92vw);
  margin:0 auto;
}

/* Top */
.nc-banner__top{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:clamp(14px,2.2vw,30px);
  align-items:start;
  margin-bottom:clamp(18px,3vw,34px);
}

.nc-banner__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}
.nc-banner__kicker::before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--blue));
}

.nc-banner__title{
  margin:0;
  font-weight:900;
  line-height:1.05;
  font-size:clamp(28px,4.2vw,54px);
}
.nc-banner__accent{ color:var(--indigo); }

.nc-banner__subtitle{
  margin:6px 0 14px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:62ch;
}

.nc-banner__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  background:linear-gradient(135deg,var(--blue),var(--red));
  box-shadow:0 14px 26px rgba(59,130,246,.22);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.nc-banner__cta:hover{
  transform:translateY(-1px);
  filter:saturate(1.05);
  box-shadow:0 18px 34px rgba(59,130,246,.26);
}
.nc-banner__cta-icon{ transform:translateY(-1px); }

/* Grid layout like the screenshot: 3 cards top, 2 cards bottom with big visual on right */
.nc-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:clamp(12px,1.6vw,18px);
}

/* Base card (ровные, одинаковая стилистика) */
.nc-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  min-height:170px;
}

/* Positions */
.nc-card--tl{ grid-column:1 / span 5; grid-row:1; }
.nc-card--tm{ grid-column:6 / span 4; grid-row:1; }
.nc-card--tr{ grid-column:10 / span 3; grid-row:1; }

.nc-card--bl{ grid-column:1 / span 5; grid-row:2; }
.nc-card--br{ grid-column:6 / span 7; grid-row:2; }

/* Header */
.nc-card__head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:10px;
}

.nc-card__icon{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fafbff;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}
.nc-card__icon img{
  width:26px;height:26px;
  object-fit:contain;
}

.nc-card__title{
  margin:2px 0 0;
  font-size:16px;
  line-height:1.25;
  font-weight:900;
}

.nc-card__text{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.nc-card__text--tight{ margin-top:6px; }

/* Chips */
.nc-card__chips{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.nc-chip{
  font-size:12px;
  color:#344054;
  border:1px solid var(--border);
  background:#fff;
  padding:7px 10px;
  border-radius:999px;
}

/* List */
.nc-card__list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.nc-card__list li+li{ margin-top:6px; }

/* Stat (top-right) */
.nc-card--stat{
  position:relative;
  overflow:hidden;
}
.nc-stat__row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
.nc-stat__num{
  font-size:44px;
  font-weight:1000;
  letter-spacing:-.02em;
}
.nc-stat__label{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
  max-width:22ch;
}
.nc-stat__spark{
  width:64px;height:34px;
  background:
    radial-gradient(10px 10px at 20% 70%, rgba(59,130,246,.35), transparent 60%),
    radial-gradient(12px 12px at 55% 35%, rgba(239,68,68,.28), transparent 60%),
    linear-gradient(135deg, rgba(91,110,225,.18), rgba(239,68,68,.10));
  border-radius:12px;
  border:1px solid var(--border);
}

/* Visual big card (bottom-right) */
.nc-card--visual{
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  align-items:stretch;
}

.nc-visual{
  background:
    radial-gradient(900px 260px at 20% 10%, rgba(91,110,225,.22), transparent 55%),
    radial-gradient(900px 260px at 80% 40%, rgba(239,68,68,.16), transparent 55%),
    #fbfcff;
  border-right:1px solid var(--border);
  display:flex;
}
.nc-visual__img{
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
  display:block;
}

.nc-visual__content{
  padding:18px;
  display:grid;
  align-content:center;
  gap:10px;
}

/* Make cards same height per row (ровно как на макете) */
.nc-grid{
  align-items:stretch;
}
.nc-card{ height:100%; }

/* Responsive: tablet */
@media (max-width: 980px){
  .nc-banner__top{ grid-template-columns:1fr; }

  .nc-grid{
    grid-template-columns:repeat(12,1fr);
  }

  .nc-card--tl{ grid-column:1 / span 6; grid-row:1; }
  .nc-card--tm{ grid-column:7 / span 6; grid-row:1; }
  .nc-card--tr{ grid-column:1 / span 12; grid-row:2; }

  .nc-card--bl{ grid-column:1 / span 12; grid-row:3; }
  .nc-card--br{ grid-column:1 / span 12; grid-row:4; }

  .nc-card--visual{
    grid-template-columns: 1fr;
  }
  .nc-visual{
    border-right:none;
    border-bottom:1px solid var(--border);
  }
  .nc-visual__img{ min-height:240px; }
}

/* Mobile: blocks one under another */
@media (max-width: 640px){
  .nc-grid{
    grid-template-columns:1fr;
  }

  .nc-card--tl,
  .nc-card--tm,
  .nc-card--tr,
  .nc-card--bl,
  .nc-card--br{
    grid-column:auto;
    grid-row:auto;
  }

  .nc-visual__img{ min-height:210px; }
}