body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background: #f8f9fa;
}
header {
    background: #1d5d9b;
    color: white;
    text-align: center;
    padding: 2px;
}
.preheader{
    margin: 2em 0;
}

.preheader-address{
    display: flex;
    justify-content: center;
}

.arrow {
    width: 25px;
    height: auto;
    margin-bottom: 10px;
    fill: #1d5d9b;  /* Заливает фигуру цветом */
    stroke: #1d5d9b; /* Если линии */
}

header h1 {
    margin: 0;
    font-size: 2rem;
}
header p {
    margin-top: 0.5rem;
    font-size: 1.4rem;
}
.subtitle {
    margin: 1em;
    font-size: 1.6em;
    font-weight: bold;
}
main {
    padding: 0 2rem;
    max-width: 800px;
    margin: auto;
}
section {
    margin-bottom: 2rem;
}
.cta {
    display: block;
    text-align: center;
    margin: 2rem 0;
}
.cta a {
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s;
}
.cta a:hover {
    background: #218838;
}
footer {
    background: #333;
    color: #eee;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}
h2 {
    text-align: center;
    color: #1d5d9b;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #D3231D;
}

.container {
    margin-top: 1em;
}
.logo {
    width: 100px;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 2em;
}
.lang-switch {
    text-align: center;
    margin-top: 1rem;
}
.lang-switch span {
    font-weight: bold;
    margin-right: 0.5rem;
    color: #1d5d9b;
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

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

.services div {
    text-align: center;
    width: 25%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.services div svg.image {
    width: 30%;
    height: auto;
    margin-bottom: 10px;
    color: #1d5d9b;
}

.services div span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.btn {
    display: inline-block;
    width: 30%;
    height: 25px;
    padding: 10px 20px;
    background-color: #D3231DFF;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.advantages {
    background-color: #f8f9fa;
}
.preheader-numbers{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem;
}
.preheader-numbers p a{
    color:whitesmoke;
}
.preheader-numbers p a img{
    width: 20px;
    filter: invert(32%) sepia(62%) saturate(1927%) hue-rotate(337deg) brightness(78%) contrast(117%);
}
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.advantage-icon {
    width: 60px;
    height: 60px;
    color: #1d5d9b;
    margin-bottom: 1rem;
}

.advantage-item span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.btn:hover {
    background-color: #b31e18;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 35, 29, 0.4);
}

.btn-group {
    display: flex;
    justify-content: center;
    margin-top: -2em;
    gap: 15px;
}

@media (max-width: 768px) {
    .header{
        flex-direction: column;
    }
    .services div {
        width: 40%;
    }
    .preheader-numbers {
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .services div {
        width: 100%;
    }
    .preheader-numbers {
        gap: 0;
    }
}

