/* Стили для страницы "О компании" */

.about-page {
    max-width: 1000px;
    padding-top: 40px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    line-height: 1.6;
}

.about-hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 50px;
}

.about-hero__motto {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-hero__subtitle {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

.about-hero__description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #495057;
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.advantage-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advantage-card__icon {
    width: 60px;
    height: 60px;
    background-color: #e3f2fd;
    color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.advantage-card__title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.advantage-card__text {
    color: #6c757d;
    margin: 0;
}

.about-content {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.about-content__title {
    font-size: 2em;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.about-content__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #495057;
}

.about-values {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.about-values__title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.about-values__text {
    font-size: 1.05em;
    color: #495057;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-details {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.company-details__title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.company-details__title i {
    margin-right: 10px;
    color: #007bff;
}

.company-details__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.company-details__group h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #495057;
    font-size: 1.1em;
}

.company-details__group p {
    margin: 5px 0;
    color: #6c757d;
}

.company-details__group strong {
    color: #333;
}

.contact-form-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.contact-form-section__title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

.contact-form-section__text {
    font-size: 1.05em;
    color: #6c757d;
    margin-bottom: 25px;
}

.contact-form-wrapper {
    margin: 0 auto;
    text-align: left;
}

.contact-form-placeholder {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px dashed #dee2e6;
}

/* Стили для Contact Form 7 */
.contact-form-section .wpcf7 {
    margin: 0;
}

.contact-form-section .wpcf7-form {
    display: flex;
    flex-direction: column;
}

.contact-form-section .cf7-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-section .cf7-form-row--half {
    flex-direction: row;
    gap: 20px;
}

.contact-form-section .cf7-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-section .cf7-form-row label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.contact-form-section .cf7-input,
.contact-form-section .cf7-textarea {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.contact-form-section .cf7-input:focus,
.contact-form-section .cf7-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form-section .cf7-textarea {
    resize: vertical;
    min-height: 100px;
    width: 100%;
}

.contact-form-section .cf7-checkbox {
    margin-right: 8px;
}

.contact-form-section .cf7-form-row:has(.cf7-checkbox) {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.contact-form-section .cf7-form-row:has(.cf7-checkbox) a {
    color: #007bff;
    text-decoration: none;
}

.contact-form-section .cf7-form-row:has(.cf7-checkbox) a:hover {
    text-decoration: underline;
}

.contact-form-section .cf7-form-submit {
    align-items: center;
    margin-top: 10px;
}

.contact-form-section .cf7-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.contact-form-section .cf7-submit:hover {
    background: #0056b3;
}

.contact-form-section .cf7-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Сообщения об ошибках и успехе */
.contact-form-section .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.contact-form-section .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
}

.contact-form-section .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-form-section .cf7-form-row--half {
        flex-direction: column;
        gap: 20px;
    }
}

.entry-title {
    text-align: center;
    margin-bottom: 40px;
}