Новые правки 04/04/26
This commit is contained in:
parent
00f9b24a60
commit
761996fd52
3 changed files with 416 additions and 133 deletions
|
|
@ -514,15 +514,18 @@ const {
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-title {
|
.card-content {
|
||||||
font-size: 1.25rem;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-icon {
|
.card-icon {
|
||||||
width: 56px;
|
width: 56px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-emoji {
|
.icon-emoji {
|
||||||
|
|
|
||||||
|
|
@ -44,41 +44,76 @@ const {
|
||||||
<div class="site-container">
|
<div class="site-container">
|
||||||
<!-- Заголовок секции -->
|
<!-- Заголовок секции -->
|
||||||
<div class="section-header">
|
<div class="section-header">
|
||||||
<span class="subtitle animate-on-scroll" data-animation="fade-up">{sectionSubtitle}</span>
|
<div class="subtitle-wrapper animate-on-scroll" data-animation="fade-up">
|
||||||
|
<div class="subtitle-line"></div>
|
||||||
|
<span class="subtitle">{sectionSubtitle}</span>
|
||||||
|
<div class="subtitle-line"></div>
|
||||||
|
</div>
|
||||||
<h2 class="title animate-on-scroll" data-animation="fade-up" data-delay="100">{sectionTitle}</h2>
|
<h2 class="title animate-on-scroll" data-animation="fade-up" data-delay="100">{sectionTitle}</h2>
|
||||||
|
<p class="section-description animate-on-scroll" data-animation="fade-up" data-delay="150">
|
||||||
|
Мы создали прозрачную систему взаимодействия, чтобы вы всегда знали, на каком этапе находится ваше дело
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Шаги -->
|
<!-- Шаги -->
|
||||||
<div class="steps-grid">
|
<div class="steps-container">
|
||||||
{steps.map((step, index) => (
|
{steps.map((step: Step, index: number) => (
|
||||||
<div class="step-card animate-on-scroll" data-animation="fade-up" data-delay={index * 150 + 200}>
|
<div class="step-card-wrapper animate-on-scroll" data-animation="fade-up" data-delay={index * 100 + 200}>
|
||||||
<!-- Номер шага -->
|
<div class="step-card">
|
||||||
<div class="step-number-wrapper">
|
<!-- Декоративный фон -->
|
||||||
<div class="step-number">{step.number}</div>
|
<div class="step-bg"></div>
|
||||||
{index < steps.length - 1 && (
|
|
||||||
<div class="step-connector"></div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Контент -->
|
<!-- Заголовок с номером и иконкой -->
|
||||||
<div class="step-content">
|
<div class="step-header">
|
||||||
<div class="step-icon">
|
<div class="step-number">{step.number}</div>
|
||||||
<span class="icon-emoji">{step.icon}</span>
|
<div class="step-icon-wrapper">
|
||||||
|
<div class="step-icon-glow"></div>
|
||||||
|
<div class="step-icon">
|
||||||
|
<span class="icon-emoji">{step.icon}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Контент -->
|
||||||
|
<div class="step-content">
|
||||||
|
<h3 class="step-title">{step.title}</h3>
|
||||||
|
<p class="step-description">{step.description}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Соединительная линия -->
|
||||||
|
{index < steps.length - 1 && (
|
||||||
|
<div class="step-connector">
|
||||||
|
<div class="connector-line"></div>
|
||||||
|
<div class="connector-dot"></div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<h3 class="step-title">{step.title}</h3>
|
|
||||||
<p class="step-description">{step.description}</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Статистика -->
|
||||||
|
<div class="stats-bar animate-on-scroll" data-animation="fade-up" data-delay="700">
|
||||||
|
<div class="stat-item">
|
||||||
|
<div class="stat-number">98%</div>
|
||||||
|
<div class="stat-label">успешных дел</div>
|
||||||
|
</div>
|
||||||
|
<div class="stat-divider"></div>
|
||||||
|
<div class="stat-item">
|
||||||
|
<div class="stat-number">500+</div>
|
||||||
|
<div class="stat-label">довольных клиентов</div>
|
||||||
|
</div>
|
||||||
|
<div class="stat-divider"></div>
|
||||||
|
<div class="stat-item">
|
||||||
|
<div class="stat-number">15 лет</div>
|
||||||
|
<div class="stat-label">опыта</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Кнопка CTA -->
|
<!-- Кнопка CTA -->
|
||||||
<div class="steps-cta animate-on-scroll" data-animation="fade-up" data-delay="800">
|
<div class="steps-cta animate-on-scroll" data-animation="fade-up" data-delay="800">
|
||||||
<Button variant="gold" size="lg" id="consultation-btn" data-modal-target="consultation-modal">
|
<Button variant="gold" size="lg" id="consultation-btn" data-modal-target="consultation-modal">
|
||||||
<span class="cta-text">Начать консультацию бесплатно</span>
|
<span class="cta-text">Начать консультацию бесплатно</span>
|
||||||
<svg class="cta-arrow" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
||||||
<path d="M5 12h14M12 5l7 7-7 7"/>
|
|
||||||
</svg>
|
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -86,23 +121,60 @@ const {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--color-primary: #1e3050;
|
--color-primary: #0a2540;
|
||||||
|
--color-primary-light: #1e3050;
|
||||||
--color-accent: #eac26e;
|
--color-accent: #eac26e;
|
||||||
--color-accent-light: #ce9f40;
|
--color-accent-dark: #ce9f40;
|
||||||
--color-light: #f8fafc;
|
--color-accent-glow: rgba(234, 194, 110, 0.3);
|
||||||
--color-gray: #64748b;
|
--color-light: #ffffff;
|
||||||
|
--color-gray: #94a3b8;
|
||||||
|
--color-gray-dark: #64748b;
|
||||||
|
--gradient-bg: linear-gradient(135deg, #0a2540 0%, #1e3050 100%);
|
||||||
|
--gradient-accent: linear-gradient(135deg, #eac26e 0%, #ce9f40 100%);
|
||||||
|
--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||||
|
--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||||||
|
--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
||||||
|
--shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||||||
|
--shadow-glow: 0 0 40px rgba(234, 194, 110, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps-section {
|
.steps-section {
|
||||||
padding: 6rem 1.5rem;
|
padding: 6rem 1.5rem;
|
||||||
background: linear-gradient(180deg, #0b1426 0%, #1e3050 100%);
|
background: var(--gradient-bg);
|
||||||
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Декоративные элементы фона */
|
||||||
|
.steps-section::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
right: -20%;
|
||||||
|
width: 80%;
|
||||||
|
height: 150%;
|
||||||
|
background: radial-gradient(circle, rgba(234, 194, 110, 0.03) 0%, transparent 70%);
|
||||||
|
pointer-events: none;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steps-section::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -30%;
|
||||||
|
left: -10%;
|
||||||
|
width: 60%;
|
||||||
|
height: 100%;
|
||||||
|
background: radial-gradient(circle, rgba(234, 194, 110, 0.02) 0%, transparent 70%);
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-container {
|
.site-container {
|
||||||
max-width: var(--site-max-width, 1400px);
|
max-width: var(--site-max-width, 1400px);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Заголовок секции */
|
/* Заголовок секции */
|
||||||
|
|
@ -111,26 +183,47 @@ const {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subtitle-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle-line {
|
||||||
|
width: 40px;
|
||||||
|
height: 1px;
|
||||||
|
background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
|
||||||
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
display: inline-block;
|
color: var(--color-accent);
|
||||||
color: #eac26e;
|
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 3px;
|
letter-spacing: 4px;
|
||||||
margin-bottom: 1rem;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
background: rgba(234, 194, 110, 0.15);
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
color: #ffffff;
|
color: var(--color-light);
|
||||||
font-size: clamp(2rem, 4vw, 3rem);
|
font-size: clamp(2rem, 4vw, 3.5rem);
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
margin: 0;
|
margin: 0 0 1rem 0;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
|
background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-description {
|
||||||
|
color: var(--color-gray);
|
||||||
|
font-size: 1.1rem;
|
||||||
|
max-width: 600px;
|
||||||
|
margin: 0 auto;
|
||||||
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- АНИМАЦИИ ПРИ СКРОЛЛИНГЕ --- */
|
/* --- АНИМАЦИИ ПРИ СКРОЛЛИНГЕ --- */
|
||||||
|
|
@ -140,7 +233,7 @@ const {
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-animation="fade-up"] {
|
[data-animation="fade-up"] {
|
||||||
transform: translateY(30px);
|
transform: translateY(40px);
|
||||||
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
|
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
@ -150,85 +243,142 @@ const {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Сетка шагов */
|
/* Контейнер шагов */
|
||||||
.steps-grid {
|
.steps-container {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
justify-content: space-between;
|
||||||
gap: 2rem;
|
gap: 1.5rem;
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card-wrapper {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Карточка шага */
|
/* Карточка шага */
|
||||||
.step-card {
|
.step-card {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
background: rgba(255, 255, 255, 0.03);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border-radius: 24px;
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
|
overflow: hidden;
|
||||||
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Номер шага */
|
.step-card::before {
|
||||||
.step-number-wrapper {
|
content: '';
|
||||||
position: relative;
|
position: absolute;
|
||||||
width: 100%;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 2px;
|
||||||
|
background: var(--gradient-accent);
|
||||||
|
transform: scaleX(0);
|
||||||
|
transition: transform 0.4s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card:hover {
|
||||||
|
transform: translateY(-8px);
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
border-color: rgba(234, 194, 110, 0.2);
|
||||||
|
box-shadow: var(--shadow-glow);
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card:hover::before {
|
||||||
|
transform: scaleX(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-bg {
|
||||||
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
right: -50%;
|
||||||
|
width: 200%;
|
||||||
|
height: 200%;
|
||||||
|
background: radial-gradient(circle, rgba(234, 194, 110, 0.05) 0%, transparent 70%);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.4s ease;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card:hover .step-bg {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Заголовок шага */
|
||||||
|
.step-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
gap: 1rem;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
width: 60px;
|
width: 48px;
|
||||||
height: 60px;
|
height: 48px;
|
||||||
border-radius: 50%;
|
background: var(--gradient-accent);
|
||||||
background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
|
border-radius: 16px;
|
||||||
color: #ffffff;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
display: flex;
|
color: var(--color-primary);
|
||||||
align-items: center;
|
box-shadow: var(--shadow-md);
|
||||||
justify-content: center;
|
|
||||||
box-shadow: 0 8px 25px rgba(234, 194, 110, 0.3);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Соединительная линия */
|
.step-icon-wrapper {
|
||||||
.step-connector {
|
position: relative;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-icon-glow {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
inset: -4px;
|
||||||
left: calc(50% + 40px);
|
background: var(--gradient-accent);
|
||||||
width: calc(100% - 80px);
|
border-radius: 16px;
|
||||||
height: 2px;
|
opacity: 0;
|
||||||
background: linear-gradient(90deg, var(--color-accent) 0%, rgba(234, 194, 110, 0.2) 100%);
|
filter: blur(8px);
|
||||||
z-index: 1;
|
transition: opacity 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card:hover .step-icon-glow {
|
||||||
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Иконка шага */
|
|
||||||
.step-icon {
|
.step-icon {
|
||||||
width: 64px;
|
width: 56px;
|
||||||
height: 64px;
|
height: 56px;
|
||||||
background: rgba(255, 255, 255, 0.08);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 12px;
|
border-radius: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 1.5rem;
|
position: relative;
|
||||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
transition: all 0.3s ease;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-card:hover .step-icon {
|
.step-card:hover .step-icon {
|
||||||
transform: translateY(-4px);
|
|
||||||
background: rgba(234, 194, 110, 0.15);
|
background: rgba(234, 194, 110, 0.15);
|
||||||
box-shadow: 0 8px 25px rgba(234, 194, 110, 0.2);
|
border-color: rgba(234, 194, 110, 0.3);
|
||||||
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-emoji {
|
.icon-emoji {
|
||||||
font-size: 2rem;
|
font-size: 1.75rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-card:hover .icon-emoji {
|
.step-card:hover .icon-emoji {
|
||||||
|
|
@ -237,24 +387,98 @@ const {
|
||||||
|
|
||||||
/* Текст шага */
|
/* Текст шага */
|
||||||
.step-content {
|
.step-content {
|
||||||
width: 100%;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #ffffff;
|
color: var(--color-light);
|
||||||
margin: 0 0 0.75rem 0;
|
margin: 0 0 0.75rem 0;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-description {
|
.step-description {
|
||||||
font-size: 0.95rem;
|
font-size: 0.9rem;
|
||||||
line-height: 1.7;
|
line-height: 1.6;
|
||||||
color: rgba(255, 255, 255, 0.7);
|
color: var(--color-gray);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Соединительная линия */
|
||||||
|
.step-connector {
|
||||||
|
position: absolute;
|
||||||
|
right: -1.25rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: calc(100% + 1rem);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
z-index: 3;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.connector-line {
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
background: linear-gradient(90deg, var(--color-accent) 0%, rgba(234, 194, 110, 0.2) 100%);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.connector-dot {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
background: var(--color-accent);
|
||||||
|
border-radius: 50%;
|
||||||
|
box-shadow: 0 0 10px var(--color-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Статистика */
|
||||||
|
.stats-bar {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 3rem;
|
||||||
|
padding: 2rem;
|
||||||
|
background: rgba(255, 255, 255, 0.03);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border-radius: 60px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-item {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-number {
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: 800;
|
||||||
|
background: var(--gradient-accent);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
line-height: 1;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-label {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--color-gray);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-divider {
|
||||||
|
width: 1px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
/* CTA кнопка */
|
/* CTA кнопка */
|
||||||
.steps-cta {
|
.steps-cta {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -263,48 +487,72 @@ const {
|
||||||
.steps-cta .btn {
|
.steps-cta .btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
padding: 1rem 2rem;
|
padding: 0.875rem 1.5rem;
|
||||||
font-size: 1.1rem;
|
font-size: 1.125rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
transition: all 0.3s ease;
|
||||||
box-shadow: 0 8px 25px rgba(234, 194, 110, 0.3);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
||||||
text-transform: uppercase;
|
text-transform: none;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: normal;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border: none;
|
||||||
|
min-height: 3.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steps-cta .btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
||||||
|
transition: left 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steps-cta .btn:hover::before {
|
||||||
|
left: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps-cta .btn:hover {
|
.steps-cta .btn:hover {
|
||||||
transform: translateY(-3px);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||||
box-shadow: 0 12px 35px rgba(234, 194, 110, 0.4);
|
transform: translateY(-2px);
|
||||||
opacity: 0.95;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps-cta .btn:active {
|
.steps-cta .btn:active:not(:disabled) {
|
||||||
transform: translateY(-1px);
|
transform: translateY(0);
|
||||||
}
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
.cta-arrow {
|
|
||||||
transition: transform 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.steps-cta .btn:hover .cta-arrow {
|
|
||||||
transform: translateX(4px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- АДАПТИВНОСТЬ --- */
|
/* --- АДАПТИВНОСТЬ --- */
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.steps-grid {
|
.steps-container {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
flex-direction: column;
|
||||||
gap: 3rem;
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card-wrapper {
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-connector {
|
.step-connector {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stats-bar {
|
||||||
|
gap: 2rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
border-radius: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-number {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
@ -312,42 +560,63 @@ const {
|
||||||
padding: 4rem 1rem;
|
padding: 4rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps-grid {
|
.section-header {
|
||||||
grid-template-columns: 1fr;
|
margin-bottom: 2rem;
|
||||||
gap: 2.5rem;
|
}
|
||||||
|
|
||||||
|
.subtitle-wrapper {
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle-line {
|
||||||
|
width: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-description {
|
||||||
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-card {
|
.step-card {
|
||||||
text-align: left;
|
padding: 1.5rem;
|
||||||
align-items: flex-start;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number-wrapper {
|
.step-header {
|
||||||
justify-content: flex-start;
|
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
width: 50px;
|
width: 40px;
|
||||||
height: 50px;
|
height: 40px;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-icon {
|
.step-icon {
|
||||||
width: 56px;
|
width: 48px;
|
||||||
height: 56px;
|
height: 48px;
|
||||||
|
border-radius: 12px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-content {
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-emoji {
|
.icon-emoji {
|
||||||
font-size: 1.75rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.stats-bar {
|
||||||
font-size: 1.15rem;
|
flex-direction: column;
|
||||||
|
gap: 1.5rem;
|
||||||
|
border-radius: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-description {
|
.stat-divider {
|
||||||
font-size: 0.9rem;
|
width: 40px;
|
||||||
|
height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps-cta .btn {
|
.steps-cta .btn {
|
||||||
|
|
@ -355,7 +624,6 @@ const {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0.875rem 1.5rem;
|
padding: 0.875rem 1.5rem;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
min-height: 3.25rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -366,6 +634,13 @@ const {
|
||||||
transform: none;
|
transform: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.step-card,
|
||||||
|
.steps-cta .btn,
|
||||||
|
.step-icon,
|
||||||
|
.icon-emoji {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
@ -396,4 +671,4 @@ const {
|
||||||
document.querySelectorAll('.animate-on-scroll').forEach((el) => {
|
document.querySelectorAll('.animate-on-scroll').forEach((el) => {
|
||||||
observer.observe(el);
|
observer.observe(el);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -167,16 +167,19 @@ import { COMPANY } from '@constants';
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
}
|
}
|
||||||
.burger-line {
|
.burger-line {
|
||||||
width: 100%; height: 2.5px;
|
width: 100%; height: 2.5px;
|
||||||
background-color: #1e3050;
|
background-color: #1e3050;
|
||||||
border-radius: 4px; transition: 0.3s;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.burger-btn.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
|
/* Скрытие гамбургера при открытом меню */
|
||||||
.burger-btn.active .burger-line:nth-child(2) { opacity: 0; }
|
.burger-btn.active {
|
||||||
.burger-btn.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* --- АНИМАЦИИ ПРИ ЗАГРУЗКЕ --- */
|
/* --- АНИМАЦИИ ПРИ ЗАГРУЗКЕ --- */
|
||||||
.animate-load {
|
.animate-load {
|
||||||
|
|
@ -263,11 +266,13 @@ import { COMPANY } from '@constants';
|
||||||
|
|
||||||
window.addEventListener('scroll', updateScroll, { passive: true });
|
window.addEventListener('scroll', updateScroll, { passive: true });
|
||||||
|
|
||||||
|
// Открытие меню - добавляем active к бургеру для скрытия
|
||||||
burgerBtn?.addEventListener('click', () => {
|
burgerBtn?.addEventListener('click', () => {
|
||||||
mobileMenuOverlay?.classList.toggle('active');
|
mobileMenuOverlay?.classList.add('active');
|
||||||
burgerBtn?.classList.toggle('active');
|
burgerBtn?.classList.add('active');
|
||||||
document.body.style.overflow = mobileMenuOverlay?.classList.contains('active') ? 'hidden' : '';
|
document.body.style.overflow = 'hidden';
|
||||||
});
|
});
|
||||||
|
|
||||||
updateScroll();
|
updateScroll();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue