
/* =====================================================
   SOGECO - PAGINA DOVE SIAMO
   ===================================================== */

.sogeco-location-page {
    --location-green: #17494b;
    --location-green-dark: #103b3d;
    --location-gold: #b99a61;
    --location-gold-light: #d7bd87;
    --location-text: #35464a;
    --location-muted: #6e7b77;
    --location-border: #e7ebe5;
    color: var(--location-text);
    margin-bottom: 35px;
}

.sogeco-location-page *,
.sogeco-location-page *::before,
.sogeco-location-page *::after {
    box-sizing: border-box;
}

/* Tipografia */

.sogeco-location-page h1,
.sogeco-location-page h2,
.sogeco-location-page p {
    overflow-wrap: anywhere;
}

.sogeco-location-page h1,
.sogeco-location-page h2 {
    color: var(--location-green);
    font-weight: 700;
    line-height: 1.35;
}

.sogeco-location-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--location-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

.sogeco-location-title-line {
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 15px;
    background: var(--location-gold);
}

/* Hero */

.sogeco-location-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 38px;
    padding: 54px 38px;
    border-radius: 4px;
    background: linear-gradient(120deg, #103b3d 0%, #17494b 65%, #205759 100%);
    color: #fff;
}

.sogeco-location-hero::after {
    position: absolute;
    top: -90px;
    right: -45px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(215, 189, 135, .20);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.sogeco-location-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.sogeco-location-hero .sogeco-location-eyebrow {
    color: var(--location-gold-light);
}

.sogeco-location-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 38px;
    letter-spacing: -.5px;
}

.sogeco-location-hero .sogeco-location-title-line {
    margin-top: 17px;
}

.sogeco-location-hero-inner > p {
    max-width: 700px;
    margin: 20px 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.9;
}

.sogeco-location-hero-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.sogeco-location-hero-address i {
    color: var(--location-gold-light);
    font-size: 19px;
}

/* Intestazione sezione */

.sogeco-location-section-heading {
    margin-bottom: 25px;
}

.sogeco-location-section-heading h2,
.sogeco-location-contact-card h2 {
    margin: 0;
    font-size: 25px;
}

.sogeco-location-section-heading > p {
    margin: 14px 0 0;
    color: var(--location-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Griglia mappa + recapiti */

.sogeco-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 25px;
    align-items: stretch;
}

.sogeco-location-map-card,
.sogeco-location-contact-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--location-border);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 63, 67, .045);
}

/* Mappa */

.sogeco-location-map {
    position: relative;
    height: 390px;
    background: #f3f5f1;
}

.sogeco-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.sogeco-location-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 21px;
}

.sogeco-location-map-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sogeco-location-map-icon {
    display: flex;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f2e9;
    color: var(--location-gold);
    font-size: 19px;
}

.sogeco-location-map-caption strong {
    display: block;
    margin-bottom: 5px;
    color: var(--location-green);
    font-size: 13px;
    line-height: 1.5;
}

.sogeco-location-map-caption p {
    margin: 0;
    color: var(--location-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* Recapiti */

.sogeco-location-contact-card {
    padding: 27px 24px;
}

.sogeco-location-contact-card .sogeco-location-title-line {
    margin-bottom: 12px;
}

.sogeco-location-contact-list {
    display: flex;
    flex-direction: column;
}

.sogeco-location-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px 0;
    border-bottom: 1px solid #edf0eb;
}

.sogeco-location-contact-icon {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f2e9;
    color: var(--location-gold);
    font-size: 17px;
}

.sogeco-location-contact-item > div {
    min-width: 0;
}

.sogeco-location-contact-label {
    display: block;
    margin-bottom: 5px;
    color: #89928e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
}

.sogeco-location-contact-item p {
    margin: 0;
    color: var(--location-text);
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.sogeco-location-contact-item a {
    color: var(--location-green);
    text-decoration: none;
}

.sogeco-location-contact-item a:hover {
    color: var(--location-gold);
}

.sogeco-location-contact-item .sogeco-location-small-link {
    display: inline-block;
    margin-top: 4px;
    color: var(--location-gold);
    font-size: 11px;
    font-weight: 700;
}

.sogeco-location-button,
.sogeco-location-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid var(--location-green);
    border-radius: 3px;
    background: var(--location-green);
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease;
}

.sogeco-location-button:hover,
.sogeco-location-button:focus,
.sogeco-location-secondary-button:hover,
.sogeco-location-secondary-button:focus {
    border-color: var(--location-gold);
    background: var(--location-green-dark);
    color: #fff !important;
}

.sogeco-location-button i,
.sogeco-location-secondary-button i {
    color: var(--location-gold-light);
}

.sogeco-location-secondary-button {
    display: flex;
    width: 100%;
    margin-top: 23px;
}

/* Presentazione agenzia */

.sogeco-location-about {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr);
    gap: 42px;
    align-items: center;
    margin-top: 40px;
    padding: 32px;
    border: 1px solid var(--location-border);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 63, 67, .035);
}

.sogeco-location-about-photo {
    min-width: 0;
}

.sogeco-location-about-photo img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.sogeco-location-about-content {
    min-width: 0;
}

.sogeco-location-about-content h2 {
    max-width: 560px;
    margin: 0;
    font-size: 27px;
}

.sogeco-location-about-content > p {
    margin: 18px 0 0;
    color: var(--location-muted);
    font-size: 14px;
    line-height: 1.9;
}

.sogeco-location-slogan {
    display: block;
    margin-top: 20px;
    color: var(--location-gold);
    font-size: 14px;
    line-height: 1.7;
}

.sogeco-location-about-button {
    margin-top: 22px;
}

/* CTA finale */

.sogeco-location-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
    padding: 30px 32px;
    border-radius: 4px;
    background: var(--location-green);
    color: #fff;
}

.sogeco-location-cta > div > span {
    color: var(--location-gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.7;
}

.sogeco-location-cta h2 {
    margin: 8px 0;
    color: #fff;
    font-size: 23px;
}

.sogeco-location-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    line-height: 1.8;
}

.sogeco-location-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid var(--location-gold);
    border-radius: 3px;
    background: var(--location-gold);
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease;
}

.sogeco-location-cta-button:hover,
.sogeco-location-cta-button:focus {
    background: #987a43;
    color: #fff !important;
}

.sogeco-location-cta-button i {
    color: #fff;
}

/* Tablet */

@media (max-width: 991px) {
    .sogeco-location-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
        gap: 18px;
    }

    .sogeco-location-contact-card {
        padding: 22px 18px;
    }

    .sogeco-location-map {
        height: 350px;
    }

    .sogeco-location-map-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sogeco-location-about {
        gap: 28px;
        padding: 25px;
    }

    .sogeco-location-about-content h2 {
        font-size: 24px;
    }
}

/* Smartphone e tablet stretti */

@media (max-width: 767px) {
    .sogeco-location-page {
        margin-bottom: 25px;
    }

    .sogeco-location-hero {
        margin-bottom: 28px;
        padding: 36px 22px;
    }

    .sogeco-location-hero h1 {
        font-size: 31px;
    }

    .sogeco-location-hero-inner > p {
        font-size: 14px;
    }

    .sogeco-location-section-heading h2,
    .sogeco-location-contact-card h2 {
        font-size: 22px;
    }

    .sogeco-location-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sogeco-location-map {
        height: 320px;
    }

    .sogeco-location-map-footer {
        padding: 17px;
    }

    .sogeco-location-button {
        width: 100%;
    }

    .sogeco-location-contact-card {
        padding: 23px 19px;
    }

    .sogeco-location-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 25px;
        padding: 20px;
    }

    .sogeco-location-about-photo img {
        max-height: 340px;
        object-position: center 35%;
    }

    .sogeco-location-about-content h2 {
        font-size: 23px;
    }

    .sogeco-location-about-content > p {
        font-size: 13px;
    }

    .sogeco-location-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-top: 22px;
        padding: 25px 20px;
    }

    .sogeco-location-cta h2 {
        font-size: 21px;
    }

    .sogeco-location-cta-button {
        width: 100%;
    }
}

/* Smartphone piccoli */

@media (max-width: 380px) {
    .sogeco-location-hero {
        padding: 30px 17px;
    }

    .sogeco-location-hero h1 {
        font-size: 27px;
    }

    .sogeco-location-map {
        height: 270px;
    }

    .sogeco-location-map-caption {
        align-items: flex-start;
    }

    .sogeco-location-map-caption strong {
        font-size: 12px;
    }

    .sogeco-location-contact-card {
        padding: 20px 15px;
    }
}
