/* Основные стили для страницы "О нас" */

/* Цветовая палитра - зелёная гамма под брендинг Komstroy */
:root {
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-200: #bbf7d0;
    --primary-300: #86efac;
    --primary-400: #4ade80;
    --primary-500: #22c55e;
    --primary-600: #8bc34a;
    --primary-700: #689f38;
    --primary-800: #558b2f;
    --primary-900: #33691e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Базовые стили */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    margin: 0;
    padding: 0;
}

/* Утилиты */
.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 2rem;
    }
}

/* Градиенты */
.bg-gradient-to-b {
    background: linear-gradient(to bottom, var(--gray-50), white);
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--primary-600), var(--primary-800));
}

.bg-gradient-to-r {
    background: linear-gradient(to right, var(--primary-600), var(--primary-700));
}

/* Hero секция */
.about-hero {
    padding: 60px 0 60px !important;
    padding-top: 120px !important; /* Отступ под шапку на мобильных */
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%) !important;
}

@media (min-width: 768px) {
    .about-hero {
        padding-top: 80px !important;
    }
}

@media (min-width: 1024px) {
    .about-hero {
        padding-top: 60px !important;
    }
}

.about-hero h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.about-hero .text-primary-600 {
    color: #8bc34a !important;
}

.about-hero p {
    font-size: 1.25rem !important;
    color: #666 !important;
    margin-bottom: 2rem !important;
    line-height: 1.75 !important;
}

.about-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.about-hero .divider {
    width: 80px;
    height: 4px;
    background: #1976d2;
    margin: 0 auto;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .about-hero h1 {
        font-size: 3rem !important;
    }
    .about-hero p {
        font-size: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .about-hero h1 {
        font-size: 3.5rem !important;
    }
}

/* Статистика */
.about-stats {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%) !important;
    padding: 60px 0 !important;
    color: #fff !important;
}

.about-stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (min-width: 768px) {
    .about-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-stats-item {
    text-align: center;
}

.about-stats .stat-value {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {
    .about-stats .stat-value {
        font-size: 3.5rem !important;
    }
}

@media (min-width: 1024px) {
    .about-stats .stat-value {
        font-size: 4rem !important;
    }
}

.about-stats .stat-label {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
}

@media (min-width: 768px) {
    .about-stats .stat-label {
        font-size: 1.125rem !important;
    }
}

/* Контент */
.about-content {
    padding: 80px 0 !important;
    background: #fff !important;
}

.about-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content .content-card {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    padding: 40px !important;
    margin-bottom: 40px !important;
}

@media (min-width: 768px) {
    .about-content .content-card {
        padding: 50px !important;
    }
}

.about-content h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #333 !important;
    text-transform: uppercase !important;
}

.about-content p {
    font-size: 1.125rem !important;
    color: #555 !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
}

.about-content p:last-child {
    margin-bottom: 0 !important;
}

.about-content .highlight {
    color: #8bc34a !important;
    font-weight: 700 !important;
}

.about-content-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .about-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-content .feature-card {
    background: #f8fdf5 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    border-left: 4px solid #8bc34a !important;
}

.about-content .feature-card h3 {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
}

.about-content .feature-card .check-icon {
    color: #8bc34a !important;
    margin-right: 12px !important;
    font-size: 1.5rem !important;
}

.about-content .feature-card p {
    color: #666 !important;
    margin-bottom: 0 !important;
}

.about-content .cta-card {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    color: #fff !important;
}

.about-content .cta-card h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
}

.about-content .cta-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 15px !important;
}

.about-content .cta-card p:last-child {
    margin-bottom: 0 !important;
}

/* Преимущества */
.about-advantages {
    padding: 80px 0 !important;
    background: #fff !important;
}

.about-advantages-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-advantages .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-advantages .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-advantages .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.about-advantages-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-advantages .advantage-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #eee !important;
    transition: all 0.3s ease !important;
}

.about-advantages .advantage-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: #8bc34a !important;
}

.about-advantages .advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-advantages .advantage-icon svg {
    width: 36px !important;
    height: 36px !important;
    color: #689f38 !important;
}

.about-advantages .advantage-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #333 !important;
}

.about-advantages .advantage-card p {
    color: #666 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Процесс */
.about-process {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f5e9 100%) !important;
}

.about-process-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-process .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-process .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-process .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.about-process-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-process .process-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    padding-top: 40px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.about-process .process-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.about-process .process-number {
    position: absolute;
    top: -20px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
}

.about-process .process-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #333 !important;
}

.about-process .process-card p {
    color: #666 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Команда */
.about-team {
    padding: 80px 0 !important;
    background: #f5f7fa !important;
}

.about-team-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-team .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-team .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-team .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.about-team-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-team .team-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.about-team .team-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.about-team .team-avatar {
    width: 100px !important;
    height: 100px !important;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin: 0 auto 20px !important;
    transition: transform 0.3s ease !important;
}

.about-team .team-photo {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 20px !important;
    border: 4px solid #8bc34a !important;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.3) !important;
    transition: all 0.3s ease !important;
}

.about-team .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.about-team .team-card:hover .team-photo {
    border-color: #689f38 !important;
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.4) !important;
}

.about-team .team-card:hover .team-photo img {
    transform: scale(1.1) !important;
}

.about-team .team-card:hover .team-avatar {
    transform: scale(1.1) !important;
}

.about-team .team-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #333 !important;
}

.about-team .team-position {
    color: #8bc34a !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    font-size: 0.95rem !important;
}

.about-team .team-description {
    color: #666 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.about-team .team-email {
    display: inline-flex !important;
    align-items: center !important;
    color: #1976d2 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.about-team .team-email:hover {
    color: #0d47a1 !important;
}

.about-team .team-email svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
}

/* ============================================
   ГАЛЕРЕЯ БРИГАД
   ============================================ */
.about-gallery {
    padding: 80px 0 !important;
    background: #fff !important;
}

.about-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-gallery .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-gallery .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-gallery .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-gallery-grid .gallery-item-large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .about-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }
    
    .about-gallery-grid .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-large {
    aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
    .gallery-item-large {
        aspect-ratio: auto;
    }
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Placeholder для галереи */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.gallery-placeholder svg {
    width: 60px;
    height: 60px;
    color: #689f38;
    opacity: 0.7;
}

.gallery-item-large .gallery-placeholder svg {
    width: 80px;
    height: 80px;
}

.gallery-placeholder span {
    font-size: 1rem;
    color: #558b2f;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   СМИ О НАС
   ============================================ */
.about-media {
    padding: 80px 0 !important;
    background: #f5f7fa !important;
}

.about-media-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-media .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-media .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-media .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
}

.about-media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .about-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.media-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}

.media-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.media-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

/* Placeholder для медиа */
.media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-placeholder svg {
    width: 60px;
    height: 60px;
    color: #1976d2;
    opacity: 0.6;
}

.media-placeholder-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.media-placeholder-green svg {
    color: #689f38;
}

.media-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1976d2;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.media-badge-green {
    background: #8bc34a;
}

.media-content {
    padding: 25px;
}

.media-content h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.media-content p {
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.media-date {
    color: #999 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* ============================================
   СЕРТИФИКАТЫ
   ============================================ */
.about-certificates {
    padding: 80px 0 !important;
    background: #fff !important;
}

.about-certificates-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-certificates .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-certificates .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-certificates .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
}

.about-certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Мобильная версия - всё в одну колонку */
.certificate-main {
    display: block !important;
}

/* Галерея из двух фото */
.certificate-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
}

.certificate-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.certificate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-photo:hover img {
    transform: scale(1.02);
}

/* Первое фото (с людьми) - большое */
.certificate-photo:first-child {
    max-height: 300px;
}

/* Второе фото (сертификат) */
.certificate-photo:last-child {
    max-height: 250px;
}

@media (min-width: 768px) {
    .about-certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificate-main {
        grid-column: span 2;
        display: grid !important;
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
        align-items: stretch;
    }
    
    .certificate-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
        padding: 25px;
        height: 100%;
    }
    
    .certificate-photo:first-child,
    .certificate-photo:last-child {
        max-height: none;
        height: 100%;
    }
    
    .certificate-main .certificate-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px !important;
        text-align: left !important;
    }
}

@media (min-width: 1024px) {
    .certificate-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .certificate-gallery {
        grid-template-columns: 1.3fr 1fr;
        grid-template-rows: 1fr;
        align-items: stretch;
    }
    
    .certificate-photo:first-child {
        height: 350px;
    }
    
    .certificate-photo:last-child {
        height: 350px;
    }
}

.certificate-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #eee !important;
    transition: all 0.3s ease !important;
}

.certificate-card:hover {
    border-color: #8bc34a !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.certificate-main {
    border-color: #8bc34a !important;
    background: linear-gradient(135deg, #f8fdf5 0%, #fff 100%) !important;
}

.certificate-image {
    position: relative !important;
    min-height: 320px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
}

.certificate-main .certificate-image {
    border-radius: 12px !important;
    margin: 20px !important;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.02);
}

/* Placeholder для сертификатов */
.certificate-placeholder {
    width: calc(100% - 20px) !important;
    min-height: 300px !important;
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    border: 2px dashed #ccc !important;
    margin: 10px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.certificate-main .certificate-placeholder {
    margin: 20px !important;
    width: calc(100% - 40px) !important;
}

.certificate-placeholder svg {
    width: 50px !important;
    height: 50px !important;
    color: #8bc34a !important;
    opacity: 0.8 !important;
}

.certificate-main .certificate-placeholder svg {
    width: 70px !important;
    height: 70px !important;
}

.certificate-placeholder span {
    font-size: 0.9rem !important;
    color: #888 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.certificate-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(139, 195, 74, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.certificate-card:hover .certificate-zoom {
    opacity: 1;
}

.certificate-zoom svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.certificate-content {
    padding: 25px !important;
}

.certificate-main .certificate-content {
    padding: 25px !important;
    text-align: center !important;
}

@media (min-width: 768px) {
    .certificate-main .certificate-content {
        padding: 20px 30px 20px 0 !important;
        text-align: left !important;
    }
}

.certificate-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.certificate-content h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.certificate-main .certificate-content h3 {
    font-size: 1.5rem !important;
}

.certificate-content p {
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Гарантии */
.about-guarantee {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%) !important;
    color: #fff !important;
}

.about-guarantee-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.about-guarantee .section-icon {
    margin-bottom: 25px;
}

.about-guarantee .section-icon svg {
    width: 80px !important;
    height: 80px !important;
    color: #fff !important;
}

.about-guarantee h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 50px !important;
    color: #fff !important;
    text-transform: uppercase !important;
}

.about-guarantee-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-guarantee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-guarantee .guarantee-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.about-guarantee .guarantee-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-5px) !important;
}

.about-guarantee .guarantee-card .card-icon {
    margin-bottom: 20px;
}

.about-guarantee .guarantee-card .card-icon svg {
    width: 50px !important;
    height: 50px !important;
    color: #fff !important;
}

.about-guarantee .guarantee-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #fff !important;
}

.about-guarantee .guarantee-card p {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Утилиты */
.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

/* Форма */
.about-contact-form {
    padding: 80px 0 !important;
    background: #f5f7fa !important;
}

.about-contact-form-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-contact-form .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-contact-form .section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
}

.about-contact-form .section-header p {
    font-size: 1.125rem !important;
    color: #666 !important;
}

.about-contact-form .form-card {
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
}

@media (min-width: 768px) {
    .about-contact-form .form-card {
        padding: 50px !important;
    }
}

.about-contact-form .form-group {
    margin-bottom: 25px;
}

.about-contact-form label {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

.about-contact-form input,
.about-contact-form textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

.about-contact-form input:focus,
.about-contact-form textarea:focus {
    outline: none !important;
    border-color: #8bc34a !important;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.15) !important;
}

.about-contact-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.about-contact-form button {
    width: 100% !important;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%) !important;
    color: #fff !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.about-contact-form button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.5) !important;
}

.about-contact-form .form-note {
    font-size: 0.8rem !important;
    color: #999 !important;
    text-align: center !important;
    margin-top: 20px !important;
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-900 {
    color: var(--gray-900);
}

.w-24 {
    width: 6rem;
}

.h-1 {
    height: 0.25rem;
}

.bg-primary-600 {
    background-color: var(--primary-600);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: white;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}
/* Стили для диплома Сбербанка */
.certificate-sber {
    border-top: 4px solid #1A9F29;
}

.certificate-sber .certificate-photo {
    position: relative;
    /*height: 250px;*/
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
}

.certificate-sber .certificate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.certificate-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.certificate-zoom:hover {
    background: #1A9F29;
    transform: scale(1.1);
}

.certificate-zoom:hover svg {
    stroke: white;
}

.certificate-zoom svg {
    width: 18px;
    height: 18px;
}

.certificate-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.certificate-detail {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.4;
}

.certificate-detail strong {
    color: #333;
}
.sber {
    grid: none;
}