/* author.css - Стили для страницы "Об авторе" */

/* =========================== */
/* HERO SECTION */
/* =========================== */

.about-hero {
    padding: 4rem 1rem 5rem;
    background: linear-gradient(136deg, #4f46e5, #0d9488);
    background-image: linear-gradient(to right, #4f46e5, #9333ea, #0d9488);
}

.about-hero .hero-content {
    max-width: 1200px;
    text-align: center;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-icon {
    font-size: 3rem;
    color: #fbbf24;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.hero-heading {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem auto;
    max-width: 1000px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    color: #dbeafe;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* =========================== */
/* COMMON SECTION STYLES */
/* =========================== */

.section {
    padding: 4rem 1rem;
}

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

.section-white {
    background: #ffffff;
}

.section-light-purple {
    background: linear-gradient(to bottom right, #f8fafc, #dbeafe);
}

.section-indigo {
    background: linear-gradient(to bottom right, #eef2ff, #e0e7ff);
}

.section-gray {
    background: #f9fafb;
}

/* =========================== */
/* SECTION HEADERS */
/* =========================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 2rem;
    color: #4f46e5;
}

.section-icon-purple {
    font-size: 2rem;
    color: #7c3aed;
}

.section-icon-yellow {
    font-size: 2rem;
    color: #eab308;
}

.section-icon-indigo {
    font-size: 2rem;
    color: #4f46e5;
}

.section-icon-teal {
    font-size: 2rem;
    color: #14b8a6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 2rem;
}

.section-subtitle-purple {
    font-size: 1.5rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle-yellow {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ca8a04;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle-indigo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle-teal {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 2rem;
    text-align: center;
}

/* =========================== */
/* TWO COLUMN LAYOUT */
/* =========================== */

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.col-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    max-width: 56rem;
}

.col-text p {
    margin-bottom: 1.5rem;
}

.col-text strong {
    color: #7c3aed;
    font-weight: 600;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.image-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-badge i {
    font-size: 1.5rem;
    color: white;
}

.image-badge-yellow {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-badge-yellow i {
    font-size: 1.5rem;
    color: white;
}

/* =========================== */
/* QUOTE BOXES */
/* =========================== */

.quote-box {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-left: 6px solid #3b82f6;
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.quote-box blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.quote-yellow {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 6px solid #eab308;
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.quote-yellow blockquote {
    font-size: 1.25rem;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* =========================== */
/* CONTENT CARDS */
/* =========================== */

.content-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.center-text {
    text-align: center;
    margin-bottom: 2rem;
}

.center-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.center-text strong {
    color: #7c3aed;
    font-weight: 600;
}

/* =========================== */
/* METHOD CARDS */
/* =========================== */

.method-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.method-card {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.card-blue {
    background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
}

.card-purple {
    background: linear-gradient(to bottom right, #f3e8ff, #e9d5ff);
}

.card-teal {
    background: linear-gradient(to bottom right, #ccfbf1, #99f6e4);
}

.card-icon-blue {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.card-icon-purple {
    font-size: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.card-icon-teal {
    font-size: 3rem;
    color: #14b8a6;
    margin-bottom: 1rem;
}

.method-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.method-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* =========================== */
/* RESULT CARDS */
/* =========================== */

.result-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 2rem 0 1.5rem;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.result-card {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid transparent;
}

.card-green {
    background: linear-gradient(to bottom right, #d1fae5, #a7f3d0);
    border-color: #6ee7b7;
}

.card-blue-light {
    background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
    border-color: #93c5fd;
}

.card-violet {
    background: linear-gradient(to bottom right, #ede9fe, #ddd6fe);
    border-color: #c4b5fd;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-green .result-icon {
    color: #10b981;
}

.card-blue-light .result-icon {
    color: #3b82f6;
}

.card-violet .result-icon {
    color: #7c3aed;
}

.result-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.result-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* =========================== */
/* PHILOSOPHY SECTION */
/* =========================== */

.philosophy-content {
    margin: 0 auto;
}

.philosophy-card {
    background: linear-gradient(to bottom right, #ccfbf1, #99f6e4);
    border-radius: 1.5rem;
    padding: 2.5rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-white-box {
    background: linear-gradient(to bottom right, #ccfbf1, #99f6e4);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    border: 1px solid #99f6e4;
    margin-top: 2rem;
}

.quote-white-box blockquote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* =========================== */
/* MISSION SECTION */
/* =========================== */

.mission-gradient {
    background: linear-gradient(to right, #4f46e5, #7c3aed, #14b8a6);
    color: white;
}

.mission-icon {
    font-size: 3rem;
    color: #fbbf24;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.mission-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fde68a;
    margin-bottom: 2rem;
    text-align: center;
}

.mission-content {
    max-width: 1100px;
    margin: 0 auto;
}

.mission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission-card strong {
    color: #fde68a;
}

.mission-quote {
    background: #fbbf24;
    color: #1f2937;
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    margin-top: 2rem;
}

.mission-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* =========================== */
/* CONTACTS SECTION */
/* =========================== */

.contacts-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

.green-gradient {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.cyan-gradient {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.purple-gradient {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.contact-icon-box i {
    font-size: 1.25rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* =========================== */
/* CTA SECTION */
/* =========================== */

.cta-gradient {
    background: linear-gradient(to right, #4f46e5, #7c3aed, #14b8a6);
    padding: 4rem 1rem;
}

.cta-container {
    max-width: 1100px;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #4f46e5;
}

/* =========================== */
/* RESPONSIVE */
/* =========================== */

/* Mobile menu styles - consistent with main page */
@media (max-width: 1300px) {
    .mobile-menu-button {
        display: block !important;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        color: #374151;
        position: relative;
    }

    .nav-links-container {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
        padding-top: 6rem;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-links-container.active {
        display: block;
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        color: #374151;
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #4f46e5;
        font-weight: 700;
        border-bottom-color: #4f46e5;
    }

    .nav-links .btn-outline {
        background-color: transparent;
        color: #4f46e5;
        border: 2px solid #4f46e5;
        padding: 0.6rem 1.8rem;
        margin-top: 1rem;
    }

    .nav-links .btn-outline:hover {
        background-color: #4f46e5;
        color: #ffffff;
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .method-cards,
    .result-cards {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .section-title,
    .section-title-center,
    .mission-title {
        font-size: 2rem;
    }

    .col-image {
        order: -1;
        max-width: 568px;
    }

    .content-card {
        max-width: 56rem;
    }

    /* Fix for quote-yellow on tablets */
    .quote-yellow {
        max-width: 56rem;
        margin: 2rem auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .about-hero {
        padding: 3rem 1rem 4rem;
    }

    .hero-title-wrapper {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-heading {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title,
    .section-title-center,
    .mission-title {
        font-size: 1.75rem;
    }

    .section-subtitle,
    .section-subtitle-purple,
    .section-subtitle-yellow,
    .section-subtitle-indigo,
    .section-subtitle-teal,
    .mission-subtitle {
        font-size: 1.25rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .content-card {
        padding: 1.5rem;
    }

    .philosophy-card,
    .mission-card {
        padding: 1.5rem 1.25rem;
    }

    .quote-box,
    .quote-yellow,
    .quote-white-box,
    .mission-quote {
        padding: 1.25rem 1.5rem;
    }

    .quote-box blockquote,
    .quote-yellow blockquote,
    .quote-white-box blockquote,
    .mission-quote blockquote {
        font-size: 1.1rem;
    }

}

/* Additional mobile optimizations */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-heading {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title,
    .section-title-center,
    .mission-title {
        font-size: 1.5rem;
    }

    .section-subtitle,
    .section-subtitle-purple,
    .section-subtitle-yellow,
    .section-subtitle-indigo,
    .section-subtitle-teal,
    .mission-subtitle {
        font-size: 1.1rem;
    }

    .content-card {
        padding: 1rem;
    }

    .philosophy-card,
    .mission-card {
        padding: 1rem;
    }

    .quote-box,
    .quote-yellow,
    .quote-white-box,
    .mission-quote {
        padding: 1rem;
    }

    .quote-box blockquote,
    .quote-yellow blockquote,
    .quote-white-box blockquote,
    .mission-quote blockquote {
        font-size: 1rem;
    }

    .method-cards,
    .result-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .method-card,
    .result-card {
        padding: 1.5rem 1rem;
    }

    .image-wrapper img {
        max-width: 100%;
        border-radius: 0.5rem;
    }

    .image-badge {
        width: 3rem;
        height: 3rem;
    }

    .image-badge i {
        font-size: 1.2rem;
    }

    .section-header,
    .section-header-center {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .col-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Fix for quote-yellow on small mobile */
    .quote-yellow {
        margin: 1.5rem 0;
        padding: 1rem;
    }
}

/* Extra small screens optimization */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.25rem;
    }

    .hero-heading {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .section-title,
    .section-title-center,
    .mission-title {
        font-size: 1.25rem;
    }

    .section-subtitle,
    .section-subtitle-purple,
    .section-subtitle-yellow,
    .section-subtitle-indigo,
    .section-subtitle-teal,
    .mission-subtitle {
        font-size: 1rem;
    }

    .content-card,
    .philosophy-card,
    .mission-card {
        padding: 0.75rem;
    }

    .method-card,
    .result-card {
        padding: 1rem 0.75rem;
    }

    .quote-box,
    .quote-yellow,
    .quote-white-box,
    .mission-quote {
        padding: 0.75rem;
    }

    .quote-box blockquote,
    .quote-yellow blockquote,
    .quote-white-box blockquote,
    .mission-quote blockquote {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .image-badge {
        width: 2.5rem;
        height: 2.5rem;
        top: -0.5rem;
        right: -0.5rem;
    }

    .image-badge i {
        font-size: 1rem;
    }

    .image-badge-yellow {
        width: 2.5rem;
        height: 2.5rem;
        bottom: -0.5rem;
        left: -0.5rem;
    }

    .image-badge-yellow i {
        font-size: 1rem;
    }

    /* Fix for quote-yellow on extra small screens */
    .quote-yellow {
        margin: 1rem 0.5rem;
        padding: 0.75rem;
    }
}