.brosy-home {
    width: 100%;
    color: var(--color-text-dark);
    background: transparent;
}

.home-hero,
.home-seo-intro,
.home-section,
.home-faq,
.home-flexibility,
.home-privacy,
.home-band,
.home-final {
    width: 100%;
    padding: 92px clamp(20px, 5vw, 72px);
}

.home-hero {
    width: min(92%, 1280px);
    margin: 100px auto 0;
    padding-top: 54px;
    padding-bottom: 54px;
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(32px, 5vw, 72px);
    border: 1px solid rgba(var(--color-primary-rgb), 0.12);
    border-radius: 8px 8px 0 0;
    background:#C7D2FE;
}

.home-hero-copy {
    width: 100%;
    max-width: none;
    align-self: center;
}

.home-kicker {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero h1,
.home-section h2,
.home-band h2,
.home-final h2 {
    margin: 0;
    color: var(--color-text-dark);
    font-weight: 850;
    line-height: 1.05;
}

.home-hero h1 {
    font-size: clamp(2.16rem, 4.95vw, 4.725rem);
    max-width: 100%;
}

.home-lead,
.home-band p {
    margin: 22px 0 0;
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.home-lead {
    max-width: 100%;
}

.home-band p {
    max-width: 620px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-primary-btn,
.home-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-primary-btn {
    background: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-primary);
}

.home-secondary-btn {
    background: rgb(var(--color-bg-footer-rgb));
    color: var(--color-text-dark);
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
}

.home-primary-btn:hover,
.home-secondary-btn:hover {
    transform: translateY(-2px);
}

.home-flow-card,
.home-grid-list article,
.home-feature-pair article,
.home-faq details {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.home-flow-card:hover,
.home-grid-list article:hover,
.home-feature-pair article:hover,
.home-faq details:hover {
    transform: translateY(-4px);
}

.home-hero-media {
    position: relative;
    margin: 0;
    box-shadow: none;
    align-self: center;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
    border-radius: 8px;
    background: rgba(238, 242, 255, 0.42);
}

.home-hero-image-frame {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: stretch;
}

.home-hero-image-frame picture {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.home-hero-image-frame img {
    position: relative;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.home-hero-image-caption {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.14);
    background: rgba(238, 242, 255, 0.82);
    color: var(--color-gray);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
}

.home-section {
    background: rgb(var(--color-bg-footer-rgb));
}

.home-seo-intro {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgb(var(--color-bg-footer-rgb));
}

.home-seo-intro,
.home-privacy {
    padding-top: 112px;
    padding-bottom: 112px;
}

.home-text-column h2 {
    margin: 0;
    max-width: 100%;
    color: var(--color-text-dark);
    font-size: clamp(1.8rem, 3.6vw, 3.06rem);
    line-height: 1.08;
}

.home-copy-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 100%;
    font-size: medium;
}

.home-copy-column article {
    padding: 24px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.12);
    border-radius: 8px;
}

.home-copy-column article:nth-child(2) {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.home-copy-column p {
    margin: 0;
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-copy-column article:nth-child(2) p {
    color: #EEF2FF;
}

.home-privacy {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.home-privacy .home-kicker,
.home-privacy h2,
.home-privacy h3 {
    color: var(--color-text-light);
}

.home-privacy .home-kicker {
    margin-bottom: 18px;
    color: var(--color-bg-card);
}

.home-privacy-copy h2 {
    margin: 0 0 30px 0;
    max-width: 760px;
    font-size: clamp(1.8rem, 3.6vw, 3.24rem);
    line-height: 1.05;
}
.home-privacy-copy h2 span{
    font-size: larger;
}
.home-privacy-copy .home-privacy-subtitle {
    display: inline-flex;
    max-width: 680px;
    margin: 14px 0 0;
    padding: 10px;
    border-radius: 8px;
    background: #EEF2FF;
    color: var(--color-text-dark);
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-privacy-copy p {
    max-width: 435px;
    margin: 22px 0 0;
    color: var(--color-bg-card);
    font-size: 1.08rem;
    line-height: 1.75;
    letter-spacing: 1px;
}

.home-privacy-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.home-privacy-visual::before,
.home-privacy-visual::after {
    content: "";
    position: absolute;
}

.home-privacy-visual::before {
    inset: -18%;
    background-image: url("../images/site/sicurezza-brosy.png");
    background-repeat: no-repeat;
    background-size: 60% auto;
    background-position: center;
    opacity: 0.6;
    transform: scale(0.9);
}


.home-section-heading {
    max-width: 780px;
    margin-bottom: 60px;
}

.home-section h2,
.home-band h2,
.home-flexibility h2,
.home-faq h2,
.home-final h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.24rem);
}

.home-timeline-section {
    width: min(92%, 1280px);
    margin: 0 auto;
    background: var(--color-bg-card);
}

.home-step-number {
    margin: 0 0 2px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 900;
}

.home-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 54px 34px;
    padding-top: 42px;
}

.home-flow-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 300px;
    min-height: 370px;
    justify-self: center;
    margin-top: 40px;
    padding: 30px 0 28px;
    border: 1px solid var(--color-border-glow);
    border-radius: 12px;
    background: var(--color-input-bg);
    text-align: center;
    transition: transform 0.2s ease;
}

.home-flow-card:hover {
    transform: scale(1.01);
}

.home-flow-icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: -70px auto 28px;
    border: 3px solid var(--color-bg-card);
    border-radius: 50%;
    background: var(--color-bg-card);
    box-shadow: var(--mix-card-shadow);
    object-fit: cover;
    padding: 0;
}

.home-flow-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.home-flow-card h3 {
    width: 80%;
    margin: 0 auto;
    color: var(--color-text-dark);
    font-size: clamp(1.38rem, 2.2vw, 1.78rem);
    font-variant-caps: all-small-caps;
    line-height: 1.15;
}

.home-flow-card p {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    padding: 14px 0 18px;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.65;
}

.home-flow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-text-light);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-flow-link:hover {
    transform: translateY(-2px);
    background: var(--color-primary-light);
}

.home-use-cases {
    width: min(92%, 1280px);
    margin: 0 auto;
    background: var(--color-primary);
}

.home-use-cases .home-kicker {
    color: var(--color-bg-card);
}

.home-use-cases h2 {
    color: var(--color-text-light);
}

.home-use-cases .home-section-heading {
    max-width: 1000px;
}

.home-grid-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
    gap: 16px;
}

.home-grid-list article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.home-grid-list article:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    background: #EEF2FF;
}

.home-grid-list article:nth-child(2) {
    grid-column: span 4;
    background: #E0F2FE;
}

.home-grid-list article:nth-child(3) {
    grid-column: span 4;
    background: #ECFCCB;
}

.home-grid-list article:nth-child(4) {
    grid-column: span 2!important;
        grid-row: span 2!important;
    background: #FCE7F3;
}

.home-grid-list article:nth-child(5) {
    grid-column: span 4;

    background: #F8FAFC;
}

.home-grid-list h3 {
    margin: 0 0 10px;
    color: var(--color-text-dark);
    font-size: 1.85rem;
    line-height: 1.08;
}

.home-grid-list p {
    margin: 0;
    color: var(--color-gray);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
}

.home-flexibility {
    width: min(92%, 1280px);
    margin: 0 auto;
    background: var(--color-input-bg);
}

.home-flexibility .home-section-heading {
    max-width: 1000px;
}

.home-feature-pair {
    display: flex;
    gap: 0;
    max-width: 1120px;
}

.home-feature-pair article {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    padding: clamp(18px, 3vw, 30px);
    border-radius: 8px;
    color: var(--color-text-dark);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.home-feature-pair article:first-child {
    padding-right: clamp(34px, 5vw, 56px);
    background: var(--color-primary);
    clip-path: polygon(0% 0%, 100% 0%, 100% 35%, 90% 50%, 100% 65%, 100% 100%, 0% 100%);
}

.home-feature-pair article:last-child {
    margin-left: -5%;
    padding-left: clamp(34px, 5vw, 56px);
    background: var(--color-bg-card);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 65%, 10% 50%, 0% 35%);
}

.home-feature-pair:hover article:first-child {
    transform: translateX(-5px);
}

.home-feature-pair:hover article:last-child {
    transform: translateX(5px);
}

.home-feature-pair h3 {
    width: 80%;
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.home-feature-pair article:first-child h3,
.home-feature-pair article:first-child p {
    align-self: flex-start;
    text-align: left;
}

.home-feature-pair article:last-child h3,
.home-feature-pair article:last-child p {
    align-self: flex-end;
    text-align: left;
}

.home-feature-pair article:first-child h3,
.home-feature-pair article:first-child p {
    color: var(--color-text-light);
}

.home-feature-pair article:last-child h3 {
    color: var(--color-text-dark);
}

.home-feature-pair p {
    width: 80%;
    margin: 0;
    color: var(--color-gray);
    line-height: 1.7;
}

.home-band {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    background: var(--color-input-bg);
}

.home-band img {
    grid-column: 1;
    grid-row: 1;
    width: min(180px, 42vw);
    justify-self: start;
}

.home-band-copy {
    grid-column: 2;
    grid-row: 1;
}

.home-band .home-kicker {
    margin-bottom: 18px;
}

.home-final {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--color-input-bg);
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.home-seo-intro,
.home-privacy,
.home-timeline-section,
.home-band,
.home-use-cases,
.home-flexibility,
.home-faq {
    padding-top: 120px;
    padding-bottom: 120px;
}

.home-final h2 {
    color: var(--color-text-dark);
    max-width: 1000px;
}

.home-faq {
    width: min(92%, 1280px);
    margin: 0 auto;
    background: transparent;
}

.home-faq .home-kicker,
.home-faq h2 {
    color: var(--color-text-light);
}

.home-faq .home-section-heading {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.home-faq-list details {
    border: none;
    border-radius: 8px;
    background: transparent;
    padding: 0;
}

.home-faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    list-style: none;
    cursor: pointer;
    padding: 16px;
    border: 1px solid var(--color-border-glow);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
    font-weight: 800;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-faq-list summary:hover {
    background: rgba(var(--color-primary-rgb), 0.2);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.home-faq-list summary::-webkit-details-marker {
    display: none;
}

.home-faq-list summary::after {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.home-faq-list details[open] > summary::after {
    transform: rotate(225deg);
}

.home-faq-list p {
    margin: 12px 0 0;
    color: var(--color-text-light);
    line-height: 1.65;
}

.home-faq-group > summary {
    font-size: 1.08rem;
}

.home-faq-questions {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.home-faq-questions details {
    padding: 0;
    background: transparent;
}

.home-faq-questions summary {
    padding: 14px 16px;
    background: rgb(var(--color-bg-footer-rgb));
    color: var(--color-text-dark);
    font-size: 0.96rem;
    font-weight: 750;
}

.home-faq-questions summary:hover {
    background: var(--color-input-bg);
    border-color: rgba(var(--color-primary-rgb), 0.18);
    transform: none;
}

.home-faq-questions p,
.home-faq-single p {
    padding: 0 16px 16px;
}

.home-faq-single {
    background: transparent !important;
}

@media (max-width: 1100px) {
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    .home-hero-media {
        order: -1;
        width: 100%;
        min-height: 0;
        align-self: center;
    }

    .home-hero-image-frame {
        height: auto;
    }

    .home-hero-image-frame img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .home-steps {
        grid-template-columns: 1fr;
    }

    .home-seo-intro,
    .home-privacy,
    .home-band,
    .home-final {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-privacy {
        position: relative;
        overflow: hidden;
    }

    .home-privacy-copy {
        position: relative;
        z-index: 1;
    }

    .home-privacy-visual {
        position: absolute;
        top: 34px;
        right: -8px;
        z-index: 0;
        width: min(420px, 58vw);
        height: min(420px, 58vw);
        min-height: 0;
        margin: 0;
        pointer-events: none;
    }

    .home-privacy-visual::before {
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: right top;
        transform: none;
    }

    .home-grid-list {
        grid-auto-rows: minmax(120px, auto);
        gap: 12px;
    }

    .home-grid-list article {
        min-height: 150px;
        padding: 16px;
    }

    .home-grid-list h3 {
        font-size: 1.45rem;
    }

    .home-grid-list p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .home-feature-pair {
        max-width: 100%;
    }

    .home-feature-pair article {
        min-height: 230px;
    }

    .home-feature-pair h3 {
        font-size: 1.35rem;
    }

    .home-feature-pair p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .home-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-final {
        flex-direction: column;
        align-items: center;
    }

    .home-band img {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .home-faq-list {
        grid-template-columns: 1fr;
    }

    .home-grid-list {
        grid-auto-rows: minmax(105px, auto);
        gap: 10px;
    }

    .home-grid-list article {
        min-height: 125px;
        padding: 14px;
    }

    .home-grid-list h3 {
        margin-bottom: 6px;
        font-size: 1.2rem;
        font-variant-caps: all-small-caps;
    }

    .home-grid-list p {
        font-size: 0.78rem;
        line-height: 1.45;
    }
    .home-grid-list article:nth-child(1) {
    grid-column: span 3;
    grid-row: span 1;
    }

    .home-grid-list article:nth-child(2) {
    grid-column: span 3;
    }
    .home-grid-list article:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
    }
}

@media (max-width: 560px) {
    .home-hero,
    .home-seo-intro,
    .home-privacy,
    .home-timeline-section,
    .home-band,
    .home-use-cases,
    .home-flexibility,
    .home-faq,
    .home-final {
        width: calc(100% - 24px);
    }

    .home-hero {
        margin-top: 88px;
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .home-hero-copy {
        display: contents;
    }

    .home-hero .home-kicker {
        order: 1;
    }

    .home-hero h1 {
        order: 2;
    }

    .home-hero-media {
        order: 3;
    }

    .home-lead {
        order: 4;
    }

    .home-actions {
        order: 5;
    }

    .home-hero,
    .home-seo-intro,
    .home-section,
    .home-faq,
    .home-flexibility,
    .home-privacy,
    .home-band,
    .home-final {
        padding: 62px 18px;
    }

    .home-seo-intro,
    .home-privacy {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .home-privacy-visual {
        top: 24px;
        right: calc(-20% - 30px);
        width: min(330px, 88vw);
        height: min(330px, 88vw);
    }

    .home-privacy-visual::before {
        opacity: 0.5;
    }

    .home-actions {
        flex-direction: column;
    }

    .home-primary-btn,
    .home-secondary-btn {
        width: 100%;
    }
    .home-grid-list article:nth-child(3), 
    .home-grid-list article:nth-child(5),
    .home-grid-list article:nth-child(4){
        grid-column: span 3!important;
    }
    .home-grid-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: minmax(82px, auto);
        gap: 8px;
    }

    .home-grid-list article {
        min-height: 96px;
        padding: 10px;
    }

    .home-grid-list h3 {
        margin-bottom: 4px;
        line-height: 1.1;
    }

    .home-grid-list p {
        color: var(--color-text-dark);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
    }

    .home-copy-column {
        grid-template-columns: 1fr;
    }

    .home-flow-card {
        grid-template-columns: 1fr;
    }

    .home-flow-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-pair article,
    .home-feature-pair article:first-child,
    .home-feature-pair article:last-child {
        min-height: 170px;
        padding: 12px;
        border-radius: 8px;
    }

    .home-feature-pair article:first-child {
        padding-right: 22px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 38%, 92% 50%, 100% 62%, 100% 100%, 0% 100%);
    }

    .home-feature-pair article:last-child {
        margin-left: -6%;
        padding-left: 24px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 62%, 8% 50%, 0% 38%);
    }

    .home-feature-pair h3,
    .home-feature-pair p {
        width: 88%;
    }

    .home-feature-pair h3 {
        margin-bottom: 6px;
        font-size: 0.82rem;
        line-height: 1.12;
    }

    .home-feature-pair p {
        font-size: 0.58rem;
        line-height: 1.35;
    }

    .home-band img,
    .home-band-copy {
        grid-column: 1;
    }

    .home-band img {
        grid-row: 1;
    }

    .home-band-copy {
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-flow-card,
    .home-grid-list article,
    .home-feature-pair article,
    .home-faq details,
    .home-primary-btn,
    .home-secondary-btn {
        transition: none;
        transform: none;
    }
}
