/* VoltSmart Servizi 1.2 – layout coerente con mockup, Elementor editor + frontend */
:root {
    --vs-orange: #ff6800;
    --vs-dark: #111a26;
    --vs-grey: #586371
}

.elementor-widget-vs_services_hero,.elementor-widget-vs_services_grid,.elementor-widget-vs_services_highlights,.elementor-widget-vs_emergency_band,.elementor-widget-vs_benefits_strip,.elementor-widget-vs_process_strip {
    min-width: 0
}

.vs-bleed-section,.vs-bleed-section * {
    box-sizing: border-box
}

.vs-bleed-section {
    font-family: 'Ubuntu Sans',Ubuntu,Arial,sans-serif;
    color: #121a26;
    position: relative;
    left: 50%;
    width: 100%;
    max-width: 100vw;
    transform: translateX(-50%);
    margin: 0!important;
    clear: both
}

.vs-page-container {
    width: 100%;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px,4.2vw,65px);
    padding-right: clamp(20px,4.2vw,65px)
}

.vs-bleed-section h1,.vs-bleed-section h2,.vs-bleed-section h3,.vs-bleed-section h4,.vs-bleed-section p,.vs-bleed-section ul {
    margin-top: 0
}

.vs-bleed-section a {
    text-decoration: none
}

.vs-bleed-section a:focus-visible {
    outline: 3px solid #ff9c4c;
    outline-offset: 3px
}

.vs-svc-eyebrow {
    color: #fb6300;
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 900;
    line-height: 1.5;
    text-transform: uppercase;
    margin: 0 0 8px
}

.vs-highlight {
    color: #ff6000
}

.vs-svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    border-radius: 7px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    padding: 15px 20px;
    transition: transform .18s ease,filter .18s ease
}

.vs-svc-btn:hover {
    transform: translateY(-1px)
}

.vs-svc-btn--primary {
    background: #ff6d00;
    color: #fff!important;
    border: 1px solid #ff6d00
}

.vs-svc-btn--secondary {
    background: #fff;
    color: #101825!important;
    border: 1px solid #212d3c
}

.vs-svc-btn--whatsapp {
    background: #03c75a;
    color: white!important;
    border: 1px solid rgba(255,255,255,.3)
}

.vs-svc-btn--outline-light {
    border: 2px solid rgba(255,255,255,.86);
    color: white!important;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 10px 18px;
    gap: 3px
}

.vs-svc-btn--outline-light small {
    font-size: 11px;
    opacity: .82;
    font-weight: 600;
    color: white
}

/* Hero: immagine a tutta pagina come nel mockup, titolo sopra il gradiente a sinistra */
.vs-services-hero {
    --vs-hero-height: 440px;
    min-height: var(--vs-hero-height);
    isolation: isolate;
    background: #eaf0f4;
    overflow: hidden
}

.vs-services-hero__grid {
    position: relative;
    display: flex!important;
    min-height: var(--vs-hero-height);
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 23px
}

.vs-services-hero__media {
    position: absolute!important;
    inset: 0!important;
    z-index: -2;
    min-height: 0!important;
    height: 100%!important;
    width: 100%!important;
    border-radius: 0!important;
    overflow: hidden!important;
    background-image: linear-gradient(90deg,#f9fbfd 0%,rgba(249,251,253,.99) 24%,rgba(249,251,253,.89) 39%,rgba(249,251,253,.2) 62%,rgba(249,251,253,0) 80%),var(--vs-hero-image);
    background-position: center,center 47%;
    background-repeat: no-repeat;
    background-size: cover,cover;
    filter: none
}

.vs-services-hero__content {
    position: relative;
    z-index: 1;
    width: min(48%,620px);
    padding: 5px 0
}

.vs-services-hero .vs-svc-eyebrow {
    color: #273140;
    font-size: 10px;
    letter-spacing: .08em;
    max-width: 610px;
    margin-bottom: 12px
}

.vs-services-hero__title {
    font-size: clamp(34px,4.1vw,62px);
    line-height: 1.04!important;
    letter-spacing: -.045em;
    font-weight: 900;
    color: #111924!important;
    margin: 0 0 13px!important;
    white-space: normal
}

.vs-services-hero__desc {
    font-size: clamp(15px,1.45vw,19px);
    line-height: 1.55;
    color: #34404c;
    max-width: 580px;
    margin: 0 0 18px!important
}

.vs-services-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.vs-services-hero__features {
    display: flex!important;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 10px;
    width: 100%;
    max-width: 630px
}

.vs-services-hero__feature {
    display: flex!important;
    flex: 0 1 auto;
    align-items: center;
    gap: 6px;
    color: #17202b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.28;
    max-width: 190px
}

.vs-dot-icon {
    flex: none;
    display: grid;
    place-items: center;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(255,104,0,.25);
    color: #ff6800
}

/* Section headings */
.vs-services-grid,.vs-highlights {
    padding-top: 38px;
    padding-bottom: 38px;
    background: linear-gradient(#fff,#fafbfc)
}

.vs-svc-heading {
    width: 100%;
    max-width: none!important;
    text-align: left!important;
    margin: 0 0 24px!important;
    display: block
}

.vs-svc-heading >div:first-child {
    min-width: 0
}

.vs-svc-heading .vs-svc-eyebrow {
    text-align: left!important
}

.vs-svc-heading--split>div:first-child {
    flex: 1 1 57%;
    max-width: none!important
}

.vs-svc-heading--split>.vs-section-intro {
    flex: 0 1 43%;
    max-width: 480px
}

.vs-svc-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: none
}

.vs-svc-heading h2 {
    max-width: none!important;
    text-align: left!important;
    white-space: normal;
    font-size: clamp(29px,3.4vw,46px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.045em;
    color: #131b27;
    margin: 0!important
}

.vs-section-intro {
    font-size: clamp(13px,1.2vw,16px);
    line-height: 1.55;
    color: #56606c;
    max-width: 490px;
    margin: 0 0 3px
}

/* Grid 3 x 2 by design */
.vs-services-grid .vs-cards-grid {
    display: grid!important;
    grid-template-columns: repeat(3,minmax(0,1fr))!important;
    grid-auto-flow: row!important;
    gap: 23px!important;
    align-items: stretch;
    grid-auto-rows: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.vs-services-grid .vs-cards-grid>.vs-svc-card {
    display: flex!important;
    flex-direction: column!important;
    grid-column: auto!important;
    grid-row: auto!important;
    position: relative;
    width: 100%!important;
    max-width: none!important;
    min-width: 0!important;
    min-height: 0!important;
    margin: 0!important;
    padding: 0!important;
    float: none!important;
    align-self: stretch;
}

.vs-services-grid .vs-cards-grid>.vs-svc-card:nth-child(n) {
    grid-column: auto!important;
    min-height: 0!important;
}

.vs-svc-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(12,20,30,.045);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease,transform .2s ease
}

.vs-svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(12,20,30,.09)
}

.vs-svc-card__image {
    height: 165px;
    flex: none;
    overflow: hidden;
    background: #d9e5ef
}

.vs-svc-card__image img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    object-fit: cover
}

.vs-svc-card__body {
    padding: 22px 22px 20px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.vs-svc-card__icon {
    position: absolute;
    top: -24px;
    left: 19px;
    background: #ff6800;
    border: 4px solid #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255,104,0,.22)
}

.vs-svc-card__icon svg {
    width: 24px;
    height: 24px
}

.vs-svc-card__body h3 {
    margin: 4px 0 9px!important;
    color: #141d29!important;
    font-weight: 850;
    font-size: clamp(16px,1.5vw,22px);
    line-height: 1.18;
    letter-spacing: -.025em
}

.vs-svc-card__body p {
    font-size: clamp(13px,1.1vw,16px);
    line-height: 1.42;
    color: #56616d;
    margin: 0 0 12px!important
}

.vs-card-link {
    margin-top: auto;
    color: #ff6400!important;
    font-size: clamp(13px,1.2vw,16px);
    line-height: 1.1;
    font-weight: 800
}

.vs-card-link span {
    margin-left: 5px
}

/* Featured services: compact rows, image + content + checklist + button */
.vs-highlights {
    padding-top: 30px;
    padding-bottom: 24px
}

.vs-highlight-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.vs-highlight-row {
    display: grid;
    grid-template-columns: minmax(0,23%) minmax(0,29%) minmax(0,30%) minmax(112px,1fr);
    align-items: center;
    gap: 16px;
    border: 1px solid #e8edf2;
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(15,23,38,.04);
    padding: 0 15px 0 0;
    min-height: 160px
}

.vs-highlight-row__image {
    width: 100%;
    height: 160px;
    min-height: 100%;
    overflow: hidden;
    background: #e5edf3
}

.vs-highlight-row__image img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    object-fit: cover
}

.vs-highlight-row__content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0
}

.vs-highlight-row__icon {
    display: grid;
    place-items: center;
    background: #ff6900;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    flex: none
}

.vs-highlight-row__content h3 {
    font-size: clamp(16px,1.6vw,22px);
    line-height: 1.18;
    letter-spacing: -.025em;
    color: #141c29!important;
    font-weight: 850;
    margin: 0 0 7px!important
}

.vs-highlight-row__content p {
    color: #5a6471;
    font-size: clamp(12px,1.08vw,14px);
    line-height: 1.45;
    margin: 0!important
}

.vs-highlight-row__points {
    list-style: none!important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0!important;
    padding: 0!important;
    color: #34404c;
    font-size: clamp(12px,1.03vw,14px);
    line-height: 1.3
}

.vs-highlight-row__points li {
    list-style: none!important;
    display: flex;
    gap: 6px;
    align-items: start
}

.vs-highlight-row__action {
    display: flex;
    justify-content: flex-end
}

.vs-highlight-row__action .vs-svc-btn {
    padding: 13px 15px;
    white-space: nowrap;
    font-size: 13px
}

/* Emergency dark CTA bar full width */
.vs-emergency-band {
    background: #160906;
    border-top: 4px solid #ff7300;
    border-bottom: 4px solid #ff7300;
    box-shadow: 0 8px 25px rgba(30,10,0,.11);
    overflow: hidden
}

.vs-emergency-band__inner {
    display: grid;
    grid-template-columns: 24% minmax(0,1fr) 22%;
    align-items: stretch;
    min-height: 185px;
    padding-top: 0;
    padding-bottom: 0;
    position: relative
}

.vs-emergency-band__image {
    height: 185px;
    overflow: hidden;
    position: relative
}

.vs-emergency-band__image:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,transparent 58%,#160906 99%)
}

.vs-emergency-band__image img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
    object-position: left 67%
}

.vs-emergency-band__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 16px;
    color: #fff;
    min-width: 0
}

.vs-emergency-band__content h2 {
    font-weight: 900;
    font-size: clamp(26px,3vw,46px);
    line-height: 1.07;
    letter-spacing: -.035em;
    color: #fff!important;
    margin: 0 0 6px!important
}

.vs-emergency-band__content p {
    font-size: clamp(12px,1.18vw,16px);
    line-height: 1.5;
    color: #fff;
    margin: 0 0 12px!important
}

.vs-emergency-band__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.vs-emergency-band__list {
    border-left: 1px solid rgba(255,255,255,.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: clamp(12px,1.04vw,15px);
    font-weight: 800;
    padding: 13px 10px 13px 22px;
    line-height: 1.2
}

.vs-emergency-band__list>div:before {
    content: '⚡';
    border: 1px solid #ff7100;
    color: #ff7100;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    margin-right: 9px;
    vertical-align: middle;
    font-size: 16px
}

/* Bottom strips */
.vs-benefits-strip {
    background: #f3f5f7;
    padding-top: 24px;
    padding-bottom: 23px
}

.vs-benefits-strip__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px
}

.vs-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 5px 15px 5px 0;
    border-right: 1px solid #d8dde4
}

.vs-benefit-item:last-child {
    border-right: 0
}

.vs-benefit-item__icon {
    color: #17202b;
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center
}

.vs-benefit-item__icon svg {
    width: 35px;
    height: 35px
}

.vs-benefit-item h4 {
    font-size: clamp(13px,1.16vw,17px);
    line-height: 1.18;
    margin: 0 0 5px!important;
    color: #15202b!important;
    font-weight: 900
}

.vs-benefit-item p {
    font-size: clamp(11px,.95vw,14px);
    line-height: 1.35;
    color: #56616d;
    margin: 0!important
}

.vs-process-strip {
    background: linear-gradient(100deg,#071421,#14202b);
    padding: 20px 0;
    color: #fff
}

.vs-process-strip__inner {
    display: grid;
    grid-template-columns: 25% 1fr;
    align-items: center;
    gap: 28px
}

.vs-process-strip .vs-svc-eyebrow {
    font-size: 11px;
    margin: 0 0 5px
}

.vs-process-strip__head h2 {
    color: #fff!important;
    font-size: clamp(22px,2.1vw,31px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 0!important
}

.vs-process-strip__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.vs-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0
}

.vs-step-item__num {
    width: 37px;
    height: 37px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #ff7500;
    font-size: 19px;
    font-weight: 900
}

.vs-step-item h4 {
    color: #fff!important;
    font-size: clamp(13px,1.13vw,16px);
    line-height: 1.2;
    font-weight: 850;
    margin: 0 0 4px!important
}

.vs-step-item p {
    color: #dce1e6;
    font-size: clamp(10px,.88vw,13px);
    line-height: 1.3;
    margin: 0!important
}

.vs-step-arrow {
    color: #e2e8f0;
    font-size: 25px
}

/* Tablet: keep 3 columns as long as viable; phones use 2 or 1 */
@media(max-width: 1000px) {
    .vs-page-container {
        padding-left:clamp(16px,3.9vw,40px);
        padding-right: clamp(16px,3.9vw,40px)
    }

    .vs-services-hero {
        --vs-hero-height: 340px
    }

    .vs-services-hero__content {
        width: 52%
    }

    .vs-services-hero__title {
        font-size: clamp(29px,4.35vw,43px)
    }

    .vs-services-hero__desc {
        font-size: 14px
    }

    .vs-services-hero__feature {
        font-size: 10px;
        gap: 3px
    }

    .vs-dot-icon {
        width: 21px;
        height: 21px;
        font-size: 11px
    }

    .vs-svc-btn {
        font-size: 12px;
        padding: 11px 14px
    }

    .vs-services-grid .vs-cards-grid {
        gap: 14px!important
    }

    .vs-svc-card__image {
        height: 125px
    }

    .vs-svc-card__body {
        padding: 19px 14px 15px
    }

    .vs-svc-card__icon {
        width: 38px;
        height: 38px;
        top: -20px;
        left: 10px
    }

    .vs-svc-card__icon svg {
        width: 19px;
        height: 19px
    }

    .vs-svc-card__body h3 {
        font-size: 16px
    }

    .vs-svc-card__body p {
        font-size: 12px
    }

    .vs-card-link {
        font-size: 12px
    }

    .vs-svc-heading h2 {
        max-width: none!important;
        text-align: left!important;
        white-space: normal;
        font-size: 30px
    }

    .vs-section-intro {
        max-width: 45%;
        font-size: 13px
    }

    .vs-highlight-row {
        grid-template-columns: 22% 31% 28% 1fr;
        gap: 9px;
        min-height: 140px;
        padding-right: 7px
    }

    .vs-highlight-row__image {
        height: 140px
    }

    .vs-highlight-row__icon {
        width: 30px;
        height: 30px;
        font-size: 15px
    }

    .vs-highlight-row__content {
        gap: 7px
    }

    .vs-highlight-row__content h3 {
        font-size: 15px
    }

    .vs-highlight-row__content p {
        font-size: 11px;
        line-height: 1.25
    }

    .vs-highlight-row__points {
        font-size: 10px;
        gap: 4px
    }

    .vs-highlight-row__action .vs-svc-btn {
        font-size: 10px;
        padding: 10px 7px
    }

    .vs-emergency-band__inner {
        min-height: 155px;
        grid-template-columns: 23% minmax(0,1fr) 20%
    }

    .vs-emergency-band__image {
        height: 155px
    }

    .vs-emergency-band__content h2 {
        font-size: 28px
    }

    .vs-emergency-band__content p {
        font-size: 11px
    }

    .vs-emergency-band__list {
        gap: 5px;
        font-size: 10px;
        padding-left: 10px
    }

    .vs-emergency-band__list>div:before {
        width: 19px;
        height: 19px;
        font-size: 11px;
        margin-right: 3px
    }

    .vs-benefits-strip__grid {
        gap: 8px
    }

    .vs-benefit-item {
        gap: 5px;
        padding-right: 6px
    }

    .vs-benefit-item__icon {
        width: 23px;
        height: 23px
    }

    .vs-benefit-item__icon svg {
        width: 22px;
        height: 22px
    }

    .vs-benefit-item h4 {
        font-size: 11px
    }

    .vs-benefit-item p {
        font-size: 9px
    }

    .vs-process-strip__inner {
        grid-template-columns: 22% 1fr;
        gap: 12px
    }

    .vs-process-strip__head h2 {
        font-size: 20px
    }

    .vs-step-item__num {
        width: 27px;
        height: 27px;
        font-size: 14px
    }

    .vs-step-item h4 {
        font-size: 11px
    }

    .vs-step-item p {
        font-size: 9px
    }

    .vs-step-arrow {
        font-size: 18px
    }
}

@media(max-width: 600px) {
    .vs-bleed-section {
        width:100vw
    }

    .vs-page-container {
        padding-left: 18px;
        padding-right: 18px
    }

    .vs-services-hero,.vs-services-hero__grid {
        min-height: 430px
    }

    .vs-services-hero__grid {
        align-items: start;
        padding-top: 30px
    }

    .vs-services-hero__media {
        background-image: linear-gradient(90deg,rgba(249,251,253,.95),rgba(249,251,253,.85) 50%,rgba(249,251,253,.15)),var(--vs-hero-image);
        background-position: center,right center;
        background-size: cover
    }

    .vs-services-hero__content {
        width: 74%
    }

    .vs-services-hero__title {
        font-size: clamp(27px,7vw,40px)
    }

    .vs-services-hero__desc {
        font-size: 13px
    }

    .vs-services-hero__features {
        display: none
    }

    .vs-svc-heading--split {
        display: block
    }

    .vs-svc-heading--split>div:first-child,.vs-svc-heading--split>.vs-section-intro {
        max-width: none!important;
        width: 100%;
    }

    .vs-section-intro {
        max-width: 100%;
        margin-top: 10px
    }

    .vs-services-grid .vs-cards-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))!important;
        gap: 12px!important
    }

    .vs-svc-card__image {
        height: 110px
    }

    .vs-svc-card__body {
        padding: 17px 12px 14px
    }

    .vs-svc-card__body h3 {
        font-size: 14px
    }

    .vs-svc-card__body p {
        font-size: 11px
    }

    .vs-highlight-row {
        grid-template-columns: 32% 1fr;
        grid-template-areas: 'photo content' 'points points' 'action action';
        gap: 10px;
        padding: 0 10px 12px 0
    }

    .vs-highlight-row__image {
        grid-area: photo;
        height: 155px
    }

    .vs-highlight-row__content {
        grid-area: content
    }

    .vs-highlight-row__points {
        grid-area: points;
        padding-left: 14px!important;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .vs-highlight-row__action {
        grid-area: action;
        justify-content: end
    }

    .vs-emergency-band__inner {
        grid-template-columns: 1fr
    }

    .vs-emergency-band__image {
        display: none
    }

    .vs-emergency-band__content {
        padding: 20px 6px
    }

    .vs-emergency-band__content h2 {
        font-size: 26px
    }

    .vs-emergency-band__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 4px 16px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.2)
    }

    .vs-benefits-strip__grid {
        grid-template-columns: 1fr 1fr
    }

    .vs-process-strip__inner {
        display: block
    }

    .vs-process-strip__head {
        margin-bottom: 16px
    }
}

@media(max-width: 390px) {
    .vs-services-grid .vs-cards-grid {
        grid-template-columns:1fr!important
    }

    .vs-services-hero__content {
        width: 90%
    }

    .vs-svc-card__image {
        height: 170px
    }
}

/* Smartphone: one well-sized card per row. Theme's legacy .vs-service-card rules never apply. */
@media(max-width: 600px) {
    .vs-services-grid .vs-cards-grid {
        grid-template-columns:minmax(0,1fr)!important;
        gap: 18px!important
    }
}

/* Tablet: 2 columns, desktop 3 columns; editor may have its own narrow canvas. */
@media(min-width: 601px) and (max-width:1000px) {
    .vs-services-grid .vs-cards-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))!important
    }
}

@media(min-width: 1001px) {
    .vs-services-grid .vs-cards-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))!important
    }
}
