/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #061326;
    --bg-secondary: #081a33;
    --bg-card: rgba(8, 18, 34, 0.78);
    --bg-card-soft: rgba(10, 24, 45, 0.72);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text-main: #f5f8ff;
    --text-soft: #c4d1e6;
    --text-muted: #8da1bd;

    /* ACCENTO PIÙ DIGITAL (electric cyan) */
    --accent: #49c6ff;
    --accent-hover: #2fb6f5;
    --accent-dark: #071521;

    --hero-blue: #000000;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: 0.25s ease;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid #111;
  border-radius: 50px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s ease;
  background-color: rgb(15, 86, 108);
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: "Manrope", sans-serif;
    background: #000;
    color: var(--text-main);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

main {
    overflow: hidden;
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 8% 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.86) 35%, rgba(0, 0, 0, 0.80) 60%, rgba(0, 0, 0, 0.92) 100%),
        url("/assets/img/services/cla.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: rgba(73, 198, 255, 0.10);
    border: 1px solid rgba(73, 198, 255, 0.22);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title-wrap{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
}

.hero-title-card{
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 112%;
    height: 120%;
    background: rgba(11, 7, 32, 0.08);
    border-radius: 100px;
    z-index: 1;
}

.hero-branding {
    background-color: rgb(15, 86, 108);

    }

.hero h1{
    position: relative;
    z-index: 2;
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.45;
    letter-spacing: -0.05em;
    margin: 0;
    max-width: 20ch;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
}

.hero h1 span{
    color:rgb(188, 177, 177);
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    max-width: 70ch;
    font-size: 1rem;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    margin-top: 60px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap:30px;
    margin-bottom: 18px;
     margin-right: 10px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 56px;
    padding: 16px 30px;
    margin-right: -10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 58px;
    padding: 16px 30px;
    margin-top: 50px;
    border-radius: 200px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-primary {
    background: #000000;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 24px rgba(73, 198, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
        border-color: silver;
       
}

.btn-primary:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(73, 198, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-secondary {
   background: #ffffff;
    color: rgb(0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 24px rgba(73, 198, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
        font-size: 14px;
       
       
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.48);
    color: #000000;
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* CONTATTI HERO A BOTTONI */

.hero-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto 22px;
    margin-left: 45px;
}

.hero-contacts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: -20px;
    min-width: 220px;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-contacts a:first-child {
    background: rgb(255, 255, 255);
    border-radius: 100px ;
    color: #000000;
    

    min-width: 120px;
    min-height: 42px;
    padding: 9px 16px;
    font-size: 13px;
    margin-left: -45px; 
    

}

.hero-contacts a:first-child:hover {

    transform: translateY(-2px);
    

}


/* bottone whatsapp */
.hero-contacts a:last-child {

    color: white;


    min-width: 120px;
    min-height: 42px;
    padding: 9px 16px;
    font-size: 13px;
    margin-left: 75px;
    background-color: #0b77a5;
    border-radius: 100px;
    

}   
    

.hero-contacts a:last-child:hover {


    transform: translateY(-2px);
}

.whatsapp-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
   
}

.whatsapp-icon{
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

/* icone */
.hero-contacts a::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 14px;
    line-height: 1;
    flex: 0 0 18px;
}







.hero-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 28px;
    max-width: 820px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 600;
}

.hero-visual-proof {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 26px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.hero-visual-proof img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
}

.hero-includes {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.66);
    max-width: 52ch;
    margin: 0 auto;
    text-align: center;
}

/* HERO STRIP FINALE */

.hero-tech-wrap {
    position: relative;
    z-index: 2;
    width: calc(100% + 16%);
    margin: 110px 0 0;
    margin-left: -8%;
    margin-right: -8%;
}

.hero-tech-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-tech-strip::before,
.hero-tech-strip::after {
    content: "";
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-tech-strip::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-tech-strip::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-tech-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: heroTechScroll 28s linear infinite;
    will-change: transform;
}

.hero-tech-strip:hover .hero-tech-track {
    animation-play-state: paused;
}

.hero-tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 130px;
}

.hero-tech-item img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    filter:
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.06))
        drop-shadow(0 10px 24px rgba(0, 0, 0, 0.34));
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.hero-tech-item:hover img {
    transform: scale(1.08);
    opacity: 1;
}

@keyframes heroTechScroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* RESPONSIVE HERO */

@media (max-width: 1000px) {
    .hero {
        padding: 110px 8% 0;
        min-height: auto;
        background-position: center;
    }

    .hero h1 {
        max-width: 12ch;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 6% 0;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.84) 48%, rgba(0, 0, 0, 0.94) 100%),
            url("../img/logo/pc.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-kicker {
        font-size: 12px;
        padding: 0 14px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        max-width: 12ch;
    }

    .hero-subtitle {
        font-size: 17px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 340px;
        min-width: 0;
    }

    .hero-contacts {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 18px;
    }

    .hero-contacts a {
        width: 100%;
        max-width: 340px;
        min-width: 0;
        font-size: 14px;
    }

    .hero-highlights {
        gap: 10px;
        margin-bottom: 22px;
    }

    .hero-highlights span {
        font-size: 13px;
        min-height: 38px;
        padding: 0 14px;
    }

    .hero-visual-proof {
        max-width: 300px;
        margin-bottom: 22px;
        padding: 10px;
        border-radius: 18px;
    }

    .hero-visual-proof img {
        border-radius: 12px;
    }

    .hero-includes {
        font-size: 14px;
        max-width: 34ch;
    }

    .hero-tech-wrap {
        width: calc(100% + 12%);
        margin-left: -6%;
        margin-right: -6%;
        margin-top: 54px;
    }

    .hero-tech-strip {
        padding: 14px 0;
    }

    .hero-tech-track {
        gap: 30px;
        animation-duration: 18s;
    }

    .hero-tech-item {
        min-width: 76px;
    }

    .hero-tech-item img {
        width: 56px;
        height: 56px;
    }

    .hero-tech-strip::before,
    .hero-tech-strip::after {
        width: 50px;
    }
}

/* SERVICES */

.services-showcase {
    position: relative;
    padding: 88px 8% 92px;
    background:black;
}

.section-title {
    max-width: 680px;
    margin-bottom: 40px;
}

.section-title span {
    display: inline-block;
    color: #9a9898;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
    margin-bottom: 14px;
    color: #f4f1ea;
    letter-spacing: -0.5px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    font-size: 16px;
    max-width: 58ch;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 34px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-copy {
    max-width: 560px;
}

.service-kicker {
    display: inline-block;
    color: #5d5d5d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
}

.service-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.1;
    color: #f3efe7;
    letter-spacing: -0.3px;
}

.service-copy p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.68;
    font-size: 15px;
    max-width: 54ch;
}

.service-visual {
    position: relative;
    width: 100%;
}

.service-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-row:hover .service-visual img {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}

.service-row:hover .service-copy h3 {
    color: #ffffff;
}

/* FOOTER PLACEHOLDER SUPPORT */

#navbar,
#footer {
    position: relative;
    z-index: 20;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .service-row {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .service-copy h3 {
        font-size: clamp(26px, 3.2vw, 36px);
    }
}

@media (max-width: 1000px) {
    .hero {
        padding: 110px 8% 0;
        min-height: auto;
        background-position: center;
    }

    .hero h1 {
        max-width: 12ch;
    }
}

@media (max-width: 980px) {
    .hero-tech-wrap {
        width: calc(100% + 14%);
        margin-left: -7%;
        margin-right: -7%;
        margin-top: 72px;
    }

    .hero-tech-strip {
        padding: 18px 0;
    }

    .hero-tech-track {
        gap: 46px;
        animation-duration: 22s;
    }

    .hero-tech-item {
        min-width: 96px;
    }

    .hero-tech-item img {
        width: 78px;
        height: 78px;
    }

    .hero-tech-strip::before,
    .hero-tech-strip::after {
        width: 90px;
    }

    .services-showcase {
        padding: 90px 7%;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 0;
    }

    .service-copy,
    .service-copy p {
        max-width: 100%;
    }

    .service-visual img {
        border-radius: 18px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 6% 0;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.84) 48%, rgba(0, 0, 0, 0.94) 100%),
            url("../img/logo/pc.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        max-width: 12ch;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: 0;
    }

    .hero-tech-wrap {
        width: calc(100% + 12%);
        margin-left: -6%;
        margin-right: -6%;
        margin-top: 54px;
    }

    .hero-tech-strip {
        padding: 14px 0;
    }

    .hero-tech-track {
        gap: 30px;
        animation-duration: 18s;
    }

    .hero-tech-item {
        min-width: 76px;
    }

    .hero-tech-item img {
        width: 56px;
        height: 56px;
    }

    .hero-tech-strip::before,
    .hero-tech-strip::after {
        width: 50px;
    }

    .services-showcase {
        padding: 78px 6%;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .section-title p,
    .service-copy p {
        font-size: 16px;
        line-height: 1.75;
    }

    .service-copy h3 {
        font-size: 28px;
        line-height: 1.12;
    }

    .service-kicker {
        font-size: 12px;
        letter-spacing: 1.8px;
        margin-bottom: 12px;
    }

    .service-row {
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    .badge {
        font-size: 13px;
        padding: 9px 14px;
    }

    .hero h1 {
        font-size: 36px;
    }
}

html{
    scroll-behavior: smooth;
}

#contatti{
    scroll-margin-top: 110px;
}

.contact-section{
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0 120px;
}

.contact-form{
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 16px 18px;
    border-radius: 16px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255, 255, 255, 0.52);
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.contact-form textarea{
    min-height: 170px;
    resize: vertical;
}

.contact-form .btn-primary{
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 768px){
    .contact-section{
        width: min(100% - 32px, 1100px);
        padding: 90px 0 100px;
    }

    .form-grid{
        grid-template-columns: 1fr;
    }

    .contact-form .btn-primary{
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}