/*
Theme Name: Leo Theme
Theme URI: https://leo.mazzed.ru
Author: Lion Digital
Author URI: https://liondigital.ru
Description: Чистая тема-копия liondigital.ru без Elementor. Разметка страниц сохранена как есть, стили Elementor переименованы в префикс lion-*.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: leo-theme
*/


/* Основные стили будут в assets/css/main.css */

:root {
  /* Основные цвета */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-blue: #003F8F;
  --color-red: #992222;
  --color-brand-light: #f3f3f3;
  --color-text: #505050;

  /* Hover состояния */
  --color-blue-hover: #2A72CF;
  --color-red-hover: #cc5555;
	
	/* Радиусы */
	--radius-bg: 8rem;
	--radius-0: 6rem;
	--radius-1: 4rem;
	--radius-2: 2rem;
	--radius-3: 1rem;
	--radius-4: 0.5rem;
}

@media(max-width: 767px){
	:root{
		--radius-bg: 6rem;
		--radius-0: 4rem;
		--radius-1: 3rem;
		--radius-2: 2rem;
		--radius-3: 1rem;
		--radius-4: 0.5rem;
	}
}

html{
    font-size: 10px;
	font-family: "Lion Text", "Helvetica";
	transition: all 0.2s ease;
}

h1{
	font-size: 5rem;
	line-height: 1.1em;
	font-family: "Lion Display", "Helvetica";
	font-weight: 600;
}

h2{
	font-size: 4rem;
	line-height: 1.1em;
	font-family: "Lion Display", "Helvetica";
	font-weight: 600;
}

h3{
	font-size: 2.4rem;
	line-height: 1.2em;
	font-family: "Lion Display", "Helvetica";
	font-weight: 700;
}

p, a, span, div, input, textarea, button, ratio, select{
	font-size: 1.8rem;
	line-height: 1.2em;
	font-family: "Lion Text", "Helvetica";
	font-weight: 400;
}

.lion-p-0 p{
	font-size: 2.4rem;
	line-height: 3.2rem;
}

.lion-a a{
	color: var(--color-blue);
	transition: all 0.2s ease;
	cursor: pointer;
}

.lion-a a:hover{
	color: var(--color-blue-hover);
	text-decoration: underline;
}

@media(max-width: 767px){
		html{
   	 font-size: 10px;
		font-family: "Lion Text", "Helvetica";
		transition: all 0.2s ease;
	}

	h1{
		font-size: 3.4rem;
		line-height: 1.1em;
		font-family: "Lion Display", "Helvetica";
		font-weight: 600;
	}

	h2{
		font-size: 3rem;
		line-height: 1.1em;
		font-family: "Lion Display", "Helvetica";
		font-weight: 600;
	}

	h3{
		font-size: 2rem;
		line-height: 1.2em;
		font-family: "Lion Display", "Helvetica";
		font-weight: 700;
	}

	p, a, span, div{
		font-size: 1.6rem;
		line-height: 1.2em;
		font-family: "Lion Text", "Helvetica";
		font-weight: 400;
	}

	.lion-p-0 p{
		font-size: 2rem;
		line-height: 1.2em;
	}
}

/****************************/
/********** ТЕНИ ************/
/****************************/

.lion-shadow-0{
	box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.1);
}


.lion-shadow-1{
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
}

.lion-shadow-2{
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
}

.lion-shadow-2-hover{
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1) !important;
}

.lion-shadow-2-hover:hover{
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1) !important;
}





/****************************/
/********** КНОПКИ **********/
/****************************/

/* === АКЦЕНТНАЯ КНОПКА 0 === */
.lion-button-accent-0 a {
  position: relative;
  display: inline-block;
  border-radius: 1.4rem;
  background: linear-gradient(45deg, var(--color-blue) 0%, var(--color-red) 100%);
  overflow: hidden;
  font-size: 2.4rem;
  color: var(--color-white);
  padding: 1.6rem 2.8rem;
  text-decoration: none;
  z-index: 0; /* создаём контекст */
}

.lion-button-accent-0 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--color-blue) 30%, var(--color-red) 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1; /* ниже текста */
}

.lion-button-accent-0 a:hover::after {
  opacity: 1;
}

.lion-button-accent-0 .lion-btn-content,
.lion-button-accent-0 .lion-btn-text {
  position: relative;
  z-index: 1;
}

/* === АКЦЕНТНАЯ КНОПКА 1 === */
.lion-button-accent-1 a {
  position: relative;
  display: inline-block;
  border-radius: 1.6rem;
  background: linear-gradient(45deg, var(--color-blue) 0%, var(--color-red) 100%);
  overflow: hidden;
  font-size: 1.8rem;
  color: var(--color-white);
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  z-index: 0;
}

.lion-button-accent-1 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--color-blue) 30%, var(--color-red) 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.lion-button-accent-1 a:hover::after {
  opacity: 1;
}

.lion-button-accent-1 .lion-btn-content,
.lion-button-accent-1 .lion-btn-text {
  position: relative;
  z-index: 1;
}

/* === ВСПОМОГАТЕЛЬНАЯ КНОПКА 0 === */
.lion-button-second-0 a {
  position: relative;
  display: inline-block;
  border-radius: 1.4rem;
  background: linear-gradient(45deg, var(--color-blue) 0%, var(--color-blue-hover) 100%);
  overflow: hidden;
  font-size: 2.4rem;
  color: var(--color-white);
  padding: 1.6rem 2.8rem;
  text-decoration: none;
  z-index: 0;
}

.lion-button-second-0 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--color-blue) 30%, var(--color-red) 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.lion-button-second-0 a:hover::after {
  opacity: 1;
}

.lion-button-second-0 .lion-btn-content,
.lion-button-second-0 .lion-btn-text {
  position: relative;
  z-index: 1;
}

/* === ВСПОМОГАТЕЛЬНАЯ КНОПКА 1 === */
.lion-button-second-1 a {
  position: relative;
  display: inline-block;
  border-radius: 1.6rem;
  background: linear-gradient(45deg, var(--color-blue) 0%, var(--color-blue-hover) 100%);
  overflow: hidden;
  font-size: 1.8rem;
  color: var(--color-white);
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  z-index: 0;
}

.lion-button-second-1 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--color-blue) 30%, var(--color-red) 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.lion-button-second-1 a:hover::after {
  opacity: 1;
}

.lion-button-second-1 .lion-btn-content,
.lion-button-second-1 .lion-btn-text {
  position: relative;
  z-index: 1;
}











/****************************/
/********КОНТЕЙНЕРЫ**********/
/****************************/

div.lion-div-0-first{
	padding: 2rem 2rem 4rem 2rem;
}

div.lion-div-0{
	padding: 12rem 2rem 8rem 2rem;
}



@media(max-width: 767px){
	div.lion-div-0-first{
		padding: 2rem 2rem 8rem 2rem;
	}

	div.lion-div-0{
		padding: 12rem 2rem 8rem 2rem;
	}	
}











/****************************/
/********ELEMENTOR***********/
/****************************/

/* Цвет бренда в тексте */
.lion-e-brand-color{
	color: var(--color-blue);
	font-weight: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

/* Отступ перед началом текста */
.lion-e-text-top{
    margin-top: -1em;
}
















/****************************/
/********ТАБЛИЦЫ***********/
/****************************/

.table-scroll {
 width: 100%;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}

.lion-seo-table {
 border-collapse: collapse;
 width: 100%;
 border-radius: var(--radius-2);
 overflow: hidden;
}

.lion-seo-table th, .lion-seo-table td {
 padding: 1rem;
 text-align: center;
 vertical-align: middle;
}

.lion-seo-table th:first-child,
.lion-seo-table td:first-child {
 text-align: left;
}

.lion-seo-table thead {
 background-color: var(--color-blue);
 color: var(--color-white);
}

.lion-seo-table td {
 background-color: var(--color-white);
 border: 1px solid var(--color-brand-light);
}

.lion-table-pluse {
 color: var(--color-blue);
 font-weight: 600;
}

.lion-table-minuse {
 color: var(--color-red);
 font-weight: 600;
}

.tooltip-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 20px;
 height: 20px;
 background-color: var(--color-brand-light);
 color: var(--color-blue);
 font-size: 1.4rem;
 font-weight: bold;
 border-radius: 50%;
 cursor: pointer;
 margin-left: 0.5rem;
}

.tariff-tooltip {
 background-color: var(--color-white);
 color: var(--color-blue);
 border: 1px solid var(--color-blue);
}

.tooltip-box {
 position: absolute;
 background: var(--color-white);
 color: var(--color-text);
 padding: 2rem;
 border-radius: var(--radius-3);
 max-width: 260px;
 box-shadow: 0 5px 10px rgba(0,0,0,0.2);
 z-index: 99;
 font-size: 1.6rem;
 line-height: 1.4em;
}


















.scroll-arrow-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    height: 32px;
    animation: gentle-pulse 2s ease-in-out infinite;
}

.scroll-arrow-wrapper .arrow-left,
.scroll-arrow-wrapper .arrow-right {
    cursor: pointer;
    color: var(--color-blue);
    transition: color 0.2s ease;
    background: transparent;
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    
}

@keyframes gentle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

.scroll-arrow-wrapper .arrow-left {
    margin-right: auto;
}

.scroll-arrow-wrapper .arrow-right {
    margin-left: auto;
}

.scroll-arrow-wrapper .arrow-left:hover,
.scroll-arrow-wrapper .arrow-right:hover {
    color: var(--color-blue-hover);
}

.scroll-arrow-wrapper .arrow-left:active,
.scroll-arrow-wrapper .arrow-right:active {
    color: var(--color-blue-hover);
    transition: color 0.1s ease;
}

/* Контейнер для таблицы и стрелок */
.table-container {
    position: relative;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}