/* ==========================================================
   NEW DROP — LINEA GRAFICA 2026
   Caricato dopo style.css e custom.css: sovrascrive solo
   colori, tipografia e pulsanti. Per tornare alla grafica
   precedente basta togliere il <link> a questo file e
   ripristinare i file in backup-grafica-vecchia/.
   ========================================================== */

:root {
    /* Palette */
    --nd-cream:   #f7f0e8;
    --nd-lilac:   #e3d2e9;
    --nd-orchid:  #d49abf;
    --nd-coral:   #ff7676;
    --nd-orange:  #ff4f1f;
    --nd-berry:   #a3305f;
    --nd-violet:  #401d72;
    --nd-black:   #000000;

    /* Gradiente di marca (dal crema al viola) */
    --nd-gradient: linear-gradient(90deg, #f7f0e8 0%, #e3d2e9 22%, #d49abf 40%, #ff7676 58%, #ff4f1f 74%, #a3305f 86%, #401d72 100%);
    /* Gradiente per pulsanti e accenti su fondo nero */
    --nd-gradient-cta: linear-gradient(90deg, #ff4f1f 0%, #a3305f 55%, #401d72 100%);

    /* Opacità del testo */
    --nd-text-100: rgba(255, 255, 255, 1);
    --nd-text-80:  rgba(255, 255, 255, 0.8);
    --nd-text-50:  rgba(255, 255, 255, 0.5);
    --nd-text-30:  rgba(255, 255, 255, 0.3);
    --nd-text-15:  rgba(255, 255, 255, 0.15);
    --nd-line:     rgba(255, 255, 255, 0.14);

    /* Helvetica Now Display (licenza Monotype). Se il font non è
       installato sul dispositivo si usa Helvetica Neue, poi Inter Tight. */
    --nd-font: "Helvetica Now Display", "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
}

::selection {
    background: var(--nd-orange);
    color: #fff;
}

/* ---------- Base ---------- */

body {
    background: var(--nd-black) !important;
    color: var(--nd-text-80);
    font-family: var(--nd-font) !important;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
}

.nav__list .active,
.nav-item.active > a {
    color: var(--nd-orange) !important;
}

/* Colori inline del vecchio sito (#fa3502 rosso, #012cfc blu) */
[style*="#fa3502"] { color: var(--nd-orange) !important; }
[style*="#012cfc"] { color: var(--nd-orchid) !important; }

/* Etichette piccole: maiuscolo Light, come "AGENZIA DI MARKETING" */
.title-sub,
.project-metas .cat span,
.project-meta-box span,
.footer .footer-title {
    font-weight: 300 !important;
    letter-spacing: 0.04em !important;
    color: var(--nd-text-50) !important;
}

/* ---------- Hero ---------- */

.dsn-slider .title-text-header-inner a,
.title-text-header {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

/* Linee di griglia sottili, come nelle tavole della linea grafica */
.dsn-slider {
    position: relative;
}

.dsn-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(var(--nd-line), var(--nd-line)) 10% 0 / 1px 100% no-repeat,
        linear-gradient(var(--nd-line), var(--nd-line)) 90% 0 / 1px 100% no-repeat,
        linear-gradient(var(--nd-line), var(--nd-line)) 0 14% / 100% 1px no-repeat,
        linear-gradient(var(--nd-line), var(--nd-line)) 0 86% / 100% 1px no-repeat;
}

/* Pagine interne: bagliore aurora dietro il titolo */
.header-hero {
    position: relative;
    isolation: isolate;
}

.header-hero::before {
    content: "";
    position: absolute;
    top: -25%;
    right: 0;
    width: min(60%, 820px);
    aspect-ratio: 1;
    z-index: -1;
    pointer-events: none;
    opacity: 0.75;
    filter: blur(70px);
    background:
        radial-gradient(circle at 38% 45%, rgba(64, 29, 114, 0.95), transparent 58%),
        radial-gradient(circle at 66% 58%, rgba(255, 79, 31, 0.6), transparent 52%),
        radial-gradient(circle at 74% 28%, rgba(212, 154, 191, 0.4), transparent 48%);
}

/* ---------- Pulsanti ---------- */

/* Pill traslucida */
.link-custom a {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    transition: background 0.2s linear, border-color 0.2s linear;
}

.link-custom a:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.link-custom a:before,
.link-custom-color a:before {
    background: var(--nd-gradient-cta);
    color: #fff;
}

.link-custom a span,
.link-custom-color a span {
    font-weight: 400;
    letter-spacing: 0.06em;
}

/* Pulsante pieno con gradiente di marca */
.link-custom-color a,
.btn--gradient {
    background: var(--nd-gradient-cta) !important;
    color: #fff;
}

.link-custom-color a:before {
    background: #fff;
    color: var(--nd-violet);
}

/* ---------- Form ---------- */

input.form-control,
.form-box input,
.form-box textarea {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--nd-line) !important;
    color: #fff;
    font-family: var(--nd-font);
}

.form-box button {
    background: var(--nd-gradient-cta);
    color: #fff;
    border-radius: 999px;
    font-family: var(--nd-font);
    font-weight: 400;
    letter-spacing: 0.06em;
    transition: filter 0.2s linear;
}

.form-box button:hover {
    filter: brightness(1.12);
}

.form-box input:focus,
.form-box textarea:focus,
input.form-control:focus {
    border-color: var(--nd-orchid) !important;
}

/* ---------- Preloader ---------- */

.preloader .preloader-before,
.preloader .preloader-after,
.preloader {
    background: var(--nd-black);
}

.preloader .preloader-bar .preloader-progress {
    background: var(--nd-gradient-cta);
}

/* ---------- Sezione chiara (regola di alternanza cromatica) ----------
   I servizi in home sono su fondo crema, come i post "sfondo bianco". */

.our-services-2 {
    background: var(--nd-cream);
    padding: 120px 0;
    color: rgba(0, 0, 0, 0.8);
    isolation: isolate;
}

.our-services-2::before {
    content: "";
    position: absolute;
    top: -8%;
    right: -6%;
    width: min(46vw, 760px);
    aspect-ratio: 3 / 4;
    z-index: -1;
    pointer-events: none;
    background: url(../img/brand/aurora-light.jpg) center / cover no-repeat;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}

.our-services-2 .title-main,
.our-services-2 h2,
.our-services-2 h3 {
    color: #000;
}

.our-services-2 .title-sub {
    color: rgba(0, 0, 0, 0.5) !important;
}

.our-services-2 p {
    color: rgba(0, 0, 0, 0.7);
}

.our-services-2 .col-md-4 .services-item {
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: none;
}

.our-services-2 .col-md-4:nth-of-type(even) .services-item {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 40px rgba(64, 29, 114, 0.08);
}

.our-services-2 .services-item .corner {
    display: none;
}

.our-services-2 .link-custom a {
    color: #000;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
}

.our-services-2 .link-custom a:hover {
    background: rgba(0, 0, 0, 0.08);
}

@media only screen and (max-width: 767px) {
    .our-services-2 {
        padding: 80px 0;
    }

    .our-services-2::before {
        width: 90vw;
        right: -30%;
    }
}

/* ---------- Footer ---------- */

.footer {
    border-top: 1px solid var(--nd-line);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

/* ---------- Pulsante WhatsApp: resta verde, angoli coerenti ---------- */

.btn-ws {
    border-radius: 999px 0 0 999px;
}
