:root {
    --brand-blue: #121331;
    --brand-blue-soft: #1d1f46;
    --brand-blue-light: #292c60;
    --warm-white: #f6f3ee;
    --paper: #ffffff;
    --ink: #111225;
    --muted: #323336;
    --line: rgba(18, 19, 49, 0.14);
    --silver: #aaa5aa;
    --shadow: 0 24px 70px rgba(18, 19, 49, 0.16);
    --panel-tint: #fbfaf7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--warm-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

h1,
h2,
.location-name,
.number-block strong {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    max-width: 850px;
    margin: 0;
    /* font-size: clamp(2.9rem, 5.3vw, 5.6rem); */
    font-size: clamp(2.9rem, 4.3vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 600;
}

h2 {
    margin: 0;
    font-size: clamp(2.05rem, 3.8vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 600;
}

p {
    margin-bottom: 0;
}

.section-dark {
    background: var(--brand-blue);
    color: #fff;
}

.section-light {
    background: var(--warm-white);
}

.site-header {
    background: rgba(18, 19, 49, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(18, 19, 49, 0.98);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.navbar {
    min-height: 86px;
    padding: 0;
}

.brand-logo {
    display: block;
    width: 168px;
    height: 56px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.navbar-nav {
    gap: 0.3rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    padding: 0.75rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
}

.nav-link-cta {
    border: 1px solid rgba(255, 255, 255, 0.36);
    margin-left: 0.5rem;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 170px 0 110px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-mark {
    position: absolute;
    right: -2vw;
    bottom: -4vw;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30vw;
    line-height: 0.75;
    color: rgba(255, 255, 255, 0.035);
    letter-spacing: -0.12em;
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.58);
}

.hero-lead {
    max-width: 650px;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.75;
}

.hero-actions {
    margin-top: 2.3rem;
}

.btn {
    border-radius: 0;
    padding: 0.92rem 1.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue-soft);
    --bs-btn-hover-border-color: var(--brand-blue-soft);
    --bs-btn-active-bg: var(--brand-blue-soft);
    --bs-btn-active-border-color: var(--brand-blue-soft);
}

.location-strip {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-top: 3.4rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.location-strip i {
    display: block;
    width: 72px;
    height: 1px;
    background: rgba(255, 255, 255, 0.34);
}

.portrait-card {
    position: relative;
    max-width: 500px;
    margin-left: auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.portrait-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #fff;
}

.portrait-caption {
    padding-top: 0.9rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-section,
.locations-section,
.specialization-section,
.services-section,
.contact-section {
    padding: 115px 0;
}

.role-text {
    margin-top: 1.75rem;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.55;
}

.profile-copy {
    max-width: 820px;
    padding-left: 2rem;
    border-left: 1px solid var(--line);
}

.profile-copy p {
    color: #36394c;
    font-size: 1.05rem;
    line-height: 1.85;
}

.profile-copy .lead-copy {
    margin-bottom: 1.4rem;
    color: var(--brand-blue);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.55;
}

.locations-section {
    background: #fff;
}

.location-card {
    padding: clamp(2rem, 4vw, 4.5rem);
    border: 1px solid var(--line);
    background: #fff;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card-dark {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.location-name {
    display: block;
    font-size: clamp(3.75rem, 8vw, 8.75rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
    color: var(--brand-blue);
}

.location-card-dark .location-name {
    color: #fff;
}

.location-card p {
    margin-top: 2.6rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.location-card-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.number-block {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 2rem;
}

.number-block strong {
    display: block;
    font-size: clamp(4.4rem, 8.5vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.number-block span {
    display: block;
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.specialization-section h2 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
}

.section-lead {
    max-width: 820px;
    margin-top: 1.8rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.12rem;
    line-height: 1.8;
}

.dark-lead {
    color: var(--muted);
}

.mini-services span {
    display: block;
    height: 100%;
    padding: 1.05rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
}

.studio-visual {
    padding: 70px 0;
    background: #fff;
}

.studio-placeholder {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.services-list {
    border-top: 1px solid var(--line);
}

.service-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 2rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--line);
}

.service-item > span {
    color: var(--silver);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.service-item h3 {
    margin-bottom: 0.75rem;
    color: var(--brand-blue);
    font-size: clamp(1.45rem, 2.4vw, 2.55rem);
    letter-spacing: -0.04em;
}

.service-item p {
    max-width: 980px;
    color: #4a4a4d;
    font-size: 1rem;
    line-height: 1.75;
}

.contact-section {
    background: #fff;
}

.contact-locations {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.2rem;
}

.contact-locations p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-locations strong {
    color: var(--brand-blue);
}

.contact-form {
    position: relative;
    padding: clamp(1.4rem, 3vw, 3rem);
    background:
        linear-gradient(90deg, var(--brand-blue) 0, var(--brand-blue) 6px, transparent 6px),
        var(--panel-tint);
    border: 1px solid rgba(18, 19, 49, 0.18);
    box-shadow: none;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 58px;
    height: 1px;
    background: var(--brand-blue);
    opacity: 0.4;
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--brand-blue);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-control,
.form-select {
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid rgba(18, 19, 49, 0.28);
    border-radius: 0;
    background-color: transparent;
    color: var(--ink);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    background-color: transparent;
    box-shadow: none;
}

.privacy-check {
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(18, 19, 49, 0.12);
}

.privacy-check .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.17rem;
    border-color: rgba(18, 19, 49, 0.42);
    border-radius: 0;
    box-shadow: none;
}

.privacy-check .form-check-input:checked {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.privacy-check .form-check-label {
    color: #555969;
    font-size: 0.86rem;
    line-height: 1.6;
}

textarea.form-control {
    resize: vertical;
}

.site-footer {
    background:
        linear-gradient(180deg, var(--brand-blue) 0%, #0d0e27 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-main {
    padding: 72px 0 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 1.6rem;
}

.footer-brand img {
    width: 180px;
    height: auto;
    opacity: 0.72;
}

.footer-claim {
    margin-bottom: 1.2rem;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 2.8vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.footer-text {
    max-width: 390px;
    color: rgba(255, 255, 255, 0.58);
}

.site-footer h3 {
    margin-bottom: 1.35rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
    padding-left: 0.25rem;
}

.footer-addresses {
    display: grid;
    gap: 1.2rem;
}

.footer-addresses p {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer strong,
.footer-addresses strong {
    color: #fff;
}

.footer-domain {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: #cfcfcf;
    text-decoration: none; 
}


@media (max-width: 1199.98px) {
    .brand-logo {
        width: 150px;
        height: 50px;
    }

    h1 {
        font-size: clamp(2.8rem, 5.6vw, 4.8rem);
        line-height: 1.01;
    }

    .specialization-section h2 {
        font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 76px;
    }

    .navbar-collapse {
        padding: 1rem 0 1.25rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding-left: 0;
    }

    .nav-link-cta {
        display: inline-block;
        margin-left: 0;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero-section {
        min-height: auto;
        padding: 130px 0 80px;
    }

    .portrait-card {
        max-width: 440px;
        margin: 0;
    }

    .profile-section,
    .locations-section,
    .specialization-section,
    .services-section,
    .contact-section {
        padding: 82px 0;
    }

    .profile-copy {
        padding-left: 0;
        border-left: 0;
    }

    .number-block {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.5rem);
        line-height: 1.04;
    }

    h2 {
        font-size: clamp(1.9rem, 8.3vw, 2.8rem);
        line-height: 1.08;
    }


    .number-block strong {
        font-size: clamp(3.8rem, 16vw, 5.6rem);
        line-height: 0.92;
    }

    .specialization-section h2 {
        font-size: clamp(1.85rem, 8vw, 2.55rem);
        line-height: 1.1;
    }
    .hero-lead,
    .section-lead {
        font-size: 1rem;
    }

    .location-strip {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2.4rem;
    }

    .location-strip i {
        width: 44px;
    }

    .brand-logo {
        width: 134px;
        height: 45px;
    }

    .portrait-card {
        padding: 10px;
    }

    .location-card {
        min-height: 280px;
    }

    .studio-placeholder {
        min-height: 220px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .footer-main {
        padding: 58px 0 42px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .container-xxl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-section {
        padding-top: 115px;
    }

    .btn {
        width: 100%;
    }

    .profile-section,
    .locations-section,
    .specialization-section,
    .services-section,
    .contact-section {
        padding: 68px 0;
    }
}

/* Mobile navigation refinements */
.navbar > .container-xxl {
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.navbar-toggler-icon {
    width: 26px;
    height: 16px;
    position: relative;
    display: block;
    background-image: none;
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    transition: opacity 0.2s ease;
}

.navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0.72;
}

@media (max-width: 991.98px) {
    .navbar {
        align-items: center;
    }

    .navbar > .container-xxl {
        min-height: 76px;
    }

    .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
    }
}

/* =============================================
   AGGIORNAMENTI v2 - giugno 2026
   ============================================= */

/* Hero: logo sign al posto del portrait */
.hero-sign-logo {
    max-width: 550px;
    width: 100%;
    opacity: 0.92;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.35));
}

@media (max-width: 991.98px) {
    .hero-sign-logo {
        max-width: 390px;
        margin-top: 2.5rem;
    }
}

/* Foto studio: full-width senza container */
.studio-visual {
    padding: 0;
    background: #fff;
    line-height: 0;
}

.studio-photo {
    display: block;
    width: 100%;
    height: clamp(280px, 42vw, 620px);
    object-fit: cover;
    object-position: center 40%;
}

/* Servizi: senza numero, allineamento sinistra */
.service-item {
    display: block;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
}

.service-item h3 {
    margin-bottom: 0.75rem;
    color: var(--brand-blue);
    font-size: clamp(1.35rem, 2.2vw, 2.2rem);
    letter-spacing: -0.035em;
    font-family: "Playfair Display", Georgia, serif;
}

.service-item p {
    max-width: 860px;
    color: #4a4a4d;
    font-size: 1rem;
    line-height: 1.75;
}

/* Footer: social buttons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.footer-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-btn-contact:hover,
.footer-btn-contact:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* Footer claim: 3 righe */
.footer-claim {
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

/* Logo brand: adattamento per SVG */
.brand-logo {
    width: 168px;
    height: 56px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand img {
    width: 180px;
    height: auto;
    opacity: 0.82;
    object-fit: contain;
}

