/* Site footer, shared by every page (the home page adds the "Lo studio" block) */

.footer-new {
    background-color: #123743;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links-section {
    flex: 2;
    display: flex;
    justify-content: space-around;
    min-width: 300px;
}

.footer-col h5 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #ccc;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-social-section {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
}

.footer-social-section a {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.footer-about {
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #dfe7ea;
}

/* !important: style.css enlarges every h2/h3 on phones with !important */
.footer-about h2,
.footer-about h3 {
    font-size: 0.75rem !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8fa5ad;
    margin: 0 0 1.25rem;
}

.footer-about h3 a {
    color: inherit;
    text-decoration: none;
}

.footer-about h3 a:hover {
    color: white;
}

.footer-about-intro {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.footer-about p.footer-about-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: white;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin: 0;
}

.footer-about-services {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 32px;
}

.footer-about-services li {
    font-size: 0.9rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    break-inside: avoid;
}

/* One continuous list (private, public, tenders, news) flowing through four
   balanced columns; each heading lands wherever its group starts. */
.footer-about-portfolio {
    columns: 4;
    column-gap: 40px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about-portfolio h3 {
    break-after: avoid;
}

.footer-about-portfolio > div + div h3 {
    margin-top: 30px;
}

.footer-about-portfolio ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-about-portfolio li {
    margin-bottom: 16px;
    break-inside: avoid;
}

.footer-about-portfolio li a {
    display: block;
    color: white;
    text-decoration: none;
}

.footer-about-title {
    display: block;
    font-size: 0.8rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-about-meta {
    display: block;
    margin-top: 3px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8fa5ad;
}

.footer-about-portfolio li a:hover .footer-about-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-about-news .footer-about-title {
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-about-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 44px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-about-contacts a {
    color: white;
    text-decoration: none;
}

.footer-about-contacts a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-about-contacts .icon {
    color: #8fa5ad;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .footer-about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about-portfolio {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .footer-about-portfolio {
        columns: 1;
    }

    .footer-about-services {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .footer-links-section {
        flex-direction: column;
        gap: 30px;
    }
}
