:root{
  --bg:#7a0f29;
  --card:#90d0e9;
  --panel:#a9d8e9;
  --text:#000;
  --muted:#35525f;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.25);
  --radius-xl:22px;
  --radius-lg:18px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--white);
  background:radial-gradient(1200px 700px at 20% -10%, #8f1a36 0%, var(--bg) 60%, #5a0b1d 100%);
}
a {text-decoration: none;}
hr {border: 1px solid #7cb5cb;}
.container{max-width:1200px; margin-inline:auto; padding-inline:16px; width:100%;}

/* helpers */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.card{background:var(--card); color:var(--text); border-radius:var(--radius-xl); box-shadow:var(--shadow)}
.section{margin:54px 0}
.section h2{font-size:clamp(26px,4vw,44px); color:var(--white); margin:0 0 16px}
.section-card{padding:20px}
.section-card-2 {margin: 1rem 0;}

/* ========== Header ========== */
.site-header{margin:24px 0}
.nav{border-radius:var(--radius-xl); padding:18px 22px; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:space-between}
.brand{
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none;
    color: inherit;
   transition: all .25s ease;
}

.brand:hover{
    opacity: .85;
}
.desk-nav{display:flex; gap:28px}
.desk-nav a{color:var(--white); text-decoration:none; font-weight:600; opacity:.9}
.desk-nav a:hover{opacity:1}
.menu-btn{display:none; background:transparent; border:0; color:var(--white); font-size:26px; width:44px; height:44px; border-radius:12px; align-items:center; justify-content:center; cursor:pointer}

.drawer{position:fixed; z-index:1000; top:0; left:0; height:100dvh; width:82%; max-width:340px; background:var(--card); color:var(--text); transform:translateX(-100%); transition:transform .35s ease; box-shadow:16px 0 40px rgba(0,0,0,.35); display:flex; flex-direction:column}
.drawer-header{display:flex; align-items:center; justify-content:space-between; padding:18px 20px; background:rgba(0,0,0,.04)}
.drawer a{color:var(--text); text-decoration:none; font-weight:700}
.drawer-nav{display:flex; flex-direction:column; padding:14px}
.drawer-nav a{padding:14px 12px; border-radius:12px}
.drawer-nav a:hover{background:rgba(0,0,0,.06)}
.overlay{display:none; position:fixed; z-index:900; inset:0; background:rgba(0,0,0,.45)}
#menu-toggle:checked ~ .drawer{transform:translateX(0)}
#menu-toggle:checked ~ .overlay{display:block}

@media (max-width:860px){
  .desk-nav{display:none}
  .menu-btn{display:inline-flex}
}

/* ========== Hero ========== */
.hero-card{padding:42px}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center}
.hero-copy h1{font-size: clamp(28px, 5vw, 64px); line-height:1.03; margin:0 0 18px; color:var(--white)}
.hero-copy p{color:#fff; max-width:56ch;font-size: 1.3rem;}
.cta{
  display:inline-block;
  margin-top:1rem;
  color:#fff;
  background:var(--bg);
  backdrop-filter: blur(15px);
  border-radius:1.2rem;
  padding:1rem 3rem;
  font-weight:600;
  font-size:24px;

  transition: background-color .3s ease, transform .25s ease;
}

.cta:hover{
  background:#554c4c;
}

.mock{aspect-ratio:1/1; display:grid; place-items:center;}
.vase{width:100%; height:auto;}
@media (max-width:860px){
  .hero-card{padding:28px}
  .hero-grid{grid-template-columns:1fr}
  .mock{order:-1}
}

/* ========== Tabs & Grid ========== */
.tabs{display:flex; gap:10px; padding:8px; background:rgba(255,255,255,.08); border-radius:18px; width:max-content}
.tab{padding:10px 14px; border-radius:14px; color:var(--white); text-decoration:none; font-weight:600; opacity:.9}
.tab.active{background:rgba(255,255,255,.15)}
.grid{display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin-top:16px}
.prod{background:var(--panel); border-radius:var(--radius-xl); padding:18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25)}
.prod .pic{background:rgba(255,255,255,.35); border-radius:16px; display:grid; place-items:center}
.prod img{max-width: 100%;width: 100%;height: auto;object-fit: cover;border-radius: 1rem;}
.prod h3{margin:12px 0 6px}
.prod-desc{
  margin: 1rem 0;
  padding: 8px 10px;
  border: 2px solid var(--bg);
  border-radius: 1rem;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  background: rgba(255, 255, 255, .25);

  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere; 
  word-break: break-word;  
}


.prod-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* Иконка-кнопка */
.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  position: relative;
}

.icon-btn svg{
  width: 25px;
  height: 25px;
  fill: currentColor;
  color: #fff;
  display: block;
}

.icon-btn:hover{
  filter: brightness(1.06);
}

/* Tooltip */
.tooltip .tooltip-text{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}

.tooltip .tooltip-text::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,.75);
}

.tooltip:hover .tooltip-text{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.section-more{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.btn-more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: var(--bg);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-more:hover{
	background: #554c4c;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(10, 58, 132, .28);
}

/* ===== Product inner page ===== */
.product-card{ padding: 18px; }
.product-top{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 10px;
}
@media (max-width: 860px){
  .product-top{ grid-template-columns: 1fr; }
}

.product-title{ margin: 0 0 10px; }

.product-media .product-cover{
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
}
.product-media .product-cover img{
  width: 100%;
  height: auto;
  display: block;
}

.product-thumbs{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 860px){
  .product-thumbs{ grid-template-columns: repeat(3, 1fr); }
}
.product-thumb{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  background: var(--panel);
}
.product-thumb img{
  width:100%;
  height:84px;
  object-fit: cover;
  display:block;
}

.product-specs{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr; /* одна колонка */
  gap: 10px;
}

@media (max-width: 860px){
  .product-specs{ grid-template-columns: 1fr; }
}
.product-specs .spec{
  background: rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 10px 12px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
}
.product-specs .spec span{ opacity: .8; }

.product-actions{ margin-top: 14px; }

.product-meta{
  margin-top: 10px;
  opacity: .8;
  font-size: 13px;
}

.product-content{
  margin-top: 18px;
}

.product-content p{
  font-size: 1.1rem;
}

.product-more{
  margin-top: 26px;
}
.product-more h2{
  margin: 0 0 12px;
}

.download-wrap{
  margin: 12px 0 6px;
}

.download-btn{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 16px;

  background: var(--bg);
  border: 1px solid rgba(255,255,255,.22);

  color: var(--white);
  text-decoration: none;

  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease;
}

.download-btn:hover{
  transform: translateY(-2px);
  background: #554c4c;
  border-color: rgba(255,255,255,.35);
}

.download-ico{
  width: 46px;
  height: 46px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
}

.download-ico svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: .95;
}

.download-text b{
  display:block;
  font-size: 1.2rem;
  line-height: 1.1;
}

.download-text small{
  display:block;
  margin-top: 2px;
  opacity: .85;
  font-size: 14px;
}


.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(0,0,0,.15);
  color:var(--white);
  text-decoration:none;
  font-weight:700;
  transition: filter .15s ease, transform .15s ease, background-color .15s ease;
}

.btn:hover{
  background: rgba(0,0,0,.22);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0);
  filter: brightness(.98);
}


/* ========== Steps ========== */
.steps{display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:10px}
.step{background:var(--panel); border-radius:var(--radius-xl); padding:22px; text-align:center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25)}
.step .ico{width:88px; height:88px; margin:6px auto 14px; border-radius:50%; background:rgba(255,255,255,.35); display:grid; place-items:center}
.step svg{width:40px; height:40px; opacity:.9}
.step h4{margin:8px 0 6px}
.step p{color:#184256}

/* ========== Blog ========== */
.blog-grid{display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:18px}
.post{background:var(--white); color:var(--text); border-radius:var(--radius-xl); padding: 1rem; margin: 1rem 0;}
.post .thumb{
  background:var(--panel);
  border-radius:12px;
  height:14rem; 
  margin-bottom:12px;
  overflow:hidden;     
}
.post .thumb img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.post a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(10,58,132,.22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.post a:hover{
  background: #554c4c;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10,58,132,.28);
}

.post a:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(10,58,132,.22);
}

.post a:focus-visible{
  outline: 3px solid rgba(10,58,132,.25);
  outline-offset: 3px;
}

    .page-main{
      margin:40px 0 56px;
    }

    .article-layout{
      display:grid;
      grid-template-columns:minmax(0,2.2fr) minmax(260px,1fr);
      gap:22px;
    }
    @media (max-width:860px){
      .article-layout{
        grid-template-columns:1fr;
      }
    }

    .article-card{
      padding:24px 22px 26px;
    }

    .article-card p{
      font-size: 1.1rem;;
    }

    .article-card a{
      color: #1e00ff;;
    }

    .article-card a:hover{
      color: #c72121;;
    }

/* Таблицы в контенте статьи */
.article-card table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:16px 0;
  overflow:hidden;
  border-radius:16px;
  background:#454545;
  border:1px solid rgba(255,255,255,.18);
}

.article-card thead th{
  text-align:left;
  font-weight:800;
  font-size:14px;
  letter-spacing:.2px;
  padding:12px 14px;
  color:var(--white);
  background:#292929;
  border-bottom:1px solid rgba(255,255,255,.16);
}

.article-card tbody td{
  padding:12px 14px;
  font-size:14px;
  line-height:1.35;
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.10);
}

/* зебра-эффект */
.article-card tbody tr:nth-child(even) td{
  background:rgba(255,255,255,.06);
}

/* hover по строке */
.article-card tbody tr:hover td{
  background:rgba(255,255,255,.10);
}

/* убираем нижнюю линию у последней строки */
.article-card tbody tr:last-child td{
  border-bottom:none;
}

/* если в таблице есть ссылки */
.article-card table a{
  color:var(--white);
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.35);
  transition: opacity .25s ease, border-color .25s ease;
}
.article-card table a:hover{
  opacity:1;
  border-color:rgba(255,255,255,.6);
}

/* мобильная прокрутка, если таблица широкая */
.article-card .table-wrap{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}
.article-card .table-wrap table{
  margin:0;
  min-width:520px;
}


.breadcrumbs{
  font-size:14px;
  color:var(--white);
  margin:0 0 10px;
}

.breadcrumbs a{
  color:var(--white);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

.breadcrumbs a:hover{
  color:#ffd6e6;   /* можешь заменить на любой акцентный цвет */
  opacity:1;
}


    .article-meta{
      font-size:14px;
      color:var(--muted);
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      margin:0 0 10px;
    }
    .article-meta span{
      display:flex;
      align-items:center;
      gap:4px;
    }

    .article-title{
      font-size:clamp(26px,4vw,40px);
      margin:0 0 8px;
      color:var(--text);
    }
    .article-lead{
      margin:0 0 18px;
      font-size:18px;
      color:var(--muted);
      max-width:60ch;
    }

    .article-cover{
      margin:0 0 20px;
      border-radius:var(--radius-lg);
      overflow:hidden;
      background:var(--panel);
      box-shadow:var(--shadow);
    }
    .article-cover img{
      display:block;
      width:100%;
      height:auto;
    }

    .article-content{
      color:var(--text);
      font-size:16px;
    }
	.article-content h2,h3,h4 {margin: 1rem 0 1rem;color:var(--text);}
    .article-content h2{
      font-size:36px;
    }
    .article-content h3{
      font-size:32px;
    }
    .article-content h4{
      font-size:28px;
    }
    .article-content h5{
      font-size:24px;
    }
    .article-content p{
      margin:0 0 10px;
      font-size: 18px;
    }
    .article-content ul,
    .article-content ol{
      margin:0 0 14px;
      padding-left:22px;
    }
    .article-content li{
      margin-bottom:4px;
    }
    .article-content blockquote{
      margin:16px 0;
      padding:12px 16px;
      border-radius:var(--radius-lg);
      background:var(--panel);
      color:var(--muted);
      border-left:4px solid rgba(0,0,0,.08);
    }
    .article-content pre{
      margin:14px 0;
      padding:12px 14px;
      border-radius:var(--radius-lg);
      background:#0b2230;
      color:#fff;
      font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
      font-size:14px;
      overflow-x:auto;
    }
/* Видео в статье: по центру и шире */
.article-content iframe{
  display:block;
  margin:16px auto;
  width:min(760px, 100%);
  aspect-ratio:16/9;
  height:auto;
  border:0;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

@media (max-width: 520px){
  .article-content iframe{
    width:100%;
    max-width:100%;
    margin:14px 0;
    border-radius:14px;
  }
}

    .article-tags{
      margin-top:18px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      font-size:13px;
    }
    .article-tag{
      padding:6px 12px;
      border-radius:999px;
      background:var(--panel);
      color:var(--muted);
    }

    .article-share{
      margin-top:20px;
      padding-top:14px;
      border-top:1px solid rgba(0,0,0,.08);
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      justify-content:space-between;
      color:var(--muted);
    }
.article-share{
  margin: 18px 0;
}

.article-share span{
  display:block;
  margin-bottom:10px;
  opacity:.9;
}

.article-share-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.article-share-buttons .share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:44px;
  height:44px;

  text-decoration:none;
  transition: transform .25s ease, opacity .25s ease;
}

/* чтобы твой общий стиль ссылок не мешал */
.article-card a.share-btn{
  color: inherit;
}

.article-share-buttons .share-btn img{
  display:block;
  width:44px;
  height:44px;
  border-radius:999px; /* на всякий случай */
}

.article-share-buttons .share-btn:hover{
  transform: translateY(-2px) scale(1.03);
  opacity: .95;
}

.article-share-buttons .share-btn:active{
  transform: translateY(0) scale(.98);
}


/* чтобы твой общий стиль ссылок не перекрашивал кнопки */
.article-card a.share-btn{
  color: var(--white);
}

    .article-author{
      margin-top:22px;
      padding:16px 18px;
      border-radius:var(--radius-xl);
      background:var(--panel);
      display:grid;
      grid-template-columns:auto 1fr;
      gap:14px;
      align-items:center;
    }
    .article-author-avatar{
      width:60px;
      height:60px;
      border-radius:50%;
      background:var(--bg);
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      font-weight:800;
      font-size:24px;
      box-shadow:var(--shadow);
    }
    .article-author-name{
      font-weight:700;
      margin-bottom:4px;
      color:var(--text);
    }
    .article-author-role{
      font-size:13px;
      color:var(--muted);
      margin-bottom:6px;
    }
    .article-author-bio{
      font-size:14px;
      color:var(--muted);
    }

    .article-nav{
      margin-top:24px;
      padding-top:16px;
      border-top:1px solid rgba(0,0,0,.08);
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
      font-size:14px;
    }
    .article-nav a{
      display:block;
      padding:12px 14px;
      border-radius:var(--radius-lg);
      background:var(--panel);
      color:var(--text);
    }
    .article-nav span{
      display:block;
    }
    .article-nav-label{
      font-size:12px;
      color:var(--muted);
      margin-bottom:4px;
      text-transform:uppercase;
      letter-spacing:.06em;
    }

    @media (max-width:700px){
      .article-nav{
        grid-template-columns:1fr;
      }
    }

    /* Комментарии */
    .comments{
      margin-top:26px;
    }
    .comments-title{
      margin:0 0 10px;
      font-size:20px;
      color:var(--text);
    }
    .comment-form{
      margin-bottom:18px;
      padding:16px 18px;
      border-radius:var(--radius-xl);
      background:var(--panel);
    }
    .comment-form-row{
      display:flex;
      gap:10px;
      margin-bottom:8px;
      flex-wrap:wrap;
    }
    .comment-form input,
    .comment-form textarea{
      flex:1;
      padding:10px 12px;
      border-radius:12px;
      border:1px solid rgba(0,0,0,.08);
      font-size:14px;
      font-family:inherit;
    }
    .comment-form textarea{
      min-height:90px;
      resize:vertical;
    }
    .comment-form button{
      margin-top:8px;
      padding:10px 18px;
      border-radius:999px;
      border:0;
      background:var(--bg);
      color:#fff;
      font-weight:700;
      cursor:pointer;
    }
    .comment-form small{
      display:block;
      margin-top:6px;
      font-size:12px;
      color:var(--muted);
    }
    .comments-list{
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .comment{
      padding:12px 14px;
      border-radius:var(--radius-lg);
      background:var(--panel);
    }
    .comment-header{
      display:flex;
      justify-content:space-between;
      font-size:13px;
      margin-bottom:4px;
      color:var(--muted);
    }
    .comment-author{
      font-weight:600;
      color:var(--text);
    }

    /* Сайдбар */
    .sidebar{
      display:flex;
      flex-direction:column;
      gap:16px;
    }
    .sidebar-block{
      padding:18px 18px 20px;
    }
    .sidebar-title{
      margin:0 0 8px;
      font-size:18px;
      color:var(--text);
    }
    .sidebar-text{
      margin:0;
      font-size:14px;
      color:var(--muted);
    }
    .sidebar-list{
      list-style:none;
      margin:0;
      padding:0;
      font-size:14px;
    }
    .sidebar-list li{
      margin-bottom:8px;
    }
    .sidebar-list a{
      color:var(--text);
      font-weight:600;
    }
    .sidebar-list small{
      display:block;
      font-size:12px;
      color:var(--muted);
    }
    .sidebar-tags{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      font-size:13px;
      margin-top:6px;
    }
    .sidebar-tag{
      padding:5px 10px;
      border-radius:999px;
      background:var(--panel);
      color:var(--muted);
    }

/* ========== Footer ========== */
.site-footer{margin:56px 0 24px}
.footer{padding:28px; border-radius:var(--radius-xl); background:rgba(255,255,255,.06); box-shadow:var(--shadow)}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 2fr; gap:24px}
.footer-link{
  color:#fff;
  text-decoration:none;
  transition: color .25s ease, opacity .25s ease;
}

.footer-link:hover{
  color:#ff8888; /* цвет при наведении */
}

.field{display:flex; gap:12px}
.field input{flex:1; padding:12px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.35); background:transparent; color:var(--white)}
.field button{padding:12px 16px; border-radius:999px; border:1px solid rgba(255,255,255,.35); background:transparent; color:var(--white); font-weight:700}
.copy{opacity:.85; text-align:center; margin-top:16px}
@media (max-width:860px){
  .footer-grid{grid-template-columns:1fr}
}
.socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.soc{
  width:44px;
  height:44px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:var(--white);

  text-decoration:none;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease;
}

.soc svg{
  width:22px;
  height:22px;
  fill: currentColor;
  opacity:.95;
  transition: transform .25s ease, opacity .25s ease;
}

.soc img {height: 22px;}

.soc:hover{
  transform: translateY(-2px);
  background:rgba(255,255,255,.22);
  border-color:rgba(255,255,255,.35);
}

.soc:hover svg{
  transform: scale(1.06);
  opacity:1;
}


/* ===== Feedback page ===== */
/* =========================
   CONTACT PAGE (scoped)
   ========================= */

.contact-page .h2-title{
  margin:0 0 10px;
}
.contact-page .contact-subtitle{
  margin:0 0 18px;
  opacity:.92;
}

/* cards row */
.contact-page .contact-cards{
  margin-top:12px;
  row-gap:18px;
}
.contact-page .contact-help-box{
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  height:100%;
  backdrop-filter: blur(10px);
  margin: 1rem 0;
}
.contact-page .contact-help-icon{
  width:54px;
  height:54px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  display:grid;
  place-items:center;
  flex:0 0 54px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.contact-page .contact-help-icon img{
  width: 3rem;
  height: 3rem;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.contact-page .contact-help-content .h3-title{
  margin:2px 0 6px;
  font-size:18px;
  line-height:1.15;
  color:#fff;
}
.contact-page .contact-help-content p{
  margin:0;
  color:#fff;
  opacity:.92;
  line-height:1.55;
}
.contact-page .contact-link{
  color:#fff;
  opacity:.95;
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.35);
}
.contact-page .contact-link:hover{
  opacity:1;
  border-bottom-color: rgba(255,255,255,.65);
}

/* form card */
.contact-page .contact-form.card{
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow:hidden;
    padding: 1rem;
}
.contact-page .contact-form-head{
  border-bottom:1px solid rgba(0,0,0,.08);
}
.contact-page .contact-form-title{
  margin:0 0 6px;
  font-size:22px;
  color: var(--text);
}
.contact-page .contact-form-note{
  margin:0;
  color: var(--muted);
}

.contact-page .contact-form-body{
  padding:18px 22px 22px;
}

/* grid spacing */
.contact-page .contact-grid{
  row-gap:12px;
}

/* labels + inputs */
.contact-page .form-label{
  display:block;
  margin:1rem 0rem;
  font-weight:700;
  color: rgba(11,34,48,.92);
}
.contact-page .form-box{
  margin:0;
}

/* unify inputs (doesn’t break DLE engine.css because scoped) */
.contact-page .form-input,
.contact-page .form-group input[type="text"],
.contact-page .form-group input[type="email"],
.contact-page .form-group select,
.contact-page .form-group textarea{
  width:100%;
  height:52px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color: var(--text);
  padding: 12px 14px;
  outline:none;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  font: inherit;
}

.contact-page textarea.form-input,
.contact-page .form-group textarea{
  height:auto;
  min-height:120px;
  resize: vertical;
  padding-top:12px;
}

.contact-page .form-input:focus,
.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus{
  border-color: rgba(122,15,41,.40);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
  transform: translateY(-1px);
}

/* recipient select (DLE) */
.contact-page .form-group select{
  height:52px;
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11,34,48,.65) 50%),
    linear-gradient(135deg, rgba(11,34,48,.65) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:34px;
}

/* recaptcha box */
.contact-page .recaptcha-box{
  background: rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding:12px;
}

/* actions */
.contact-page .form-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:4px;
}

.contact-page .sec-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 22px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background: var(--bg);
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.contact-page .sec-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  filter: brightness(1.05);
}
.contact-page .sec-btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.contact-page .form-hint{
  font-size:12px;
  color: var(--muted);
  max-width:60ch;
}

/* newsletter in same style */
.contact-page .newsletter.card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color:#fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}
.contact-page .newsletter-title span{
  display:block;
  margin-top:4px;
  opacity:.92;
}
.contact-page .newsletter-field{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.contact-page .newsletter-field input{
  flex:1;
  min-width:220px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color:#fff;
  padding: 0 16px;
  outline:none;
}
.contact-page .newsletter-field input::placeholder{
  color: rgba(255,255,255,.75);
}
.contact-page .sub-btn{
  height:52px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.16);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.contact-page .sub-btn:hover{
  background: rgba(255,255,255,.22);
}

/* responsive tweaks */
@media (max-width:860px){
  .contact-page .contact-help-box{
    padding:16px;
  }
  .contact-page .contact-form-head,
  .contact-page .contact-form-body{
    padding-inline:16px;
  }
}

/* чтобы табы не выезжали за экран */
@media (max-width: 860px){
  .tabs{
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab{ white-space: nowrap; }
}

/* узкие телефоны */
@media (max-width: 600px){
  .section{ margin: 32px 0; }
  .nav{ padding: 14px 14px; gap: 10px; }
  .brand{ font-size: 22px; }

  .hero-copy p{ font-size: 1.05rem; }

  /* сетки в одну колонку */
  .blog-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }

  /* футер: поле подписки в столбик */
  .field{ flex-direction: column; }
  .field input, .field button{ width: 100%; }

  /* комментарии/формы: всё в столбик */
  .comment-form-row{ flex-direction: column; }
  .comment-form input, .comment-form textarea{ width: 100%; }

  /* если используешь feedback/contact-page стили */
  .contact-page .form-actions{ flex-direction: column; align-items: stretch; }
  .contact-page .sec-btn{ width: 100%; }
  .contact-page .newsletter-field{ flex-direction: column; align-items: stretch; }
  .contact-page .newsletter-field input,
  .contact-page .sub-btn{ width: 100%; }
}

/* на всякий случай: чтобы картинки никогда не распирали блоки */
img{ max-width: 100%; height: auto; width: 100%;}