/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Tema child di Astra
 Author:       Giulia Ricchio
 Author URI:   https://giuliaricchio.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

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

    :root {
      --bg: #FFFFFF; /*Bianco*/
      --surface: #F3EFEA; /*Avorio scuro*/
      --ink: #141414; /*Nero Onyx*/
      --muted: #313131;
      --accent: #D473D4; /*Orchidea*/
      --accent-text: #D473D4; 
      --accent-soft: rgba(218,112,214,0.12);
      --accent-mid: rgba(218,112,214,0.35);
      --btn: #141414; /*Nero Onyx*/
      --btn-text: #FFFFFF; /*Bianco*/
      --line: #E9E4DD; 
      --line2: #C8C3BC; /*?*/
    }
    
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: 'Manrope', sans-serif;
      font-weight: 400;
      overflow-x: hidden;
    }

    /* ── SHARED ── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }

    .label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent-text);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .label::before { content: ''; width: 24px; height: 1.5px; background: var(--accent-text); flex-shrink: 0; }

    .section-title {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin-bottom:2.5rem
    }
    .section-title em {
      font-style: normal;
      
    }

    p, .body-text {
      font-family: 'Manrope', sans-serif;
      font-feature-settings: 'tnum';
    }

    /* Reveal */
    /*.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
    /*.reveal.visible { opacity: 1; transform: translateY(0); }
    /*.reveal-delay-1 { transition-delay: 0.1s; }
    /*.reveal-delay-2 { transition-delay: 0.2s; }
    /*.reveal-delay-3 { transition-delay: 0.3s; }

    /* Buttons */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      background: var(--btn);
      color: var(--btn-text);
      padding: 0.95rem 1.9rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 2px;
      transition: background 0.2s, transform 0.2s;
    }
    .btn-primary:hover { 
        background: #2A2A2A; 
        transform: translateY(-1px); 
        color: var(--btn-text);
    }

    .btn-text {
      display: inline-flex; 
      align-items: center; gap: 0.5rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      border-bottom: 1.5px solid var(--muted);
      padding-bottom: 2px;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: color 0.2s;
    }
    
    .btn-text:hover { 
        color: #2A2A2A;
    }

    /* ════════════════════════════
       NAV
    ════════════════════════════ */
    nav {
      position: fixed; 
      top: 0px; 
      left: 0; 
      right: 0; 
      z-index: 100;
      display: flex; 
      justify-content: 
      space-between; align-items: center;
      padding: 1.6rem 3rem;
      background: var(--ink);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .logo {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: -0.01em;
      text-decoration: none;
      color: var(--btn-text);
    }
    .nav-r { display: flex; align-items: center; gap: 2.5rem; }
    
    ul.nav-links {
        margin: 0 0 0em 3em;
    }
    
    .nav-links { list-style: none; display: flex; gap: 2rem; }
    .nav-links a {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--btn-text);
      text-decoration: none;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--surface); }
    .avail {
      display: flex; 
      align-items: center; 
      gap: 0.45rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.7rem; 
      font-weight: 500;
      letter-spacing: 0.1em; 
      text-transform: uppercase;
      color: var(--bg);
    }
    .avail-dot { width: 6px; height: 6px; border-radius: 50%; background: #4CAF7D; box-shadow: 0 0 6px #4CAF7D; animation: glow 2s infinite; }
    @keyframes glow { 0%,100%{opacity:1} 50%{opacity:.3} }

    /* ════════════════════════════
       HERO
    ════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 500px;
      grid-template-rows: 1fr auto;
      padding-top: 70px;
      border-bottom: 1px solid var(--line);
      background-color: var(--bg);
    }
    .hero-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 4rem 8rem;
      border-right: 1px solid var(--line);
    }
    .eyebrow {
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 2.5rem;
      opacity: 0; animation: fadeIn 0.7s 0.4s forwards;
    }
    .eyebrow-line { 
        width: 28px; 
        height: 1.5px; 
        background: var(--accent-text); 
    }
    .eyebrow span {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.6rem; 
      font-weight: 600;
      letter-spacing: 0.22em; 
      text-transform: uppercase; 
      color: var(--accent-text);
    }
    h1.hero-h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: clamp(3.2rem, 5.2vw, 5.8rem);
      line-height: 1.0;
      letter-spacing: -0.04em;
      margin-bottom: 2.5rem;
    }
    .h1-row { display: block; overflow: hidden; }
    .h1-inner { display: block; transform: translateY(110%); animation: slideUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
    .h1-row:nth-child(1) .h1-inner { animation-delay: 0.45s; }
    .h1-row:nth-child(2) .h1-inner { animation-delay: 0.58s; }
    .h1-row:nth-child(3) .h1-inner { animation-delay: 0.71s; }
    .h1-accent { color: var(--accent); }

    .hero-desc {
      font-family: 'Manrope', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.72;
      color: var(--ink);
      max-width: 620px;
      margin-bottom: 3rem;
      opacity: 0; animation: slideUp 0.7s 0.9s forwards;
    }
    .hero-desc strong { color: var(--ink); font-weight: 400; }

    .cta-row { display: flex; align-items: center; gap: 2rem; opacity: 0; animation: slideUp 0.7s 1s forwards; }

    /* Hero visual */
    .hero-visual {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2.5rem;
      padding: 4rem 3.5rem;
      opacity: 0; 
      animation: fadeIn 1s 0.7s forwards;
    }
    .hero-svc-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.6rem; 
      font-weight: 600;
      letter-spacing: 0.2em; 
      text-transform: uppercase; color: var(--muted);
    }
    .hero-svc-list { list-style: none; display: flex; flex-direction: column; }
    
    ul.hero-svc-list {
        margin: 0!important;
    }
    .hero-svc-list li {
      display: flex; align-items: center; gap: 1rem;
      padding: 1.3rem 0;
      border-bottom: 1px solid var(--line);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem; font-weight: 600;
      letter-spacing: -0.01em;
      transition: color .2s; cursor: default;
    }
    .hero-svc-list li:first-child { 
        border-top: 1px solid var(--line); 
    }
    .hero-svc-num {
      font-size: 0.6rem; 
      font-weight: 600;
      color: var(--muted); 
      letter-spacing: 0.1em; 
      min-width: 2ch; 
      flex-shrink: 0;
    }
    .hero-stats { display: flex; gap: 3.5rem; margin-top: 0.5rem; }
    .hero-stat-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.2rem; font-weight: 700;
      color: var(--accent); letter-spacing: -0.03em; line-height: 1;
    }
    .hero-stat-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 600;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--muted); margin-top: 0.3rem;
    }

    /* Strip */
    .hero-strip {
      grid-column: 1/-1; border-top: 1px solid var(--line);
      display: grid; grid-template-columns: repeat(4,1fr);
      opacity: 0; animation: fadeIn 0.7s 1.2s forwards;
    }
    .strip-item {
      padding: 1.5rem 2rem; border-right: 1px solid var(--line);
      display: flex; flex-direction: column; gap: .35rem;
      transition: background .2s;
    }
    .strip-item:last-child { border-right: none; }
    .strip-item:hover { background: var(--surface); }
    .strip-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.7rem; font-weight: 700;
      color: var(--accent); line-height: 1; letter-spacing: -0.02em;
    }
    .strip-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .6rem; font-weight: 500;
      letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
    }

    /* ════════════════════════════
       MARQUEE
    ════════════════════════════ */
    .marquee-section { 
        border-bottom: 1px solid var(--line); 
        overflow: hidden; 
        padding: 1rem 0; 
        background: var(--accent); 
    }
    .marquee-track { 
        display: flex; 
        animation: marquee 30s linear infinite; 
        white-space: nowrap; 
    }
    .marquee-item {
      display: inline-flex; 
      align-items: center; 
      gap: 2rem; 
      padding: 0 2rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.62rem; 
      font-weight: 500;
      letter-spacing: 0.18em; 
      text-transform: uppercase; 
      color: var(--bg);
    }
    .marquee-item::after { 
        content: '◆'; 
        color: var(--bg); 
        font-size: 0.35rem; 
        margin-left: 2rem; 
    }
    @keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
    

    /* ════════════════════════════
       RISULTATI
    ════════════════════════════ */
    .results-section { 
        padding: 9rem 0 0 0;/*9rem 0; */
        border-bottom: 1px solid var(--line); 
        background-color: var(--bg);
    }
    .results-header { 
        margin-bottom: 4.5rem; 
    }
    .results-grid { 
        display: grid; 
        grid-template-columns: repeat(3,1fr); 
        gap: 1px; 
        background: var(--line); 
        margin-bottom: 1px; 
    }
    .results-grid-2 { 
        display: grid; 
        grid-template-columns: 2fr 1fr; 
        gap: 1px; 
        background: var(--line); 
    }
    .result-card {
        background: var(--bg); 
        padding: 2.8rem 2.2rem;
        display: flex; 
        flex-direction: column; 
        gap: 0.9rem; 
        transition: background .25s;
    }
    /*.results-grid > .result-card:nth-child(3) {
       /* border-right: 1px solid var(--line);
    /*}*/
    
    
    .result-card:hover { background: white; }
    .result-card.dark { 
        background: var(--ink);
    }
    .result-card.dark .result-icon,
    .result-card.dark .result-title,
    .result-card.dark .result-text { color: white; }
    .result-card.dark .result-text { opacity: 0.55; }
    .result-icon { font-size: 1.4rem; }
    .result-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
    }
    .result-text { 
        font-size: 0.85rem; 
        color: var(--muted); 
        line-height: 1.62; }
    
    .result-stat {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 3.2rem; 
      font-weight: 700; 
      color: var(--accent);
      line-height: 1; 
      letter-spacing: -0.04em;
    }
    .result-stat-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; 
      font-weight: 500; 
      letter-spacing: 0.14em; 
      text-transform: uppercase; 
      color: var(--muted);
      line-height: 1.15; /*new*/
    }
    .result-stat-title {
      display: block;
    }
    .result-stat-source {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.6rem;
      font-weight: 400; 
      letter-spacing: 0.14em; 
      text-transform: none; 
      color: var(--muted);
      line-height: 1.6; /*1*/
      letter-spacing: -0.04em;
      display: block; /*new*/
    }
    .result-stat-source a {
        color:var(--accent-text);
    }

    /* ════════════════════════════
       SEGNALI
    ════════════════════════════ */
    .about-section { 
        padding: 9rem 0; 
        border-bottom: 1px solid var(--line); 
        background-color: var(--surface);
    }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
    .about-label { margin-bottom: 1.5rem; }
    .about-title { margin-bottom: 2rem; }
    .about-text { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.5rem; }
    .about-text strong { color: var(--ink); font-weight: 400; }
    .about-link {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.65rem; font-weight: 600;
      letter-spacing: 0.12em; 
      text-transform: uppercase;
      color: var(--accent); 
      text-decoration: none;
      border-bottom: 1.5px solid var(--accent-mid); padding-bottom: 2px;
      transition: border-color .2s;
    }
    .about-link:hover { border-color: var(--accent); }
    .about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
    .about-card {
      background-color: var(--surface);
      padding: 2rem;
      display: flex; 
      flex-direction: column; 
      gap: 0.75rem;
      transition: background .2s;
    }
    .about-card-icon { font-size: 1.2rem; }
    .about-card-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
    }
    .about-card-text { font-size: 0.8rem; line-height: 1.65; color: var(--muted); }

    /* ════════════════════════════
       CASE STUDY
    ════════════════════════════ */
    .case-section { 
        padding: 9rem 0; 
        background-color: var(--bg);
    }
    .case-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
    .case-card {
      display: grid; 
      grid-template-columns: 1fr 1fr;
      background: var(--surface); 
      border: 1px solid var(--line); 
      overflow: hidden;
      transition: border-color .3s;
      margin-bottom: 2rem;
    }
    .case-visual {
      background: var(--surface); 
      min-height: 440px;
      position: relative; 
      overflow: hidden;
      display: flex; 
      align-items: center; 
      justify-content: center;
      border-right: 1px solid var(--line);
    }
    .case-tag {
      position: absolute; top: 1.5rem; left: 1.5rem;
      background: var(--btn); color: white;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
      padding: 0.35rem 0.8rem; border-radius: 2px;
    }
    .case-info { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
    .case-meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
    .case-meta-item {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 500; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--muted);
      display: flex; flex-direction: column; gap: 0.35rem;
    }
    .case-meta-val { color: var(--ink); font-size: 0.72rem; }
    .case-title-sm {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.55rem; font-weight: 700;
      letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem;
    }
    .case-desc { font-size: 0.88rem; line-height: 1.7; color: var(--muted); margin-bottom: 2rem; }
    .case-results { display: flex; gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
    .case-result { display: flex; flex-direction: column; gap: 0.25rem; }
    .case-result-val {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.5rem; font-weight: 700; color: var(--accent); letter-spacing: -0.02em;
    }
    .case-result-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.55rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
    }

    /* ════════════════════════════
       SERVIZI
    ════════════════════════════ */
    .services-section { 
        padding: 9rem 0; 
        background-color: var(--surface);
    }
    .services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
    .services-intro { font-size: 1rem; line-height: 1.72; color: var(--muted); }
    .services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
    .svc-card {
      background: var(--bg); padding: 2.8rem 2.2rem;
      display: flex; flex-direction: column; gap: 1.2rem;
      position: relative; overflow: hidden; transition: background .25s;
    }
    .svc-card:hover { background: white; }
    .svc-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 2px; background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform .35s cubic-bezier(0.16,1,0.3,1);
    }
    .svc-card:hover::before { transform: scaleX(1); }
    .svc-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.8rem; font-weight: 700;
      color: var(--line2); line-height: 1; letter-spacing: -0.04em;
    }
    .svc-name {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
    }
    .svc-desc { font-size: 0.85rem; line-height: 1.65; color: var(--muted); }
    .svc-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
    .svc-tool {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.56rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--muted); border: 1px solid var(--line); padding: 0.28rem 0.65rem; border-radius: 2px;
    }

    /* ════════════════════════════
       PRICING
    ════════════════════════════ */
    .pricing-section { 
        padding: 6rem 0; 
        background: var(--bg); 
    }
    .pricing-header { text-align: center; margin-bottom: 5rem; }
    .pricing-label { justify-content: center; margin-bottom: 1.2rem; }
    .pricing-label::before { display: none; }
    .pricing-subtitle { font-size: 0.95rem; color: var(--muted); margin-top: 0.75rem; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7; }
    .pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
    .price-card {
      background: var(--bg); 
      padding: 2.8rem 2.2rem;
      display: flex; 
      flex-direction: column; 
      gap: 0;
      transition: background .25s; 
      position: relative;
    }
    .price-card.featured { 
    background: var(--surface);
    }
    
    
    .price-badge {
      position: absolute; top: 1.5rem; right: 1.5rem;
      background: var(--accent); color: white;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.52rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
      padding: 0.28rem 0.65rem; border-radius: 20px;
    }
    .price-name {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 1.2rem;
    }
    .price-amount {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.5rem; font-weight: 700; color: var(--ink);
      line-height: 1; letter-spacing: -0.03em; margin-bottom: 0.25rem;
    }
    .price-from {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em;
      color: var(--muted); text-transform: uppercase; margin-bottom: 1.8rem;
    }
    .price-divider { height: 1px; background: var(--line); margin-bottom: 1.8rem; }
    .price-desc, .audit-text { font-size: 0.85rem; line-height: 1.65; color: var(--muted); margin-bottom: 1.8rem; }
    .price-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.5rem; }
    
    ul.price-features {
        margin: 0 0 1.5rem 0!important;
    }
    
    .price-features li {
      font-size: 0.8rem; color: var(--muted);
      display: flex; align-items: flex-start; gap: 0.65rem; line-height: 1.5;
    }
    .price-features li::before { content: '→'; color: var(--accent); font-size: 0.68rem; flex-shrink: 0; margin-top: 0.05rem; }
    .price-cta {
      margin-top: auto; 
      display: inline-flex; 
      align-items: center; 
      gap: 0.5rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.62rem; 
      font-weight: 600; 
      letter-spacing: 0.12em; 
      text-transform: uppercase;
      text-decoration: none; 
      padding: 0.85rem 1.4rem;
      border: 1.5px solid var(--line); 
      color: var(--muted);
      border-radius: 2px; 
      transition: all .22s;
    }
    
    /* ── Audit full-width ── */
    .audit-grid { 
        display: grid; 
        grid-template-columns: repeat(1fr); 
        gap: 1px; 
        background: var(--bg);
        padding-top: 3.8rem;
    }
    
    .audit-box {
      background: var(--bg);
      border: 1px solid var(--line);
      padding: 2.8rem 2.2rem;
      display: flex; 
      flex-direction: column; 
      gap: 0;
    }
    .audit-box:hover { 
        background: var(--surface);
    }
    
    /*.audit-section {
      background: var(--surface);
      border-top: 1px solid var(--line);
      padding: 2rem 2.2rem;
    }
    .audit-text {
      font-size: 0.85rem;
      line-height: 1.65;
      color: var(--muted);
      flex: 1;
    }
    .audit-price-val {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.65rem; 
      font-weight: 700;
      color: var(--muted);
      letter-spacing: -0.03em;
      white-space: nowrap; 
      flex-shrink: 0;
      line-height: 1.65;
  }*/
    
    .price-cta:hover { background: var(--btn); color: white; border-color: var(--btn); }
    .price-card.featured .price-cta { background: var(--btn); color: white; border-color: var(--btn); }
    

    /* ════════════════════════════
       COLLABORAZIONE
    ════════════════════════════ */
    .collab-section {
      padding: 6rem 0 6rem 0; /*0 0 9rem;*/
      background: var(--surface);
    }
    .collab-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--ink);
      color: white;
      overflow: hidden;
    }
    .collab-left {
      padding: 4rem;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      gap: 2rem;
      border-right: 1px solid rgba(255,255,255,0.08);
    }
    .collab-eyebrow {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 600;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--accent);
      display: flex; align-items: center; gap: 0.6rem;
    }
    .collab-eyebrow::before {
      content: ''; width: 20px; height: 1px; background: var(--accent);
    }
    .collab-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.05;
      color: white;
    }
    .collab-title em {
      font-style: normal;
      color: var(--accent-text);
    }
    .collab-cta {
      display: inline-flex; 
      align-items: center; 
      gap: 0.7rem;
      background-color: var(--btn-text);
      color: var(--muted);
      padding: 0.95rem 1.9rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.72rem; 
      font-weight: 600;
      letter-spacing: 0.1em; 
      text-transform: uppercase;
      text-decoration: none; 
      border: 1.5px solid var(--line);
      border-radius: 2px;
      align-self: flex-start;
      transition: opacity .2s, transform .2s;
    }
    .collab-cta:hover { 
      transform: translateY(-1px); 
      color: var(--muted);
    }
    .collab-right {
      padding: 4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2.5rem;
    }
    .collab-desc {
      font-family: 'Manrope', sans-serif;
      font-size: 1rem; font-weight: 300;
      line-height: 1.75;
      color: var(--btn-text);
    }
    .collab-features {
      list-style: none;
      display: flex; flex-direction: column; gap: 0;
    }
    ul.collab-features {
        margin: 0 0 1.5rem 0!important;
    }
    .collab-features li {
      font-family: 'Manrope', sans-serif;
      font-size: 0.88rem; 
      font-weight: 300;
      color: var(--btn-text);
      display: flex; 
      align-items: flex-start; gap: 0.75rem;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      line-height: 1.5;
    }
    .collab-features li:first-child { 
        border-top: 1px solid rgba(255,255,255,0.07); 
    }
    .collab-features li::before {
      content: '→';
      color: var(--accent);
      font-size: 0.72rem;
      flex-shrink: 0;
      margin-top: 0.1rem;
    }


    /* ════════════════════════════
       METODO
    ════════════════════════════ */
    .method-section { 
        padding: 9rem 0; 
        background-color: var(--bg);
    }
    .method-header { margin-bottom: 5rem; }
    .method-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
    .method-step {
      background: var(--bg); padding: 2.8rem 2rem;
      display: flex; flex-direction: column; gap: 1.2rem;
      position: relative; transition: background .25s;
    }
    .method-step:hover { background: white; }
    .step-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 3.5rem; font-weight: 700;
      color: var(--line); line-height: 1; letter-spacing: -0.04em;
      position: absolute; top: 1.5rem; right: 1.8rem;
    }
    .step-icon-wrap {
      width: 48px; 
      height: 48px; 
      /*border: 1px solid var(--line);*/
      display: flex; 
      align-items: center; 
      justify-content: left; 
      border-radius: 2px;
    }
    .step-icon { font-size: 1.1rem; }
    .step-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
    }
    .step-desc { 
        font-size: 0.85rem; 
        line-height: 1.65; 
        color: var(--muted); 
    }
    .step-duration {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 600;
      letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: auto;
    }

    /* ════════════════════════════
       FAQ
    ════════════════════════════ */
    .faq-section { 
        padding: 9rem 0; 
        background: var(--surface);
    }
    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-q {
      width: 100%; 
      background: none; 
      border: none; 
      border-radius: 0!important;
      color: var(--ink);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.92rem; 
      font-weight: 400; 
      text-align: left;
      padding: 1.4rem 0; 
      cursor: pointer;
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
      gap: 1rem;
      line-height: 1.45; 
      transition: color .2s;
    }
    .faq-q:hover, .faq-q:focus { 
        color: #2A2A2A;  
        background: none!important;
    }
    
    .faq-icon {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem; font-weight: 300; color: var(--muted); flex-shrink: 0;
      transition: transform .3s, color .2s;
    }
    .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.16,1,0.3,1); }
    .faq-a-inner { padding-bottom: 1.4rem; font-size: 0.88rem; line-height: 1.7; color: var(--muted); }
    .faq-item.open .faq-a { max-height: 350px!important;}
    .faq-cta-box {
      background: white; 
      border: 1px solid var(--line);
      padding: 2.8rem; 
      display: flex; 
      flex-direction: column; 
      gap: 1.2rem;
    }
    
    .faq-cta-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
    }
    .faq-cta-title em { font-style: normal; color: var(--accent-text); }
    .faq-cta-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

    /* ════════════════════════════
       ABOUT PERSONALE
    ════════════════════════════ */
    .personal-section { padding: 9rem 0; border-bottom: 1px solid var(--line); background: var(--bg); }
    .personal-grid { display: grid; grid-template-columns: 440px 1fr; gap: 6rem; align-items: center; }
    .personal-photo { position: relative; }
    .photo-ph {
      width: 100%; 
      aspect-ratio: 3/4;
      display: flex; 
      align-items: center; 
      justify-content: center;
      position: relative; 
      overflow: hidden;
    }
    .photo-ph-inner { 
        display: flex; 
        flex-direction: 
        column; align-items: 
        center; gap: 1rem; 
    }
    
    
    /*.photo-ph-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);*/
    }
    /*.photo-decoration {
      position: absolute; bottom: -1.2rem; right: -1.2rem;
      background: var(--accent); color: white; padding: 1.1rem 1.4rem; border-radius: 2px;
    }*/
    /*.photo-decoration span {
      display: block; font-family: 'Space Grotesk', sans-serif;
      font-size: 1.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em;
    }
    /*.photo-decoration small {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.52rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75;
    }*/
    /*.personal-title { 
        margin-bottom: 1.5rem; */
    }*/
    .personal-text { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.3rem; }
    .personal-text strong { color: var(--ink); font-weight: 400; }
    .personal-skills { 
        display: flex; 
        flex-wrap: wrap; 
        gap: 0.4rem; 
        margin: 1rem 0 2.5rem; }
    .skill-tag {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
      border: 1px solid var(--line); padding: 0.35rem 0.8rem;
      color: var(--muted); border-radius: 2px; transition: all .18s;
    }

    /* ════════════════════════════
       FOOTER
    ════════════════════════════ */
    footer { 
        padding: 5rem 0 2rem; 
        border-top: 1px solid var(--line);
        background-color: var(--ink)!important;
    }
    .footer-top { 
        display: grid; 
        grid-template-columns: 3fr 1fr 1fr; /*1fr 1fr 1fr;*/
        gap: 4rem; 
        margin-bottom: 5rem; 
        /*border-bottom: 1px solid rgba(255,255,255,0.08);*/
    }
    .footer-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.2rem; 
      font-weight: 700; 
      letter-spacing: -0.01em; 
      margin-bottom: 0.8rem;
    }
    .footer-tagline { 
        font-size: 0.82rem; 
        color: var(--bg); 
        line-height: 1.65; 
        max-width: 350px; 
    }
    .footer-col-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; 
      font-weight: 600; 
      letter-spacing: 0.2em; 
      text-transform: uppercase;
      color: var(--bg); 
      margin-bottom: 0.6rem;
    }
    .footer-links { 
        list-style: none; 
        display: flex; 
        flex-direction: column; gap: 0.8rem;
    }
    ul.footer-links {
        margin: 0!important;
    }
    .footer-links a { 
        font-size: 0.88rem; 
        color: var(--bg); 
        text-decoration: none; 
        transition: color .2s; 
    }
    .footer-links a:hover { 
        color: var(--accent-text); 
    }
    .footer-bottom {
      border-top: 1px solid var(--line); 
      padding-top: 2rem;
      display: flex; 
      justify-content: space-between; 
      align-items: center;
    }
    .footer-copy {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.58rem; 
      font-weight: 500; 
      letter-spacing: 0.1em; 
      text-transform: uppercase; 
      color: var(--bg);
    }
    .footer-copy a {
        color: var(--accent-text);
    }
    .footer-cta {
      display: inline-flex; 
      align-items: center; 
      gap: 0.7rem; /*0.5rem*/
      background: var(--bg); 
      color: var(--ink);
      padding: 0.75rem 1.4rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.6rem; 
      font-weight: 600; 
      letter-spacing: 0.12em; 
      text-transform: uppercase;
      text-decoration: none; 
      border-radius: 2px; 
      transition: background .2s;
    }
    .footer-cta:hover { 
        background: var(--bg); 
        transform: translateY(-1px); 
        color: var(--ink);
    }


/* ════════════════════════════
   NAV — RESPONSIVE + HAMBURGER
════════════════════════════ */

/* Hamburger button — nascosto su desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--btn-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animazione X quando aperto */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-r.is-open {
    z-index: 9999 !important;
  }
  

  .nav-r.is-open .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav-r.is-open .nav-links a {
    color: var(--ink) !important;
    font-size: 1rem !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-r.is-open .avail {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
                                               /*PAGINA SINGOLO CASE STUDY*/
  
    /*Hero*/
    .hero-visual-case {
        padding: 0rem 0rem 0rem 0rem;
    }
    .hero-case {
        display: inherit;
        min-height: 70vh;
    }
    .hero-case > .hero-content {
        border-right: none;
        padding: 6rem 8rem 0rem 8rem;
    }
    .hero-case > .hero-content > .hero-desc {
        max-width: 820px;
    }
    ul.hero-grid {
        margin: inherit;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding-left: 4rem;
        padding-right: 4rem;
        padding-bottom: 0rem;
        background-color: var(--surface);
    }
    .hero-grid li:first-child {
        border-top: none;
    }
    .hero-cover {
      aspect-ratio: 16/9;
      background: var(--black);
      overflow: hidden;
      position: relative;
    }
    .hero-cover-inner {
      width: 100%; 
      height: 100%;
      background: var(--bg);
      display: flex; 
      align-items: center; 
      justify-content: center;
    }
    .ph-light {
        font-family:'Instrument Serif',serif;
        font-size:13px;
        color:rgba(255,255,255,0.1);
        text-align:center;
        padding:20px
    }
    .cover-badge {
        position:absolute;
        bottom:28px;
        right:28px;
        background:var(--accent);
        color:var(--btn-text);
        font-size:11px;
        font-weight:700;
        letter-spacing:0.1em;
        text-transform:uppercase;
        padding:8px 16px

    }
    .cover-label {
      font-family: 'Instrument Serif', serif;
      font-size: clamp(28px, 4vw, 56px);
      color: rgba(255,255,255,0.08);
      letter-spacing: -0.04em;
      text-align: center;
      padding: 20px;
    }
    .two-col {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:72px;
        align-items:start
    }
    .big-quote {
        font-family: 'Instrument Serif',serif;
        font-weight: 500;
        font-style: italic;
        font-size:1.3rem;
        line-height:1.45;
        letter-spacing:-0.02em;
        border-left:3px solid var(--accent);
        padding-left:28px
    }
    
    /* ── SECTIONS ── */
    .section {
      padding: 4rem;
      border-bottom: 1px solid var(--line);
    }
    .section-header {
      display: flex; 
      align-items: baseline; 
      gap: 20px; 
      margin-bottom: 8px;
    }
    .section-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(34px, 4vw, 54px);
      letter-spacing: -0.03em; 
      line-height: 1.1;
    }
    .section-title em { 
        color: var(--accent); 
    }
    /* ── PROBLEMA ── */
    .problema-grid {
      display: flex; 
      align-items: baseline; 
      gap: 20px; 
      margin-left: 3rem;;
    }
    .body-text {
      font-size: 16px; line-height: 1.8; color: var(--ink);
    }
    .body-text + .body-text { margin-top: 20px; }
    
    /*Obiettivi e criteri di successo*/
    .success-grid,
    .deliverable-grid,
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .success-grid > .method-step,
    .deliverable-grid > .method-step,
    .impact-grid > .method-step {
        padding: 3rem 3rem 2rem 3rem;
    }
    .success-num {
        font-size:1rem;
        color: var(--accent);
    }
    .cta-row-case{
        margin-top: 2rem;
    }
    
    
        
    
    /*CTA*/
    .cta-content {
        align-content: center!important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .h1-center,
    .cta-desc {
        text-align:center!important;
    }
    .cta-desc {
        max-width: 70%;
    }
    .btn-center {
        margin: 0 auto;
    }
    .contest-section,
    .process-section,
    .deliverable-section,
    .cta-section {
        background-color: var(--surface);
    }
    .goal-section,
    .visual-sectio,
    .impact-section {
        background-color: var(--bg);
        padding: 4rem 4rem 1rem 4rem;
    }
    .hero-case {
        border-right: none!important;
    }
    .contest-desc,
    .impact-desc {
        max-width: 70%;
    }
    
    
    
    


    /* ════════════════════════════
       ANIMATIONS
    ════════════════════════════ */
    @keyframes fadeIn { to { opacity: 1; } }
    @keyframes slideUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }

    /* ════════════════════════════
       RESPONSIVE
    ════════════════════════════ */
    
    @media (max-width: 480px) {
      .collab-left {
        padding: 2rem 1.25rem;
      }
      .collab-right {
        padding: 2rem 1.25rem;
      }
      .cta-row, .case-header {
          display: block;
      }
      .cta-row .btn-primary {
          margin-bottom: 2.5rem;
          /*margin-right: 1rem;*/
      }
      .services-header {
          gap:0;
          margin-bottom:0;
      }
      .hero-content {
          border-bottom: none!important;
      }ì
      .result-card {
        gap: 2rem!important;
      }
      .result-card:nth-child(3) {
          padding: 4.5rem 2.2rem 1.5rem 2.2rem;
      }
      .step-num {
        font-size: 2rem;
        position: inherit;
        top: 0.5rem;
        right: 0.8rem;
      }
      .price-card:nth-child(1) {
        border-top: 1px solid var(--line);
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
      }
      .price-card:nth-child(3) {
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
      }
      .collab-section {
          background-color: var(--bg);
      }
      .personal-section {
        padding: 1.5rem 0 1.5rem 0;
      }
      .footer-top {
          margin-bottom: 3rem;
      }
      .footer-bottom {
          display: block;
      }
      .footer-bottom {
          display: block;
      }
      .footer-cta {
          margin-top: 1rem;
      }
      .method-steps,
      .process-step {
          grid-template-columns: 1fr!important;
      }
      .process-section {
          background-color: var(--surface);
          padding: 4rem!important;
      }
      /*case study singolo*/
      .contest-section,
      .deliverable-section,
      .process-section,
      .impact-section,
      .cta-section {
          padding: 3rem 2.5rem!important;
      }
      .contest-desc, .impact-desc {
          max-width: 100%;
      }
      .hero-case > .hero-content {
          padding: 3rem 2.5rem;
      }
      .hero-cover {
          aspect-ratio: 3/4;
      }
      .hero-cover-two {
          aspect-ratio: 1/1;
      }
      .cover-badge {
          bottom:8px;
          right: 8px;
      }
    }
    
    @media (max-width: 767px) {
        nav {
            padding: 1.2rem 1.5rem;
        }
        .nav-hamburger {
            display: flex;
        }
        .nav-r {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(247,245,242,0.98);
            backdrop-filter: blur(18px);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
            z-index: 99;

    /* Stato chiuso */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-r.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    min-height: 100vh;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  ul.nav-links {
    margin: 0;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }
        
        
        
      .collab-section {
        padding: 4rem 0;
      }
      .collab-card {
        grid-template-columns: 1fr; /* da 2 colonne a 1 */
      }
      .collab-left {
        padding: 3rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        gap: 1.5rem;
      }
      .collab-right {
        padding: 3rem; /*2.5rem 1.5rem;*/
        gap: 1.5rem;
      }
    
      .collab-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
      }
    
      .collab-desc {
        font-size: 0.95rem;
      }
    
      .collab-features li {
        font-size: 0.85rem;
      }
    
      .collab-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
      }
      
      .results-grid-2 {
        grid-template-columns: 1fr; /* su mobile vanno in colonna */
      }

      /* 1° card (percentuali) dopo */
      .results-grid-2 > .result-card:first-child {
        order: 2;
      }

      /* 2° card (testo) prima */
      .results-grid-2 > .result-card:last-child {
        order: 1;
      }
    }
    
    
    @media (max-width: 900px) {
      .container { 
        padding: 0 /*1.5rem*/;
      }
      nav { 
        padding: 1.4rem 1.5rem; 
      }
      .nav-links { 
        display: none;
      }
      .hero { 
        grid-template-columns: 1fr; 
      }
      .hero-content { 
        border-right: none; 
        border-bottom: 1px solid var(--line); 
        padding: 3rem 2.5rem; 
      }
      .hero-visual, .results-section, .about-section, .case-section, .services-section, .faq-section, footer { 
        padding: 6.5rem 2.5rem;
      }
      .hero-visual-case {
          padding: 0rem;
      }
      .hero-grid {
          display: column;
          grid-template-columns: 1fr 1fr;
          padding-left: 1rem;
          padding-right: 1rem;
          gap: 16px;
      }
      .content-section > .hero-content {
          border-bottom: none!important;
      }
      .two-col {
          grid-template-columns: 1fr;
      }
      .result-card {
        padding: 3.5rem 2.5rem;
      }
      .pricing-section, .method-section {
        padding: 4.5rem 2.5rem;
      }
      .method-header { 
          margin-bottom: 4rem; 
      }
      .method-step { 
          padding: 2rem; 
      }
      .personal-grid {
        padding: 4.5rem 2.5rem 1.5rem 2.5rem;
      }
      .graphic { 
        width: 240px; 
        height: 280px;
      }
      .hero-stats { 
        gap: 1.5rem;
      }
      .hero-strip { grid-template-columns: 1fr 1fr; }
      .strip-item:nth-child(2) { border-right: none; }
      .about-grid, .case-card, .services-header, .pricing-grid,
      .method-steps, .faq-grid, .results-grid, .results-grid-2,
      .personal-grid, .footer-top { grid-template-columns: 1fr; }
      .case-visual { min-height: 280px; border-right: none; border-bottom: 1px solid var(--line); }
      .services-grid { grid-template-columns: 1fr; }
      .method-steps { grid-template-columns: 1fr 1fr; }
    }