/* TPK Global CSS
 * Extracted from the current Elementor header/footer inline styles.
 * Source: homepage HAR captured 2026-08-20.
 */

/* ===== Global variable font + Header ===== */
@font-face{ 
      font-family:"Estedad";
      font-style:normal;
      font-display:swap;
      font-weight:100 900;
      src:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/07/Estedadvf.woff2") format("woff2");
     }

    .tpk-home-clean, .tpk-home-clean *{
      box-sizing:border-box;
      font-family:Estedad,Tahoma,Arial,sans-serif !important;
    }
    .tpk-home-clean{
      --blue:#0b63ce;
      --blue2:#1593ff;
      --dark:#071f3f;
      --text:#17324d;
      --muted:#63788f;
      --orange:#ff9f1c;
      --green:#16a05d;
      --red:#d63031;
      --border:rgba(21,147,255,.18);
      --shadow:0 24px 70px rgba(7,31,63,.12);
      width:100%;
      background:#f4f9ff;
      color:var(--text);
      overflow:hidden;
    }

    .tpk-home-clean .tpk-container{
      width:100%;
      max-width:1180px;
      margin:0 auto;
      padding:0 18px;
    }

    .tpk-home-clean .tpk-nav-wrap{
      position:sticky;
      top:0;
      z-index:999;
      background:rgba(255,255,255,.95);
      backdrop-filter:blur(16px);
      border-bottom:1px solid var(--border);
      box-shadow:0 8px 28px rgba(7,31,63,.06);
    }

    .tpk-home-clean .tpk-nav{
      min-height:76px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
    }

    .tpk-home-clean .tpk-logo{
      display:flex;
      align-items:center;
      gap:12px;
      text-decoration:none;
      color:var(--dark);
      white-space:nowrap;
    }

    .tpk-home-clean .tpk-logo img{
      width:56px;
      height:56px;
      object-fit:contain;
      border-radius:17px;
      background:#fff;
      box-shadow:0 8px 22px rgba(7,31,63,.10);
    }

    .tpk-home-clean .tpk-logo strong{
      display:block;
      font-size:18px;
      font-weight:900;
    }

    .tpk-home-clean .tpk-logo span span{
      display:block;
      color:var(--muted);
      font-size:12px;
      font-weight:700;
    }

    .tpk-home-clean .tpk-menu{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:3px;
      flex:1;
    }

    .tpk-home-clean .tpk-menu a{
      text-decoration:none;
      color:#294b68;
      font-size:13px;
      font-weight:800;
      padding:10px 10px;
      border-radius:14px;
      white-space:nowrap;
      transition:.2s;
    }

    .tpk-home-clean .tpk-menu a:hover{
      background:#edf6ff;
      color:var(--blue);
    }

    .tpk-home-clean .tpk-actions{
      display:flex;
      gap:9px;
      white-space:nowrap;
    }

    .tpk-home-clean .tpk-actions a{
      text-decoration:none;
      border-radius:16px;
      padding:12px 15px;
      font-size:13px;
      font-weight:900;
    }

    .tpk-home-clean .tpk-actions .online{
      color:#7a4b00;
      background:#fff4d8;
      border:1px solid rgba(255,159,28,.35);
    }

    .tpk-home-clean .tpk-actions .phone{
      direction:ltr;
      color:#fff;
      background:linear-gradient(135deg,var(--blue),var(--blue2));
      box-shadow:0 12px 28px rgba(21,147,255,.25);
      font-size:15px;
    }

    .tpk-home-clean .tpk-quick-links{
      background:#fff;
      border-bottom:1px solid var(--border);
    }

    .tpk-home-clean .tpk-quick-inner{
      display:flex;
      gap:9px;
      overflow-x:auto;
      padding:10px 0;
      scrollbar-width:none;
    }

    .tpk-home-clean .tpk-quick-inner::-webkit-scrollbar{display:none}

    .tpk-home-clean .tpk-quick-inner a{
      flex:0 0 auto;
      text-decoration:none;
      color:#31536f;
      background:#f5faff;
      border:1px solid var(--border);
      padding:8px 12px;
      border-radius:999px;
      font-size:12px;
      font-weight:800;
    }

    .tpk-home-clean .tpk-hero{
      position:relative;
      min-height:650px;
      display:flex;
      align-items:center;
      overflow:hidden;
      background:
        radial-gradient(circle at 20% 16%,rgba(21,147,255,.16),transparent 30%),
        radial-gradient(circle at 82% 15%,rgba(255,159,28,.14),transparent 31%),
        linear-gradient(135deg,#ffffff 0%,#f4faff 48%,#e9f5ff 100%);
    }

    .tpk-home-clean .tpk-hero-img{
      position:absolute;
      right:0;
      bottom:0;
      width:64%;
      height:100%;
      z-index:2;
      display:flex;
      align-items:flex-end;
      justify-content:flex-end;
      pointer-events:none;
    }

    .tpk-home-clean .tpk-hero-img:before{
      content:"";
      position:absolute;
      inset:0;
      background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/تعمیر-پکیج-و-ابگرمکن-در-تهران.webp");
      background-repeat:no-repeat;
      background-size:contain;
      background-position:right bottom;
      filter:drop-shadow(0 26px 36px rgba(7,31,63,.18));
      z-index:1;
    }

    .tpk-home-clean .tpk-hero-img:after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(90deg,rgba(244,249,255,.95) 0%,rgba(244,249,255,.68) 28%,rgba(244,249,255,.08) 62%);
      z-index:3;
    }

    .tpk-home-clean .tpk-hero-content{
      position:relative;
      z-index:4;
      width:100%;
      padding:72px 0 64px;
    }

    .tpk-home-clean .tpk-hero-box{
      width:min(620px,100%);
      margin-right:auto;
      margin-left:0;
      background:rgba(255,255,255,.92);
      border:1px solid rgba(255,255,255,.95);
      border-radius:34px;
      padding:30px;
      box-shadow:var(--shadow);
      backdrop-filter:blur(10px);
    }

    .tpk-home-clean .tpk-badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      background:#fff;
      border:1px solid var(--border);
      color:var(--blue);
      padding:9px 14px;
      border-radius:999px;
      font-size:13px;
      font-weight:900;
      margin-bottom:18px;
    }

    .tpk-home-clean .tpk-badge:before{
      content:"";
      width:9px;
      height:9px;
      border-radius:50%;
      background:var(--green);
      box-shadow:0 0 0 6px rgba(22,160,93,.12);
    }

    .tpk-home-clean .tpk-hero h1{
      margin:0 0 15px;
      color:var(--dark);
      font-size:clamp(31px,4.2vw,56px);
      line-height:1.32;
      font-weight:900;
      letter-spacing:-1.4px;
    }

    .tpk-home-clean .tpk-hero h1 span{
      color:var(--blue2);
    }

    .tpk-home-clean .tpk-slogan{
      display:inline-block;
      margin-bottom:17px;
      padding:11px 15px;
      border-radius:18px;
      background:#fff7e8;
      border:1px solid rgba(255,159,28,.30);
      color:#8a5400;
      font-size:15px;
      font-weight:900;
    }

    .tpk-home-clean .tpk-hero p{
      margin:0 0 24px;
      color:#466178;
      font-size:16px;
      line-height:2.05;
      font-weight:500;
    }

    .tpk-home-clean .tpk-hero-buttons{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin-bottom:22px;
    }

    .tpk-home-clean .tpk-btn{
      min-height:53px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-decoration:none;
      border-radius:18px;
      padding:13px 20px;
      font-size:15px;
      font-weight:900;
      transition:.2s;
    }

    .tpk-home-clean .tpk-btn-primary{
      color:#fff;
      background:linear-gradient(135deg,var(--blue),var(--blue2));
      box-shadow:0 15px 34px rgba(21,147,255,.28);
    }

    .tpk-home-clean .tpk-btn-secondary{
      color:#071f3f;
      background:#fff;
      border:1px solid var(--border);
      box-shadow:0 12px 28px rgba(7,31,63,.08);
    }

    .tpk-home-clean .tpk-mini-list{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:10px;
    }

    .tpk-home-clean .tpk-mini-item{
      display:flex;
      align-items:center;
      gap:9px;
      padding:10px;
      border-radius:18px;
      background:#fff;
      border:1px solid var(--border);
      box-shadow:0 8px 22px rgba(7,31,63,.05);
    }

    .tpk-home-clean .tpk-img-box{
      width:46px;
      height:46px;
      min-width:46px;
      border-radius:15px;
      background:#fff;
      border:1px solid rgba(21,147,255,.13);
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
    }

    .tpk-home-clean .tpk-img-box img{
      width:39px;
      height:39px;
      object-fit:contain;
      display:block;
    }

    .tpk-home-clean .tpk-mini-item span:last-child{
      color:#244967;
      font-size:12px;
      font-weight:900;
      line-height:1.6;
    }

    .tpk-home-clean .tpk-stats-wrap{
      position:relative;
      z-index:5;
      margin-top:-46px;
      padding-bottom:24px;
    }

    .tpk-home-clean .tpk-stats{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
      background:#fff;
      border:1px solid var(--border);
      border-radius:32px;
      padding:18px;
      box-shadow:var(--shadow);
    }

    .tpk-home-clean .tpk-stat{
      min-height:170px;
      padding:20px 12px;
      border-radius:26px;
      background:linear-gradient(135deg,#f8fcff,#fff);
      border:1px solid rgba(21,147,255,.13);
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      text-align:center;
      gap:10px;
    }

    .tpk-home-clean .tpk-stat .tpk-img-box{
      width:54px;
      height:54px;
    }

    .tpk-home-clean .tpk-stat .tpk-img-box img{
      width:47px;
      height:47px;
    }

    .tpk-home-clean .tpk-stat strong{
      display:flex;
      align-items:baseline;
      justify-content:center;
      gap:5px;
      color:var(--dark);
      font-size:62px;
      font-weight:900;
      line-height:.85;
      letter-spacing:-2px;
    }

    .tpk-home-clean .tpk-stat strong small{
      font-size:30px;
      color:var(--blue);
      font-weight:900;
    }

    .tpk-home-clean .tpk-stat > span{
      color:#51677f;
      font-size:14px;
      font-weight:900;
      line-height:1.7;
    }

    .tpk-home-clean .tpk-benefits, .tpk-home-clean .tpk-services, .tpk-home-clean .tpk-ai-section{
      padding:26px 0;
      background:#f4f9ff;
    }

    .tpk-home-clean .tpk-grid-4{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
    }

    .tpk-home-clean .tpk-card{
      background:#fff;
      border:1px solid var(--border);
      border-radius:25px;
      padding:16px 14px;
      box-shadow:0 13px 32px rgba(7,31,63,.06);
      transition:.2s;
    }

    .tpk-home-clean .tpk-benefit-card{
      min-height:112px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      text-align:right;
    }

    .tpk-home-clean .tpk-benefit-card strong, .tpk-home-clean .tpk-benefit-card span{
      color:#071f3f !important;
      font-size:14px !important;
      font-weight:900 !important;
      line-height:1.9 !important;
      opacity:1 !important;
    }

    .tpk-home-clean .tpk-card h3, .tpk-home-clean .tpk-card strong{
      color:var(--dark);
      font-size:15px;
      font-weight:900;
      margin:0 0 7px;
    }

    .tpk-home-clean .tpk-card p, .tpk-home-clean .tpk-card span{
      color:var(--muted);
      font-size:12px;
      line-height:1.8;
      font-weight:500;
      margin:0;
    }

    .tpk-home-clean .tpk-card a{
      display:inline-block;
      margin-top:12px;
      color:var(--blue2);
      text-decoration:none;
      font-size:13px;
      font-weight:900;
    }

    .tpk-home-clean .tpk-section-title{
      text-align:center;
      padding:18px 0 22px;
    }

    .tpk-home-clean .tpk-section-title small{
      color:var(--blue2);
      font-size:13px;
      font-weight:900;
    }

    .tpk-home-clean .tpk-section-title h2{
      margin:8px 0;
      color:var(--dark);
      font-size:clamp(24px,3.1vw,36px);
      line-height:1.55;
      font-weight:900;
    }

    .tpk-home-clean .tpk-section-title p{
      margin:auto;
      max-width:700px;
      color:var(--muted);
      font-size:14px;
      line-height:2;
    }

    .tpk-home-clean #tpk-services .tpk-grid-4{
      direction:ltr;
      max-width:980px;
      margin-left:auto;
      margin-right:auto;
      grid-template-columns:repeat(4,230px);
      justify-content:center;
      justify-items:center;
    }

    .tpk-home-clean #tpk-services .tpk-service-card{
      direction:rtl;
      width:230px;
      min-height:230px;
      text-align:center;
      display:flex;
      flex-direction:column;
      align-items:center;
    }

    .tpk-home-clean #tpk-services .tpk-service-card .tpk-img-box{
      width:72px;
      height:72px;
      min-width:72px;
      border-radius:21px;
      margin-bottom:12px;
    }

    .tpk-home-clean #tpk-services .tpk-service-card .tpk-img-box img{
      width:64px;
      height:64px;
    }

    .tpk-home-clean #tpk-services .tpk-service-card h3, .tpk-home-clean #tpk-services .tpk-service-card p, .tpk-home-clean #tpk-services .tpk-service-card a{
      text-align:center;
    }

    .tpk-home-clean .tpk-ai-shell{
      background:linear-gradient(135deg,#eaf5ff,#ffffff);
      border:1px solid var(--border);
      border-radius:36px;
      box-shadow:var(--shadow);
      padding:28px;
    }

    .tpk-home-clean .tpk-ai-layout{
      display:grid;
      grid-template-columns:.92fr 1.08fr;
      gap:24px;
      align-items:center;
    }

    .tpk-home-clean .tpk-ai-image{
      min-height:320px;
      border-radius:30px;
      background:#fff;
      border:1px solid rgba(21,147,255,.14);
      display:flex;
      align-items:center;
      justify-content:center;
      padding:24px;
      box-shadow:0 16px 40px rgba(7,31,63,.07);
    }

    .tpk-home-clean .tpk-ai-image img{
      width:100%;
      max-width:330px;
      object-fit:contain;
      display:block;
    }

    .tpk-home-clean .tpk-ai-content h2{
      margin:0 0 10px;
      color:var(--dark);
      font-size:clamp(24px,3vw,38px);
      line-height:1.55;
      font-weight:900;
    }

    .tpk-home-clean .tpk-ai-content p{
      margin:0 0 16px;
      color:#526b83;
      font-size:14px;
      line-height:2.1;
    }

    .tpk-home-clean #tpk-widget{
      direction:rtl;
      background:#fff;
      border:1.5px solid rgba(21,147,255,.20);
      border-radius:24px;
      box-shadow:0 14px 38px rgba(7,31,63,.08);
      overflow:hidden;
      max-width:100%;
      margin:0 auto;
      color:#071f3f;
    }

    .tpk-home-clean .tpk-intro{
      background:linear-gradient(135deg,var(--blue),var(--blue2));
      padding:20px 24px 18px;
      color:#fff;
    }

    .tpk-home-clean .tpk-intro h2{
      font-size:17px;
      font-weight:900;
      margin:0 0 5px;
    }

    .tpk-home-clean .tpk-intro p{
      font-size:12.5px;
      color:rgba(255,255,255,.82);
      line-height:1.8;
      margin:0;
    }

    .tpk-home-clean .tpk-intro .badge{
      display:inline-block;
      margin-top:10px;
      background:rgba(255,255,255,.16);
      border:1px solid rgba(255,255,255,.25);
      color:#fff;
      font-size:11px;
      font-weight:800;
      padding:5px 12px;
      border-radius:999px;
    }

    .tpk-home-clean .tpk-prog{padding:14px 22px 4px;background:#f4f9ff;border-bottom:1px solid rgba(21,147,255,.16)}
    .tpk-home-clean .tpk-prog-meta{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:#63788f;margin-bottom:7px}
    .tpk-home-clean .tpk-prog-meta strong{color:var(--blue)}
    .tpk-home-clean .tpk-bar-bg{height:7px;background:#d5e7f8;border-radius:10px;overflow:hidden}
    .tpk-home-clean .tpk-bar-fill{height:100%;background:linear-gradient(90deg,var(--blue),var(--blue2));border-radius:10px;transition:width .55s cubic-bezier(.4,0,.2,1);width:0}
    .tpk-home-clean .tpk-dots{display:flex;gap:5px;justify-content:center;padding:8px 0 10px}
    .tpk-home-clean .tpk-dot{width:9px;height:9px;border-radius:50%;background:#c8d8ed;transition:.3s}
    .tpk-home-clean .tpk-dot.active{background:var(--blue2);transform:scale(1.25)}
    .tpk-home-clean .tpk-dot.done{background:var(--green)}
    .tpk-home-clean .tpk-chat{padding:16px 20px 6px;min-height:120px}
    .tpk-home-clean .msg-row{display:flex;gap:9px;margin-bottom:12px;animation:mfade .35s ease}
    .tpk-home-clean .msg-row.user{flex-direction:row-reverse}
    @keyframes mfade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
    .tpk-home-clean .av{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue2));flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:#fff}
    .tpk-home-clean .av.u{background:linear-gradient(135deg,var(--green),#2dd479)}
    .tpk-home-clean .bub{max-width:84%;padding:10px 14px;border-radius:14px;font-size:13.5px;line-height:1.75}
    .tpk-home-clean .bub.bot{background:#eaf5ff;border:1px solid rgba(21,147,255,.16);border-top-right-radius:3px;color:#071f3f}
    .tpk-home-clean .bub.user{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;border-top-left-radius:3px}
    .tpk-home-clean .typing span{display:inline-block;width:6px;height:6px;background:var(--blue2);border-radius:50%;margin:0 2px;animation:tb 1.1s infinite}
    .tpk-home-clean .typing span:nth-child(2){animation-delay:.18s}
    .tpk-home-clean .typing span:nth-child(3){animation-delay:.36s}
    @keyframes tb{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}}
    .tpk-home-clean .tpk-opts{display:flex;flex-wrap:wrap;gap:7px;padding:2px 20px 14px}
    .tpk-home-clean .opt{background:#fff;border:1.5px solid var(--blue2);color:var(--blue);border-radius:10px;padding:8px 13px;font-size:13px;font-weight:800;cursor:pointer;transition:.18s}
    .tpk-home-clean .opt:hover{background:var(--blue);color:#fff;transform:translateY(-1px)}
    .tpk-home-clean .tpk-input{padding:4px 20px 16px;display:none}
    .tpk-home-clean .tpk-input-row{display:flex;gap:8px;background:#f4f9ff;border:1.5px solid #d5e7f8;border-radius:13px;padding:7px 9px 7px 12px;transition:.2s}
    .tpk-home-clean .tpk-input-row:focus-within{border-color:var(--blue2)}
    .tpk-home-clean .tpk-input-row input{flex:1;border:0;background:transparent;font-size:13.5px;color:#071f3f;outline:0}
    .tpk-home-clean .tpk-sbtn{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;border:0;border-radius:10px;padding:8px 16px;font-size:12.5px;font-weight:900;cursor:pointer;white-space:nowrap}
    .tpk-home-clean .tpk-cta{margin:0 20px 14px;background:#fff7e8;border:1px solid rgba(255,159,28,.35);border-radius:13px;padding:11px 14px;font-size:12.5px;color:#7a5800;line-height:1.75;display:none}
    .tpk-home-clean .tpk-cta strong{color:#9a6400}
    .tpk-home-clean .tpk-form{padding:16px 20px 22px;background:#f4f9ff;border-top:1.5px solid rgba(21,147,255,.16);display:none}
    .tpk-home-clean .tpk-form-title{font-size:14px;font-weight:900;color:#071f3f;margin-bottom:5px}
    .tpk-home-clean .tpk-form-sub{font-size:12px;color:#63788f;margin-bottom:14px;line-height:1.7}
    .tpk-home-clean .tpk-form-sub strong{color:var(--red)}
    .tpk-home-clean .tpk-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
    .tpk-home-clean .tpk-field label{display:block;font-size:11.5px;font-weight:800;color:#63788f;margin-bottom:4px}
    .tpk-home-clean .tpk-field input{width:100%;padding:10px 13px;border:1.5px solid #d5e7f8;border-radius:11px;font-size:13.5px;color:#071f3f;background:#fff;outline:0}
    .tpk-home-clean .tpk-field input:focus{border-color:var(--blue2)}
    .tpk-home-clean .ferr{font-size:11px;color:var(--red);margin-top:3px;display:none}
    .tpk-home-clean .tpk-consent{font-size:11.5px;color:#63788f;margin-bottom:12px;line-height:1.7;background:rgba(21,147,255,.06);border-radius:10px;padding:8px 12px}
    .tpk-home-clean .tpk-submit{width:100%;padding:13px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;border:0;border-radius:13px;font-size:15px;font-weight:900;cursor:pointer;transition:.2s}
    .tpk-home-clean .tpk-submit:hover{box-shadow:0 5px 18px rgba(21,147,255,.25);transform:translateY(-2px)}
    .tpk-home-clean .tpk-submit:disabled{opacity:.55;cursor:default;transform:none}
    .tpk-home-clean .tpk-result{padding:20px 20px 24px;display:none}
    .tpk-home-clean .tpk-result-box{background:linear-gradient(135deg,#edfaf3,#d4f5e5);border:1px solid #9ddec0;border-radius:16px;padding:20px;text-align:center}
    .tpk-home-clean .tpk-result-box h3{color:var(--green);font-size:16px;margin-bottom:7px}
    .tpk-home-clean .tpk-result-box p{color:#2a7a52;font-size:13px;line-height:1.8;margin-bottom:10px}
    .tpk-home-clean .tpk-call{display:inline-block;background:#0a8f52;color:#fff!important;text-decoration:none;padding:10px 18px;border-radius:12px;font-size:13px;font-weight:900;margin-top:8px}

    @media(max-width:1040px){
      .tpk-home-clean .tpk-menu{
        order:3;
        width:100%;
        flex:0 0 100%;
        display:flex;
        justify-content:flex-start;
        overflow-x:auto;
        padding:8px 0 2px;
        scrollbar-width:none;
      }

      .tpk-home-clean .tpk-menu::-webkit-scrollbar{display:none}

      .tpk-home-clean .tpk-menu a{
        flex:0 0 auto;
        background:#f5faff;
        border:1px solid var(--border);
      }

      .tpk-home-clean .tpk-nav{
        flex-wrap:wrap;
        padding:10px 0;
      }

      .tpk-home-clean .tpk-hero-img{
        width:100%;
        height:360px;
        top:0;
        bottom:auto;
        opacity:.95;
        align-items:flex-start;
        justify-content:center;
      }

      .tpk-home-clean .tpk-hero-img:before{
        background-size:cover;
        background-position:center top;
      }

      .tpk-home-clean .tpk-hero-img:after{
        background:linear-gradient(180deg,rgba(244,249,255,.20) 0%,rgba(244,249,255,.72) 45%,rgba(244,249,255,1) 100%);
      }

      .tpk-home-clean .tpk-hero{
        min-height:auto;
        padding-top:250px;
      }

      .tpk-home-clean .tpk-hero-box{
        margin:0;
      }

      .tpk-home-clean .tpk-stats, .tpk-home-clean .tpk-grid-4{
        grid-template-columns:repeat(2,1fr);
      }

      .tpk-home-clean #tpk-services .tpk-grid-4{
        max-width:500px;
        grid-template-columns:repeat(2,230px);
      }

      .tpk-home-clean .tpk-ai-layout{
        grid-template-columns:1fr;
      }
    }

    @media(max-width:680px){
      .tpk-home-clean .tpk-nav{
        min-height:auto;
        padding:10px 0;
        flex-wrap:wrap;
      }

      .tpk-home-clean .tpk-logo img{
        width:50px;
        height:50px;
      }

      .tpk-home-clean .tpk-logo strong{
        font-size:16px;
      }

      .tpk-home-clean .tpk-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr 1fr;
      }

      .tpk-home-clean .tpk-actions a{
        text-align:center;
        padding:12px 8px;
      }

      .tpk-home-clean .tpk-menu{
        order:4;
        width:100%;
        flex:0 0 100%;
        display:flex;
        overflow-x:auto;
        gap:8px;
        padding:8px 0 4px;
      }

      .tpk-home-clean .tpk-menu a{
        font-size:12px;
        padding:8px 10px;
      }

      .tpk-home-clean .tpk-hero{
        padding-top:150px;
      }

      .tpk-home-clean .tpk-hero-img{
        height:220px;
        opacity:.85;
      }

      .tpk-home-clean .tpk-hero-img:before{
        background-size:cover;
        background-position:center top;
      }

      .tpk-home-clean .tpk-hero-content{
        padding:0 0 46px;
      }

      .tpk-home-clean .tpk-hero-box{
        padding:20px;
        border-radius:28px;
      }

      .tpk-home-clean .tpk-badge{
        font-size:11.5px;
        padding:8px 11px;
        margin-bottom:14px;
      }

      .tpk-home-clean .tpk-hero h1{
        font-size:27px;
        line-height:1.45;
        letter-spacing:-.8px;
      }

      .tpk-home-clean .tpk-slogan{
        font-size:12.5px;
        line-height:1.8;
        padding:9px 12px;
      }

      .tpk-home-clean .tpk-hero p{
        font-size:13px;
        line-height:1.95;
        text-align:right;
        margin-bottom:18px;
      }

      .tpk-home-clean .tpk-stats, .tpk-home-clean .tpk-grid-4, .tpk-home-clean #tpk-services .tpk-grid-4{
        grid-template-columns:1fr;
      }

      .tpk-home-clean .tpk-mini-list{
        display:flex;
        overflow-x:auto;
        gap:8px;
        padding-bottom:2px;
        scrollbar-width:none;
      }

      .tpk-home-clean .tpk-mini-list::-webkit-scrollbar{display:none}

      .tpk-home-clean .tpk-mini-item{
        flex:0 0 auto;
        white-space:nowrap;
      }

      .tpk-home-clean #tpk-services .tpk-grid-4{
        max-width:100%;
      }

      .tpk-home-clean #tpk-services .tpk-service-card{
        width:100%;
      }

      .tpk-home-clean .tpk-btn{
        width:100%;
      }

      .tpk-home-clean .tpk-stats-wrap{
        margin-top:-24px;
      }

      .tpk-home-clean .tpk-stat{
        min-height:130px;
        padding:14px 10px;
      }

      .tpk-home-clean .tpk-stat strong{
        font-size:58px;
      }

      .tpk-home-clean .tpk-quick-inner{
        padding:6px 0;
        gap:6px;
      }

      .tpk-home-clean .tpk-quick-inner a{
        padding:6px 10px;
        font-size:11px;
      }

      .tpk-home-clean .tpk-ai-shell{
        padding:18px;
        border-radius:28px;
      }

      .tpk-home-clean .tpk-ai-image{
        min-height:230px;
      }

      .tpk-home-clean .tpk-fields{
        grid-template-columns:1fr;
      }

      .tpk-home-clean .bub{
        max-width:88%;
      }
    }


/* ===== Footer ===== */

.tpk-footer-full, .tpk-footer-full *{
      box-sizing:border-box;
      font-family:Estedad,Vazirmatn,Tahoma,Arial,sans-serif !important;
    }

    .tpk-footer-full{
      --blue:#0b63ce;
      --blue2:#1593ff;
      --dark:#071f3f;
      --orange:#ff9f1c;
      --green:#16a05d;
      --border:rgba(255,255,255,.14);
      background:
        radial-gradient(circle at 12% 18%,rgba(21,147,255,.22),transparent 28%),
        radial-gradient(circle at 86% 18%,rgba(255,159,28,.16),transparent 28%),
        linear-gradient(135deg,#061a35 0%,#082a56 48%,#0b63ce 100%);
      color:#fff;
      padding:54px 0 0;
      overflow:hidden;
    }

    .tpk-footer-full .tpk-footer-container{
      max-width:1180px;
      margin:0 auto;
      padding:0 18px;
    }

    .tpk-footer-full .tpk-footer-head{
      display:grid;
      grid-template-columns:1.1fr .9fr;
      gap:18px;
      align-items:stretch;
      margin-bottom:26px;
    }

    .tpk-footer-full .tpk-footer-brand-box, .tpk-footer-full .tpk-footer-contact-box{
      background:rgba(255,255,255,.08);
      border:1px solid var(--border);
      border-radius:30px;
      padding:22px;
      box-shadow:0 22px 60px rgba(0,0,0,.14);
    }

    .tpk-footer-full .tpk-footer-logo{
      display:flex;
      align-items:center;
      gap:13px;
      margin-bottom:14px;
    }

    .tpk-footer-full .tpk-footer-logo img{
      width:66px;
      height:66px;
      object-fit:contain;
      background:#fff;
      border-radius:20px;
      padding:4px;
      box-shadow:0 12px 28px rgba(0,0,0,.16);
    }

    .tpk-footer-full .tpk-footer-logo strong{
      display:block;
      color:#fff;
      font-size:22px;
      font-weight:900;
      line-height:1.45;
    }

    .tpk-footer-full .tpk-footer-logo span{
      display:block;
      color:rgba(255,255,255,.72);
      font-size:12px;
      font-weight:700;
      line-height:1.8;
    }

    .tpk-footer-full .tpk-footer-brand-box p{
      margin:0;
      color:rgba(255,255,255,.78);
      font-size:13px;
      font-weight:600;
      line-height:2.1;
    }

    .tpk-footer-full .tpk-footer-contact-box{
      display:flex;
      flex-direction:column;
      justify-content:center;
    }

    .tpk-footer-full .tpk-footer-contact-box small{
      color:#ffdca1;
      font-size:12px;
      font-weight:900;
      margin-bottom:6px;
    }

    .tpk-footer-full .tpk-footer-contact-box h3{
      margin:0 0 12px;
      color:#fff;
      font-size:22px;
      font-weight:900;
      line-height:1.5;
    }

    .tpk-footer-full .tpk-footer-actions{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }

    .tpk-footer-full .tpk-footer-actions a{
      min-height:48px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-decoration:none;
      border-radius:17px;
      padding:12px 17px;
      font-size:14px;
      font-weight:900;
    }

    .tpk-footer-full .tpk-footer-actions .phone{
      direction:ltr;
      color:#071f3f;
      background:#fff;
    }

    .tpk-footer-full .tpk-footer-actions .diag{
      color:#fff;
      background:linear-gradient(135deg,var(--orange),#ff7a00);
    }

    .tpk-footer-full .tpk-footer-actions .contact{
      color:#fff;
      background:rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.18);
    }

    .tpk-footer-full .tpk-footer-grid{
      display:grid;
      grid-template-columns:repeat(5,1fr);
      gap:18px;
      align-items:start;
    }

    .tpk-footer-full .tpk-footer-col{
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.11);
      border-radius:24px;
      padding:18px 16px;
      min-height:245px;
    }

    .tpk-footer-full .tpk-footer-col h3{
      margin:0 0 14px;
      padding-bottom:10px;
      color:#fff;
      font-size:15px;
      font-weight:900;
      position:relative;
    }

    .tpk-footer-full .tpk-footer-col h3:after{
      content:"";
      position:absolute;
      right:0;
      bottom:0;
      width:44px;
      height:3px;
      border-radius:99px;
      background:linear-gradient(90deg,var(--orange),var(--blue2));
    }

    .tpk-footer-full .tpk-footer-list{
      display:grid;
      gap:8px;
    }

    .tpk-footer-full .tpk-footer-list a, .tpk-footer-full .tpk-footer-list span{
      color:rgba(255,255,255,.78);
      text-decoration:none;
      font-size:12.5px;
      font-weight:700;
      line-height:1.9;
      transition:.2s;
    }

    .tpk-footer-full .tpk-footer-list a:hover{
      color:#fff;
      transform:translateX(-3px);
    }

    .tpk-footer-full .tpk-footer-badges{
      margin-top:22px;
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:12px;
    }

    .tpk-footer-full .tpk-footer-badge{
      display:flex;
      align-items:center;
      gap:10px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      border-radius:22px;
      padding:12px;
    }

    .tpk-footer-full .tpk-footer-badge img{
      width:46px;
      height:46px;
      object-fit:contain;
      background:#fff;
      border-radius:14px;
    }

    .tpk-footer-full .tpk-footer-badge strong{
      display:block;
      color:#fff;
      font-size:13px;
      font-weight:900;
      margin-bottom:2px;
    }

    .tpk-footer-full .tpk-footer-badge span{
      display:block;
      color:rgba(255,255,255,.68);
      font-size:11.5px;
      font-weight:700;
      line-height:1.7;
    }

    .tpk-footer-full .tpk-footer-bottom{
      margin-top:28px;
      padding:17px 0;
      border-top:1px solid rgba(255,255,255,.13);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      color:rgba(255,255,255,.68);
      font-size:12px;
      font-weight:700;
      line-height:1.8;
    }

    .tpk-footer-full .tpk-footer-bottom a{
      color:#fff;
      text-decoration:none;
      font-weight:900;
    }

    @media(max-width:1040px){
      .tpk-footer-full .tpk-footer-head{
        grid-template-columns:1fr;
      }

      .tpk-footer-full .tpk-footer-grid{
        grid-template-columns:repeat(2,1fr);
      }

      .tpk-footer-full .tpk-footer-badges{
        grid-template-columns:repeat(2,1fr);
      }
    }

    @media(max-width:640px){
      .tpk-footer-full{
        padding-top:36px;
      }

      .tpk-footer-full .tpk-footer-head, .tpk-footer-full .tpk-footer-grid, .tpk-footer-full .tpk-footer-badges{
        grid-template-columns:1fr;
      }

      .tpk-footer-full .tpk-footer-brand-box, .tpk-footer-full .tpk-footer-contact-box{
        border-radius:24px;
        padding:18px;
      }

      .tpk-footer-full .tpk-footer-logo img{
        width:58px;
        height:58px;
      }

      .tpk-footer-full .tpk-footer-logo strong{
        font-size:19px;
      }

      .tpk-footer-full .tpk-footer-actions a{
        width:100%;
      }

      .tpk-footer-full .tpk-footer-col{
        min-height:auto;
      }

      .tpk-footer-full .tpk-footer-bottom{
        flex-direction:column;
        text-align:center;
      }
    }

/* ===== TPK shared images: CSS backgrounds instead of HTML <img> =====
 * هدف: تصاویر مشترک این ویجت در HTML به عنوان <img> ظاهر نشوند تا کاندیدای
 * واضح تصویر نماینده هر صفحه نباشند. تصاویر اختصاصی هر برگه دست‌نخورده می‌مانند.
 */

.tpk-home-clean .tpk-shared-bg,
.tpk-home-clean .tpk-logo-mark,
.tpk-home-clean .tpk-ai-visual{
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* Logo keeps exactly the old visual box, but is no longer an HTML image. */
.tpk-home-clean .tpk-logo-mark{
  width:56px;
  height:56px;
  min-width:56px;
  flex:0 0 56px;
  border-radius:17px;
  background-color:#fff;
  box-shadow:0 8px 22px rgba(7,31,63,.10);
}

/* Existing icon boxes keep their old dimensions. */
.tpk-home-clean .tpk-img-box .tpk-shared-bg{
  width:39px;
  height:39px;
  flex:0 0 39px;
}

.tpk-home-clean .tpk-stat .tpk-img-box .tpk-shared-bg{
  width:47px;
  height:47px;
  flex:0 0 47px;
}

.tpk-home-clean #tpk-services .tpk-service-card .tpk-img-box .tpk-shared-bg{
  width:64px;
  height:64px;
  flex:0 0 64px;
}

/* Large shared AI illustration. */
.tpk-home-clean .tpk-ai-visual{
  width:100%;
  max-width:330px;
  aspect-ratio:1 / 1;
}

/* Image URL map */
.tpk-home-clean .tpk-bg-logo{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/لوگو-1.webp");
}
.tpk-home-clean .tpk-bg-repair-package{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/تعمیر-پکیج.webp");
}
.tpk-home-clean .tpk-bg-repair-water-heater{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/تعمیر-آبگرمکن.webp");
}
.tpk-home-clean .tpk-bg-fast-tech{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/اعزام-سریع-تعمیرکار.webp");
}
.tpk-home-clean .tpk-bg-warranty{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/ضمانت-خدمات.webp");
}
.tpk-home-clean .tpk-bg-specialist{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/تعمیر-تخصصی-پکیج-و-آبگرمکن.webp");
}
.tpk-home-clean .tpk-bg-fast{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/اعزام-سریع.webp");
}
.tpk-home-clean .tpk-bg-periodic-service{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/%D8%B3%D8%B1%D9%88%DB%8C%D8%B3-%D8%AF%D9%88%D8%B1%D9%87%E2%80%8C%D8%A7%DB%8C-%D9%BE%DA%A9%DB%8C%D8%AC.webp");
}
.tpk-home-clean .tpk-bg-fair-price{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/هزینه-شفاف-و-منصفانه.webp");
}
.tpk-home-clean .tpk-bg-online-diagnosis{
  background-image:url("https://www.tehranpackagekar.ir/wp-content/uploads/2026/06/تشخیص-آنلاین-خرابی-پکیج-و-آبگرمکن.webp");
}

@media(max-width:680px){
  .tpk-home-clean .tpk-logo-mark{
    width:50px;
    height:50px;
    min-width:50px;
    flex-basis:50px;
  }
}
