* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pontano Sans', sans-serif;
    background-color: #f9f7f2;
    color: #1F0735;
    font-size: 1rem; /* Базовый размер шрифта */
}

header {
    position: fixed;
    height: 6.25rem; /* 100px */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #A8E551;
    display: flex;
    align-items: center;
    font-family: Poppins, sans-serif;
    padding: 0 2.5rem; /* 40px */
    z-index: 15;
}

header .logo {
    position: absolute;
}

header .logo a {
    display: inline-block; /* Чтобы ссылка правильно оборачивала изображение */
}

header .logo img {
    width: 15.625rem; /* 250px */
    padding-left: 9.375rem; /* 150px */
    z-index: 10;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 7rem; /* 50px */
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #1F0735;
    font-size: 1rem; /* 16px */
}

nav ul li a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25rem; /* 4px */
    text-decoration-color: #1F0735;
}

.header-button {
    position: absolute;
    right: 5rem; /* 40px */
}

.header-button .button {
    display: inline-block;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    background-color: #7EB033;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 1rem; /* 4px */
    font-size: 1rem;
    transition: background-color 0.3s;
}

.header-button .button:hover {
     background: #6DAF50;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
 

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px;
}

.contact-section {
    margin-bottom: 60px;
}

.contact-group {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-group h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1F0735;
}

.contact-group p {
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.email-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1F0735;
    text-decoration: none;
}

.phone-icon {
    width: 24px;
    height: 24px;
}

.arrow-text {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f15a22;
    white-space: nowrap;
}

.arrow-icon {
    width: 50px;
    height: 50px;
}

.email-button {
    background-color: #C1EC80;
    color: #1F0735;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.email-button:hover {
    background-color: #6DAF50;
}

.address-section {
    display: flex;
    gap: 40px;
    margin-top: 100px;
}

.address-info {
    flex: 1;
}

.address-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1F0735;
}

.address-info p {
    margin-bottom: 15px;
}

.address-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.address-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

.email-link {
    color: #1F0735;
    text-decoration: none;
    transition: color 0.3s;
}

.email-link:hover {
    color: #7EB033;
    text-decoration: underline;
}

.messengers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1F0735;
    text-decoration: none;
    transition: all 0.3s;
}

.messenger-link:hover {
    color: #7EB033;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.messenger-link span {
    font-size: 16px;
}

footer {
    background-color: #7FC263;
    height: 14rem; /* 250px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Poppins, sans-serif;
    margin-top: auto; /* Прижимает футер к низу */
}

footer .logo img {
    width: 18.75rem; /* 300px */
    padding-left: 11.875rem; /* 190px */
}

footer nav {
    justify-content: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 6.25rem; /* 100px */
}

footer nav ul li {
    display: inline-block;
}

footer nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem; /* 16px */
    font-family: Poppins, sans-serif;
}

footer .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem; /* 20px */
    padding-right: 11.875rem; /* 190px */
}

footer .social-icons a img {
    width: 2.5rem; /* 40px */
    height: auto;
}

footer .social-icons a:hover img {
    transform: scale(1.1);
}

/* Скрываем мобильное меню на десктопе */
.mobile-menu-btn,
.mobile-menu {
    display: none;
}