/*telefon */
@media (max-width: 768px) {
    .header-shell {
        max-width: 95vw; 
    }
    .shell-inner {
        grid-template-columns: auto 1fr; 
        gap: 10px;
    }
    .brand {
        order: -1;
        justify-content: flex-start;
    }
    .actions {
        justify-content: flex-end; 
    }
    .pill.rail {
       display: none; 
    }
    .shell-inner {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto auto; 
        gap: 8px;
        padding: 12px;
    }
    .brand {
        grid-column: 1 / -1; 
        grid-row: 1;       
        justify-content: center; 
        padding-bottom: 8px; 
    }
    .brand img {
        height: 26px;
    }
    .pill.rail {
        grid-column: 1;
        grid-row: 2;   
        justify-self: start;
    }
    .actions {
        grid-column: 2;
        grid-row: 2;   
        justify-self: end;
    }
    .pill.rail,
    .shell-inner .actions a.chip:first-child {
        display: inline-flex;
    }
  .chip {
    padding: 9px 12px; 
    font-size: 13px;
    line-height: 1.; 
}
    .pill.rail {
        height: 36px;
        padding: 2px 4px;
    }
    .pill .pill-item {
        width: 30px;
        height: 30px;
    }
    .pill .puck {
        width: 30px;
        height: 30px;
    }
    .pill .pill-item img {
        width: 16px;
        height: 16px;
    }
    .hero {
    position: relative; 
    width: 100%;
    min-height: 85vh; 
    display: block;
    padding: 0;
    margin-top: -30px;
    overflow: hidden;
}
    .hero-object {
        position: absolute;
        left: 50%;
        top: 30%;
        transform: translate(-50%, -50%);
        width: 550px;
        z-index: 10;
        animation: hero-float 6s ease-in-out infinite;
    }
    .hero-title {
        position: absolute;
        top: auto;   
        bottom: 20px;
        left: 45%;
        transform: translateX(-50%);
        width: 90%;
        z-index: 5;
        line-height: 1.25;
        font-size: clamp(28px, 8vw, 36px) !important;
        padding: 0
    }
    .hero .hero-chip {
        position: absolute; 
        z-index: 10; 
        transform: scale(0.85); 
        animation: hero-float 6s ease-in-out infinite;
        display: inline-flex; 
    }
    /* 24/7 LIVE SUPPORT */
    .hero-chip[style*="--x:50%"][style*="--y:46%"] { --x: 60% !important; --y: 20% !important; }
    /* INSTANT DELIVERY */
    .hero-chip[style*="--x:40%"][style*="--y:60%"] { --x: 50% !important; --y: 35% !important; }
    /* SECURITY */
    .hero-chip[style*="--x:43%"][style*="--y:85%"] { --x: 85% !important; --y: 40% !important; }
    /* CONVENIENCE */
    .hero-chip[style*="--x:60%"][style*="--y:90%"] { --x: 45% !important; --y: 55% !important; }
    /* SCALABILITY */
    .hero-chip[style*="--x:70%"][style*="--y:70%"] { --x: 95% !important; --y: 25% !important; }
    /* TRUST */
    .hero-chip[style*="--x:65%"][style*="--y:46%"] { --x: 70% !important; --y: 51% !important; }
    .hero-note, .hero-note22, .hero-note23, .hero-note24 {
        display: none;
    }
    .fx-split-title, .fx-split-title2, .fx-split-title3, .fx-split-title4, .fx-split-title5,
    .p2-title, .p3-title, .p4-title, .p5-title, .p6-title {
        margin-top: 60px; 
    }
    .p2-title .line1, .p2-title .line2, .p3-title .line1, .p3-title .line2,
    .p4-title .line1, .p4-title .line2, .p5-title .line1, .p5-title .line2,
    .p6-title .line1, .p6-title .line2,
    .fx-split-title .line1, .fx-split-title .line2, .fx-split-title2 .line1, .fx-split-title2 .line2,
    .fx-split-title3 .line1, .fx-split-title3 .line2, .fx-split-title4 .line1, .fx-split-title4 .line2,
    .fx-split-title5 .line1, .fx-split-title5 .line2 {
        font-size: clamp(28px, 7vw, 42px) !important;
    }
   .hero-deck,
    .fx-grid {
        grid-template-columns: 1fr !important; 
        gap: 30px; 
    }
    .p2-hero-facebook,
    .p3-hero-bing,
    .p4-hero-taboola,
    .p5-hero-tiktok,
    .p6-hero-outbrain {
        padding-left: 15px;
        padding-right: 15px;
    }
    .fx-features-faq {
        padding: 0 15px;
        margin-top: 40px;
    }
    .cta-actions {
        flex-direction: column; 
        width: 100%;
    }
    .cta-actions a {
        width: 100%;
        text-align: center;
    }
    .fx-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        font-size: 22px;
    }
    .fx-content h3 { font-size: 17px; }
    .fx-content p { font-size: 14px; }
    .policy-grid,
    .terms-grid,
    .refund-grid {
        grid-template-columns: 1fr; 
        gap: 25px;
    }
    .policy-toc,
    .terms-toc,
    .refund-toc {
        position: static; 
        top: auto;
    }
    .footer.glass.footer-v2 {
        width: auto; 
        margin-left: 20px;  
        margin-right: 20px;
    }
    .footer-v2 .footer-wrap {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 30px;
    }
    .footer-v2 .footer-brand .actions {
        flex-direction: row; 
        justify-content: center;
    }
    .footer-v2 .footer-info-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .footer-v2 .footer-copy {
        grid-column: 1 / -1;
    }
}
/*tableta (769–1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero {
    position: relative;
    min-height: 92vh;
    padding-top: clamp(120px, 15vh, 160px);
    padding-bottom: clamp(72px, 12vh, 140px);
    display: grid;
    place-items: center;
  }
  .hero-object {
    width: 90vw;
    z-index: 2;
    filter:
      drop-shadow(0 22px 42px rgba(0,0,0,.22))
      drop-shadow(0 6px 16px rgba(0,0,0,.14));
  }
  .hero-title {
    position: absolute;
    left: 50%;
    bottom: clamp(40px, 9vh, 120px);
    transform: translateX(-50%);
    width: 92%;
    line-height: .95;
    font-size: clamp(42px, 8vw, 100px);
    -webkit-text-stroke: 1.2px #1F2937;
    opacity: .84;
    text-align: center;
    z-index: 1;
  }
  .hero-note,
  .hero-note22,
  .hero-note23,
  .hero-note24 {
    display: block !important;
    position: fixed;
    opacity: .92;
    pointer-events: none;
    z-index: 3; /* peste titlu */
  }
  .hero-note  { top: 195px; left: 32px; width: 160px; transform: rotate(-38deg); }
  .hero-note22{ top:  55px; left: 8px; width: 110px; transform: rotate(20deg); }
  .hero-note23{ top: 55px; right: 10px; width: 200px; transform: rotate(-12deg) scaleX(-1); }
  .hero-note24{ top: 300px; right: 120px; width: 150px; transform: rotate(12deg); }
  .hero .hero-chip {
    z-index: 3;
    border-width: 4px;
    box-shadow: 0 12px 28px rgba(0,0,0,.2), 0 4px 8px rgba(0,0,0,.1);
  }
  .hero-chip[style*="--x:50%"][style*="--y:46%"] { --x: 57% !important; --y: 30% !important; } /* 24/7 */
  .hero-chip[style*="--x:70%"][style*="--y:70%"] { --x: 75% !important; --y: 39% !important; } /* Scalability */
  .hero-chip[style*="--x:40%"][style*="--y:60%"] { --x: 40% !important; --y: 43% !important; } /* Instant Delivery */
  .hero-chip[style*="--x:65%"][style*="--y:46%"] { --x: 60% !important; --y: 48% !important; } /* Trust */
  .hero-chip[style*="--x:43%"][style*="--y:85%"] { --x: 45% !important; --y: 57% !important; } /* Security */
  .hero-chip[style*="--x:60%"][style*="--y:90%"] { --x: 81% !important; --y: 63% !important; } /* Convenience */
}
@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .hero-object { width: min(46vw, 700px); }
  .hero-title  { bottom: clamp(56px, 10vh, 128px); font-size: clamp(44px, 7.5vw, 104px); }
  .hero-chip[style*="--x:50%"][style*="--y:46%"] { --x: 47% !important; --y: 34% !important; }
  .hero-chip[style*="--x:70%"][style*="--y:70%"] { --x: 75% !important; --y: 38% !important; }
  .hero-chip[style*="--x:40%"][style*="--y:60%"] { --x: 35% !important; --y: 46% !important; }
  .hero-chip[style*="--x:65%"][style*="--y:46%"] { --x: 61% !important; --y: 47% !important; }
  .hero-chip[style*="--x:43%"][style*="--y:85%"] { --x: 54% !important; --y: 56% !important; }
  .hero-chip[style*="--x:60%"][style*="--y:90%"] { --x: 30% !important; --y: 62% !important; }
  .hero-note  { top: 100px; left: 36px; width: 150px; }
  .hero-note23{ top: 100px; right: 22px; width: 190px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .p2-hero-facebook .hero-deck,
  .p3-hero-bing .hero-deck,
  .p4-hero-taboola .hero-deck,
  .p5-hero-tiktok .hero-deck,
  .p6-hero-outbrain .hero-deck {
    display: grid;
    grid-template-columns: 560px 1fr;   
    gap: 28px;
    align-items: center;
    justify-content: center;
    margin-top: 56px;                  
  }
  .p2-hero-facebook .slider-container,
  .p3-hero-bing .slider-container,
  .p4-hero-taboola .slider-container,
  .p5-hero-tiktok .slider-container,
  .p6-hero-outbrain .slider-container {
    width: 560px !important;
    max-width: 560px !important;
    aspect-ratio: 16 / 9;
    background: #fff;
    overflow: hidden;
  }
  .p2-hero-facebook .slider-wrapper, .p2-hero-facebook .slide,
  .p3-hero-bing .slider-wrapper,     .p3-hero-bing .slide,
  .p4-hero-taboola .slider-wrapper,  .p4-hero-taboola .slide,
  .p5-hero-tiktok .slider-wrapper,   .p5-hero-tiktok .slide,
  .p6-hero-outbrain .slider-wrapper, .p6-hero-outbrain .slide {
    height: 100%;
    display: grid;
    place-items: center;
  }
  .p2-hero-facebook .slide img,
  .p3-hero-bing .slide img,
  .p4-hero-taboola .slide img,
  .p5-hero-tiktok .slide img,
  .p6-hero-outbrain .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;                
  }
  .p2-hero-facebook .cta-card,
  .p3-hero-bing .cta-card,
  .p4-hero-taboola .cta-card,
  .p5-hero-tiktok .cta-card,
  .p6-hero-outbrain .cta-card {
    width: 100%;
    max-width: 420px;
  }
}
@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .p2-hero-facebook .hero-deck,
  .p3-hero-bing .hero-deck,
  .p4-hero-taboola .hero-deck,
  .p5-hero-tiktok .hero-deck,
  .p6-hero-outbrain .hero-deck {
    grid-template-columns: 600px 1fr;
  }
  .p2-hero-facebook .slider-container,
  .p3-hero-bing .slider-container,
  .p4-hero-taboola .slider-container,
  .p5-hero-tiktok .slider-container,
  .p6-hero-outbrain .slider-container {
    width: 600px !important;
    max-width: 600px !important;
  }
}
/* iph se  */
@media (max-width: 390px) {
    .shell-inner {
        padding: 10px 8px;
        gap: 6px;
    }
    .chip {
        padding: 8px 10px;
        font-size: 12px;
    }
    .actions {
        flex-direction: column;
        gap: 5px; 
    }
    .shell-inner {
        padding: 8px;
        gap: 5px;
    }
    .chip {
        padding: 6px 10px;
        font-size: 12px;
    } 
    .navbar .header-shell{
      padding-top: 6px !important;
      padding-bottom: px !important;
    }
    .navbar .pill.rail{
      margin-bottom: 50px !important;
    }
    .navbar .shell-inner .actions{
      transform: translateY(-45px) !important; 
    }
    .navbar .actions .chip{
      height: 36px !important;           
      padding-inline: 14px !important;
      line-height: 34px !important;
    }
    .navbar .shell-inner{
      margin-bottom:-44px!important;                 
    }
    .brand {
        margin-left: -110px;
    }
    .hero-title{
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px #1F2937;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px;
    }
    .hero-object {
    order: 1;
    width: 400vw;
    max-width: 360px;
  }
}
/* iph 12 pro  */
@media (min-width: 375px) and (max-width: 428px){
 /* shell mai compact */
  .navbar .header-shell{
    padding: 6px 10px !important;
  }

  /* forțăm 3 rânduri: brand -> rail -> actions */
  .navbar .shell-inner{
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "brand"
      "rail"
      "actions" !important;
    row-gap: 8px !important;
    justify-items: center !important;
    align-items: center !important;
  }
  .navbar .brand{ grid-area: brand !important; }
  .navbar .pill.rail{ grid-area: rail !important; }
  .navbar .actions{ grid-area: actions !important; }

  /* fallback hard dacă alt CSS bate grila */
  .navbar .shell-inner > *{ grid-column: 1 !important; }

  /* logo puțin mai mic */
  .navbar .brand img{ height: 24px !important; }

  /* rail full-width, fără puck pe mobil */
  .navbar .pill.rail{
    width: 100% !important;
    justify-content: space-between !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .navbar .pill.rail::-webkit-scrollbar{ display:none; }
  .navbar .pill.rail .puck{ display:none !important; }

  /* micșorăm puțin butoanele din rail */
  :root{
    --rail-h: 36px;
    --btn-size: 28px;
    --radius-rail: 18px;
    --radius-btn: 9px;
  }
  .navbar .pill .pill-item img{ width: 16px; height: 16px; }
  .navbar .actions{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    justify-items: stretch !important;
    align-items: center !important;
    transform: translateY(3px); 
  }
  .navbar .actions .chip{
    height: 36px !important;
    padding: 0 12px !important;
    line-height: 34px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
