
/* =========================================================
   Asareh / Tochal placement layer
   Purpose: keep KianDezh template intact and only place Tochal content
   Font stack: IranSans / Peyda / Vazir from assets/Fonts
   ========================================================= */

@font-face{
  font-family:"AsarehIranSans";
  src:url("../../Fonts/IranSans/IRANSANSWEB.TTF") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehIranSans";
  src:url("../../Fonts/IranSans/IRANSANSWEB_MEDIUM.TTF") format("truetype");
  font-weight:500 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehIranSans";
  src:url("../../Fonts/IranSans/IRANSANSWEB_BOLD.TTF") format("truetype");
  font-weight:800 950;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehPeyda";
  src:url("../../Fonts/peyda/Peyda-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehPeyda";
  src:url("../../Fonts/peyda/Peyda-Medium.ttf") format("truetype");
  font-weight:500 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehPeyda";
  src:url("../../Fonts/peyda/Peyda-Bold.ttf") format("truetype");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehPeyda";
  src:url("../../Fonts/peyda/Peyda-ExtraBold.ttf") format("truetype");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehVazir";
  src:url("../../Fonts/vazir/Vazir-Regular-FD.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehVazir";
  src:url("../../Fonts/vazir/Vazir-Medium-FD.woff2") format("woff2");
  font-weight:500 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"AsarehVazir";
  src:url("../../Fonts/vazir/Vazir-Bold-FD.woff2") format("woff2");
  font-weight:800 950;
  font-style:normal;
  font-display:swap;
}

:root{
  --asareh-red:#b82024;
  --asareh-gold:#d9a842;
  --asareh-ink:#18130f;
  --asareh-muted:#6b5d4d;
  --asareh-line:rgba(0,0,0,.13);
}

html,body{
  font-family:"AsarehPeyda","AsarehIranSans","AsarehVazir",Tahoma,Arial,sans-serif;
}

.primary-nav a,
.inner-menu a,
.kd-footer,
.panel-info-card,
.asareh-header-cta,
.asareh-panel-link,
.asareh-hero-actions a{
  font-family:"AsarehVazir","AsarehPeyda","AsarehIranSans",Tahoma,Arial,sans-serif;
}

.header-logo-img{
  width:150px !important;
  max-height:88px !important;
  object-fit:contain !important;
}

.header-contact.asareh-header-cta-wrap{
  direction:rtl;
  text-align:right;
  left:95px;
  top:30px;
}

.asareh-header-cta{
  min-height:42px;
  padding:0 20px;
  border-radius:999px;
  background:rgba(217,168,66,.92);
  color:#111;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}

.asareh-header-cta:hover{
  background:#fff;
}

.menu-trigger.asareh-inner-menu-trigger{
  position:static;
  width:30px;
  height:22px;
  flex:0 0 auto;
}

.inner-top-nav{
  align-items:center;
}

.inner-top-nav .inner-menu{
  flex:1;
}

.asareh-hero-text h1{
  font-size:30px !important;
  font-weight:850 !important;
  line-height:1.7 !important;
  margin-bottom:10px !important;
}

.asareh-hero-text span{
  display:block;
  margin:0 0 12px !important;
  font-size:15px;
  font-weight:900;
  color:#d9a842;
}

.asareh-hero-text p{
  margin:0;
  max-width:460px;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:2.2;
}

.asareh-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.asareh-hero-actions a{
  min-height:44px;
  padding:0 22px;
  border-radius:999px;
  background:#d9a842;
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}

.asareh-hero-actions a:nth-child(2){
  background:rgba(255,255,255,.92);
}

.about-section{
  color:#111;
}

.about-body p{
  text-align:justify;
}

.asareh-team-visual{
  position:relative;
  min-height:560px;
  margin-top:0 !important;
  margin-right:0 !important;
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
  background:#f7f2e8;
}

.asareh-team-visual img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  display:block;
  filter:grayscale(100%);
  transition:filter .5s ease, transform .8s cubic-bezier(.16,1,.3,1);
}

.asareh-team-visual:hover img{
  filter:grayscale(0);
  transform:scale(1.025);
}

.asareh-team-caption{
  position:absolute;
  right:26px;
  bottom:24px;
  color:#fff;
  text-shadow:0 14px 36px rgba(0,0,0,.7);
}

.asareh-team-caption strong{
  display:block;
  font-size:22px;
  font-weight:950;
}

.asareh-team-caption span{
  font-size:12px;
  color:rgba(255,255,255,.8);
}

.asareh-clients-section{
  width:100%;
  overflow:hidden;
  padding:26px 0;
  background:#fff;
  border-block:1px dotted rgba(0,0,0,.14);
}

.asareh-clients-track{
  display:flex;
  width:max-content;
  gap:18px;
  animation:asarehClientsMove 30s linear infinite;
  padding:0 max(50px,calc((100vw - 1320px) / 2));
}

.asareh-clients-section:hover .asareh-clients-track{
  animation-play-state:paused;
}

.asareh-client-logo{
  width:178px;
  height:78px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  color:#1e1e1e;
  background:#faf8f1;
  border:1px dotted rgba(0,0,0,.16);
  font-size:13px;
  font-weight:950;
  filter:grayscale(100%);
  opacity:.75;
  transition:.25s ease;
}

.asareh-client-logo:hover{
  filter:grayscale(0);
  opacity:1;
  color:#b82024;
  transform:translateY(-4px);
}

@keyframes asarehClientsMove{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

.asareh-tochal-gallery .gallery-track{
  overflow-x:auto;
}

.asareh-gallery-track-reverse{
  padding-right:max(180px,calc((100vw - 1320px) / 2 + 180px)) !important;
}

.asareh-tochal-gallery .gallery-card img{
  filter:grayscale(100%) contrast(1.05);
}

.asareh-tochal-gallery .gallery-card:hover img{
  filter:grayscale(0) contrast(1.05);
}

.asareh-product-cards{
  grid-auto-rows:260px;
}

.asareh-product-cards .cultural-card{
  grid-column:span 4;
}

.asareh-product-cards .cultural-card:nth-child(1){
  grid-column:span 8;
}

.cultural-card-content a{
  display:inline-flex;
  margin-top:12px;
  min-height:38px;
  padding:0 18px;
  border-radius:999px;
  background:#d9a842;
  color:#111;
  align-items:center;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}

.asareh-standards-section,
.asareh-blog-section{
  background:#fff;
  color:#111;
  padding:88px 0;
}

.asareh-standards-section{
  background:linear-gradient(180deg,#fff,#fbf8f0);
}

.asareh-standards-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:32px;
}

.asareh-standard-item{
  min-height:118px;
  padding:22px;
  border:1px dotted rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  background:#fff;
}

.asareh-standard-item i{
  color:#b82024;
  font-size:25px;
}

.asareh-standard-item span{
  font-weight:900;
  font-size:13px;
  line-height:1.9;
}

.asareh-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:32px;
}

.asareh-blog-card{
  min-height:260px;
  padding:26px;
  color:#111;
  background:#fff;
  border-top:1px dotted rgba(0,0,0,.18);
  border-bottom:1px dotted rgba(0,0,0,.18);
}

.asareh-blog-card small{
  color:#a27631;
  font-weight:900;
  letter-spacing:1px;
}

.asareh-blog-card h3{
  margin:14px 0;
  font-size:20px;
  line-height:1.8;
}

.asareh-blog-card p{
  color:#5d5146;
  font-size:13.5px;
  line-height:2.15;
  text-align:justify;
}

.asareh-blog-card a,
.asareh-center a{
  color:#b82024;
  font-weight:900;
  text-decoration:none;
}

.asareh-center{
  text-align:center;
  margin-top:30px;
}

.asareh-center a{
  min-height:46px;
  padding:0 26px;
  border:1px dotted rgba(0,0,0,.26);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
}

.asareh-panel-links-card{
  display:grid;
  gap:2px;
}

.asareh-panel-link{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
  color:#1a1511;
  border-bottom:1px dotted rgba(0,0,0,.13);
  text-decoration:none;
  font-size:13px;
  font-weight:850;
}

.asareh-panel-link i{
  color:#a27631;
  font-size:12px;
}

.inner-hero-content p{
  max-width:760px;
  line-height:2.2;
  color:rgba(255,255,255,.84);
}

.cultural-bridge-card p{
  margin:0 0 16px;
  color:rgba(255,255,255,.86);
  line-height:2;
}

.cultural-bridge-card strong{
  color:#d9a842;
}

.kd-footer{
  margin-top:0;
}

@media(max-width:1000px){
  .asareh-team-visual,
  .asareh-team-visual img{
    min-height:360px;
  }
  .asareh-standards-grid,
  .asareh-blog-grid{
    grid-template-columns:1fr 1fr;
  }
  .asareh-product-cards .cultural-card,
  .asareh-product-cards .cultural-card:nth-child(1){
    grid-column:span 12;
  }
}

@media(max-width:640px){
  .header-contact.asareh-header-cta-wrap{
    display:none;
  }
  .asareh-standards-grid,
  .asareh-blog-grid{
    grid-template-columns:1fr;
  }
  .asareh-client-logo{
    width:145px;
  }
  .asareh-gallery-track-reverse{
    padding-right:80px !important;
  }
}


/* =========================================================
   V2: Content placement + certificates carousel/modal
   ========================================================= */
.about-body{
  max-width:680px;
}

.about-body p,
.ceo-message-text p,
.cultural-bridge-text p{
  text-align:justify;
}

.asareh-ceo-message-section{
  background:#fff;
  color:#111;
  padding:96px 0 88px;
}

.asareh-ceo-message-wrap{
  width:min(1320px,calc(100% - 120px));
  margin:0 auto;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:70px;
  align-items:stretch;
}

.asareh-ceo-message-image{
  margin:0;
  min-height:650px;
  overflow:hidden;
  position:relative;
  background:#f7f2e8;
}

.asareh-ceo-message-image img{
  width:100%;
  height:100%;
  min-height:650px;
  object-fit:cover;
  filter:grayscale(100%);
  transition:filter .55s ease, transform .9s cubic-bezier(.16,1,.3,1);
}

.asareh-ceo-message-image:hover img{
  filter:grayscale(0);
  transform:scale(1.025);
}

.asareh-ceo-message-card{
  align-self:center;
  background:transparent;
  padding:0;
  box-shadow:none;
  border:none;
}

.asareh-ceo-message-card .section-kicker{
  display:block;
}

.asareh-ceo-message-card .ceo-message-title{
  margin:0 0 24px;
  font-size:34px;
  font-weight:500;
  line-height:1.65;
}

.asareh-ceo-message-card .ceo-message-title::after{
  content:"";
  display:block;
  width:150px;
  height:1px;
  margin-top:16px;
  border-bottom:1px dotted rgba(0,0,0,.28);
}

.asareh-ceo-message-card .ceo-message-text{
  font-size:13.8px;
  line-height:2.22;
  color:#231d16;
  font-weight:700;
}

.asareh-ceo-message-card .ceo-message-text p{
  margin:0 0 12px;
}

.ceo-message-signature{
  margin-top:22px;
  padding-top:20px;
  border-top:1px dotted rgba(0,0,0,.22);
}

.ceo-message-signature strong,
.ceo-message-signature span{
  display:block;
}

.ceo-message-signature strong{
  font-weight:950;
  color:#b82024;
}

.ceo-message-signature span{
  margin-top:7px;
  color:#6b5d4d;
  font-size:12px;
}

.asareh-certificates-section{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fbf7ef 100%);
  padding:82px 0 86px;
  border-block:1px dotted rgba(0,0,0,.13);
}

.asareh-certificates-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:44px;
  margin-bottom:36px;
}

.asareh-certificates-head p{
  max-width:520px;
  margin:0;
  color:#695d4a;
  font-size:13px;
  line-height:2.15;
  text-align:justify;
  font-weight:700;
}

.asareh-certificates-viewport{
  width:100%;
  overflow:hidden;
}

.asareh-certificates-track{
  display:flex;
  gap:18px;
  width:max-content;
  padding:8px max(60px,calc((100vw - 1320px) / 2)) 18px;
  animation:asarehCertificatesMove 38s linear infinite;
}

.asareh-certificates-section:hover .asareh-certificates-track{
  animation-play-state:paused;
}

.asareh-certificate-card{
  width:250px;
  min-height:300px;
  flex:0 0 auto;
  cursor:pointer;
  border:1px dotted rgba(0,0,0,.22);
  background:#fff;
  padding:16px 16px 18px;
  text-align:right;
  color:#1c1711;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.asareh-certificate-card:hover{
  transform:translateY(-7px);
  box-shadow:0 18px 48px rgba(50,38,18,.12);
  border-color:rgba(184,32,36,.42);
}

.asareh-certificate-image{
  display:block;
  height:156px;
  overflow:hidden;
  background:#f7f2e8;
}

.asareh-certificate-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(100%);
  transition:filter .3s ease, transform .4s ease;
}

.asareh-certificate-card:hover img{
  filter:grayscale(0);
  transform:scale(1.035);
}

.asareh-certificate-card strong{
  font-size:14px;
  font-weight:950;
  line-height:1.9;
}

.asareh-certificate-card small{
  color:#6b5d4d;
  font-size:12px;
  line-height:1.9;
  font-weight:700;
}

@keyframes asarehCertificatesMove{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

.asareh-certificate-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.asareh-certificate-modal.is-open{
  display:flex;
}

.asareh-certificate-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,13,8,.62);
  backdrop-filter:blur(4px);
}

.asareh-certificate-modal-box{
  position:relative;
  z-index:1;
  width:min(980px,100%);
  max-height:92vh;
  overflow:auto;
  background:#fffaf1;
  box-shadow:0 34px 90px rgba(0,0,0,.28);
  padding:22px;
  border:1px dotted rgba(0,0,0,.22);
}

.asareh-certificate-modal-close{
  position:absolute;
  top:16px;
  left:16px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px dotted rgba(0,0,0,.28);
  background:#fff;
  color:#111;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}

.asareh-certificate-modal-figure{
  margin:0;
  background:#fff;
  border:1px dotted rgba(0,0,0,.14);
}

.asareh-certificate-modal-figure img{
  width:100%;
  max-height:68vh;
  object-fit:contain;
  display:block;
}

.asareh-certificate-modal-content{
  padding:18px 4px 4px;
}

.asareh-certificate-modal-content h3{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.7;
  color:#b82024;
}

.asareh-certificate-modal-content p{
  margin:0;
  color:#5d5146;
  font-size:13px;
  line-height:2;
  font-weight:700;
}

@media(max-width:1000px){
  .asareh-ceo-message-wrap,
  .asareh-certificates-head{
    grid-template-columns:1fr;
    display:grid;
    width:min(100% - 40px,1320px);
  }
  .asareh-ceo-message-image,
  .asareh-ceo-message-image img{
    min-height:420px;
  }
}

@media(max-width:640px){
  .asareh-ceo-message-section{
    padding:70px 0;
  }
  .asareh-ceo-message-wrap{
    gap:34px;
  }
  .asareh-ceo-message-card .ceo-message-title{
    font-size:26px;
  }
  .asareh-certificate-card{
    width:210px;
    min-height:270px;
  }
  .asareh-certificate-image{
    height:130px;
  }
}


/* =========================================================
   V3: Final visual fixes requested by Mehdi
   - real KianDezh waiting screen
   - higher side panel content
   - aligned team image
   - two-by-two staggered visual rows
   - blog images
   - full bottom product banner
   ========================================================= */

.hero{
  background:#160b08 url("../../images/hero-poster.jpg") center center/cover no-repeat !important;
}

.kd-preloader{
  font-family:"AsarehPeyda","AsarehIranSans","AsarehVazir",Tahoma,Arial,sans-serif;
}

.side-panel{
  padding:18px 38px 30px !important;
}

.side-panel .panel-logo-wrap{
  margin:18px 0 18px !important;
}

.side-panel .panel-logo-image-box{
  width:118px !important;
  height:92px !important;
  margin:0 auto 8px !important;
  border-radius:0 !important;
}

.side-panel .panel-logo-img{
  width:116px !important;
  max-width:116px !important;
  max-height:82px !important;
}

.side-panel .panel-title{
  font-size:24px !important;
  line-height:1.5 !important;
}

.side-panel .panel-subtitle{
  font-size:13px !important;
  line-height:1.8 !important;
}

.side-panel .panel-separator{
  margin:15px 0 18px !important;
}

.side-panel .panel-info-title{
  margin:0 0 14px !important;
  font-size:18px !important;
}

.side-panel .asareh-panel-link{
  min-height:33px !important;
  padding:6px 0 !important;
  font-size:12.5px !important;
}

.side-panel .info-row{
  padding:13px 0 !important;
}

.about-wrap{
  align-items:start !important;
}

.asareh-team-visual{
  margin-top:72px !important;
  min-height:500px !important;
}

.asareh-team-visual img{
  min-height:500px !important;
  object-position:center center !important;
}

.asareh-tochal-gallery{
  padding-top:88px !important;
  padding-bottom:96px !important;
}

.asareh-tochal-gallery .gallery-rows-head{
  margin-bottom:40px !important;
}

.asareh-tochal-gallery .gallery-row{
  margin:22px 0 34px !important;
}

.asareh-tochal-gallery .gallery-row-header{
  margin-bottom:12px !important;
}

.asareh-tochal-gallery .gallery-viewport{
  overflow:visible !important;
}

.asareh-tochal-gallery .gallery-track{
  width:min(820px,calc(100% - 120px)) !important;
  padding:0 !important;
  overflow:visible !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:22px !important;
  margin:0 auto !important;
  direction:rtl !important;
}

.asareh-tochal-gallery .gallery-card{
  flex:none !important;
  width:100% !important;
  height:clamp(190px,20vw,260px) !important;
  border-radius:26px !important;
}

.asareh-tochal-gallery .asareh-gallery-pair-right .gallery-track{
  margin-right:max(60px,calc((100vw - 1320px) / 2)) !important;
  margin-left:auto !important;
  transform:translateX(0) !important;
}

.asareh-tochal-gallery .asareh-gallery-pair-left .gallery-track{
  margin-left:max(60px,calc((100vw - 1320px) / 2)) !important;
  margin-right:auto !important;
  transform:translateX(0) !important;
}

.asareh-tochal-gallery .asareh-gallery-pair-left .gallery-row-header{
  justify-content:flex-start !important;
}

.asareh-tochal-gallery .asareh-gallery-pair-left .gallery-row-title{
  margin-right:auto !important;
  margin-left:max(60px,calc((100vw - 1320px) / 2)) !important;
}

.asareh-tochal-gallery .asareh-gallery-pair-right .gallery-row-title{
  margin-right:max(60px,calc((100vw - 1320px) / 2)) !important;
}

.asareh-blog-card{
  padding:0 0 24px !important;
  overflow:hidden;
}

.asareh-blog-image{
  margin:0 0 22px;
  height:170px;
  overflow:hidden;
  background:#f7f2e8;
}

.asareh-blog-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:grayscale(100%) contrast(1.05);
  transition:filter .35s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.asareh-blog-card:hover .asareh-blog-image img{
  filter:grayscale(0) contrast(1.05);
  transform:scale(1.045);
}

.asareh-blog-card small,
.asareh-blog-card h3,
.asareh-blog-card p,
.asareh-blog-card a{
  display:block;
  margin-left:24px;
  margin-right:24px;
}

.home-tourism-banner{
  position:relative !important;
  min-height:620px !important;
  height:72vh !important;
  overflow:hidden !important;
  background:#efe8dc !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
}

.home-tourism-banner img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  filter:grayscale(20%) contrast(1.05) brightness(.76) !important;
}

.home-tourism-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.58),rgba(0,0,0,.04) 55%,rgba(255,255,255,.08));
  pointer-events:none;
}

.home-tourism-content{
  position:relative !important;
  z-index:2 !important;
  width:min(1320px,calc(100% - 120px)) !important;
  margin:0 auto !important;
  padding:0 0 74px !important;
  color:#fff !important;
  text-align:right !important;
}

.home-tourism-content h2{
  max-width:620px;
  margin:0 0 20px !important;
  font-size:34px !important;
  line-height:1.6 !important;
  font-weight:800 !important;
  text-shadow:0 14px 42px rgba(0,0,0,.55);
}

.home-tourism-content a{
  min-height:46px;
  padding:0 24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111 !important;
  background:#d9a842;
  text-decoration:none;
  font-weight:950;
  font-size:12.5px;
}

@media(max-width:1000px){
  .asareh-team-visual{
    margin-top:0 !important;
  }
  .asareh-tochal-gallery .gallery-track{
    width:min(760px,calc(100% - 44px)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .asareh-tochal-gallery .asareh-gallery-pair-left .gallery-row-title,
  .asareh-tochal-gallery .asareh-gallery-pair-right .gallery-row-title{
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

@media(max-width:640px){
  .asareh-tochal-gallery .gallery-track{
    grid-template-columns:1fr !important;
  }
  .home-tourism-banner{
    min-height:460px !important;
  }
  .home-tourism-content{
    width:calc(100% - 40px) !important;
    padding-bottom:48px !important;
  }
  .home-tourism-content h2{
    font-size:25px !important;
  }
}


/* =========================================================
   V4: Final gallery + side panel + dotted frame polish
   ========================================================= */

/* Side panel: compact, no horizontal scroll, only vertical */
.side-panel{
  overflow-x:hidden !important;
  overflow-y:auto !important;
  padding:14px 30px 26px !important;
  scrollbar-gutter:stable;
}

.side-panel *{
  max-width:100%;
  box-sizing:border-box;
}

.side-panel .panel-logo-wrap{
  margin:10px 0 12px !important;
}

.side-panel .panel-logo-image-box{
  width:96px !important;
  height:70px !important;
  margin:0 auto 6px !important;
}

.side-panel .panel-logo-img{
  width:94px !important;
  max-width:94px !important;
  max-height:68px !important;
}

.side-panel .panel-title{
  font-size:20px !important;
  line-height:1.45 !important;
}

.side-panel .panel-subtitle{
  font-size:11px !important;
  line-height:1.65 !important;
  max-width:270px;
  margin-inline:auto !important;
}

.side-panel .panel-separator{
  margin:10px 0 12px !important;
  background:none !important;
  border-bottom:1px dotted rgba(0,0,0,.20) !important;
}

.side-panel .panel-info-title{
  margin:0 0 10px !important;
  font-size:15px !important;
  line-height:1.7 !important;
}

.side-panel .asareh-panel-links-card{
  gap:0 !important;
}

.side-panel .asareh-panel-link{
  min-height:28px !important;
  padding:4px 0 !important;
  font-size:11.2px !important;
  line-height:1.65 !important;
  gap:8px !important;
  border-bottom:1px dotted rgba(0,0,0,.18) !important;
}

.side-panel .asareh-panel-link span{
  min-width:0;
  overflow-wrap:anywhere;
  white-space:normal;
}

.side-panel .asareh-panel-link i{
  flex:0 0 auto;
  font-size:10px !important;
}

.side-panel .info-row{
  grid-template-columns:24px 52px minmax(0,1fr) !important;
  gap:8px !important;
  padding:9px 0 !important;
  border-bottom:1px dotted rgba(0,0,0,.18) !important;
}

.side-panel .info-row i{
  font-size:17px !important;
}

.side-panel .info-label,
.side-panel .info-value{
  font-size:11px !important;
  line-height:1.7 !important;
}

.side-panel .info-value{
  direction:rtl !important;
  text-align:right !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

/* Visual story: two colorful horizontal rows, ten images per row */
.asareh-tochal-gallery{
  padding-top:84px !important;
  padding-bottom:92px !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(217,168,66,.11), transparent 32%),
    linear-gradient(180deg,#fff 0%,#fbf8f1 100%) !important;
}

.asareh-tochal-gallery::before,
.asareh-tochal-gallery::after{
  content:"";
  position:absolute;
  right:0;
  left:0;
  height:1px;
  border-top:1px dotted rgba(0,0,0,.18);
  pointer-events:none;
}

.asareh-tochal-gallery::before{top:34px;}
.asareh-tochal-gallery::after{bottom:34px;}

.asareh-tochal-gallery .gallery-rows-head{
  margin-bottom:34px !important;
  padding-bottom:20px;
  border-bottom:1px dotted rgba(0,0,0,.18);
}

.asareh-tochal-gallery .gallery-rows-desc{
  max-width:540px;
  text-align:justify;
}

.asareh-tochal-gallery .gallery-row{
  margin:24px 0 44px !important;
}

.asareh-tochal-gallery .gallery-row:last-child{
  margin-bottom:0 !important;
}

.asareh-tochal-gallery .gallery-row-header{
  width:min(1320px,calc(100% - 120px)) !important;
  margin:0 auto 14px !important;
  padding-inline:12px;
}

.asareh-tochal-gallery .gallery-row-title{
  position:relative;
  font-size:17px !important;
}

.asareh-tochal-gallery .gallery-row-title::after{
  content:"";
  display:block;
  width:120px;
  height:1px;
  margin-top:8px;
  border-bottom:1px dotted rgba(0,0,0,.22);
}

.asareh-tochal-gallery .gallery-row-hint{
  font-size:11px !important;
  color:#a27631 !important;
}

.asareh-tochal-gallery .gallery-viewport{
  overflow:hidden !important;
  width:100% !important;
}

.asareh-tochal-gallery .gallery-track{
  width:auto !important;
  padding:8px max(60px,calc((100vw - 1320px) / 2)) 22px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  grid-template-columns:none !important;
  gap:22px !important;
  margin:0 !important;
  direction:ltr !important;
  scrollbar-width:none !important;
  scroll-snap-type:x proximity;
}

.asareh-tochal-gallery .gallery-track::-webkit-scrollbar{
  display:none !important;
}

.asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
  flex-direction:row-reverse !important;
  padding-left:max(120px,calc((100vw - 1320px) / 2 + 120px)) !important;
  padding-right:max(60px,calc((100vw - 1320px) / 2)) !important;
}

.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-header{
  direction:ltr;
}

.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-title,
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-hint{
  direction:rtl;
}

.asareh-tochal-gallery .gallery-card{
  flex:0 0 clamp(250px,24vw,355px) !important;
  width:auto !important;
  height:clamp(182px,18.5vw,245px) !important;
  border-radius:24px !important;
  box-shadow:none !important;
  border:1px dotted rgba(0,0,0,.20) !important;
  outline:1px dotted rgba(255,255,255,.42);
  outline-offset:-9px;
  scroll-snap-align:start;
}

.asareh-tochal-gallery .gallery-card img,
.asareh-tochal-gallery .gallery-card:hover img{
  filter:saturate(1.06) contrast(1.03) brightness(.94) !important;
}

.asareh-tochal-gallery .gallery-card:hover img{
  transform:scale(1.045) !important;
}

.asareh-tochal-gallery .gallery-card::after{
  background:linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,.03) 62%, rgba(255,255,255,.10)) !important;
  opacity:.86 !important;
}

.asareh-tochal-gallery .gallery-card-label strong{
  font-size:14px !important;
}

.asareh-tochal-gallery .gallery-card-label small{
  direction:rtl !important;
}

/* Make forced frames feel like KianDezh dotted UI, not heavy cards */
.asareh-blog-card,
.asareh-standard-item,
.asareh-certificate-card,
.asareh-client-logo,
.cultural-card,
.contact-side-card,
.contact-side-box,
.contact-info-panel{
  box-shadow:none !important;
  border:1px dotted rgba(0,0,0,.20) !important;
  background:#fffdf8 !important;
}

.asareh-blog-card{
  border-left:none !important;
  border-right:none !important;
  border-top:1px dotted rgba(0,0,0,.20) !important;
  border-bottom:1px dotted rgba(0,0,0,.20) !important;
}

.asareh-blog-card::before,
.asareh-certificate-card::before,
.asareh-standard-item::before{
  content:"";
  display:block;
  width:58px;
  height:1px;
  margin-bottom:12px;
  border-bottom:1px dotted rgba(184,32,36,.42);
}

.asareh-certificate-card:hover,
.asareh-client-logo:hover,
.asareh-standard-item:hover{
  box-shadow:none !important;
  border-color:rgba(184,32,36,.48) !important;
}

@media(max-width:1000px){
  .asareh-tochal-gallery .gallery-row-header,
  .asareh-tochal-gallery .gallery-rows-head{
    width:min(100% - 40px,1320px) !important;
  }
  .asareh-tochal-gallery .gallery-track,
  .asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
    padding-inline:20px !important;
  }
}

@media(max-width:640px){
  .side-panel{
    padding:12px 22px 24px !important;
  }
  .side-panel .panel-title{
    font-size:18px !important;
  }
  .side-panel .info-row{
    grid-template-columns:22px minmax(0,1fr) !important;
  }
  .side-panel .info-label{
    display:none !important;
  }
  .asareh-tochal-gallery .gallery-card{
    flex-basis:240px !important;
  }
}

/* V5 FIX: mouse-wheel horizontal movement for Tochal visual rows */
.asareh-tochal-gallery .gallery-viewport{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  cursor:grab !important;
  scrollbar-width:none !important;
  overscroll-behavior-x:contain !important;
  overscroll-behavior-y:contain !important;
}

.asareh-tochal-gallery .gallery-viewport::-webkit-scrollbar{
  display:none !important;
}

.asareh-tochal-gallery .gallery-viewport.is-dragging{
  cursor:grabbing !important;
  user-select:none !important;
}

.asareh-tochal-gallery .gallery-track,
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
  width:max-content !important;
  min-width:max-content !important;
  max-width:none !important;
  overflow:visible !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  grid-template-columns:none !important;
  scroll-snap-type:x proximity !important;
}

.asareh-tochal-gallery .gallery-card{
  flex:0 0 clamp(250px,24vw,355px) !important;
}


/* V6 FINAL LOCK: align about image/text and stagger visual-story rows from opposite sides */
.about-wrap{
  align-items:center !important;
}
.about-text{
  align-self:center !important;
}
.asareh-team-visual{
  align-self:center !important;
  margin-top:0 !important;
  min-height:520px !important;
}
.asareh-team-visual img{
  min-height:520px !important;
  object-position:center center !important;
}

.asareh-tochal-gallery .gallery-viewport{
  direction:ltr !important;
}
.asareh-tochal-gallery .asareh-gallery-line-right .gallery-track,
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
  flex-direction:row !important;
  transform:none !important;
}
.asareh-tochal-gallery .asareh-gallery-line-right .gallery-track{
  padding-left:max(80px,calc((100vw - 1320px) / 2 + 90px)) !important;
  padding-right:max(180px,calc((100vw - 1320px) / 2 + 180px)) !important;
}
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
  padding-left:max(180px,calc((100vw - 1320px) / 2 + 180px)) !important;
  padding-right:max(80px,calc((100vw - 1320px) / 2 + 90px)) !important;
}
.asareh-tochal-gallery .asareh-gallery-line-right .gallery-row-header{
  direction:rtl !important;
}
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-header{
  direction:ltr !important;
}
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-title,
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-hint{
  direction:rtl !important;
}
.asareh-tochal-gallery .asareh-gallery-line-left .gallery-row-title::after{
  margin-right:auto !important;
}

@media(max-width:1000px){
  .about-wrap{align-items:start !important;}
  .asareh-team-visual{min-height:390px !important;}
  .asareh-team-visual img{min-height:390px !important;}
  .asareh-tochal-gallery .asareh-gallery-line-right .gallery-track,
  .asareh-tochal-gallery .asareh-gallery-line-left .gallery-track{
    padding-inline:20px !important;
  }
}

/* Instagram page - TochalFire HTML-first */
.asareh-instagram-page .asareh-instagram-intro{
  background:linear-gradient(180deg,#fff 0%,#faf7ef 100%);
}

.asareh-instagram-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.asareh-instagram-primary,
.asareh-instagram-secondary{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 22px;
  border-radius:999px;
  font-family:"AsarehVazir",Tahoma,sans-serif;
  font-size:12px;
  font-weight:900;
  transition:.22s ease;
}

.asareh-instagram-primary{
  background:#1d1510;
  color:#fff;
}

.asareh-instagram-secondary{
  background:#fff;
  color:#1d1510;
  border:1px dashed rgba(157,117,51,.34);
}

.asareh-instagram-primary:hover,
.asareh-instagram-secondary:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(63,43,18,.12);
}

.asareh-instagram-profile-card{
  border-style:dashed !important;
}

.asareh-instagram-feed-section{
  padding:86px 0 74px;
  background:#fff;
}

.asareh-instagram-head{
  width:min(100%,760px);
  margin:0 auto 38px;
  text-align:center;
}

.asareh-instagram-head p{
  margin:0 0 8px;
  font-family:"AsarehVazir",Tahoma,sans-serif;
  font-size:10px;
  font-weight:900;
  letter-spacing:4px;
  color:#a2742c;
  direction:ltr;
}

.asareh-instagram-head h2{
  margin:0 0 10px;
  font-size:clamp(28px,3vw,44px);
  font-weight:900;
  letter-spacing:-1px;
}

.asareh-instagram-head h2 span{
  color:#a2742c;
}

.asareh-instagram-head small{
  display:block;
  color:#77695d;
  font-weight:700;
}

.asareh-instagram-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.asareh-instagram-card{
  position:relative;
  background:#fff;
  border:1px dashed rgba(29,21,16,.15);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 22px 54px rgba(61,43,20,.06);
  transition:.24s ease;
}

.asareh-instagram-card:hover{
  transform:translateY(-6px);
  border-color:rgba(157,117,51,.42);
  box-shadow:0 28px 70px rgba(61,43,20,.10);
}

.asareh-instagram-media{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f6f0e6;
}

.asareh-instagram-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.45s ease;
}

.asareh-instagram-card:hover .asareh-instagram-media img{
  transform:scale(1.055);
}

.asareh-instagram-overlay{
  position:absolute;
  inset:16px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  color:#fff;
  font-size:22px;
  text-shadow:0 10px 24px rgba(0,0,0,.28);
  opacity:.92;
}

.asareh-instagram-card-body{
  padding:20px 20px 22px;
}

.asareh-instagram-tag{
  display:inline-flex;
  margin-bottom:8px;
  padding:4px 10px;
  border-radius:999px;
  background:#faf4e8;
  color:#a2742c;
  font-family:"AsarehVazir",Tahoma,sans-serif;
  font-size:10px;
  font-weight:900;
}

.asareh-instagram-card h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.55;
  font-weight:900;
}

.asareh-instagram-card p{
  min-height:68px;
  margin:0 0 14px;
  color:#5f5147;
  font-size:13px;
  font-weight:700;
  line-height:2;
  text-align:justify;
}

.asareh-instagram-link{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#1d1510;
  font-family:"AsarehVazir",Tahoma,sans-serif;
  font-size:12px;
  font-weight:900;
}

.asareh-instagram-embed-section{
  padding:78px 0;
  background:linear-gradient(180deg,#fff,#fbf7ef);
}

.asareh-instagram-embed-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);
  gap:34px;
  align-items:center;
}

.asareh-instagram-embed-copy h2{
  margin:0 0 14px;
  font-size:clamp(26px,2.7vw,40px);
  font-weight:900;
}

.asareh-instagram-embed-copy p{
  margin:0;
  color:#4f4439;
  font-weight:700;
  line-height:2.15;
  text-align:justify;
}

.asareh-instagram-embed-placeholder{
  min-height:360px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:36px;
  border-radius:34px;
  background:#fff;
  border:1px dashed rgba(29,21,16,.18);
  box-shadow:0 24px 64px rgba(61,43,20,.08);
}

.asareh-instagram-embed-placeholder i{
  font-size:58px;
  color:#a2742c;
}

.asareh-instagram-embed-placeholder h3{
  margin:16px 0 8px;
  direction:ltr;
  font-size:25px;
  font-weight:900;
}

.asareh-instagram-embed-placeholder p{
  margin:0;
  color:#6d5f54;
  font-weight:700;
}

@media(max-width:1000px){
  .asareh-instagram-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .asareh-instagram-embed-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .asareh-instagram-grid{
    grid-template-columns:1fr;
  }
  .asareh-instagram-card p{
    min-height:auto;
  }
  .asareh-instagram-actions{
    flex-direction:column;
  }
  .asareh-instagram-primary,
  .asareh-instagram-secondary{
    width:100%;
  }
}
