.hero-section {
    background: linear-gradient(105deg, rgba(16, 35, 59, 0.92), rgba(27, 111, 214, 0.68)),
                url('https://images.pexels.com/photos/3153198/pexels-photo-3153198.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover no-repeat !important;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('../../images/media-pattern.png') repeat; */
    opacity: 0.2;
}

.service-card {
    background: white;
    border-radius: 3px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: none;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #1B6FD6;
    margin: 0 0 1.5rem;
}

.icon-video { background: #EEF5FD;
    border: 1px solid #C9DCEF;
}
.icon-banner { background: #EEF5FD;
    border: 1px solid #C9DCEF;
}
.icon-spot { background: #EEF5FD;
    border: 1px solid #C9DCEF;
}

/* ===== HERO ===== */

/* Fondo inchiostro con la griglia sottile del sito e una luce blu in alto a destra
   (selettore piu' specifico di blueprint.css, che forza cover/center su tutte le testate) */
body > section.hero-section.ad-hero {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(27, 111, 214, 0.42), transparent 65%),
        radial-gradient(45% 60% at 0% 100%, rgba(242, 183, 5, 0.08), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        var(--bp-ink) !important;
    background-size: auto, auto, 56px 56px, 56px 56px, auto !important;
    background-position: 0 0 !important;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
}

body > section.hero-section.ad-hero .ad-hero-intro h1 {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.ad-title-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}

.ad-title-inner {
    display: block;
}

.ad-hero-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.65;
}

.ad-hero-visual {
    position: relative;
}

/* Indice dei servizi appoggiato sulla foto */
.ad-hero-index {
    margin-top: 1rem;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.ad-hero-index .list-group-item {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--bp-ink);
    border-color: var(--bp-line-soft);
    transition: background-color var(--bp-hover) ease, color var(--bp-hover) ease;
}

.ad-hero-index .list-group-item i {
    color: var(--bp-blue);
    font-size: 0.85rem;
}

.ad-hero-index .list-group-item:hover {
    background: var(--bp-blue-wash);
    color: var(--bp-blue);
}

@media (min-width: 992px) {
    .ad-hero-index {
        position: absolute;
        left: -1.5rem;
        bottom: -2.5rem;
        width: 60%;
        margin-top: 0;
    }
}

/* ===== FOTO ===== */

.ad-frame {
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    background: var(--bp-ink);
}

.ad-frame img {
    will-change: transform;
}

/* ===== SERVIZI ===== */

.ad-chapter {
    padding: 2.5rem 0;
}

.ad-chapter-title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

/* Caratteristiche del servizio in due colonne divise da filetti */
.ad-specs li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.8rem 1rem 0.8rem 0;
    border-top: 1px solid var(--bp-line-soft);
    font-weight: 500;
    color: var(--bp-ink);
}

.ad-specs li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bp-blue);
    transform: translateY(-2px);
}

.badge.ad-tag {
    padding: 0.5em 0.9em;
    border-radius: 999px;
    background: var(--bp-blue-wash);
    color: var(--bp-blue);
    font-family: var(--bp-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

@media (min-width: 992px) {
    .ad-chapter {
        padding: 4rem 0;
    }
}

/* ===== PROCESSO ===== */

section.ad-process {
    margin: 0 16px;
    padding: 5rem 0;
    border-radius: var(--bp-radius-lg);
    background: var(--bp-bg-soft);
}

@media (min-width: 992px) {
    section.ad-process {
        padding: 7rem 0;
    }
}

/* Linea in testa a ogni fase: il blu la riempie seguendo lo scroll */
.ad-step-rail {
    position: relative;
    display: block;
    height: 2px;
    margin-bottom: 1.75rem;
    overflow: hidden;
    background: var(--bp-line);
}

.ad-step-fill {
    position: absolute;
    inset: 0;
    background: var(--bp-blue);
    transform-origin: left center;
}
