/* de-about-us.css — вынесено из inline <style> компонента view/de/about-us.php */
section {
    padding: 100px 0;
}

.section-subtitle {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #9A8A78;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h1, h2, h3, h4 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

img {
    max-width: 100%;
}

.about-hero {
    background-color: #0F1114;
    color: #fff;
    padding: 150px 0 100px;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/fleet-background.jpg');
    background-size: cover;
    background-position: center;
}

.about-hero h1 {
    color: #fff;
}

.about-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.about-subtitle {
    color: #9A8A78;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    display: block;
    margin-bottom: 1rem;
}

.about-journey {
    background-color: #fff;
    padding: 120px 0;
}

.journey-content {
    padding-right: 2rem;
}

.journey-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: #0F1114;
    color: #fff;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #9A8A78;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #9A8A78;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.milestone {
    display: flex;
    margin-top: 2rem;
    padding: 1.25rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.milestone-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9A8A78;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
    border-right: 2px solid rgba(154, 138, 120, 0.3);
    display: flex;
    align-items: center;
}

.milestone-content {
    flex: 1;
}

.milestone-content h4 {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.milestone-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-approach {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.approach-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.office-card .double-address {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.office-card .double-address li {
    color: inherit;
    margin-bottom: 8px;
    font-size: inherit;
    line-height: 1.4;
    padding: 0;
    text-align: left;
}

.office-card .double-address li:last-child {
    margin-bottom: 0;
}

.office-card .double-address li:not(:last-child)::after {
    content: '';
    display: block;
    width: 420px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

@media (max-width:767px) {
    .office-card .double-address li:not(:last-child)::after {
         content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
    }
}

.office-card .double-address li:first-child {
    font-weight: 500;
}

.office-card .double-address li:last-child {
    opacity: 0.85;
    font-weight: 400;
}


.approach-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(154, 138, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #9A8A78;
}

.approach-card h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.approach-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.about-global {
    background-color: #fff;
    padding: 120px 0;
}

.global-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.office-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.office-card.headquarters {
    border-left: 5px solid #9A8A78;
}

.office-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.office-card.headquarters .office-badge {
    background-color: #9A8A78;
    color: #fff;
}

.office-card h3 {
    margin-bottom: 1.25rem;
    font-weight: 600;
    padding-right: 100px;
}

.office-address {
    color: #6c757d;
    margin-bottom: 1rem;
    font-style: normal;
}

.office-manager {
    color: #9A8A78;
    font-weight: 500;
}

.office-description {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.global-map {
    height: 400px;
    background-image: url('/images/europe-map.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 17, 20, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-stats {
    display: flex;
    gap: 3rem;
}

.map-stat {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    min-width: 180px;
    border-left: 3px solid #9A8A78;
}

.map-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.map-stat .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.about-team {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-image {
    flex: 0 0 50%;
    overflow: hidden;
}

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

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

.team-info {
    flex: 0 0 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-position {
    color: #9A8A78;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.team-social {
    margin-top: auto;
}

.linkedin-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(154, 138, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9A8A78;
    transition: all 0.3s ease;
}

.linkedin-icon:hover {
    background-color: #9A8A78;
    color: #fff;
    transform: translateY(-3px);
}

.about-achievements {
    background-color: #fff;
    padding: 120px 0;
}

.achievements-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #9A8A78;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.achievements-image {
    position: relative;
}

.achievements-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(154, 138, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9A8A78;
}

.badge-text span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
}

.badge-text small {
    color: #6c757d;
    font-size: 0.8rem;
}

.about-promise {
    background-color: #0F1114;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.about-promise h2 {
    color: #fff;
}

.promise-text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.promise-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: #9A8A78;
    border-color: #9A8A78;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8a7b6c;
    border-color: #8a7b6c;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #9A8A78;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: rgba(154, 138, 120, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }

    .about-hero {
        padding: 120px 0 80px;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: -20px;
    }

    .journey-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .map-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .map-stat {
        min-width: 100px;
    }

    .team-card {
        height: auto;
        flex-direction: column;
    }

    .team-image, .team-info {
        flex: 0 0 100%;
    }

    .team-image {
        height: 250px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .about-hero {
        padding: 100px 0 60px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .milestone {
        flex-direction: column;
    }

    .milestone-year {
        border-right: none;
        border-bottom: 2px solid rgba(154, 138, 120, 0.3);
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .approach-card {
        margin-bottom: 1.5rem;
    }

    .global-map {
        height: 300px;
    }

    .map-overlay {
        padding: 1rem;
    }

    .office-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .office-card h3 {
        padding-right: 0;
    }
    
    .promise-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-content, .journey-image, 
.approach-card, .office-card, 
.team-card, .achievements-content, 
.achievements-image {
    animation: fadeIn 0.6s ease-out forwards;
}

.journey-image, .approach-card:nth-child(2), 
.office-card:nth-child(2), .team-card:nth-child(2),
.achievements-image {
    animation-delay: 0.2s;
}

.approach-card:nth-child(3), .office-card:nth-child(3),
.team-card:nth-child(3) {
    animation-delay: 0.4s;
}

.office-card:nth-child(4), .team-card:nth-child(4) {
    animation-delay: 0.6s;
}

.linkedin-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.linkedin-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.btn-primary, .btn-outline-primary {
    overflow: hidden;
    position: relative;
}

.btn-primary::after, .btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-primary:hover::after, .btn-outline-primary:hover::after {
    transform: translate(-50%, -50%) scale(15);
    opacity: 1;
}
