/* Основные стили */
:root {
    --primary-color: #0056b3;
    --secondary-color: #2d3e50;
    --accent-color: #00c16e;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-main: 'Roboto', 'Arial', sans-serif;
    --font-heading: 'Montserrat', 'Arial', sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #004494;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Шапка */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero секция */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url(https://source.unsplash.com/random/1200x600/?finance);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Секция преимуществ */
.advantages {
    padding: 5rem 2rem;
    background-color: white;
    text-align: center;
}

.advantages h2 {
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.advantage-item {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.advantage-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Статистика */
.statistics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Call to Action блок */
.cta-block {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
}

.cta-block h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Секция о продуктах */
.about-products {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.about-products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Секция с товарами */
.products {
    padding: 5rem 2rem;
    background-color: white;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    background-color: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-meta {
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.risk {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.risk.low {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.risk.medium {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.risk.high {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.risk.medium-low {
    background-color: rgba(40, 167, 69, 0.05);
    color: #38b05a;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.btn-details, .btn-add-to-cart {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.btn-details {
    background-color: var(--light-gray);
    color: var(--dark-color);
    border: none;
}

.btn-details:hover {
    background-color: var(--border-color);
}

.btn-add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-add-to-cart:hover {
    background-color: #004494;
}

/* Страница товара */
.product-detail {
    padding: 4rem 2rem;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail-info h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.product-detail-info .product-meta {
    margin-bottom: 1.5rem;
}

.product-detail-info .product-price {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.product-detail-info .product-description {
    margin-bottom: 2rem;
}

.product-detail-info .product-actions {
    display: flex;
    gap: 1rem;
}

.product-detail-info .btn-add-to-cart, 
.product-detail-info .btn-buy-now {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    border: none;
    font-size: 1rem;
}

.product-detail-info .btn-add-to-cart {
    background-color: var(--primary-color);
    color: white;
}

.product-detail-info .btn-add-to-cart:hover {
    background-color: #004494;
}

.product-detail-info .btn-buy-now {
    background-color: var(--success-color);
    color: white;
}

.product-detail-info .btn-buy-now:hover {
    background-color: #218838;
}

/* Табы на странице товара */
.product-tabs {
    margin-bottom: 3rem;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Состав портфеля */
.portfolio-composition {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.composition-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.composition-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    text-align: center;
}

.composition-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.composition-details p {
    color: var(--gray-color);
}

/* Преимущества на странице товара */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* О нас страница */
.about-hero {
    background: linear-gradient(rgba(45, 62, 80, 0.8), rgba(45, 62, 80, 0.8)), url(https://source.unsplash.com/random/1200x600/?team);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-story {
    padding: 5rem 0;
    background-color: white;
}

.about-story h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.team {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-member .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.team-member .social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-member .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.credentials {
    padding: 5rem 0;
    background-color: white;
}

.credentials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.credentials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.credential-item {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.credential-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.credential-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.credential-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.credential-content p {
    color: var(--gray-color);
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url(https://source.unsplash.com/random/1200x600/?finance);
    background-size: cover;
    background-position: center;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-content .btn-primary:hover {
    background-color: var(--light-gray);
}

/* Контакты страница */
.contact-hero {
    background: linear-gradient(rgba(45, 62, 80, 0.8), rgba(45, 62, 80, 0.8)), url(https://source.unsplash.com/random/1200x600/?contact);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    padding: 5rem 0;
    background-color: white;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-details h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-text p, .contact-text a {
    color: var(--gray-color);
}

.working-hours {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.working-hours h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.working-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.working-hours ul li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.working-hours ul li:last-child {
    border-bottom: none;
}

.working-hours ul li span:first-child {
    font-weight: 600;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: #004494;
}

.faq {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Корзина страница */
.cart-section {
    padding: 4rem 0;
}

.cart-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.cart-empty p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.cart-content {
    display: none;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.item-price, .item-total {
    font-weight: 600;
    color: var(--primary-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.25rem;
}

.quantity-input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border-color);
    margin: 0 0.5rem;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
}

.cart-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.cart-totals {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-totals h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.totals-row.total {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    padding: 1.5rem 0 1rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    margin: 1.5rem 0 1rem;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.continue-shopping {
    display: block;
    width: 100%;
    text-align: center;
}

.cart-notice {
    background-color: rgba(255, 193, 7, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
}

.cart-notice h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cart-notice p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cart-notice p:last-child {
    margin-bottom: 0;
}

.similar-products {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.similar-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.similar-products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.similar-product {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.similar-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.similar-product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.similar-product-name {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.similar-product-price {
    padding: 0 1rem 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.similar-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

/* Оформление заказа страница */
.checkout-section {
    padding: 4rem 0;
}

.checkout-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.checkout-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.checkout-form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checkout-form-container h2 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkout-summary {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-self: start;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.order-item-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.order-item-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.order-totals {
    margin-bottom: 2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.total-row.total {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    border-bottom: none;
    padding: 1.5rem 0 0.5rem;
}

.checkout-info {
    background-color: rgba(0, 86, 179, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.checkout-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.checkout-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.checkout-info p:last-child {
    margin-bottom: 0;
}

/* Успешный заказ страница */
.success-section {
    padding: 5rem 0;
    background-color: white;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    color: var(--success-color);
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--success-color);
}

.success-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.success-details {
    text-align: left;
    margin-bottom: 3rem;
}

.success-details h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    counter-reset: step-counter;
}

.next-steps li {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
    position: relative;
}

.step-icon:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-color);
}

.success-education {
    text-align: left;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.success-education h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.education-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.education-link {
    display: block;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.education-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.success-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Футер */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul li a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-column address {
    font-style: normal;
    opacity: 0.8;
}

.footer-column address p {
    margin-bottom: 0.75rem;
}

.footer-column address a {
    color: white;
}

.footer-column address a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 2rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

.registration-number {
    opacity: 0.6;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.accept:hover {
    background-color: #218838;
}

.btn-cookie.customize {
    background-color: var(--primary-color);
    color: white;
}

.btn-cookie.customize:hover {
    background-color: #004494;
}

.btn-cookie.decline {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.btn-cookie.decline:hover {
    background-color: var(--border-color);
}

.cookie-policy {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    .about-story-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Полупрозрачные блоки */
.advantage-item, 
.credential-item, 
.contact-method, 
.cart-notice,
.checkout-info,
.success-education {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* Изменение порядка: сначала картинка, затем текст */
.about-story-content {
    flex-direction: column-reverse;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card .product-image {
    order: 1;
}

.product-card .product-info {
    order: 2;
}

.team-member {
    display: flex;
    flex-direction: column;
}

.team-member img {
    order: 1;
}

.team-member h3,
.team-member p,
.team-member .social-icons {
    order: 2;
}

.order-item {
    display: flex;
    flex-direction: row;
}

.order-item-image {
    order: 1;
}

.order-item-details {
    order: 2;
}
