/*
Theme Name: Lit-review-theme
Author: Kirill Milchakov & Vizzey
Version: 1.0
*/


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-blue: #0071E3;
	--dark-blue: #0051D5;
	--light-blue: #E8F2FF;
	--dark-text: #1D1D1F;
	--gray-text: #86868B;
	--light-gray: #F5F5F7;
	--footer-bg: #1D1D1F;
	--white: #FFFFFF;
	--telegram-blue: #0088CC;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}


/* Telegram CTA Section */
.telegram-section {
	padding: 40px 20px;
	background: linear-gradient(90deg, var(--light-blue) 0%, rgba(232, 242, 255, 0.5) 100%);
	position: relative;
	overflow: hidden;
}

.telegram-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.telegram-content {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 24px;
}

.telegram-icon {
	width: 56px;
	height: 56px;
	background: var(--telegram-blue);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.telegram-icon svg {
	width: 32px;
	height: 32px;
}

.telegram-text {
	flex: 1;
}

.telegram-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--dark-text);
}

.telegram-subtitle {
	font-size: 14px;
	color: var(--gray-text);
	margin: 0;
}

.telegram-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--telegram-blue);
	color: white;
	padding: 12px 24px;
	border-radius: 50px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.telegram-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
	background: #0077B5;
}

.desktop-menu > ul.menu {
  display: flex;
  align-items: center;
  gap: 20px;            /* как у вас в десктоп-меню */
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.desktop-menu > ul.menu > li {
  margin: 0;
  padding: 0;
  /* НЕ используем display: contents — лучше кросс-браузерная совместимость */
}

.desktop-menu > ul.menu > li > a {
  display: inline-block;     /* чтобы ::after (подчёркивание) работал корректно */
  text-decoration: none;
}

/* Состояние активного пункта как при :hover */
.desktop-menu .current-menu-item > a,
.desktop-menu .current_page_item > a {
  color: var(--primary-blue);
}
.desktop-menu .current-menu-item > a::after,
.desktop-menu .current_page_item > a::after {
  width: 100%;
}

.telegram-button svg {
	width: 20px;
	height: 20px;
}

/* Footer */
footer {
	background: var(--footer-bg);
	color: rgba(255, 255, 255, 0.9);
	padding: 80px 20px 40px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 60px;
	margin-bottom: 60px;
}

/* Contact Column */
.footer-contact {
	position: relative;
}

.footer-contact::after {
	content: '';
	position: absolute;
	top: 0;
	right: -30px;
	width: 1px;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.footer-logo img {
	height: 40px;
	filter: brightness(0) invert(1);
	opacity: 0.9;
}

.footer-logo-text {
	font-size: 24px;
	font-weight: 600;
	color: white;
}

.contact-list {
	margin-bottom: 24px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 15px;
}

.contact-icon {
	width: 36px;
	height: 36px;
	background: rgba(0, 113, 227, 0.2);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
	background: var(--primary-blue);
	transform: scale(1.1);
}

.contact-icon svg {
	width: 18px;
	height: 18px;
	color: var(--primary-blue);
	stroke-width: 2;
	transition: color 0.3s ease;
}

.contact-item:hover .contact-icon svg {
	color: white;
}

.contact-text {
	display: flex;
	flex-direction: column;
}

.contact-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.contact-value {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.2s ease;
}

.contact-value:hover {
	color: var(--primary-blue);
}

.callback-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 10px 20px;
	background: var(--primary-blue);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.callback-btn:hover {
	background: var(--dark-blue);
	transform: translateY(-2px);
}

/* Messenger Buttons */
.messenger-buttons {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.messenger-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 50px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	color: white;
}

.messenger-btn.whatsapp {
	background: #25D366;
}

.messenger-btn.whatsapp:hover {
	background: #1DA851;
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.messenger-btn.telegram {
	background: #0088CC;
}

.messenger-btn.telegram:hover {
	background: #0077B5;
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.messenger-btn svg {
	width: 20px;
	height: 20px;
}

/* Links Columns */
.footer-links h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	display: inline-block;
}

.footer-links a:hover {
	color: var(--primary-blue);
	transform: translateX(4px);
}

/* Bottom Section */
.footer-bottom {
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-copyright {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
	max-width: 600px;
}

.footer-badges {
	display: flex;
	align-items: center;
	gap: 24px;
}

.footer-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	transition: all 0.2s ease;
}

.footer-badge:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--primary-blue);
	color: white;
}

.footer-badge svg {
	width: 16px;
	height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.footer-contact {
		grid-column: span 2;
		padding-bottom: 40px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.footer-contact::after {
		display: none;
	}
}

@media (max-width: 768px) {
	.telegram-section {
		padding: 30px 20px;
	}

	.telegram-container {
		flex-direction: column;
		gap: 20px;
	}

	.telegram-content {
		flex-direction: column;
		text-align: center;
	}

	footer {
		padding: 60px 20px 30px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-contact {
		grid-column: span 1;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-badges {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.footer-badge {
		width: 100%;
		justify-content: center;
	}
}

body {
	
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    line-height: 1.5;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.subpage {
	min-height: 100vh;
}

/* Top Bar */
.top-bar {
    background: var(--light-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.top-contact-item:hover {
    color: var(--primary-blue);
}

.top-contact-item svg {
    width: 16px;
    height: 16px;
}

.callback-button {
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.callback-button:hover {
    background: #0051D5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

/* Phone Tooltip */
.phone-tooltip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.work-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #34C759;
    font-weight: 500;
}

.work-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #34C759;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 199, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

.phone-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 280px;
    z-index: 1000;
}

.phone-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

.phone-tooltip:hover .phone-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.phone-main {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: block;
}

.callback-mini {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.callback-mini:hover {
    background: #0051D5;
}

.work-hours {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
}

.work-hours strong {
    color: var(--dark-text);
    display: block;
    margin-bottom: 4px;
}

/* Mobile Top Bar */
@media (max-width: 767px) {
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 10px;
    }

    .top-contacts {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .top-contact-item {
        font-size: 14px;
    }

    .work-status {
        font-size: 12px;
    }

    .callback-button {
        width: 100%;
        padding: 10px 20px;
    }

    .phone-dropdown {
        left: 20px;
        right: 20px;
        width: auto;
    }

    .phone-dropdown::before {
        left: 20px;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .phone-dropdown {
        left: auto;
        right: 0;
    }

    .phone-dropdown::before {
        left: auto;
        right: 30px;
    }
}

/* Header */
header {
    top: 50px;
    width: 100%;
    z-index: 100;
    padding: 3px 0;
}


/* когда открыто мобильное меню — убираем стек у header */
body:has(.fullscreen-menu.active) header { z-index: auto; }


.home header {
    position: absolute;
}

@media (max-width: 767px) {
    header {
        top: 130px;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 40px;
    z-index: 101;
}

.logo a, .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
}

.logo-descriptor {
    font-size: 13px;
    line-height: 1.3;
    color: var(--gray-text);
    max-width: 280px;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .logo-descriptor {
        display: none;
    }
}

/* Desktop Menu */
.desktop-menu {
    display: none;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.desktop-menu a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.desktop-menu a:hover {
    color: var(--primary-blue);
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}


.entry-content {
	padding: 30px;
}
	

/* Hero Section */
.hero {
    min-height: auto;
    padding: 150px 20px 50px; 
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--light-blue) 0%, rgba(232, 242, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero {
        padding: 180px 20px 40px;
        min-height: auto;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -30px) scale(1.1); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
     grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
    padding-top: 20px;
    flex: 1;
    margin-bottom: 40px; 
}

.hero-content {
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.2s ease;
    border: 2px solid rgba(0, 113, 227, 0.15);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.tag:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
    border-color: var(--primary-blue);
}

.tag:hover::before {
    left: 0;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-list {
    list-style: none;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-list li {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--gray-text);
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.hero-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-number {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-text {
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--gray-text);
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.3);
    background: #0051D5;
}

.cta-button:active {
    transform: translateY(0);
}

.hero-badge {
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-badge img {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

/* Contact Form */
.hero-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    max-width: 380px;
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #0051D5);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-text);
}

.contact-form > p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E7;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
}

.form-submit:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit svg {
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

.form-privacy {
    font-size: 13px;
    color: var(--gray-text);
    text-align: center;
    margin-top: 16px;
}

.form-privacy a {
    color: var(--primary-blue);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: #34C759;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-text);
}

/* Hero Slogan */
.hero-slogan {
     position: static;  
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    animation: slideInUp 0.8s ease-out 0.7s both;
    z-index: 50;
	margin-top: 60px;
}

.hero-slogan p {
    font-size: 20px;
    font-weight: 400;
    color: var(--dark-text);
    letter-spacing: -0.3px;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-slogan p strong {
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-blue), #0051D5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .hero-slogan {
        padding: 20px 15px;
    }

    .hero-slogan p {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Mobile/Desktop visibility */
.desktop-hide {
    display: block;
}

.desktop-only {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1112000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease-out;
    padding: 40px 20px 30px;
    margin: 20px;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #E5E5E7;
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--dark-text);
}

/* Modal form specific styles */
.modal .contact-form h3 {
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 1200px) {
    .desktop-menu {
        display: flex;
    }
    
    .desktop-hide {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

@media (max-width: 1199px) {
    .desktop-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .hero-form {
        display: none;
    }
    
    .cta-button {
        display: inline-block !important;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 180px 20px 0;
        min-height: auto;
    }
    
    .hero-container {
        margin-bottom: 80px;
    }
    
    .hero-tags {
        gap: 8px;
    }
    
    .tag {
        padding: 8px 18px;
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* Отключаем автозум на iOS */
        -webkit-text-size-adjust: 100%;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .hero-slogan {
        position: relative;
        margin-top: 40px;
        padding: 15px;
        background: var(--light-gray);
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: none;
    }

    .hero-slogan p {
        font-size: 14px;
        line-height: 1.4;
    }
}

  

		.cta-button {
            display: inline-block;
            background: var(--primary-blue);
            color: white;
            padding: 16px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 17px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 113, 227, 0.2);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 113, 227, 0.3);
            background: #0051D5;
        }



        /* Cooperation Section */
        .cooperation-section {
            padding: 100px 20px;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        .cooperation-section::before {
            content: '';
            position: absolute;
            top: -200px;
            right: -200px;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
            animation: float 30s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(-100px, -50px) rotate(120deg); }
            66% { transform: translate(50px, -100px) rotate(240deg); }
        }

        .cooperation-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-label {
            display: inline-block;
            background: var(--light-blue);
            color: var(--primary-blue);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 16px;
            opacity: 0;
            animation: fadeInDown 0.6s ease-out forwards;
        }

        .section-title {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 700;
            color: var(--dark-text);
            margin-bottom: 16px;
            letter-spacing: -1px;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out 0.1s forwards;
        }

        .section-subtitle {
            font-size: clamp(18px, 2.5vw, 22px);
            color: var(--gray-text);
            max-width: 600px;
            margin: 0 auto;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out 0.2s forwards;
        }

        /* Terms Grid */
        .terms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 24px;
            margin-bottom: 80px;
        }

        .term-card {
            background: var(--white);
            border-radius: 20px;
            padding: 32px;
            border: 2px solid rgba(0, 113, 227, 0.15);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .term-card:nth-child(1) { animation-delay: 0.3s; }
        .term-card:nth-child(2) { animation-delay: 0.35s; }
        .term-card:nth-child(3) { animation-delay: 0.4s; }
        .term-card:nth-child(4) { animation-delay: 0.45s; }
        .term-card:nth-child(5) { animation-delay: 0.5s; }
        .term-card:nth-child(6) { animation-delay: 0.55s; }

        .term-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .term-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: var(--primary-blue);
        }

        .term-card:hover::before {
            transform: translateX(0);
        }

        .term-icon {
            width: 56px;
            height: 56px;
            background: var(--light-blue);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            position: relative;
        }

        .term-card:hover .term-icon {
            background: var(--primary-blue);
            transform: scale(1.1);
        }

        .term-icon svg {
            width: 28px;
            height: 28px;
            color: var(--primary-blue);
            stroke-width: 2;
            transition: color 0.3s ease;
        }

        .term-card:hover .term-icon svg {
            color: white;
        }

        .term-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.3;
            color: var(--dark-text);
        }

        .term-description {
            font-size: 15px;
            color: var(--gray-text);
            line-height: 1.5;
            margin-bottom: 16px;
        }

        /* Database badges */
        .database-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .database-badge {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(0, 113, 227, 0.08);
            color: var(--primary-blue);
            font-size: 13px;
            font-weight: 600;
            border-radius: 20px;
            transition: all 0.2s ease;
            border: 1px solid rgba(0, 113, 227, 0.2);
        }

        .database-badge:hover {
            background: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
        }

        /* Compliance Section */
        .compliance-section {
            margin-bottom: 80px;
            padding: 60px;
            background: var(--light-gray);
            border-radius: 24px;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out 0.6s forwards;
        }

        .compliance-title {
            font-size: 24px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 50px;
            color: var(--dark-text);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .compliance-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .compliance-item {
            display: flex;
            gap: 20px;
            align-items: start;
        }

        .compliance-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-blue);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .compliance-icon svg {
            width: 20px;
            height: 20px;
            color: white;
            stroke-width: 3;
        }

        .compliance-content h4 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-text);
        }

        .compliance-content p {
            font-size: 14px;
            color: var(--gray-text);
            line-height: 1.6;
        }

        /* Stats CTA Section */
        .stats-cta {
            text-align: center;
            padding: 60px;
            background: var(--white);
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.8s forwards;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: clamp(36px, 5vw, 48px);
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 8px;
            letter-spacing: -1px;
        }

        .stat-label {
            font-size: 16px;
            color: var(--gray-text);
        }

        .cta-button {
            display: inline-block;
            background: var(--primary-blue);
            color: white;
            padding: 16px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 17px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 113, 227, 0.2);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 113, 227, 0.3);
            background: var(--dark-blue);
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .cooperation-section {
                padding: 60px 20px;
            }

            .section-header {
                margin-bottom: 40px;
            }

            .terms-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .term-card {
                padding: 24px;
            }

            .compliance-section {
                padding: 40px 20px;
                margin-bottom: 50px;
            }

            .compliance-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .stats-cta {
                padding: 40px 20px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }
		

  /* Chat Widget Styles */
        .chat-widget-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: #0071E3;
            border: none;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
            transition: all 0.3s ease;
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-widget-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(0, 113, 227, 0.4);
        }

        .chat-widget-button.hidden {
            transform: scale(0);
            opacity: 0;
            pointer-events: none;
        }

        .chat-widget-button svg {
            width: 28px;
            height: 28px;
        }

        /* Chat Modal */
        .chat-widget-modal {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 119999;
            display: flex;
            justify-content: flex-end;
        }

        .chat-widget-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .chat-widget-panel {
            width: 400px;
            height: 100vh;
            background: white;
            transform: translateX(100%);
            transition: transform 0.3s ease-out;
            display: flex;
            flex-direction: column;
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        }

        .chat-widget-modal.active .chat-widget-panel {
            transform: translateX(0);
        }

        .chat-widget-content {
            padding: 30px;
            overflow-y: auto;
            flex: 1;
        }

        .chat-widget-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 36px;
            height: 36px;
            background: #F5F5F7;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .chat-widget-close:hover {
            background: #E5E5E7;
            transform: rotate(90deg);
        }

        .chat-widget-close svg {
            width: 20px;
            height: 20px;
            color: #1D1D1F;
        }

        .chat-widget-content h3 {
            font-size: 20px;
            margin-bottom: 24px;
            line-height: 1.4;
            padding-right: 40px;
            color: #1D1D1F;
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
        }

        .chat-widget-form {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
        }

        .chat-widget-form .form-group {
            margin-bottom: 16px;
        }

        .chat-widget-form input,
        .chat-widget-form textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #E5E5E7;
            border-radius: 10px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.2s ease;
            background: #F5F5F7;
        }

        .chat-widget-form input:focus,
        .chat-widget-form textarea:focus {
            outline: none;
            border-color: #0071E3;
            background: white;
            box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
        }

        .chat-widget-form textarea {
            resize: vertical;
            min-height: 80px;
        }

        .chat-widget-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 20px 0;
        }

        .chat-widget-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            cursor: pointer;
            flex-shrink: 0;
        }

        .chat-widget-checkbox label {
            font-size: 14px;
            color: #86868B;
            cursor: pointer;
            line-height: 1.4;
        }

        .chat-widget-submit {
            width: 100%;
            padding: 14px 20px;
            background: #0071E3;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 24px;
            font-family: inherit;
        }

        .chat-widget-submit:hover {
            background: #0051D5;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
        }

        .chat-widget-submit:active {
            transform: translateY(0);
        }

        .chat-widget-submit svg {
            transition: transform 0.3s ease;
        }

        .chat-widget-submit:hover svg {
            transform: translateX(4px);
        }

        /* Success Message */
        .chat-widget-success {
            text-align: center;
            padding: 40px 20px;
        }

        .chat-widget-success svg {
            width: 64px;
            height: 64px;
            color: #34C759;
            margin-bottom: 16px;
        }

        .chat-widget-success h3 {
            font-size: 24px;
            margin-bottom: 8px;
            padding-right: 0;
        }

        .chat-widget-success p {
            color: #86868B;
            font-size: 16px;
        }

        /* Mobile adjustments */
        @media (max-width: 767px) {
            .chat-widget-button {
                bottom: 20px;
                right: 20px;
                width: 56px;
                height: 56px;
            }

            .chat-widget-panel {
                width: 100%;
            }

            .chat-widget-content {
                padding: 20px;
            }

            .chat-widget-content h3 {
                font-size: 18px;
            }
        }
		

        /* Clients Section */
        .clients-section {
            padding: 60px 20px;
            background: var(--light-gray);
            overflow: hidden;
        }

        .clients-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-label {
            display: inline-block;
            background: var(--light-blue);
            color: var(--primary-blue);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: clamp(24px, 4vw, 40px);
            font-weight: 700;
            color: var(--dark-text);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            font-size: clamp(16px, 2vw, 18px);
            color: var(--gray-text);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Slider Container */
        .slider-wrapper {
            position: relative;
            margin: 0 auto;
            max-width: 100%;
        }

        .slider-container {
            overflow: hidden;
            margin: 0 auto;
            position: relative;
        }

        .slider-track {
            display: flex;
            transition: transform 0.4s ease-in-out;
            will-change: transform;
        }

        .slide {
            flex: 0 0 100%;
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            align-items: center;
            justify-items: center;
        }

        /* Logo Cards - Mobile First */
        .logo-card {
            width: 100%;
            height: 100px;
            background: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .logo-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        /* Mock Logo Styles */
        .mock-logo {
            width: 100%;
            max-width: 120px;
            height: 40px;
            background: linear-gradient(135deg, #E0E4E8 0%, #D1D5DB 100%);
            border-radius: 6px;
            position: relative;
            overflow: hidden;
        }

        .mock-logo::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60%;
            height: 2px;
            background: rgba(0, 0, 0, 0.1);
        }

        .mock-logo::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 2px;
            height: 60%;
            background: rgba(0, 0, 0, 0.1);
        }

        /* Logo variations for visual diversity */
        .logo-card:nth-child(odd) .mock-logo {
            background: linear-gradient(135deg, #E8F2FF 0%, #D6E7FF 100%);
        }

        .logo-card:nth-child(3n) .mock-logo {
            width: 80%;
            height: 50px;
        }

        .logo-card:nth-child(4n) .mock-logo {
            border-radius: 50%;
            width: 60px;
            height: 60px;
        }

        /* Navigation Arrows - Hidden on Mobile */
        .slider-arrow {
            display: none;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: var(--white);
            border: 1px solid var(--light-gray);
            border-radius: 50%;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 2;
            box-shadow: var(--shadow-sm);
        }

        .slider-arrow:hover {
            background: var(--primary-blue);
            border-color: var(--primary-blue);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-arrow:hover svg {
            color: white;
        }

        .slider-arrow svg {
            width: 20px;
            height: 20px;
            color: var(--dark-text);
            transition: color 0.3s ease;
        }

        .slider-arrow.prev {
            left: 20px;
        }

        .slider-arrow.next {
            right: 20px;
        }

        /* Dots Navigation */
        .slider-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            padding: 0;
        }

        .dot.active {
            width: 24px;
            border-radius: 4px;
            background: var(--primary-blue);
        }

        .dot:hover:not(.active) {
            background: rgba(0, 0, 0, 0.4);
        }

        /* Touch indicators for mobile */
        @media (max-width: 768px) {
				.stat-item {
				display: block !important;
			}
			
            .slider-wrapper::after {
                content: '';
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 40px;
                height: 80%;
                background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05));
                pointer-events: none;
                opacity: 1;
                transition: opacity 0.3s ease;
            }

            .slider-wrapper.at-end::after {
                opacity: 0;
            }
        }

        /* Tablet - 3 logos per slide */
        @media (min-width: 768px) {
		
            .clients-section {
                padding: 80px 20px;
            }

            .section-header {
                margin-bottom: 60px;
            }

            .slide {
                grid-template-columns: repeat(3, 1fr);
                gap: 24px;
                padding: 30px;
            }

            .logo-card {
                height: 120px;
            }

            .mock-logo {
                max-width: 140px;
                height: 50px;
            }

            .slider-arrow {
                display: flex;
            }
        }

        /* Desktop - 4 logos per slide */
        @media (min-width: 1024px) {
            .clients-section {
                padding: 100px 20px;
            }

            .slide {
                grid-template-columns: repeat(4, 1fr);
                gap: 30px;
                padding: 40px;
            }

            .logo-card {
                height: 140px;
                border-radius: 16px;
            }

            .mock-logo {
                max-width: 160px;
                height: 60px;
            }
        }

        /* Large Desktop - 6 logos */
        @media (min-width: 1200px) {
            .slide {
                grid-template-columns: repeat(6, 1fr);
            }
        }

  


.subpage h1.wp-block-heading {
	font-size: 29px;
	font-weight: 500;
	line-height: 1;
	color: #0e49a5;
	letter-spacing: -0.9px;
	
}

.subpage h2 {
	font-size: 21px;
	font-weight: 500;
	line-height: 1;
	color: #348ad9;
}

.subpage p {
	margin: 20px 0px;
}

.subpage hr {
	margin: 10px 0px;
}

.subpage ul.wp-block-list {
	margin: 20px 0px;
}

.subpage ul.wp-block-list li{
	margin-left: 20px;
}


/*form styles*/

#msform input.wpcf7-submit { cursor:pointer; }

#msform fieldset {
  background: white;
  border: 0 none;
  box-sizing: border-box;
  width: 50%;
  position: relative;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}
/*inputs*/
#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 5px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Segoe UI';
  color: #2C3E50;
  font-size: 16px;
}
/*buttons*/
#msform .action-button {
 font-family: 'Segoe UI';
  background: rgb(228, 173, 13);
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 10px 0px;
  text-decoration: none;
  font-size: 27px;
  width: 250px;
  border-radius: 5px;
}
#msform .action-button:hover, #msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px rgb(228, 173, 113);
}
/*headings*/
.fs-title {
  font-size: 15px;
  text-transform: uppercase;
  color: #2C3E50;
  margin-bottom: 10px;
}
.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}
#progressbar li {
  list-style-type: none;
  color: white;
  text-transform: uppercase;
  font-size: 9px;
  width: 33.33%;
  float: left;
  position: relative;
}
#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  line-height: 20px;
  display: block;
  font-size: 10px;
  color: #333;
  background: white;
  border-radius: 3px;
  margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
  background: #27AE60;
  color: white;
}
